2011-05-16 07:11:09 +02:00
|
|
|
#ifndef __OPENCV_AUTOCALIB_HPP__
|
|
|
|
#define __OPENCV_AUTOCALIB_HPP__
|
2011-05-04 13:09:42 +02:00
|
|
|
|
2011-05-18 10:56:48 +02:00
|
|
|
#include <vector>
|
2011-05-04 13:09:42 +02:00
|
|
|
#include <opencv2/core/core.hpp>
|
2011-05-18 10:56:48 +02:00
|
|
|
#include "matchers.hpp"
|
2011-05-04 13:09:42 +02:00
|
|
|
|
|
|
|
// See "Construction of Panoramic Image Mosaics with Global and Local Alignment"
|
|
|
|
// by Heung-Yeung Shum and Richard Szeliski.
|
|
|
|
void focalsFromHomography(const cv::Mat &H, double &f0, double &f1, bool &f0_ok, bool &f1_ok);
|
|
|
|
|
2011-05-20 10:08:55 +02:00
|
|
|
double estimateFocal(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches);
|
2011-05-04 13:09:42 +02:00
|
|
|
|
2011-05-16 07:11:09 +02:00
|
|
|
#endif // __OPENCV_AUTOCALIB_HPP__
|