Show / Hide Table of Contents

Class Mat.UnsafeIndexer<T>

Mat Indexer

Inheritance
System.Object
MatIndexer<T>
Mat.UnsafeIndexer<T>
Inherited Members
MatIndexer<T>.Parent
MatIndexer<T>.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 UnsafeIndexer<T> : MatIndexer<T> where T : struct
Type Parameters
Name Description
T

Properties

| Improve this Doc View Source

Item[Int32]

1-dimensional indexer

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

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

Item[Int32, Int32]

2-dimensional indexer

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

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

Item[Int32, Int32, Int32]

3-dimensional indexer

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

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

Item[Int32[]]

n-dimensional indexer

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

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