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.2.1.1150 (2.2.1.1150)

Syntax

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

Parameters

image
IntPtr
Image header.
rect
Rectangle
ROI rectangle.

See Also