OpenCV  2.4.13.7
Open Source Computer Vision
cv::detail::BundleAdjusterBase Class Referenceabstract

#include <motion_estimators.hpp>

Inheritance diagram for cv::detail::BundleAdjusterBase:
cv::detail::Estimator cv::detail::BundleAdjusterRay cv::detail::BundleAdjusterReproj

Public Member Functions

const Mat refinementMask () const
 
void setRefinementMask (const Mat &mask)
 
double confThresh () const
 
void setConfThresh (double conf_thresh)
 
CvTermCriteria termCriteria ()
 
void setTermCriteria (const CvTermCriteria &term_criteria)
 
- Public Member Functions inherited from cv::detail::Estimator
virtual ~Estimator ()
 
void operator() (const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< CameraParams > &cameras)
 

Protected Member Functions

 BundleAdjusterBase (int num_params_per_cam, int num_errs_per_measurement)
 
virtual void estimate (const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< CameraParams > &cameras)
 
virtual void setUpInitialCameraParams (const std::vector< CameraParams > &cameras)=0
 
virtual void obtainRefinedCameraParams (std::vector< CameraParams > &cameras) const =0
 
virtual void calcError (Mat &err)=0
 
virtual void calcJacobian (Mat &jac)=0
 

Protected Attributes

Mat refinement_mask_
 
int num_images_
 
int total_num_matches_
 
int num_params_per_cam_
 
int num_errs_per_measurement_
 
const ImageFeaturesfeatures_
 
const MatchesInfopairwise_matches_
 
double conf_thresh_
 
CvTermCriteria term_criteria_
 
Mat cam_params_
 
std::vector< std::pair< int, int > > edges_
 

Constructor & Destructor Documentation

§ BundleAdjusterBase()

cv::detail::BundleAdjusterBase::BundleAdjusterBase ( int  num_params_per_cam,
int  num_errs_per_measurement 
)
inlineprotected

Member Function Documentation

§ calcError()

virtual void cv::detail::BundleAdjusterBase::calcError ( Mat err)
protectedpure virtual

§ calcJacobian()

virtual void cv::detail::BundleAdjusterBase::calcJacobian ( Mat jac)
protectedpure virtual

§ confThresh()

double cv::detail::BundleAdjusterBase::confThresh ( ) const
inline

§ estimate()

virtual void cv::detail::BundleAdjusterBase::estimate ( const std::vector< ImageFeatures > &  features,
const std::vector< MatchesInfo > &  pairwise_matches,
std::vector< CameraParams > &  cameras 
)
protectedvirtual

Implements cv::detail::Estimator.

§ obtainRefinedCameraParams()

virtual void cv::detail::BundleAdjusterBase::obtainRefinedCameraParams ( std::vector< CameraParams > &  cameras) const
protectedpure virtual

§ refinementMask()

const Mat cv::detail::BundleAdjusterBase::refinementMask ( ) const
inline

§ setConfThresh()

void cv::detail::BundleAdjusterBase::setConfThresh ( double  conf_thresh)
inline

§ setRefinementMask()

void cv::detail::BundleAdjusterBase::setRefinementMask ( const Mat mask)
inline

§ setTermCriteria()

void cv::detail::BundleAdjusterBase::setTermCriteria ( const CvTermCriteria term_criteria)
inline

§ setUpInitialCameraParams()

virtual void cv::detail::BundleAdjusterBase::setUpInitialCameraParams ( const std::vector< CameraParams > &  cameras)
protectedpure virtual

§ termCriteria()

CvTermCriteria cv::detail::BundleAdjusterBase::termCriteria ( )
inline

Member Data Documentation

§ cam_params_

Mat cv::detail::BundleAdjusterBase::cam_params_
protected

§ conf_thresh_

double cv::detail::BundleAdjusterBase::conf_thresh_
protected

§ edges_

std::vector<std::pair<int,int> > cv::detail::BundleAdjusterBase::edges_
protected

§ features_

const ImageFeatures* cv::detail::BundleAdjusterBase::features_
protected

§ num_errs_per_measurement_

int cv::detail::BundleAdjusterBase::num_errs_per_measurement_
protected

§ num_images_

int cv::detail::BundleAdjusterBase::num_images_
protected

§ num_params_per_cam_

int cv::detail::BundleAdjusterBase::num_params_per_cam_
protected

§ pairwise_matches_

const MatchesInfo* cv::detail::BundleAdjusterBase::pairwise_matches_
protected

§ refinement_mask_

Mat cv::detail::BundleAdjusterBase::refinement_mask_
protected

§ term_criteria_

CvTermCriteria cv::detail::BundleAdjusterBase::term_criteria_
protected

§ total_num_matches_

int cv::detail::BundleAdjusterBase::total_num_matches_
protected

The documentation for this class was generated from the following file: