Back to Adaptive Vision Library website

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

RgbToHsl


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

Syntax

C++
C#
 
void avl::RgbToHsl
(
	const avl::Image& inRgbImage,
	avl::Image& outHslImage
)

Parameters

Name Type Default Description
inRgbImage const Image&
outHslImage Image&

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

This operation supports processing on OpenCL compatible device.

Errors

Error type Description
DomainError Not a 3-channel and 8-bit image in RgbToHsl.