Click or drag to resize

MatItem Property (Range, Range)

Extracts a rectangular submatrix.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public Mat this[
	Range rowRange,
	Range colRange
] { get; set; }

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: Mat
See Also