Table of Contents

Struct MCvScalar

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

Managed structure equivalent to CvScalar

public struct MCvScalar : ICodeGenerable, IEquatable<MCvScalar>
Implements
Inherited Members

Constructors

MCvScalar(double)

Create a new MCvScalar structure using the specific values

public MCvScalar(double v0)

Parameters

v0 double

v0

MCvScalar(double, double)

Create a new MCvScalar structure using the specific values

public MCvScalar(double v0, double v1)

Parameters

v0 double

v0

v1 double

v1

MCvScalar(double, double, double)

Create a new MCvScalar structure using the specific values

public MCvScalar(double v0, double v1, double v2)

Parameters

v0 double

v0

v1 double

v1

v2 double

v2

MCvScalar(double, double, double, double)

Create a new MCvScalar structure using the specific values

public MCvScalar(double v0, double v1, double v2, double v3)

Parameters

v0 double

v0

v1 double

v1

v2 double

v2

v3 double

v3

Fields

V0

The scalar value

public double V0

Field Value

double

V1

The scalar value

public double V1

Field Value

double

V2

The scalar value

public double V2

Field Value

double

V3

The scalar value

public double V3

Field Value

double

Methods

Equals(MCvScalar)

Return true if the two MCvScalar equals

public bool Equals(MCvScalar other)

Parameters

other MCvScalar

The other MCvScalar to compare with

Returns

bool

true if the two MCvScalar equals

ToArray()

The scalar values as a vector (of size 4)

public double[] ToArray()

Returns

double[]

The scalar values as an array

ToCode(ProgrammingLanguage)

Return the code to generate this MCvScalar from specific language

public string ToCode(ProgrammingLanguage language)

Parameters

language ProgrammingLanguage

The programming language to generate code from

Returns

string

The code to generate this MCvScalar from specific language