implemented rotating-only cameras calibration
This commit is contained in:
@@ -38,18 +38,20 @@
|
||||
// or tort (including negligence or otherwise) arising in any way out of
|
||||
// the use of this software, even if advised of the possibility of such damage.
|
||||
//
|
||||
//M*/
|
||||
#ifndef __OPENCV_AUTOCALIB_HPP__
|
||||
#define __OPENCV_AUTOCALIB_HPP__
|
||||
|
||||
#include "precomp.hpp"
|
||||
#include "matchers.hpp"
|
||||
|
||||
// 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);
|
||||
|
||||
void estimateFocal(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches,
|
||||
std::vector<double> &focals);
|
||||
|
||||
#endif // __OPENCV_AUTOCALIB_HPP__
|
||||
//M*/
|
||||
#ifndef __OPENCV_AUTOCALIB_HPP__
|
||||
#define __OPENCV_AUTOCALIB_HPP__
|
||||
|
||||
#include "precomp.hpp"
|
||||
#include "matchers.hpp"
|
||||
|
||||
// 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);
|
||||
|
||||
void estimateFocal(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches,
|
||||
std::vector<double> &focals);
|
||||
|
||||
bool calibrateRotatingCamera(const std::vector<cv::Mat> &Hs, cv::Mat &K);
|
||||
|
||||
#endif // __OPENCV_AUTOCALIB_HPP__
|
||||
|
||||
Reference in New Issue
Block a user