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

Syntax

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

Parameters

channel
Int32
The channel to get from the current image, zero based index

Return Value

The specific channel of the current image

See Also