Sets the chromaticity of a pixel in the output image according to the
brightness of the corresponding pixel in the input image.
The smallest possible intensity is mapped to lowIntensityHue and the
largest possible intensity to highIntensityHue. Chromacity values
for other intensities are determined with linear interpolation. The
chromacity values are given in degrees which describe rotation on
circular color plane. For full color circle, set highIntensityHue =
0 and lowIntensityHue = 360.
image – Input image in rgb, rgba or gray8 format.
lowIntensityHue – Chromaticity value to which darkest pixels
are mapped. Some examples of the mapping between degrees of
rotation and colors are:
highIntensityHue – - Chromaticity value to which highest
intensity pixels are mapped.
image – Output image in rgba (if input has alpha channel) or
rgb (otherwise) format. The size of the output image is the same
as the size of the input image.