Functions | |
bool | ProcessArgs (int argc, char *argv[], StereoAcquisitionParams ¶ms) |
ProcessArgs. | |
void | DisplayHelp (const string &pszProgramName, const StereoAcquisitionParams ¶ms) |
DisplayHelp. | |
bool | Compute3DPointCloudAndSave (const StereoParameters &stereoParameters, ImageList &imageList, int counter, string prefix="") |
Compute3DPointCloudAndSave. | |
bool | SaveImagesToFile (const StreamTransmitFlags &streamTransmitFlags, ImageList &imageList, int counter, const string prefix="") |
bool | SetDeviceLinkThroughput (CameraPtr pCam) |
bool | AcquireImages (CameraPtr pCam, StereoParameters &stereoParameters, unsigned int numImageSets) |
bool | RunSingleCamera (CameraPtr pCam, StereoParameters &stereoParameters, int numImageSets) |
int | main (int argc, char **argv) |
bool AcquireImages | ( | CameraPtr | pCam, |
StereoParameters & | stereoParameters, | ||
unsigned int | numImageSets | ||
) |
bool Compute3DPointCloudAndSave | ( | const StereoParameters & | stereoParameters, |
ImageList & | imageList, | ||
int | counter, | ||
string | prefix = "" |
||
) |
Compute3DPointCloudAndSave.
Compute the 3D point cloud using the image pair and save it to a ply file.
[in] | stereoParameters | The stereo parameters. |
[in] | imageMap | The map of images. |
[in] | counter | The counter. |
[in] | prefix | The prefix of the saved file name. |
void DisplayHelp | ( | const string & | pszProgramName, |
const StereoAcquisitionParams & | params | ||
) |
DisplayHelp.
Display the help for the stereo acquisition example.
[in] | pszProgramName | The name of the program. |
[in] | params | The parameters for the stereo acquisition example. |
int main | ( | int | argc, |
char ** | argv | ||
) |
bool ProcessArgs | ( | int | argc, |
char * | argv[], | ||
StereoAcquisitionParams & | params | ||
) |
ProcessArgs.
ProcessArgs takes command line arguments and modifies the given StereoAcquisitionParams object accordingly.
[in] | argc | The number of arguments passed to the program. |
[in] | argv | The command line arguments passed to the program. |
[in,out] | params | A StereoAcquisitionParams object to be modified by the function. |
bool RunSingleCamera | ( | CameraPtr | pCam, |
StereoParameters & | stereoParameters, | ||
int | numImageSets | ||
) |
bool SaveImagesToFile | ( | const StreamTransmitFlags & | streamTransmitFlags, |
ImageList & | imageList, | ||
int | counter, | ||
const string | prefix = "" |
||
) |
bool SetDeviceLinkThroughput | ( | CameraPtr | pCam | ) |