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

AVL.RgbToYCoCg

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RgbToYCoCg
(
	AvlNet.Image inRgbImage,
	AvlNet.Image outYCoCgImage
)

Parameters

Name Type Range Default Description
inRgbImageAvlNet.Image
outYCoCgImageAvlNet.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 RgbToYCoCg.
DomainError Not supported inRgbImage pixel format in RgbToYCoCg.

See also