3 #include "videosource.h"
9 namespace FlyCapture2 {
33 PGRSource(
unsigned int camId=0,
bool gray=
true);
64 bool init(
unsigned int camId);
65 bool connectToCamera(
unsigned int camId);
68 void printError(FlyCapture2::Error* error);
70 iuprivate::PGRCameraData* data_;
The VideoSource class is the abstract base class for video input.
Definition: videosource.h:17
unsigned int getCurrentFrameNr()
get frame index. Upon camera initilaization, the counter is set to 0
Definition: pgrsource.h:60
unsigned int getHeight()
get image height
Definition: pgrsource.h:54
PGRSource(unsigned int camId=0, bool gray=true)
PGRSource constructor. Initialize the camera camId.
unsigned int getWidth()
get image width
Definition: pgrsource.h:48
cv::Mat getImage()
grab a new image from the camera. If a new image is not available, block until there is one...
The PGRSource class reads from PointGrey Firewire cameras.
Definition: pgrsource.h:25