Table of Contents

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

i0 int

Index 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

i0 int

Index along the dimension 0

i1 int

Index along the dimension 1

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

i0 int

Index along the dimension 0

i1 int

Index along the dimension 1

i2 int

Index 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

idx int[]

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

Mat

Steps

Step byte length for each dimension

protected IReadOnlyList<long> Steps { get; }

Property Value

IReadOnlyList<long>