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

AVL.RgbToHsl

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RgbToHsl
(
	AvlNet.Image inRgbImage,
	AvlNet.Image outHslImage
)

Parameters

Name Type Range Default Description
inRgbImageAvlNet.Image
outHslImageAvlNet.Image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

This operation supports processing on OpenCL compatible device.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

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

See also