Table of Contents

Class SparseMat.Indexer<T>

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Mat Indexer

public sealed class SparseMat.Indexer<T> : SparseMatIndexer<T> where T : struct

Type Parameters

T
Inheritance
SparseMat.Indexer<T>
Inherited Members

Properties

this[int, int, int, long?]

3-dimensional indexer

public override T this[int i0, int i1, int i2, long? hashVal = null] { get; set; }

Parameters

i0 int

Index along the dimension 0

i1 int

Index along the dimension 1

i2 int

Index along the dimension 2

hashVal long?

If hashVal is not null, the element hash value is not computed but hashval is taken instead.

Property Value

T

A value to the specified array element.

this[int, int, long?]

2-dimensional indexer

public override T this[int i0, int i1, long? hashVal = null] { get; set; }

Parameters

i0 int

Index along the dimension 0

i1 int

Index along the dimension 1

hashVal long?

If hashVal is not null, the element hash value is not computed but hashval is taken instead.

Property Value

T

A value to the specified array element.

this[int, long?]

1-dimensional indexer

public override T this[int i0, long? hashVal = null] { get; set; }

Parameters

i0 int

Index along the dimension 0

hashVal long?

If hashVal is not null, the element hash value is not computed but hashval is taken instead.

Property Value

T

A value to the specified array element.

this[int[], long?]

n-dimensional indexer

public override T this[int[] idx, long? hashVal = null] { get; set; }

Parameters

idx int[]

Array of Mat::dims indices.

hashVal long?

If hashVal is not null, the element hash value is not computed but hashval is taken instead.

Property Value

T

A value to the specified array element.