Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image Color Spaces » RgbToHsi

RgbToHsi


Module: FoundationBasic

Converts color space from Red-Green-Blue into Hue-Saturation-Intensity.

Name Type Description
inRgbImage Image
outHsiImage Image

Requirements

For input inRgbImage only pixel formats are supported: 3⨯uint8.

Read more about pixel formats in Image documentation.

Applications

Color analysis is easier in the HSI color space than in RGB.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

This operation supports processing on OpenCL compatible device.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not a 3-channel and 8-bit image in RgbToHsi.
DomainError Not supported inRgbImage pixel format in RgbToHsi.

Complexity Level

This filter is available on Basic Complexity Level.