C# Class AForge.Imaging.YCbCr

YCbCr components
Afficher le fichier Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Méthodes publiques

Свойство Type Description
Cb float
Cr float
Y float

Méthodes publiques

Méthode Description
FromRGB ( RGB rgb ) : YCbCr

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

FromRGB ( RGB rgb, YCbCr ycbcr ) : void

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

ToRGB ( ) : RGB

Convert the color to RGB color space.

ToRGB ( YCbCr ycbcr, RGB rgb ) : void

Convert from YCbCr to RGB color space.

YCbCr ( ) : System

Initializes a new instance of the YCbCr class.

YCbCr ( float y, float cb, float cr ) : System

Initializes a new instance of the YCbCr class.

Method Details

FromRGB() public static méthode

Convert from RGB to YCbCr color space (Rec 601-1 specification).
public static FromRGB ( RGB rgb ) : YCbCr
rgb RGB Source color in RGB color space.
Résultat YCbCr

FromRGB() public static méthode

Convert from RGB to YCbCr color space (Rec 601-1 specification).
public static FromRGB ( RGB rgb, YCbCr ycbcr ) : void
rgb RGB Source color in RGB color space.
ycbcr YCbCr Destination color in YCbCr color space.
Résultat void

ToRGB() public méthode

Convert the color to RGB color space.
public ToRGB ( ) : RGB
Résultat RGB

ToRGB() public static méthode

Convert from YCbCr to RGB color space.
public static ToRGB ( YCbCr ycbcr, RGB rgb ) : void
ycbcr YCbCr Source color in YCbCr color space.
rgb RGB Destination color in RGB color spacs.
Résultat void

YCbCr() public méthode

Initializes a new instance of the YCbCr class.
public YCbCr ( ) : System
Résultat System

YCbCr() public méthode

Initializes a new instance of the YCbCr class.
public YCbCr ( float y, float cb, float cr ) : System
y float Y component.
cb float Cb component.
cr float Cr component.
Résultat System

Property Details

Cb public_oe property

Cb component.
public float Cb
Résultat float

Cr public_oe property

Cr component.
public float Cr
Résultat float

Y public_oe property

Y component.
public float Y
Résultat float