summaryrefslogtreecommitdiff
path: root/libmoped/libs/opencv-tracking/include/feature.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmoped/libs/opencv-tracking/include/feature.h')
-rw-r--r--libmoped/libs/opencv-tracking/include/feature.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmoped/libs/opencv-tracking/include/feature.h b/libmoped/libs/opencv-tracking/include/feature.h
index f781992..8d1239b 100644
--- a/libmoped/libs/opencv-tracking/include/feature.h
+++ b/libmoped/libs/opencv-tracking/include/feature.h
@@ -22,6 +22,7 @@ public:
virtual void detect(const cv::Mat& image,
std::vector<cv::KeyPoint>& keypoints,
const cv::Mat& mask = cv::Mat() ) = 0 ;
+ virtual ~FeatureDetector () {}
};
/** \class DescriptorExtractor
@@ -53,6 +54,7 @@ class DescriptorExtractor
*/
virtual void compute_dense(const cv::Mat& image,
cv::Mat& descriptors);
+ virtual ~DescriptorExtractor () {}
};
/** \class DescriptorMatcher
@@ -85,6 +87,7 @@ class DescriptorMatcher
std::vector<int>& matches,
std::vector<float>& distance) const = 0;
+ virtual ~DescriptorMatcher () {}
};
//typedef std::vector<cv::KeyPoint> KeyPointCollection;
@@ -110,6 +113,7 @@ public:
//! Search for training keypoints in the test image
virtual void search(const Mat& test_image, vector<KeyPoint>& output_found_points, vector<int>& training_point_indices){};
+ virtual ~DescriptorMatchGeneric () {}
};