Click or drag to resize

Mat<TElem, TInherit> .SubMat Method (Int32, Int32, Int32, Int32)

Extracts a rectangular submatrix.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public TInherit SubMat(
	int rowStart,
	int rowEnd,
	int colStart,
	int colEnd
)

Parameters

rowStart
Type: System.Int32
Start row of the extracted submatrix. The upper boundary is not included.
rowEnd
Type: System.Int32
End row of the extracted submatrix. The upper boundary is not included.
colStart
Type: System.Int32
Start column of the extracted submatrix. The upper boundary is not included.
colEnd
Type: System.Int32
End column of the extracted submatrix. The upper boundary is not included.

Return Value

Type: TInherit
See Also