Show / Hide Table of Contents

Class MatIndexer<T>

Abstract definition of Mat indexer

Inheritance
System.Object
MatIndexer<T>
Mat.Indexer<T>
Mat.UnsafeIndexer<T>
Mat<TElem>.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 Source

Item[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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

Parent

Parent matrix object

Declaration
protected Mat Parent { get; }
Property Value
Type Description
Mat
| Improve this Doc View Source

Steps

Step byte length for each dimension

Declaration
protected IReadOnlyList<long> Steps { get; }
Property Value
Type Description
IReadOnlyList<System.Int64>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX