Class MatIndexer<T>
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Abstract definition of Mat indexer
public abstract class MatIndexer<T> where T : struct
Type Parameters
T
- Inheritance
-
MatIndexer<T>
- Derived
- Inherited Members
Properties
this[int]
1-dimensional indexer
public abstract T this[int i0] { get; set; }
Parameters
i0intIndex along the dimension 0
Property Value
- T
A value to the specified array element.
this[int, int]
2-dimensional indexer
public abstract T this[int i0, int i1] { get; set; }
Parameters
Property Value
- T
A value to the specified array element.
this[int, int, int]
3-dimensional indexer
public abstract T this[int i0, int i1, int i2] { get; set; }
Parameters
i0intIndex along the dimension 0
i1intIndex along the dimension 1
i2intIndex along the dimension 2
Property Value
- T
A value to the specified array element.
this[int[]]
n-dimensional indexer
[SuppressMessage("Microsoft.Design", "CA1043: Use integral or string argument for indexers")]
public abstract T this[params int[] idx] { get; set; }
Parameters
idxint[]Array of Mat::dims indices.
Property Value
- T
A value to the specified array element.
Parent
Parent matrix object
protected Mat Parent { get; }
Property Value
Steps
Step byte length for each dimension
protected IReadOnlyList<long> Steps { get; }