Class cv::detail::HomographyBasedEstimator#
Homography based rotation estimator.
Collaboration diagram for cv::detail::HomographyBasedEstimator:
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#
Homography based rotation estimator.
- Examples
- samples/cpp/stitching_detailed.cpp.
Constructor & Destructor Documentation#
HomographyBasedEstimator()#
cv::detail::HomographyBasedEstimator::HomographyBasedEstimator(bool is_focals_estimated = false)
Python:
cv.detail.HomographyBasedEstimator([, is_focals_estimated]) -> <detail_HomographyBasedEstimator object>
Member Function Documentation#
estimate()#
bool cv::detail::HomographyBasedEstimator::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
Member Data Documentation#
is_focals_estimated_#
bool cv::detail::HomographyBasedEstimator::is_focals_estimated_
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/detail/motion_estimators.hpp