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.0.1.0 (2.0.1.0)

Syntax

C#
public static void cvSetImageCOI(
	IntPtr image,
	int coi
)
Visual Basic (Declaration)
Public Shared Sub cvSetImageCOI ( _
	image As IntPtr, _
	coi As Integer _
)
Visual C++
public:
static void cvSetImageCOI(
	IntPtr image, 
	int coi
)

Parameters

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

See Also