Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Color Spaces » YCoCgToRgb

YCoCgToRgb
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Converts color space from pseudointensitY-Orange-Green into Red-Green-Blue.
Syntax
C++
C#
void fil::YCoCgToRgb ( const fil::Image& inYCoCgImage, fil::Image& outRgbImage )
Parameters
Requirements
For input inYCoCgImage 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.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Not a 3-channel image in YCoCgToRgb. |
DomainError | Not supported inYCoCgImage pixel format in YCoCgToRgb. Supported formats: 3xUInt8, 3xInt8, 3xUInt16, 3xInt16, 3xInt32, 3xReal. |