Operator Library: Color
The operator RGB2HSI converts the color space from RGB (Red, Green, Blue) to HSL (Hue Saturation Luminance).
Warning | |
---|---|
The operator implements the RGB to HSL (Hue Saturation Luminance) color space conversion and not RGB to HSI (Hue Saturation Intensity). |
Operator Features and Restrictions
-
Empty Images (i.e., images with no pixels) are fully supported.
-
Not empty Images with empty lines are fully supported.
-
Images with varying line lengths are fully supported.
Property | Value |
---|---|
Operator Type | O |
Input Link | I, image data input |
Output Link | O, image data input |
HueAmplitude | ||||
---|---|---|---|---|
Type | static parameter | |||
Default | 255 | |||
Range | [1; (1 << (BitWidth(I) / 3)) - 1] | |||
This parameter defines the maximum value for the hue. 9bit at 360 degrees corresponds to a result in degrees.
|
The use of operator RGB2HSI is shown in the following examples:
-
Examples - Color Classification is very simple on HSL images. The applet converts the RGB image into an HSL image and performs a color classification. The hue is filtered using a lookup table. Moreover, the saturation and lightness is thresholded using custom threshold values.