Solar
|
learn and define a set of 3D world coordinates corresponding to a set of 2D descriptors. UUID: 6741d3ed-0d19-4117-8a66-501704a7ad04
More...
#include <IRegression.h>
Public Member Functions | |
IRegression ()=default | |
IRegression default constructor. | |
virtual | ~IRegression ()=default |
IRegression default destructor. | |
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... | |
virtual FrameworkReturnCode | add (const std::vector< SRef< SolAR::datastructure::DescriptorBuffer > > &descriptors, const std::vector< SolAR::datastructure::Point3Df > &points3D)=0 |
Add 2D descriptor and 3D location correspondences. More... | |
virtual FrameworkReturnCode | regress (const SRef< SolAR::datastructure::Frame > &frame, std::vector< SolAR::datastructure::Point2Df > &points2D, std::vector< SolAR::datastructure::Point3Df > &points3D)=0 |
Regress a set of descriptors to define 2D-3D point correspondences. More... | |
virtual FrameworkReturnCode | update (std::vector< bool > &inliers, SolAR::datastructure::Transform3Df &cameraPose)=0 |
Update regression model. More... | |
virtual FrameworkReturnCode | loadModel ()=0 |
Load regression model. More... | |
virtual std::vector< int > | getTrainingStatus ()=0 |
Get the current training status. More... | |
virtual int | getNumActiveLeaves ()=0 |
Get number of active leaves. More... | |
virtual int | getNumPassiveLeaves ()=0 |
Get number of passive leaves. More... | |
learn and define a set of 3D world coordinates corresponding to a set of 2D descriptors. UUID: 6741d3ed-0d19-4117-8a66-501704a7ad04
This class provides a solution to learn and define a set of 3D world coordinates corresponding to a set of 2D descriptors.
|
pure virtual |
Add 2D descriptor and 3D location correspondences.
[in] | descriptors | a set of descriptors |
[in] | points3D | a set of corresponding 3D locations |
|
pure virtual |
Get number of active leaves.
|
pure virtual |
Get number of passive leaves.
|
pure virtual |
Get the current training status.
|
pure virtual |
Load regression model.
|
pure virtual |
Regress a set of descriptors to define 2D-3D point correspondences.
[in] | frame | the frame contains descriptors for regression. |
[out] | points2D | a set of 2D points |
[out] | points3D | a set of 3D points |
|
pure virtual |
this method is used to set intrinsic parameters and distorsion of the camera
[in] | intrinsicParams | camera calibration matrix parameters. |
[in] | distorsionParams | camera distorsion parameters. |
|
pure virtual |
Update regression model.
[in] | inliers | inliers and outliers are defined for each 2D point |
[in] | cameraPose | camera pose of the current frame |