minor fixes in stitching module
authorAlexey Spizhevoy <no@email>
Tue, 6 Sep 2011 09:31:54 +0000 (09:31 +0000)
committerAlexey Spizhevoy <no@email>
Tue, 6 Sep 2011 09:31:54 +0000 (09:31 +0000)
modules/stitching/include/opencv2/stitching/blenders.hpp
modules/stitching/include/opencv2/stitching/exposure_compensate.hpp
modules/stitching/include/opencv2/stitching/motion_estimators.hpp

index d173acc..15b7769 100644 (file)
@@ -51,6 +51,8 @@ namespace cv
 class CV_EXPORTS Blender\r
 {\r
 public:\r
+    virtual ~Blender() {}\r
+\r
     enum { NO, FEATHER, MULTI_BAND };\r
     static Ptr<Blender> createDefault(int type, bool try_gpu = false);\r
 \r
index 7bcc0f0..4a4324b 100644 (file)
@@ -50,6 +50,8 @@ namespace cv
 class CV_EXPORTS ExposureCompensator\r
 {\r
 public:\r
+    virtual ~ExposureCompensator() {}\r
+\r
     enum { NO, GAIN, GAIN_BLOCKS };\r
     static Ptr<ExposureCompensator> createDefault(int type);\r
 \r
index c65fd23..78c822b 100644 (file)
@@ -53,6 +53,8 @@ namespace cv
 class CV_EXPORTS Estimator\r
 {\r
 public:\r
+    virtual ~Estimator() {}\r
+\r
     void operator ()(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches, \r
                      std::vector<CameraParams> &cameras)\r
     {\r