You are here: Start » AVL.NET » Function Reference » Image » Image Color Spaces » AVL.RgbToYCoCgR

AVL.RgbToYCoCgR

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RgbToYCoCgR
(
	AvlNet.Image inRgbImage,
	AvlNet.Image outYCoCgRImage
)

Parameters

Name Type Range Default Description
inRgbImageAvlNet.Image
outYCoCgRImageAvlNet.Image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

Error type Description
DomainError Not a 3-channel image in RgbToYCoCgR.
DomainError Not supported inRgbImage pixel format in RgbToYCoCgR. Supported formats: 3xUInt8, 3xInt8, 3xUInt16, 3xInt16, 3xInt32, 3xReal.

See also