Class SparseMatIndexer<T>
Abstract definition of Mat indexer
Inherited Members
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public abstract class SparseMatIndexer<T>
where T : struct
Type Parameters
Name | Description |
---|---|
T |
Properties
| Improve this Doc View SourceItem[Int32, Int32, Int32, Nullable<Int64>]
3-dimensional indexer
Declaration
public abstract 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. |
Item[Int32, Int32, Nullable<Int64>]
2-dimensional indexer
Declaration
public abstract 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. |
Item[Int32, Nullable<Int64>]
1-dimensional indexer
Declaration
public abstract 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. |
Item[Int32[], Nullable<Int64>]
n-dimensional indexer
Declaration
public abstract 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. |
Parent
Parent matrix object
Declaration
protected SparseMat Parent { get; }
Property Value
Type | Description |
---|---|
SparseMat |