opencv on mbed
BundleAdjusterReproj Class Reference
[Rotation Estimation]
Implementation of the camera parameters refinement algorithm which minimizes sum of the reprojection error squares. More...
#include <motion_estimators.hpp>
Inherits cv::detail::BundleAdjusterBase.
Public Member Functions | |
bool | operator() (const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< CameraParams > &cameras) |
Estimates camera parameters. | |
Protected Member Functions | |
virtual bool | estimate (const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< CameraParams > &cameras) |
This method must implement camera parameters estimation logic in order to make the wrapper detail::Estimator::operator()_ work. |
Detailed Description
Implementation of the camera parameters refinement algorithm which minimizes sum of the reprojection error squares.
It can estimate focal length, aspect ratio, principal point. You can affect only on them via the refinement mask.
Definition at line 204 of file motion_estimators.hpp.
Member Function Documentation
virtual bool estimate | ( | const std::vector< ImageFeatures > & | features, |
const std::vector< MatchesInfo > & | pairwise_matches, | ||
std::vector< CameraParams > & | cameras | ||
) | [protected, virtual, inherited] |
This method must implement camera parameters estimation logic in order to make the wrapper detail::Estimator::operator()_ work.
- Parameters:
-
features Features of images pairwise_matches Pairwise matches of images cameras Estimated camera parameters
- Returns:
- True in case of success, false otherwise
Implements Estimator.
bool operator() | ( | const std::vector< ImageFeatures > & | features, |
const std::vector< MatchesInfo > & | pairwise_matches, | ||
std::vector< CameraParams > & | cameras | ||
) | [inherited] |
Estimates camera parameters.
- Parameters:
-
features Features of images pairwise_matches Pairwise matches of images cameras Estimated camera parameters
- Returns:
- True in case of success, false otherwise
Definition at line 77 of file motion_estimators.hpp.
Generated on Tue Jul 12 2022 16:42:44 by 1.7.2