Class cv::detail::AffineBasedEstimator#
Affine transformation based estimator. View details
Collaboration diagram for cv::detail::AffineBasedEstimator:
Public Member Functions#
Public Member Functions inherited from cv::detail::Estimator
Return |
Name |
Description |
|---|---|---|
|
Estimates camera parameters. |
Additional Inherited Members#
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. |
Detailed Description#
Affine transformation based estimator.
This estimator uses pairwise transformations estimated by matcher to estimate final transformation for each camera.
See also
cv::detail::HomographyBasedEstimator
- Examples
- samples/cpp/stitching_detailed.cpp.
Constructor & Destructor Documentation#
AffineBasedEstimator()#
cv::detail::AffineBasedEstimator::AffineBasedEstimator()
Python:
cv.detail.AffineBasedEstimator() -> <detail_AffineBasedEstimator object>
Member Function Documentation#
estimate()#
bool cv::detail::AffineBasedEstimator::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
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/detail/motion_estimators.hpp