Table of Contents

Class MatND<TDepth>

Namespace
Emgu.CV
Assembly
Emgu.CV.dll

A MatND is a wrapper to cvMatND of OpenCV.

public class MatND<TDepth> : CvArray<TDepth>, IXmlSerializable, IInputOutputArray, IInputArrayOfArrays, IOutputArrayOfArrays, IOutputArray, IInputArray, IDisposable, ISerializable, IEquatable<MatND<TDepth>> where TDepth : new()

Type Parameters

TDepth

The type of depth

Inheritance
CvArray<TDepth>
MatND<TDepth>
Implements
IXmlSerializable
IEquatable<MatND<TDepth>>
Inherited Members
Extension Methods

Constructors

MatND(params int[])

Create a N-dimensional matrix

public MatND(params int[] sizes)

Parameters

sizes int[]

The size for each dimension

MatND(SerializationInfo, StreamingContext)

Constructor used to deserialize runtime serialized object

public MatND(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The serialization info

context StreamingContext

The streaming context

Properties

CvDepth

Get the depth representation for Open CV

protected static DepthType CvDepth { get; }

Property Value

DepthType

MCvMatND

The MCvMatND structure

public MCvMatND MCvMatND { get; }

Property Value

MCvMatND

ManagedArray

Get the underneath managed array

public override Array ManagedArray { get; set; }

Property Value

Array

NumberOfChannels

This function is not implemented for MatND

public override int NumberOfChannels { get; }

Property Value

int

Methods

AllocateData(int, int, int)

This function is not implemented for MatND

protected override void AllocateData(int rows, int cols, int numberOfChannels)

Parameters

rows int

Not implemented

cols int

Not implemented

numberOfChannels int

Not implemented

Convert<TOtherDepth>()

Convert this matrix to different depth

public MatND<TOtherDepth> Convert<TOtherDepth>() where TOtherDepth : new()

Returns

MatND<TOtherDepth>

Matrix of different depth

Type Parameters

TOtherDepth

The depth type to convert to

DeserializeObjectData(SerializationInfo, StreamingContext)

A function used for runtime deserailization of the object

protected override void DeserializeObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

Serialization info

context StreamingContext

Streaming context

DisposeObject()

Release the matrix and all the memory associate with it

protected override void DisposeObject()

Equals(MatND<TDepth>)

Check if the two MatND are equal

public bool Equals(MatND<TDepth> other)

Parameters

other MatND<TDepth>

The other MatND to compares to

Returns

bool

True if the two MatND equals

GetObjectData(SerializationInfo, StreamingContext)

A function used for runtime serialization of the object

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

Serialization info

context StreamingContext

Streaming context

ReadXml(XmlReader)

Not Implemented

public override void ReadXml(XmlReader reader)

Parameters

reader XmlReader

The XmlReader

WriteXml(XmlWriter)

Not Implemented

public override void WriteXml(XmlWriter writer)

Parameters

writer XmlWriter

The XmlWriter