Click or drag to resize
Accord.NET (logo)

YCbCrFromRGB Method (RGB)

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

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public static YCbCr FromRGB(
	RGB rgb
)
Request Example View Source

Parameters

rgb
Type: Accord.ImagingRGB
Source color in RGB color space.

Return Value

Type: YCbCr
Returns YCbCr instance, which represents converted color value.
See Also