45 #ifndef vp1394CMUGrabber_h
46 #define vp1394CMUGrabber_h
48 #include <visp3/core/vpConfig.h>
50 #ifdef VISP_HAVE_CMU1394
54 #include <1394Camera.h>
58 #include <visp3/core/vpFrameGrabber.h>
59 #include <visp3/core/vpFrameGrabberException.h>
60 #include <visp3/core/vpImage.h>
61 #include <visp3/core/vpRGBa.h>
161 typedef enum { YUV444, YUV422, YUV411, RGB8, MONO8, MONO16, UNKNOWN } vpColorCodingType;
169 unsigned long _format;
177 unsigned short _gain;
179 unsigned short _shutter;
181 vpColorCodingType _color;
199 void displayCameraDescription(
int cam_id);
203 void displayCameraModel();
209 void getGainMinMax(
unsigned short &min,
unsigned short &max);
212 int getNumberOfConnectedCameras()
const;
215 void getShutterMinMax(
unsigned short &min,
unsigned short &max);
246 else if (_format == 1) {
274 else if (_format == 2) {
316 void selectCamera(
int cam_id);
322 void setAutoShutter();
325 void setControl(
unsigned short gain,
unsigned short shutter);
328 void setFramerate(
unsigned long fps);
331 void setShutter(
unsigned short shutter);
334 void setGain(
unsigned short gain);
337 void setVideoMode(
unsigned long format,
unsigned long mode);
Firewire cameras video capture based on CMU 1394 Digital Camera SDK.
vpColorCodingType getVideoColorCoding() const
Get the video color coding format.
Base class for all video devices. It is designed to provide a front end to video sources.
virtual void open(vpImage< unsigned char > &I)=0
virtual void acquire(vpImage< unsigned char > &I)=0