Convert from RGB to YCbCr color space (Rec 601-1 specification).

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static YCbCr FromRGB(
	RGB rgb
)

Parameters

rgb
Type: AForge.Imaging..::.RGB
Source color in RGB color space.

Return Value

Returns YCbCr instance, which represents converted color value.

See Also