Class cv::detail::NoBundleAdjuster#
Stub bundle adjuster that does nothing.
Collaboration diagram for cv::detail::NoBundleAdjuster:
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#
Stub bundle adjuster that does nothing.
- Examples
- samples/cpp/stitching_detailed.cpp.
Constructor & Destructor Documentation#
NoBundleAdjuster()#
cv::detail::NoBundleAdjuster::NoBundleAdjuster()
Python:
cv.detail.NoBundleAdjuster() -> <detail_NoBundleAdjuster object>
Member Function Documentation#
calcError()#
void cv::detail::NoBundleAdjuster::calcError(Mat & err)
Calculates error vector.
Parameters
err— Error column-vector of length total_num_matches * num_errs_per_measurement
calcJacobian()#
void cv::detail::NoBundleAdjuster::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)
estimate()#
bool cv::detail::NoBundleAdjuster::estimate(
const std::vector< ImageFeatures > & features,
const std::vector< MatchesInfo > & pairwise_matches,
std::vector< CameraParams > & cameras )
This method must implement camera parameters estimation logic in order to make the wrapper detail::Estimator::operator()_ work.
Parameters
features— Features of imagespairwise_matches— Pairwise matches of imagescameras— Estimated camera parameters
Returns
True in case of success, false otherwise
obtainRefinedCameraParams()#
void cv::detail::NoBundleAdjuster::obtainRefinedCameraParams(std::vector< CameraParams > & cameras)
Gets the refined camera parameters.
Parameters
cameras— Refined camera parameters
setUpInitialCameraParams()#
void cv::detail::NoBundleAdjuster::setUpInitialCameraParams(const std::vector< CameraParams > & cameras)
Sets initial camera parameter to refine.
Parameters
cameras— Camera parameters
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/detail/motion_estimators.hpp