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

Additional Inherited Members#

Protected Member Functions inherited from cv::detail::Estimator

Return

Name

Description

bool

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.

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 images

  • pairwise_matches — Pairwise matches of images

  • cameras — 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: