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

Method hue

digital_image_processing/index_calculation.py:388–396  ·  view source on GitHub ↗

Hue https://www.indexdatabase.de/db/i-single.php?id=34 :return: index

(self)

Source from the content-addressed store, hash-verified

386 return ((self.nir - self.green) / (self.nir + self.green + n)) * (1 + n)
387
388 def hue(self):
389 """
390 Hue
391 https://www.indexdatabase.de/db/i-single.php?id=34
392 :return: index
393 """
394 return np.arctan(
395 ((2 * self.red - self.green - self.blue) / 30.5) * (self.green - self.blue)
396 )
397
398 def ivi(self, a=None, b=None):
399 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected