PDA

View Full Version : Determining camera type



zsoltmathe
August 7, 2005, 06:37:50
How can the camera type (Bayer, B&W or Color) be determined programatically? Looking at only the image returned is not enough since for example the Bayer camera can either return a Y8 or YUV image. I could not find any reference in the SDK documentation about a way of doing this.

Stefan Geissler
August 8, 2005, 12:26:29
Hello,

You can only determine this by the camera name and by the available video formats. Both can be enumerated using IC Imaging Control Class Library. Please refer to
http://www.imagingcontrol.com/ic/docs/html/class/meth_descGrabber_getAvailableVideoCaptureDevices.h tm
and
http://www.imagingcontrol.com/ic/docs/html/class/meth_descGrabber_getAvailableVideoFormats.htm