Implementation of the camera parameters refinement algorithm which minimizes sum of the reprojection error squares. More...
#include <opencv2/stitching/detail/motion_estimators.hpp>
Public Member Functions | |
BundleAdjusterReproj () | |
double | confThresh () const |
bool | operator() (const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< CameraParams > &cameras) |
Estimates camera parameters. More... | |
const Mat | refinementMask () const |
void | setConfThresh (double conf_thresh) |
void | setRefinementMask (const Mat &mask) |
void | setTermCriteria (const TermCriteria &term_criteria) |
TermCriteria | termCriteria () |
Protected Member Functions | |
virtual bool | estimate (const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< CameraParams > &cameras) CV_OVERRIDE |
This method must implement camera parameters estimation logic in order to make the wrapper detail::Estimator::operator()_ work. More... | |
Protected Attributes | |
Mat | cam_params_ |
double | conf_thresh_ |
std::vector< std::pair< int, int > > | edges_ |
const ImageFeatures * | features_ |
int | num_errs_per_measurement_ |
int | num_images_ |
int | num_params_per_cam_ |
const MatchesInfo * | pairwise_matches_ |
Mat | refinement_mask_ |
TermCriteria | term_criteria_ |
int | total_num_matches_ |
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.
|
inline |
References CV_OVERRIDE.
|
inlineinherited |
|
protectedvirtualinherited |
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 |
Implements cv::detail::Estimator.
|
inlineinherited |
Estimates camera parameters.
features | Features of images |
pairwise_matches | Pairwise matches of images |
cameras | Estimated camera parameters |
References CV_OUT.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
References cv::Mat::clone(), CV_8U, CV_Assert, cv::Mat::size, and cv::Mat::type().
|
inlineinherited |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |