Click or drag to resize

MatTElem, TInheritSubMat Method (Range, Range)

Extracts a rectangular submatrix.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public TInherit 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: TInherit
See Also