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

Method _if

digital_image_processing/index_calculation.py:503–509  ·  view source on GitHub ↗

Shape Index https://www.indexdatabase.de/db/i-single.php?id=79 :return: index

(self)

Source from the content-addressed store, hash-verified

501 return (max_value - min_value) / max_value
502
503 def _if(self):
504 """
505 Shape Index
506 https://www.indexdatabase.de/db/i-single.php?id=79
507 :return: index
508 """
509 return (2 * self.red - self.green - self.blue) / (self.green - self.blue)
510
511 def dvi(self):
512 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected