Class cv::detail::BundleAdjusterRay#
Implementation of the camera parameters refinement algorithm which minimizes sum of the distances between the rays passing through the camera center and a feature. : View details
Collaboration diagram for cv::detail::BundleAdjusterRay:
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#
Implementation of the camera parameters refinement algorithm which minimizes sum of the distances between the rays passing through the camera center and a feature. :
It can estimate focal length. It ignores the refinement mask for now.
- Examples
- samples/cpp/stitching_detailed.cpp.
Constructor & Destructor Documentation#
BundleAdjusterRay()#
cv::detail::BundleAdjusterRay::BundleAdjusterRay()
Python:
cv.detail.BundleAdjusterRay() -> <detail_BundleAdjusterRay object>
Member Function Documentation#
calcError()#
void cv::detail::BundleAdjusterRay::calcError(Mat & err)
Calculates error vector.
Parameters
err— Error column-vector of length total_num_matches * num_errs_per_measurement
calcJacobian()#
void cv::detail::BundleAdjusterRay::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::BundleAdjusterRay::obtainRefinedCameraParams(std::vector< CameraParams > & cameras)
Gets the refined camera parameters.
Parameters
cameras— Refined camera parameters
setUpInitialCameraParams()#
void cv::detail::BundleAdjusterRay::setUpInitialCameraParams(const std::vector< CameraParams > & cameras)
Sets initial camera parameter to refine.
Parameters
cameras— Camera parameters
Member Data Documentation#
err1_#
Mat cv::detail::BundleAdjusterRay::err1_
err2_#
Mat cv::detail::BundleAdjusterRay::err2_
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/detail/motion_estimators.hpp