1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Updated motions estimators in the stitching module to be able to set camera intrinsics manually

This commit is contained in:
Alexey Spizhevoy
2011-12-22 09:59:03 +00:00
parent 893f75444d
commit b4f17ab79e
2 changed files with 32 additions and 18 deletions
@@ -69,7 +69,9 @@ protected:
class CV_EXPORTS HomographyBasedEstimator : public Estimator
{
public:
HomographyBasedEstimator() : is_focals_estimated_(false) {}
HomographyBasedEstimator(bool is_focals_estimated = false)
: is_focals_estimated_(is_focals_estimated) {}
bool isFocalsEstimated() const { return is_focals_estimated_; }
private: