Bundle adjuster that expects affine transformation with 4 DOF represented in homogeneous coordinates in R for each camera param.
More...
#include <opencv2/stitching/detail/motion_estimators.hpp>
Bundle adjuster that expects affine transformation with 4 DOF represented in homogeneous coordinates in R for each camera param.
Implements camera parameters refinement algorithm which minimizes sum of the reprojection error squares
It estimates all transformation parameters. Refinement mask is ignored.
- See also
- AffineBasedEstimator AffineBestOf2NearestMatcher BundleAdjusterAffine
◆ BundleAdjusterAffinePartial()
cv::detail::BundleAdjusterAffinePartial::BundleAdjusterAffinePartial |
( |
| ) |
|
|
inline |
◆ confThresh()
double cv::detail::BundleAdjusterBase::confThresh |
( |
| ) |
const |
|
inlineinherited |
◆ estimate()
virtual bool cv::detail::BundleAdjusterBase::estimate |
( |
const std::vector< ImageFeatures > & |
features, |
|
|
const std::vector< MatchesInfo > & |
pairwise_matches, |
|
|
std::vector< CameraParams > & |
cameras |
|
) |
| |
|
protectedvirtualinherited |
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 cv::detail::Estimator.
◆ operator()()
bool cv::detail::Estimator::operator() |
( |
const std::vector< ImageFeatures > & |
features, |
|
|
const std::vector< MatchesInfo > & |
pairwise_matches, |
|
|
std::vector< CameraParams > & |
cameras |
|
) |
| |
|
inlineinherited |
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
References CV_OUT.
◆ refinementMask()
const Mat cv::detail::BundleAdjusterBase::refinementMask |
( |
| ) |
const |
|
inlineinherited |
◆ setConfThresh()
void cv::detail::BundleAdjusterBase::setConfThresh |
( |
double |
conf_thresh | ) |
|
|
inlineinherited |
◆ setRefinementMask()
void cv::detail::BundleAdjusterBase::setRefinementMask |
( |
const Mat & |
mask | ) |
|
|
inlineinherited |
◆ setTermCriteria()
void cv::detail::BundleAdjusterBase::setTermCriteria |
( |
const TermCriteria & |
term_criteria | ) |
|
|
inlineinherited |
◆ termCriteria()
TermCriteria cv::detail::BundleAdjusterBase::termCriteria |
( |
| ) |
|
|
inlineinherited |
◆ cam_params_
Mat cv::detail::BundleAdjusterBase::cam_params_ |
|
protectedinherited |
◆ conf_thresh_
double cv::detail::BundleAdjusterBase::conf_thresh_ |
|
protectedinherited |
◆ edges_
std::vector<std::pair<int,int> > cv::detail::BundleAdjusterBase::edges_ |
|
protectedinherited |
◆ features_
◆ num_errs_per_measurement_
int cv::detail::BundleAdjusterBase::num_errs_per_measurement_ |
|
protectedinherited |
◆ num_images_
int cv::detail::BundleAdjusterBase::num_images_ |
|
protectedinherited |
◆ num_params_per_cam_
int cv::detail::BundleAdjusterBase::num_params_per_cam_ |
|
protectedinherited |
◆ pairwise_matches_
const MatchesInfo* cv::detail::BundleAdjusterBase::pairwise_matches_ |
|
protectedinherited |
◆ refinement_mask_
Mat cv::detail::BundleAdjusterBase::refinement_mask_ |
|
protectedinherited |
◆ term_criteria_
◆ total_num_matches_
int cv::detail::BundleAdjusterBase::total_num_matches_ |
|
protectedinherited |
The documentation for this class was generated from the following file:
- opencv2/stitching/detail/motion_estimators.hpp