Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Color Spaces » CmykToRgb
CmykToRgb
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Converts color space from Cyan-Magenta-Yellow-Key into Red-Green-Blue.
Applications: CMYK color space is designed for printing - not recommended for machine vision.
Syntax
C++
C#
void avl::CmykToRgb ( const avl::Image& inCmykImage, avl::Image& outRgbImage )
Parameters
Requirements
For input inCmykImage only pixel formats are supported: 4⨯uint8, 4⨯int8, 4⨯uint16, 4⨯int16, 4⨯int32, 4⨯real.
Read more about pixel formats in Image documentation.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Not a 4-channel image in CmykToRgb. |
DomainError | Not supported inCmykImage pixel format in CmykToRgb. Supported formats: 4xUInt8, 4xInt8, 4xUInt16, 4xInt16, 4xInt32, 4xReal. |