http://www.emgu.com
Get or Set the specific channel of the current image. For Get operation, a copy of the specific channel is returned. For Set operation, the specific channel is copied to this image.

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

Syntax

C#
public Image<Gray, TDepth> this[
	int channel
] { get; set; }
Visual Basic
Public Default Property Item ( _
	channel As Integer _
) As Image(Of Gray, TDepth)
	Get
	Set
Visual C++
public:
property Image<Gray, TDepth>^ default[int channel] {
	Image<Gray, TDepth>^ get (int channel);
	void set (int channel, Image<Gray, TDepth>^ value);
}

Parameters

channel
Type: System..::..Int32
The channel to get from the current image, zero based index

Return Value

The specific channel of the current image

See Also