Table of Contents

Struct Ycc

Namespace
Emgu.CV.Structure
Assembly
Emgu.CV.dll

Defines a Ycc color (YCrCb JPEG)

[ColorInfo(ConversionCodename = "YCrCb")]
public struct Ycc : IColor, IEquatable<Ycc>
Implements
Inherited Members

Constructors

Ycc(double, double, double)

Create a Ycc color using the specific values

public Ycc(double y, double cr, double cb)

Parameters

y double

The Y value for this color

cr double

The Cr value for this color

cb double

The Cb value for this color

Properties

Cb

Get or set the intensity of the Cb color channel

public double Cb { get; set; }

Property Value

double

Cr

Get or set the intensity of the Cr color channel

public double Cr { get; set; }

Property Value

double

Dimension

Get the dimension of this color

public int Dimension { get; }

Property Value

int

MCvScalar

Get or Set the equivalent MCvScalar value

public MCvScalar MCvScalar { get; set; }

Property Value

MCvScalar

Y

Get or set the intensity of the Y color channel

public double Y { get; set; }

Property Value

double

Methods

Equals(Ycc)

Return true if the two color equals

public bool Equals(Ycc other)

Parameters

other Ycc

The other color to compare with

Returns

bool

true if the two color equals

ToString()

Represent this color as a String

public override string ToString()

Returns

string

The string representation of this color