Click or drag to resize

MatTElemSubMat Method (Int32, Int32, Int32, Int32)

Extracts a rectangular submatrix.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public Mat<TElem> SubMat(
	int rowStart,
	int rowEnd,
	int colStart,
	int colEnd
)

Parameters

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

Return Value

Type: MatTElem

[Missing <returns> documentation for "M:OpenCvSharp.Mat`1.SubMat(System.Int32,System.Int32,System.Int32,System.Int32)"]

See Also