Sets the channel of interest to a given value. Value 0 means that all channels are selected, 1 means that the first channel is selected etc. If ROI is NULL and coi != 0, ROI is allocated.

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 static void cvSetImageCOI(
	IntPtr image,
	int coi
)
Public Shared Sub cvSetImageCOI ( _
	image As IntPtr, _
	coi As Integer _
)
public:
static void cvSetImageCOI(
	IntPtr image, 
	int coi
)

Parameters

image
IntPtr
Image header
coi
Int32
Channel of interest starting from 1. If 0, the COI is unset.

See Also