A class for grabing stereo images from a STOC camera of Videre Design NOTE:
Once connected to a camera, you can call "getStereoObservation" to retrieve the Disparity images.
Definition at line 68 of file CStereoGrabber_SVS.h.
#include <mrpt/hwdrivers/CStereoGrabber_SVS.h>
Public Member Functions | |
CStereoGrabber_SVS (int cameraIndex=0, const TCaptureOptions_SVS &options=TCaptureOptions_SVS()) | |
Constructor: More... | |
CStereoGrabber_SVS (const CStereoGrabber_SVS &)=delete | |
CStereoGrabber_SVS & | operator= (const CStereoGrabber_SVS &)=delete |
virtual | ~CStereoGrabber_SVS (void) |
Destructor. More... | |
bool | getStereoObservation (mrpt::obs::CObservationStereoImages &out_observation) |
Grab stereo images, and return the pair of rectified images. More... | |
Public Attributes | |
TCaptureOptions_SVS | m_options |
Protected Attributes | |
bool | m_bInitialized |
If this has been correctly initiated. More... | |
void * | m_videoObject |
void * | m_stereoImage |
void * | m_disparityParams |
void * | m_processObject |
unsigned int | m_resolutionX |
unsigned int | m_resolutionY |
unsigned char * | m_ptrMat |
bool | m_status |
bool | m_initialized |
bool | m_procesOnChip |
bool | m_calDisparity |
CStereoGrabber_SVS::CStereoGrabber_SVS | ( | int | cameraIndex = 0 , |
const TCaptureOptions_SVS & | options = TCaptureOptions_SVS() |
||
) |
Constructor:
Definition at line 30 of file CStereoGrabber_SVS.cpp.
References mrpt::hwdrivers::TCaptureOptions_SVS::framerate, mrpt::hwdrivers::TCaptureOptions_SVS::m_Corrsize, m_disparityParams, mrpt::hwdrivers::TCaptureOptions_SVS::m_Horopter, m_initialized, mrpt::hwdrivers::TCaptureOptions_SVS::m_LR, mrpt::hwdrivers::TCaptureOptions_SVS::m_NDisp, m_options, m_procesOnChip, m_processObject, m_resolutionX, m_resolutionY, mrpt::hwdrivers::TCaptureOptions_SVS::m_SpeckleSize, m_status, mrpt::hwdrivers::TCaptureOptions_SVS::m_Thresh, mrpt::hwdrivers::TCaptureOptions_SVS::m_Unique, m_videoObject, MRPT_UNUSED_PARAM, and THROW_EXCEPTION.
|
delete |
|
virtual |
bool CStereoGrabber_SVS::getStereoObservation | ( | mrpt::obs::CObservationStereoImages & | out_observation | ) |
Grab stereo images, and return the pair of rectified images.
out_observation | The object to be filled with sensed data. |
NOTICE: (1) That the member "CObservationStereoImages::refCameraPose" must be set on the return of this method, since we don't know here the robot physical structure. (2) The images are already rectified.
Definition at line 185 of file CStereoGrabber_SVS.cpp.
References ASSERT_, m_calDisparity, m_disparityParams, m_procesOnChip, m_processObject, m_resolutionX, m_resolutionY, m_stereoImage, m_videoObject, MRPT_UNUSED_PARAM, and mrpt::obs::CObservationStereoImages::swap().
|
delete |
|
protected |
If this has been correctly initiated.
Definition at line 72 of file CStereoGrabber_SVS.h.
|
protected |
Definition at line 86 of file CStereoGrabber_SVS.h.
Referenced by getStereoObservation().
|
protected |
Definition at line 76 of file CStereoGrabber_SVS.h.
Referenced by CStereoGrabber_SVS(), and getStereoObservation().
|
protected |
Definition at line 84 of file CStereoGrabber_SVS.h.
Referenced by CStereoGrabber_SVS().
TCaptureOptions_SVS mrpt::hwdrivers::CStereoGrabber_SVS::m_options |
Definition at line 90 of file CStereoGrabber_SVS.h.
Referenced by CStereoGrabber_SVS().
|
protected |
Definition at line 85 of file CStereoGrabber_SVS.h.
Referenced by CStereoGrabber_SVS(), and getStereoObservation().
|
protected |
Definition at line 77 of file CStereoGrabber_SVS.h.
Referenced by CStereoGrabber_SVS(), and getStereoObservation().
|
protected |
Definition at line 81 of file CStereoGrabber_SVS.h.
|
protected |
Definition at line 78 of file CStereoGrabber_SVS.h.
Referenced by CStereoGrabber_SVS(), and getStereoObservation().
|
protected |
Definition at line 79 of file CStereoGrabber_SVS.h.
Referenced by CStereoGrabber_SVS(), and getStereoObservation().
|
protected |
Definition at line 83 of file CStereoGrabber_SVS.h.
Referenced by CStereoGrabber_SVS().
|
protected |
Definition at line 75 of file CStereoGrabber_SVS.h.
Referenced by getStereoObservation().
|
protected |
Definition at line 74 of file CStereoGrabber_SVS.h.
Referenced by CStereoGrabber_SVS(), getStereoObservation(), and ~CStereoGrabber_SVS().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |