Back to FabImage Library website

You are here: Start » Function Reference » Image » Image Color Spaces » HsiToRgb

HsiToRgb


Header: FIL.h
Namespace: fil
Module: FoundationBasic

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

Syntax

C++
C#
 
void fil::HsiToRgb
(
	const fil::Image& inHsiImage,
	fil::Image& outRgbImage
)

Parameters

Name Type Default Description
Input value
inHsiImage const Image&
Output value
outRgbImage Image&

Requirements

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

Read more about pixel formats in Image documentation.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

This operation supports processing on OpenCL compatible device.

Errors

List of possible exceptions:

Error type Description
DomainError Not a 3-channel and 8-bit image in HsiToRgb.
DomainError Not supported inHsiImage pixel format in HsiToRgb. Supported formats: 3xUInt8.