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

AVL.RgbToXyz

Converts color space from Red-Green-Blue to XYZ.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RgbToXyz
(
	AvlNet.Image inRgbImage,
	AvlNet.Image outXyzImage
)

Parameters

Name Type Range Default Description
inRgbImageAvlNet.Image
outXyzImageAvlNet.Image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

This operation supports processing on OpenCL compatible device (when pixel type is uint8).

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

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

See also