Table of Contents

Method Ptr

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Ptr(int)

Returns a pointer to the specified matrix row.

public nint Ptr(int i0)

Parameters

i0 int

Index along the dimension 0

Returns

nint

Ptr(int, int)

Returns a pointer to the specified matrix element.

public nint Ptr(int i0, int i1)

Parameters

i0 int

Index along the dimension 0

i1 int

Index along the dimension 1

Returns

nint

Ptr(int, int, int)

Returns a pointer to the specified matrix element.

public nint Ptr(int i0, int i1, int i2)

Parameters

i0 int

Index along the dimension 0

i1 int

Index along the dimension 1

i2 int

Index along the dimension 2

Returns

nint

Ptr(params int[])

Returns a pointer to the specified matrix element.

public nint Ptr(params int[] idx)

Parameters

idx int[]

Array of Mat::dims indices.

Returns

nint