Class cv::detail::BundleAdjusterAffine#
Bundle adjuster that expects affine transformation represented in homogeneous coordinates in R for each camera param. Implements camera parameters refinement algorithm which minimizes sum of the reprojection error squares. View details
Collaboration diagram for cv::detail::BundleAdjusterAffine:
Public Member Functions#
Public Member Functions inherited from cv::detail::BundleAdjusterBase
Return |
Name |
Description |
|---|---|---|
|
||
|
||
|
||
|
||
Public Member Functions inherited from cv::detail::Estimator
Return |
Name |
Description |
|---|---|---|
|
Estimates camera parameters. |
Additional Inherited Members#
Protected Member Functions inherited from cv::detail::BundleAdjusterBase
Return |
Name |
Description |
|---|---|---|
|
Construct a bundle adjuster base instance. |
|
|
Calculates error vector. |
|
|
Calculates the cost function jacobian. |
|
|
This method must implement camera parameters estimation logic in order to make the wrapper detail::Estimator::operator()_ work. |
|
|
|
Gets the refined camera parameters. |
|
|
Sets initial camera parameter to refine. |
Protected Member Functions inherited from cv::detail::Estimator
Return |
Name |
Description |
|---|---|---|
|
This method must implement camera parameters estimation logic in order to make the wrapper detail::Estimator::operator()_ work. |
Protected Attributes inherited from cv::detail::BundleAdjusterBase
Return |
Name |
Description |
|---|---|---|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Detailed Description#
Bundle adjuster that expects affine transformation 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.
Constructor & Destructor Documentation#
BundleAdjusterAffine()#
cv::detail::BundleAdjusterAffine::BundleAdjusterAffine()
Python:
cv.detail.BundleAdjusterAffine() -> <detail_BundleAdjusterAffine object>
Member Function Documentation#
calcError()#
void cv::detail::BundleAdjusterAffine::calcError(Mat & err)
Calculates error vector.
Parameters
err— Error column-vector of length total_num_matches * num_errs_per_measurement
calcJacobian()#
void cv::detail::BundleAdjusterAffine::calcJacobian(Mat & jac)
Calculates the cost function jacobian.
Parameters
jac— Jacobian matrix of dimensions (total_num_matches * num_errs_per_measurement) x (num_images * num_params_per_cam)
obtainRefinedCameraParams()#
void cv::detail::BundleAdjusterAffine::obtainRefinedCameraParams(std::vector< CameraParams > & cameras)
Gets the refined camera parameters.
Parameters
cameras— Refined camera parameters
setUpInitialCameraParams()#
void cv::detail::BundleAdjusterAffine::setUpInitialCameraParams(const std::vector< CameraParams > & cameras)
Sets initial camera parameter to refine.
Parameters
cameras— Camera parameters
Member Data Documentation#
err1_#
Mat cv::detail::BundleAdjusterAffine::err1_
err2_#
Mat cv::detail::BundleAdjusterAffine::err2_
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/detail/motion_estimators.hpp