Converts an image to the HSI color model.
Image
The input image. This image can be of any color model.
The output image in the HSI color model.
This function converts an image to the HSI color model, regardless of the color space of the input image.
Here is an example of the original color image:
And here is how the hue, saturation and intensity channels look side by side.
Here is an example: