Sets the image ROI to a given rectangle. If ROI is NULL and the value of the parameter rect is not equal to the whole image, ROI is allocated.

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

Syntax

C#
public static void cvSetImageROI(
	IntPtr image,
	Rectangle rect
)
Visual Basic (Declaration)
Public Shared Sub cvSetImageROI ( _
	image As IntPtr, _
	rect As Rectangle _
)
Visual C++
public:
static void cvSetImageROI(
	IntPtr image, 
	Rectangle rect
)

Parameters

image
Type: System..::.IntPtr
Image header.
rect
Type: System.Drawing..::.Rectangle
ROI rectangle.

See Also