Table of Contents

Class SparseMatrix<TDepth>

Namespace
Emgu.CV
Assembly
Emgu.CV.dll

Create a sparse matrix

public class SparseMatrix<TDepth> : UnmanagedObject, IDisposable where TDepth : new()

Type Parameters

TDepth

The type of elements in this matrix

Inheritance
SparseMatrix<TDepth>
Implements
Inherited Members

Constructors

SparseMatrix(int[])

Create a sparse matrix of the specific dimension

public SparseMatrix(int[] dimension)

Parameters

dimension int[]

The dimension of the sparse matrix

Properties

this[int, int]

Get or Set the value in the specific row and col

public double this[int row, int col] { get; set; }

Parameters

row int

the row of the element

col int

the col of the element

Property Value

double

The element on the specific row and col

Methods

DisposeObject()

Release the unmanaged memory associated with this sparse matrix

protected override void DisposeObject()