MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / ivi

Method ivi

digital_image_processing/index_calculation.py:398–406  ·  view source on GitHub ↗

Ideal vegetation index https://www.indexdatabase.de/db/i-single.php?id=276 b=intercept of vegetation line a=soil line slope :return: index

(self, a=None, b=None)

Source from the content-addressed store, hash-verified

396 )
397
398 def ivi(self, a=None, b=None):
399 """
400 Ideal vegetation index
401 https://www.indexdatabase.de/db/i-single.php?id=276
402 b=intercept of vegetation line
403 a=soil line slope
404 :return: index
405 """
406 return (self.nir - b) / (a * self.red)
407
408 def ipvi(self):
409 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected