所有相机参数细化方法的基类。 更多...
#include <opencv2/stitching/detail/motion_estimators.hpp>
◆ BundleAdjusterBase()
cv::detail::BundleAdjusterBase::BundleAdjusterBase |
( |
int |
num_params_per_cam, |
|
|
int |
num_errs_per_measurement |
|
) |
| |
|
inlineprotected |
构造一个捆绑调整器基类实例。
- 参数
-
num_params_per_cam | 每个相机的参数数量 |
num_errs_per_measurement | 每个匹配的误差项(分量)的数量 |
◆ calcError()
virtual void cv::detail::BundleAdjusterBase::calcError |
( |
Mat & |
err | ) |
|
|
protectedpure virtual |
计算误差向量。
- 参数
-
err | Error 长度为 total_num_matches * num_errs_per_measurement 的列向量 |
◆ calcJacobian()
virtual void cv::detail::BundleAdjusterBase::calcJacobian |
( |
Mat & |
jac | ) |
|
|
protectedpure virtual |
计算代价函数雅可比矩阵。
- 参数
-
jac | 维度为 (total_num_matches * num_errs_per_measurement) x (num_images * num_params_per_cam) 的雅可比矩阵 |
◆ confThresh()
double cv::detail::BundleAdjusterBase::confThresh |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.detail.BundleAdjusterBase.confThresh( | | ) -> | retval |
◆ estimate()
virtual bool cv::detail::BundleAdjusterBase::estimate |
( |
const std::vector< ImageFeatures > & |
features, |
|
|
const std::vector< MatchesInfo > & |
pairwise_matches, |
|
|
std::vector< CameraParams > & |
cameras |
|
) |
| |
|
protectedvirtual |
此方法必须实现相机参数估计逻辑,以便使包装器 detail::Estimator::operator()_ 工作。
- 参数
-
features | 图像的特征 |
pairwise_matches | 图像的成对匹配 |
cameras | 估计的相机参数 |
- 返回值
- 成功时为 True,否则为 False
实现 cv::detail::Estimator。
◆ obtainRefinedCameraParams()
virtual void cv::detail::BundleAdjusterBase::obtainRefinedCameraParams |
( |
std::vector< CameraParams > & |
cameras | ) |
const |
|
protectedpure virtual |
◆ refinementMask()
Mat cv::detail::BundleAdjusterBase::refinementMask |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.detail.BundleAdjusterBase.refinementMask( | | ) -> | retval |
◆ setConfThresh()
void cv::detail::BundleAdjusterBase::setConfThresh |
( |
double |
conf_thresh | ) |
|
|
inline |
Python |
---|
| cv.detail.BundleAdjusterBase.setConfThresh( | conf_thresh | ) -> | 无 |
◆ setRefinementMask()
void cv::detail::BundleAdjusterBase::setRefinementMask |
( |
const Mat & |
mask | ) |
|
|
inline |
Python |
---|
| cv.detail.BundleAdjusterBase.setRefinementMask( | mask | ) -> | 无 |
◆ setTermCriteria()
void cv::detail::BundleAdjusterBase::setTermCriteria |
( |
const TermCriteria & |
term_criteria | ) |
|
|
inline |
Python |
---|
| cv.detail.BundleAdjusterBase.setTermCriteria( | term_criteria | ) -> | 无 |
◆ setUpInitialCameraParams()
virtual void cv::detail::BundleAdjusterBase::setUpInitialCameraParams |
( |
const std::vector< CameraParams > & |
cameras | ) |
|
|
protectedpure virtual |
◆ termCriteria()
TermCriteria cv::detail::BundleAdjusterBase::termCriteria |
( |
| ) |
|
|
inline |
Python |
---|
| cv.detail.BundleAdjusterBase.termCriteria( | | ) -> | retval |
◆ 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_
◆ 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_
◆ total_num_matches_
int cv::detail::BundleAdjusterBase::total_num_matches_ |
|
protected |
此类的文档是从以下文件生成的