CvGetSubRect Method OpenCvSharp Class Library
Returns matrix header corresponding to the rectangular sub-array of input image or matrix

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static CvMat GetSubRect(
	CvArr arr,
	out CvMat submat,
	CvRect rect
)

Parameters

arr
Type: OpenCvSharpCvArr
Input array.
submat
Type: OpenCvSharpCvMat
Reference to the resultant sub-array header.
rect
Type: OpenCvSharpCvRect
Zero-based coordinates of the rectangle of interest.

Return Value

Type: CvMat
Reference to the header, corresponding to a specified rectangle of the input array.
See Also

Reference