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

AVL.RgbToLab

Converts color space from Red-Green-Blue to L*a*b*.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RgbToLab
(
	AvlNet.Image inRgbImage,
	AvlNet.Image outLabImage
)

Parameters

Name Type Range Default Description
inRgbImageAvlNet.Image
outLabImageAvlNet.Image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

Error type Description
DomainError Not a 3-channel image in RgbToLab.
DomainError Not supported inRgbImage pixel format in RgbToLab. Supported formats: 3xUInt8, 3xInt8, 3xUInt16, 3xInt16, 3xInt32, 3xReal.

See also