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

Method gbndvi

digital_image_processing/index_calculation.py:251–259  ·  view source on GitHub ↗

self.green-self.blue NDVI https://www.indexdatabase.de/db/i-single.php?id=186 :return: index

(self)

Source from the content-addressed store, hash-verified

249 return (self.nir - self.green) / (self.nir + self.green)
250
251 def gbndvi(self):
252 """
253 self.green-self.blue NDVI
254 https://www.indexdatabase.de/db/i-single.php?id=186
255 :return: index
256 """
257 return (self.nir - (self.green + self.blue)) / (
258 self.nir + (self.green + self.blue)
259 )
260
261 def grndvi(self):
262 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected