123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- /*M
- #ifndef MAPPERPYRAMID_H_
- #define MAPPERPYRAMID_H_
- #include "mapper.hpp"
- namespace cv {
- namespace reg {
- /*!
- * Calculates a map using a gaussian pyramid
- */
- class CV_EXPORTS MapperPyramid: public Mapper
- {
- public:
- /*
- * Constructor
- * \param[in] baseMapper Base mapper used for the refinements
- */
- MapperPyramid(const Mapper& baseMapper);
- void calculate(const cv::Mat& img1, const cv::Mat& img2, cv::Ptr<Map>& res) const;
- cv::Ptr<Map> getMap(void) const;
- unsigned numLev_; /*!< Number of levels of the pyramid */
- unsigned numIterPerScale_; /*!< Number of iterations at a given scale of the pyramid */
- private:
- MapperPyramid& operator=(const MapperPyramid&);
- const Mapper& baseMapper_; /*!< Mapper used in inner level */
- };
- }}
- #endif
|