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

Method gdvi

digital_image_processing/index_calculation.py:341–347  ·  view source on GitHub ↗

Difference self.nir/self.green self.green Difference Vegetation Index https://www.indexdatabase.de/db/i-single.php?id=27 :return: index

(self)

Source from the content-addressed store, hash-verified

339 return ((ndvi + 0.5) / (abs(ndvi + 0.5))) * (abs(ndvi + 0.5) ** (1 / 2))
340
341 def gdvi(self):
342 """
343 Difference self.nir/self.green self.green Difference Vegetation Index
344 https://www.indexdatabase.de/db/i-single.php?id=27
345 :return: index
346 """
347 return self.nir - self.green
348
349 def evi(self):
350 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected