Click or drag to resize

MatTElemSubMat Method (Range, Range)

Extracts a rectangular submatrix.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public Mat<TElem> SubMat(
	Range rowRange,
	Range colRange
)

Parameters

rowRange
Type: OpenCvSharpRange
Start and end row of the extracted submatrix. The upper boundary is not included. To select all the rows, use Range.All().
colRange
Type: OpenCvSharpRange
Start and end column of the extracted submatrix. The upper boundary is not included. To select all the columns, use Range.All().

Return Value

Type: MatTElem

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

See Also