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

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