Table of Contents

Class ScalarArray

Namespace
Emgu.CV
Assembly
Emgu.CV.dll

An implementation of IInputArray intented to convert data to IInputArray

public class ScalarArray : UnmanagedObject, IInputArray, IDisposable
Inheritance
ScalarArray
Implements
Inherited Members
Extension Methods

Constructors

ScalarArray(MCvScalar)

Create an InputArray from MCvScalar

public ScalarArray(MCvScalar scalar)

Parameters

scalar MCvScalar

The MCvScalar to be converted to InputArray

ScalarArray(double)

Create an InputArray from a double value

public ScalarArray(double scalar)

Parameters

scalar double

The double value to be converted to InputArray

Methods

DisposeObject()

Release all the unmanaged memory associated with this InputArray

protected override void DisposeObject()

GetInputArray()

The pointer to the input array

public InputArray GetInputArray()

Returns

InputArray

The input array

Operators

explicit operator ScalarArray(MCvScalar)

Convert MCvScalar to InputArray

public static explicit operator ScalarArray(MCvScalar scalar)

Parameters

scalar MCvScalar

The MCvScalar

Returns

ScalarArray

The InputArray

explicit operator ScalarArray(double)

Convert double scalar to InputArray

public static explicit operator ScalarArray(double scalar)

Parameters

scalar double

The double scalar

Returns

ScalarArray

The InputArray