Get a submatrix corresponding to a specified rectangle

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public Matrix<TDepth> GetSubRect(
	Rectangle rect
)
Public Function GetSubRect ( _
	rect As Rectangle _
) As Matrix(Of TDepth)
public:
Matrix<TDepth>^ GetSubRect(
	Rectangle rect
)

Parameters

rect
Rectangle
the rectangle area of the sub-matrix

Return Value

A submatrix corresponding to a specified rectangle

See Also