Solar
Public Member Functions | List of all members
SolAR::api::geom::IUndistortPoints Class Referenceabstract

Applies an undistorsion to a set of points. UUID: a345a1d2-c3f3-497f-948b-cd1a199e6657 More...

#include <IUndistortPoints.h>

Inheritance diagram for SolAR::api::geom::IUndistortPoints:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::geom::IUndistortPoints:
Collaboration graph
[legend]

Public Member Functions

 IUndistortPoints ()=default
 IUndistortPoints default constructor.
 
virtual ~IUndistortPoints ()=default
 IUndistortPoints default destructor.
 
virtual FrameworkReturnCode undistort (const std::vector< SolAR::datastructure::Point2Df > &inputPoints, std::vector< SolAR::datastructure::Point2Df > &outputPoints)=0
 This method corrects undistortsion to a set of 2D points. More...
 
virtual FrameworkReturnCode undistort (const std::vector< SolAR::datastructure::Keypoint > &inputKeypoints, std::vector< SolAR::datastructure::Keypoint > &outputKeypoints)=0
 This method corrects undistortsion to a set of 2D keypoints. More...
 
virtual void setCameraParameters (const SolAR::datastructure::CamCalibration &intrinsicParams, const SolAR::datastructure::CamDistortion &distorsionParams)=0
 this method is used to set intrinsic parameters and distorsion of the camera More...
 

Detailed Description

Applies an undistorsion to a set of points. UUID: a345a1d2-c3f3-497f-948b-cd1a199e6657

Member Function Documentation

◆ setCameraParameters()

virtual void SolAR::api::geom::IUndistortPoints::setCameraParameters ( const SolAR::datastructure::CamCalibration intrinsicParams,
const SolAR::datastructure::CamDistortion distorsionParams 
)
pure virtual

this method is used to set intrinsic parameters and distorsion of the camera

Parameters
[in]Cameracalibration matrix parameters.
[in]Cameradistorsion parameters.

◆ undistort() [1/2]

virtual FrameworkReturnCode SolAR::api::geom::IUndistortPoints::undistort ( const std::vector< SolAR::datastructure::Keypoint > &  inputKeypoints,
std::vector< SolAR::datastructure::Keypoint > &  outputKeypoints 
)
pure virtual

This method corrects undistortsion to a set of 2D keypoints.

Parameters
[in]inputKeypointsthe set of 2D keypoints to correct
[out]outputKeypointsthe undistorted 2D keypoints
Returns
FrameworkReturnCode::SUCCESS if 2D transformation succeed, else FrameworkReturnCode::_ERROR.

◆ undistort() [2/2]

virtual FrameworkReturnCode SolAR::api::geom::IUndistortPoints::undistort ( const std::vector< SolAR::datastructure::Point2Df > &  inputPoints,
std::vector< SolAR::datastructure::Point2Df > &  outputPoints 
)
pure virtual

This method corrects undistortsion to a set of 2D points.

Parameters
[in]inputPointsthe set of 2D points to correct
[out]outputPointsthe undistorted 2D Points
Returns
FrameworkReturnCode::SUCCESS if 2D transformation succeed, else FrameworkReturnCode::_ERROR.

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