Class MatIndexer<T>
Abstract definition of Mat indexer
Inherited Members
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 abstract class MatIndexer<T>
where T : struct
Type Parameters
Name | Description |
---|---|
T |
Properties
| Improve this Doc View SourceItem[Int32]
1-dimensional indexer
Declaration
public abstract T this[int i0] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i0 | Index along the dimension 0 |
Property Value
Type | Description |
---|---|
T | A value to the specified array element. |
Item[Int32, Int32]
2-dimensional indexer
Declaration
public abstract T this[int i0, int i1] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i0 | Index along the dimension 0 |
System.Int32 | i1 | Index along the dimension 1 |
Property Value
Type | Description |
---|---|
T | A value to the specified array element. |
Item[Int32, Int32, Int32]
3-dimensional indexer
Declaration
public abstract T this[int i0, int i1, int i2] { 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 |
Property Value
Type | Description |
---|---|
T | A value to the specified array element. |
Item[Int32[]]
n-dimensional indexer
Declaration
public abstract T this[params int[] idx] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | idx | Array of Mat::dims indices. |
Property Value
Type | Description |
---|---|
T | A value to the specified array element. |
Parent
Parent matrix object
Declaration
protected Mat Parent { get; }
Property Value
Type | Description |
---|---|
Mat |
Steps
Step byte length for each dimension
Declaration
protected IReadOnlyList<long> Steps { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<System.Int64> |