From ca8c5b633c5d1748d788e103179edf3a28245b98 Mon Sep 17 00:00:00 2001 From: Alexey Spizhevoy Date: Tue, 6 Sep 2011 09:31:54 +0000 Subject: [PATCH] minor fixes in stitching module --- modules/stitching/include/opencv2/stitching/blenders.hpp | 2 ++ modules/stitching/include/opencv2/stitching/exposure_compensate.hpp | 2 ++ modules/stitching/include/opencv2/stitching/motion_estimators.hpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/modules/stitching/include/opencv2/stitching/blenders.hpp b/modules/stitching/include/opencv2/stitching/blenders.hpp index d173acc..15b7769 100644 --- a/modules/stitching/include/opencv2/stitching/blenders.hpp +++ b/modules/stitching/include/opencv2/stitching/blenders.hpp @@ -51,6 +51,8 @@ namespace cv class CV_EXPORTS Blender { public: + virtual ~Blender() {} + enum { NO, FEATHER, MULTI_BAND }; static Ptr createDefault(int type, bool try_gpu = false); diff --git a/modules/stitching/include/opencv2/stitching/exposure_compensate.hpp b/modules/stitching/include/opencv2/stitching/exposure_compensate.hpp index 7bcc0f0..4a4324b 100644 --- a/modules/stitching/include/opencv2/stitching/exposure_compensate.hpp +++ b/modules/stitching/include/opencv2/stitching/exposure_compensate.hpp @@ -50,6 +50,8 @@ namespace cv class CV_EXPORTS ExposureCompensator { public: + virtual ~ExposureCompensator() {} + enum { NO, GAIN, GAIN_BLOCKS }; static Ptr createDefault(int type); diff --git a/modules/stitching/include/opencv2/stitching/motion_estimators.hpp b/modules/stitching/include/opencv2/stitching/motion_estimators.hpp index c65fd23..78c822b 100644 --- a/modules/stitching/include/opencv2/stitching/motion_estimators.hpp +++ b/modules/stitching/include/opencv2/stitching/motion_estimators.hpp @@ -53,6 +53,8 @@ namespace cv class CV_EXPORTS Estimator { public: + virtual ~Estimator() {} + void operator ()(const std::vector &features, const std::vector &pairwise_matches, std::vector &cameras) { -- 2.7.4