Show / Hide Table of Contents

Class Mat<TElem>.Indexer

Matrix indexer

Inheritance
System.Object
MatIndexer<TElem>
Mat<TElem>.Indexer
Inherited Members
MatIndexer<TElem>.Parent
MatIndexer<TElem>.Steps
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 : MatIndexer<TElem>

Properties

| Improve this Doc View Source

Item[Int32]

1-dimensional indexer

Declaration
public override TElem this[int i0] { get; set; }
Parameters
Type Name Description
System.Int32 i0

Index along the dimension 0

Property Value
Type Description
TElem

A value to the specified array element.

Overrides
OpenCvSharp.MatIndexer<TElem>.Item[System.Int32]
| Improve this Doc View Source

Item[Int32, Int32]

2-dimensional indexer

Declaration
public override TElem 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
TElem

A value to the specified array element.

Overrides
OpenCvSharp.MatIndexer<TElem>.Item[System.Int32, System.Int32]
| Improve this Doc View Source

Item[Int32, Int32, Int32]

3-dimensional indexer

Declaration
public override TElem 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
TElem

A value to the specified array element.

Overrides
OpenCvSharp.MatIndexer<TElem>.Item[System.Int32, System.Int32, System.Int32]
| Improve this Doc View Source

Item[Int32[]]

n-dimensional indexer

Declaration
public override TElem this[params int[] idx] { get; set; }
Parameters
Type Name Description
System.Int32[] idx

Array of Mat::dims indices.

Property Value
Type Description
TElem

A value to the specified array element.

Overrides
OpenCvSharp.MatIndexer<TElem>.Item[System.Int32[]]
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX