Undistorts a set of points according to the distortion matrix of a camera. UUID: d926e249-8b7f-46e0-8cbd-f981ceb8f921
More...
#include <SolARUndistortPointsOpencv.h>
|
void | unloadComponent () override final |
|
FrameworkReturnCode | undistort (const std::vector< datastructure::Point2Df > &inputPoints, std::vector< datastructure::Point2Df > &outputPoints) override |
| This method corrects undistortsion to a set of 2D points. More...
|
|
FrameworkReturnCode | undistort (const std::vector< datastructure::Keypoint > &inputKeypoints, std::vector< datastructure::Keypoint > &outputKeypoints) override |
| This method corrects undistortsion to a set of 2D keypoints. More...
|
|
void | setCameraParameters (const datastructure::CamCalibration &intrinsicParams, const datastructure::CamDistortion &distorsionParams) override |
| this method is used to set intrinsic parameters and distorsion of the camera More...
|
|
Undistorts a set of points according to the distortion matrix of a camera. UUID: d926e249-8b7f-46e0-8cbd-f981ceb8f921
◆ setCameraParameters()
void SolAR::MODULES::OPENCV::SolARUndistortPointsOpencv::setCameraParameters |
( |
const datastructure::CamCalibration & |
intrinsicParams, |
|
|
const datastructure::CamDistortion & |
distorsionParams |
|
) |
| |
|
override |
this method is used to set intrinsic parameters and distorsion of the camera
- Parameters
-
[in] | Camera | calibration matrix parameters. |
[in] | Camera | distorsion parameters. |
◆ undistort() [1/2]
FrameworkReturnCode SolAR::MODULES::OPENCV::SolARUndistortPointsOpencv::undistort |
( |
const std::vector< datastructure::Keypoint > & |
inputKeypoints, |
|
|
std::vector< datastructure::Keypoint > & |
outputKeypoints |
|
) |
| |
|
override |
This method corrects undistortsion to a set of 2D keypoints.
- Parameters
-
[in] | inputKeypoints | the set of 2D keypoints to correct |
[out] | outputKeypoints | the undistorted 2D keypoints |
- Returns
- FrameworkReturnCode::SUCCESS if 2D transformation succeed, else FrameworkReturnCode::_ERROR.
◆ undistort() [2/2]
FrameworkReturnCode SolAR::MODULES::OPENCV::SolARUndistortPointsOpencv::undistort |
( |
const std::vector< datastructure::Point2Df > & |
inputPoints, |
|
|
std::vector< datastructure::Point2Df > & |
outputPoints |
|
) |
| |
|
override |
This method corrects undistortsion to a set of 2D points.
- Parameters
-
[in] | inputPoints | the set of 2D points to correct |
[out] | outputPoints | the undistorted 2D Points |
- Returns
- FrameworkReturnCode::SUCCESS if 2D transformation succeed, else FrameworkReturnCode::_ERROR.
The documentation for this class was generated from the following file: