9 #ifndef CStereoGrabber_SVS_H 10 #define CStereoGrabber_SVS_H 22 int _frame_width = 640,
int _frame_height = 480,
double _framerate = 30,
23 int _NDisp = 64,
int _Corrsize = 15,
int _LR =
false,
int _Thresh = 10,
24 int _Unique = 13,
int _Horopter = 0,
int _SpeckleSize = 100,
25 bool _procesOnChip =
true,
bool _calDisparity =
true);
A class for grabing stereo images from a STOC camera of Videre Design NOTE:
unsigned int m_resolutionX
virtual ~CStereoGrabber_SVS(void)
Destructor.
int m_NDisp
number of STOC's disparities (Default: 64 )
Contains classes for various device interfaces.
double framerate
STOC camera frame rate (Default: 30 fps)
bool m_bInitialized
If this has been correctly initiated.
int frame_width
Capture resolution (Default: 640x480)
Observation class for either a pair of left+right or left+disparity images from a stereo camera...
CStereoGrabber_SVS(int cameraIndex=0, const TCaptureOptions_SVS &options=TCaptureOptions_SVS())
Constructor:
CStereoGrabber_SVS & operator=(const CStereoGrabber_SVS &)=delete
Options used when creating a STOC Videre Design camera capture object.
bool getRectified
Indicates if the STOC camera must capture rectified images (Default: true -> rectified) ...
TCaptureOptions_SVS m_options
TCaptureOptions_SVS(int _frame_width=640, int _frame_height=480, double _framerate=30, int _NDisp=64, int _Corrsize=15, int _LR=false, int _Thresh=10, int _Unique=13, int _Horopter=0, int _SpeckleSize=100, bool _procesOnChip=true, bool _calDisparity=true)
unsigned int m_resolutionY
GLsizei const GLfloat * value
bool getStereoObservation(mrpt::obs::CObservationStereoImages &out_observation)
Grab stereo images, and return the pair of rectified images.