Back to Adaptive Vision Studio website

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

RgbToXyz


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

Name Type Description
inRgbImage Image
outXyzImage Image

Requirements

For input inRgbImage only pixel formats are supported: 3⨯uint8, 3⨯int8, 3⨯uint16, 3⨯int16, 3⨯int32, 3⨯real.

Read more about pixel formats in Image documentation.

Applications

XYZ color space is designed for human perception - not recommended for machine vision.

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

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not a 3-channel image in RgbToXyz.
DomainError Not supported inRgbImage pixel format in RgbToXyz.

Complexity Level

This filter is available on Expert Complexity Level.