Operator HSI2RGB

Operator Library: Color

The operator HSI2RGB converts the color space from HSI (Hue Saturation Lightness) to RGB (Red, Green, Blue).

[Warning] Warning

The operator implements the HSL (Hue Saturation Lightness) to RGB color space conversion and not HSI to RGB.

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.

I/O Properties

Property Value
Operator Type O
Input Link I, image data input
Output Link O, image data input

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width [24, 48]1 as I
Arithmetic unsigned as I
Parallelism any as I
Kernel Columns 1 as I
Kernel Rows 1 as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format VAF_COLOR as I
Color Flavor FL_HSI FL_RGB
Max. Img Width any2 as I
Max. Img Height any as I

1

The Bit Width must be divisible by three without remainder.

2

VALT_IMAGE2D and VALT_LINE1D: The Maximal Image Width must be divisible by the parallelism without remainder (not important for VALT_PIXEL0D and VALT_SIGNAL).

Parameters

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.

[Warning] Range Violation leads to DRC error

If the value of HueAmplitude is not in range, the parameter state is set to error and the parameter is reported by the DRC.

Examples of Use

The use of operator HSI2RGB is shown in the following examples: