http://www.emgu.com
Most of OpenCV functions support 1,2,3 or 4 channels

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

Syntax

C#
public int nChannels
Visual Basic
Public nChannels As Integer
Visual C++
public:
int nChannels

See Also