updated docs
This commit is contained in:
parent
027065a5a1
commit
406f342dc3
@ -18,12 +18,11 @@ Rotation estimator base class. It takes features of all images, pairwise matches
|
|||||||
public:
|
public:
|
||||||
virtual ~Estimator() {}
|
virtual ~Estimator() {}
|
||||||
|
|
||||||
void operator ()(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches,
|
bool operator ()(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches,
|
||||||
std::vector<CameraParams> &cameras)
|
std::vector<CameraParams> &cameras);
|
||||||
{ estimate(features, pairwise_matches, cameras); }
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void estimate(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches,
|
virtual bool estimate(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches,
|
||||||
std::vector<CameraParams> &cameras) = 0;
|
std::vector<CameraParams> &cameras) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -40,6 +39,8 @@ Estimates camera parameters.
|
|||||||
|
|
||||||
:param cameras: Estimated camera parameters
|
:param cameras: Estimated camera parameters
|
||||||
|
|
||||||
|
:return: True in case of success, false otherwise
|
||||||
|
|
||||||
detail::Estimator::estimate
|
detail::Estimator::estimate
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
@ -53,6 +54,8 @@ This method must implement camera parameters estimation logic in order to make t
|
|||||||
|
|
||||||
:param cameras: Estimated camera parameters
|
:param cameras: Estimated camera parameters
|
||||||
|
|
||||||
|
:return: True in case of success, false otherwise
|
||||||
|
|
||||||
detail::HomographyBasedEstimator
|
detail::HomographyBasedEstimator
|
||||||
--------------------------------
|
--------------------------------
|
||||||
.. ocv:class:: detail::HomographyBasedEstimator : public detail::Estimator
|
.. ocv:class:: detail::HomographyBasedEstimator : public detail::Estimator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user