Table of Contents

Method AdjustROI

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

AdjustROI(int, int, int, int)

Adjusts a submatrix size and position within the parent matrix.

public Mat AdjustROI(int dtop, int dbottom, int dleft, int dright)

Parameters

dtop int

Shift of the top submatrix boundary upwards.

dbottom int

Shift of the bottom submatrix boundary downwards.

dleft int

Shift of the left submatrix boundary to the left.

dright int

Shift of the right submatrix boundary to the right.

Returns

Mat