Click or drag to resize

MatItem Property (Int32, Int32, Int32, Int32)

Extracts a rectangular submatrix.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public Mat this[
	int rowStart,
	int rowEnd,
	int colStart,
	int colEnd
] { get; set; }

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