Show / Hide Table of Contents

Class SparseMat.Indexer<T>

Mat Indexer

Inheritance
System.Object
SparseMatIndexer<T>
SparseMat.Indexer<T>
Inherited Members
SparseMatIndexer<T>.Parent
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public sealed class Indexer<T> : SparseMatIndexer<T> where T : struct
Type Parameters
Name Description
T

Properties

| Improve this Doc View Source

Item[Int32, Int32, Int32, Nullable<Int64>]

3-dimensional indexer

Declaration
public override T this[int i0, int i1, int i2, long? hashVal = null ] { get; set; }
Parameters
Type Name Description
System.Int32 i0

Index along the dimension 0

System.Int32 i1

Index along the dimension 1

System.Int32 i2

Index along the dimension 2

System.Nullable<System.Int64> hashVal

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

Property Value
Type Description
T

A value to the specified array element.

Overrides
OpenCvSharp.SparseMatIndexer<T>.Item[System.Int32, System.Int32, System.Int32, System.Nullable<System.Int64>]
| Improve this Doc View Source

Item[Int32, Int32, Nullable<Int64>]

2-dimensional indexer

Declaration
public override T this[int i0, int i1, long? hashVal = null ] { get; set; }
Parameters
Type Name Description
System.Int32 i0

Index along the dimension 0

System.Int32 i1

Index along the dimension 1

System.Nullable<System.Int64> hashVal

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

Property Value
Type Description
T

A value to the specified array element.

Overrides
OpenCvSharp.SparseMatIndexer<T>.Item[System.Int32, System.Int32, System.Nullable<System.Int64>]
| Improve this Doc View Source

Item[Int32, Nullable<Int64>]

1-dimensional indexer

Declaration
public override T this[int i0, long? hashVal = null ] { get; set; }
Parameters
Type Name Description
System.Int32 i0

Index along the dimension 0

System.Nullable<System.Int64> hashVal

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

Property Value
Type Description
T

A value to the specified array element.

Overrides
OpenCvSharp.SparseMatIndexer<T>.Item[System.Int32, System.Nullable<System.Int64>]
| Improve this Doc View Source

Item[Int32[], Nullable<Int64>]

n-dimensional indexer

Declaration
public override T this[int[] idx, long? hashVal = null ] { get; set; }
Parameters
Type Name Description
System.Int32[] idx

Array of Mat::dims indices.

System.Nullable<System.Int64> hashVal

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

Property Value
Type Description
T

A value to the specified array element.

Overrides
OpenCvSharp.SparseMatIndexer<T>.Item[System.Int32[], System.Nullable<System.Int64>]
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX