Table of Contents

Struct Luv

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

Defines a CIE Luv color

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

Constructors

Luv(double, double, double)

Create a CIE Lab color using the specific values

public Luv(double x, double y, double z)

Parameters

x double

The x value for this color

y double

The y value for this color

z double

The z value for this color

Properties

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

X

The intensity of the x color channel

public double X { get; set; }

Property Value

double

Y

The intensity of the y color channel

public double Y { get; set; }

Property Value

double

Z

The intensity of the z color channel

public double Z { get; set; }

Property Value

double

Methods

Equals(Luv)

Return true if the two color equals

public bool Equals(Luv other)

Parameters

other Luv

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