Solar
|
Estimates the homography between two images from their matching keypoints. UUID: fb9dac20-2a44-44b2-aa42-2871eec31427
More...
#include <SolARHomographyEstimationOpencv.h>
Public Member Functions | |
api::solver::pose::Transform2DFinder::RetCode | find (const std::vector< datastructure::Point2Df > &srcPoints, const std::vector< datastructure::Point2Df > &targetPoints, datastructure::Transform2Df &homography) override |
Computes an homography transformation from a set of source points and target points. [in] srcPoints: set of source points. [in] targetPints: set of target points. [out] homography: 3x3 homography matrice transformation. More... | |
void | unloadComponent () override final |
Estimates the homography between two images from their matching keypoints. UUID: fb9dac20-2a44-44b2-aa42-2871eec31427
ransacReprojThreshold | Here we are using the RANSAC to remove outlier. That is if: \[ \left|| dstPoints_i - convertPointHomogenous \left( H * srcPoints_i \right) \right|| > ransacReprojThreshold \] then the point i is considered an outlier. If srcPoints and dstPoints are measured in pixels, it usually makes sense to set this parameter somewhere in the range of 1 to 10. |
type: double; range : [0..MAX DOUBLE]; default: 8 |
|
override |
Computes an homography transformation from a set of source points and target points. [in] srcPoints: set of source points. [in] targetPints: set of target points. [out] homography: 3x3 homography matrice transformation.