Back to Adaptive Vision Library website

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

RgbToXyz


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

Syntax

C++
C#
 
void avl::RgbToXyz
(
	const avl::Image& inRgbImage,
	avl::Image& outXyzImage
)

Parameters

Name Type Default Description
inRgbImage const Image&
outXyzImage 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).

Errors

Error type Description
DomainError Not a 3-channel image in RgbToXyz.