class cv::detail::HomographyBasedEstimator

Homography based rotation estimator.

#include <motion_estimators.hpp>

class HomographyBasedEstimator: public cv::detail::Estimator
{
public:
    // construction

    HomographyBasedEstimator(bool is_focals_estimated = false);
};

Inherited Members

public:
    // methods

    bool
    operator()(
        const std::vector<ImageFeatures>& features,
        const std::vector<MatchesInfo>& pairwise_matches,
        std::vector<CameraParams>& cameras
        );

protected:
    // methods

    virtual
    bool
    estimate(
        const std::vector<ImageFeatures>& features,
        const std::vector<MatchesInfo>& pairwise_matches,
        std::vector<CameraParams>& cameras
        ) = 0;