Click or drag to resize

MatAdjustROI Method

Adjusts a submatrix size and position within the parent matrix.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public Mat AdjustROI(
	int dtop,
	int dbottom,
	int dleft,
	int dright
)

Parameters

dtop
Type: SystemInt32
Shift of the top submatrix boundary upwards.
dbottom
Type: SystemInt32
Shift of the bottom submatrix boundary downwards.
dleft
Type: SystemInt32
Shift of the left submatrix boundary to the left.
dright
Type: SystemInt32
Shift of the right submatrix boundary to the right.

Return Value

Type: Mat
See Also