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

Method m_savi

digital_image_processing/index_calculation.py:440–449  ·  view source on GitHub ↗

Modified Soil Adjusted Vegetation Index https://www.indexdatabase.de/db/i-single.php?id=44 :return: index

(self)

Source from the content-addressed store, hash-verified

438 return (self.rvi() - 1) / (self.rvi() + 1)
439
440 def m_savi(self):
441 """
442 Modified Soil Adjusted Vegetation Index
443 https://www.indexdatabase.de/db/i-single.php?id=44
444 :return: index
445 """
446 return (
447 (2 * self.nir + 1)
448 - ((2 * self.nir + 1) ** 2 - 8 * (self.nir - self.red)) ** (1 / 2)
449 ) / 2
450
451 def norm_g(self):
452 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected