Table of Contents

Struct Hsv

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

Defines a HSV (Hue Satuation Value) color

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

Constructors

Hsv(double, double, double)

Create a HSV color using the specific values

public Hsv(double hue, double satuation, double value)

Parameters

hue double

The hue value for this color ( 0 < hue < 180 )

satuation double

The satuation value for this color

value double

The value for this color

Properties

Dimension

Get the dimension of this color

public int Dimension { get; }

Property Value

int

Hue

Get or set the intensity of the hue color channel ( 0 < hue < 180 )

public double Hue { get; set; }

Property Value

double

MCvScalar

Get or Set the equivalent MCvScalar value

public MCvScalar MCvScalar { get; set; }

Property Value

MCvScalar

Satuation

Get or set the intensity of the satuation color channel

public double Satuation { get; set; }

Property Value

double

Value

Get or set the intensity of the value color channel

public double Value { get; set; }

Property Value

double

Methods

Equals(Hsv)

Return true if the two color equals

public bool Equals(Hsv other)

Parameters

other Hsv

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