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

Method pndvi

digital_image_processing/index_calculation.py:279–287  ·  view source on GitHub ↗

Pan NDVI https://www.indexdatabase.de/db/i-single.php?id=188 :return: index

(self)

Source from the content-addressed store, hash-verified

277 return (self.nir - (self.blue + self.red)) / (self.nir + (self.blue + self.red))
278
279 def pndvi(self):
280 """
281 Pan NDVI
282 https://www.indexdatabase.de/db/i-single.php?id=188
283 :return: index
284 """
285 return (self.nir - (self.green + self.red + self.blue)) / (
286 self.nir + (self.green + self.red + self.blue)
287 )
288
289 def atsavi(self, x=0.08, a=1.22, b=0.03):
290 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected