Back to Adaptive Vision Library website

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

RgbToYCoCg


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

Syntax

C++
C#
 
void avl::RgbToYCoCg
(
	const avl::Image& inRgbImage,
	avl::Image& outYCoCgImage
)

Parameters

Name Type Default Description
inRgbImage const Image&
outYCoCgImage Image&

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

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