Solar
Public Member Functions | List of all members
SolAR::MODULES::OPENCV::SolARStereoCalibrationOpencv Class Reference

Calibrate and rectify a stereo camera. UUID: 31051575-1521-4559-9e75-e7e97f990c77 More...

#include <SolARStereoCalibrationOpencv.h>

Inheritance diagram for SolAR::MODULES::OPENCV::SolARStereoCalibrationOpencv:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::OPENCV::SolARStereoCalibrationOpencv:
Collaboration graph
[legend]

Public Member Functions

 SolARStereoCalibrationOpencv ()
 SolARStereoCalibrationOpencv constructor.
 
 ~SolARStereoCalibrationOpencv () override
 SolARStereoCalibrationOpencv destructor.
 
FrameworkReturnCode calibrate (const std::vector< SRef< SolAR::datastructure::Image > > &images1, const std::vector< SRef< SolAR::datastructure::Image > > &images2, const SolAR::datastructure::CameraParameters &camParams1, const SolAR::datastructure::CameraParameters &camParams2, SolAR::datastructure::Transform3Df &transformation, SolAR::datastructure::RectificationParameters &rectParams1, SolAR::datastructure::RectificationParameters &rectParams2) override
 Calibrate a stereo camera from a set of captured images and output the result in the given file. More...
 
void unloadComponent () override
 

Detailed Description

Calibrate and rectify a stereo camera. UUID: 31051575-1521-4559-9e75-e7e97f990c77

Member Function Documentation

◆ calibrate()

FrameworkReturnCode SolAR::MODULES::OPENCV::SolARStereoCalibrationOpencv::calibrate ( const std::vector< SRef< SolAR::datastructure::Image > > &  images1,
const std::vector< SRef< SolAR::datastructure::Image > > &  images2,
const SolAR::datastructure::CameraParameters &  camParams1,
const SolAR::datastructure::CameraParameters &  camParams2,
SolAR::datastructure::Transform3Df &  transformation,
SolAR::datastructure::RectificationParameters &  rectParams1,
SolAR::datastructure::RectificationParameters &  rectParams2 
)
override

Calibrate a stereo camera from a set of captured images and output the result in the given file.

Parameters
[in]images1Set of images from the first camera
[in]images2Set of images from the second camera
[in]camParams1Camera parameters of the first camera
[in]camParams2Camera parameters of the second camera
[out]transformationTransformation matrix from the frist camera to the second camera
[out]rectParams1Rectification parameters of the first camera
[out]rectParams2Rectification parameters of the second camera
Returns
FrameworkReturnCode::SUCCESS if calibration succeed, else FrameworkReturnCode::_ERROR

The documentation for this class was generated from the following file: