Back to Adaptive Vision Library Lite website

You are here: Start » Image Color Spaces » HsvToRgb

HsvToRgb


Header: AVL.h
Namespace: avl

Converts color space from Hue-Saturation-Value to Red-Green-Blue.

Syntax

void avl::HsvToRgb
(
	const avl::Image& inHsvImage,
	avl::Image& outRgbImage
)

Parameters

Name Type Default Description
inHsvImage const Image&
outRgbImage Image&

Requirements

For input inHsvImage 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 HsvToRgb.
DomainError Not supported inHsvImage pixel format in HsvToRgb.