You are here: Start » AVL.NET » AVL.RgbToHsl Method

AVL.RgbToHsl Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RgbToHsl(
	AvlNet.Image inRgbImage,
	out 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

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

See also