Back to Adaptive Vision Library website

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

YCoCgToRgb


Converts color space from pseudointensitY-Orange-Green into Red-Green-Blue.

Header:AVL.h

Syntax

C++
C#
 
void avl::YCoCgToRgb
(
	const avl::Image& inYCoCgImage,
	avl::Image& outRgbImage
)

Parameters

Name Type Default Description
inYCoCgImage const Image&
outRgbImage Image&

Requirements

For input inYCoCgImage only pixel formats are supported: 3xuint8, 3xint8, 3xuint16, 3xint16, 3xint32, 3xreal.

Read more about pixel formats in Image documentation.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

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