OpenCV
3.2.0
Open Source Computer Vision
|
Rotation estimator base class. More...
#include "motion_estimators.hpp"
Public Member Functions | |
virtual | ~Estimator () |
bool | operator() (const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< CameraParams > &cameras) |
Estimates camera parameters. More... | |
Protected Member Functions | |
virtual bool | estimate (const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< CameraParams > &cameras)=0 |
This method must implement camera parameters estimation logic in order to make the wrapper detail::Estimator::operator()_ work. More... | |
Rotation estimator base class.
It takes features of all images, pairwise matches between all images and estimates rotations of all cameras.
|
virtual |
|
protectedpure virtual |
This method must implement camera parameters estimation logic in order to make the wrapper detail::Estimator::operator()_ work.
features | Features of images |
pairwise_matches | Pairwise matches of images |
cameras | Estimated camera parameters |
Implemented in cv::detail::BundleAdjusterBase.
bool cv::detail::Estimator::operator() | ( | const std::vector< ImageFeatures > & | features, |
const std::vector< MatchesInfo > & | pairwise_matches, | ||
std::vector< CameraParams > & | cameras | ||
) |
Estimates camera parameters.
features | Features of images |
pairwise_matches | Pairwise matches of images |
cameras | Estimated camera parameters |