From 0af4d09aa9021133bc6dbc122c2897b5f010b7df Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Tue, 16 Nov 2010 15:42:31 +0000 Subject: [PATCH] fixed linker error undo mingw (#657) --- .../features2d/include/opencv2/features2d/features2d.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/features2d/include/opencv2/features2d/features2d.hpp b/modules/features2d/include/opencv2/features2d/features2d.hpp index 47ccf9ffc..d5243e0f8 100644 --- a/modules/features2d/include/opencv2/features2d/features2d.hpp +++ b/modules/features2d/include/opencv2/features2d/features2d.hpp @@ -266,7 +266,7 @@ CV_EXPORTS void read(const FileNode& node, CV_OUT vector& keypoints); class CV_EXPORTS SIFT { public: - struct CommonParams + struct CV_EXPORTS CommonParams { static const int DEFAULT_NOCTAVES = 4; static const int DEFAULT_NOCTAVE_LAYERS = 3; @@ -279,7 +279,7 @@ public: int angleMode; }; - struct DetectorParams + struct CV_EXPORTS DetectorParams { static double GET_DEFAULT_THRESHOLD() { return 0.04 / SIFT::CommonParams::DEFAULT_NOCTAVE_LAYERS / 2.0; } static double GET_DEFAULT_EDGE_THRESHOLD() { return 10.0; } @@ -289,7 +289,7 @@ public: double threshold, edgeThreshold; }; - struct DescriptorParams + struct CV_EXPORTS DescriptorParams { static double GET_DEFAULT_MAGNIFICATION() { return 3.0; } static const bool DEFAULT_IS_NORMALIZE = true; @@ -2143,7 +2143,7 @@ CV_EXPORTS Ptr createDescriptorMatcher( const string& descrip * GenericDescriptorMatcher * \****************************************************************************************/ /* - * Abstract interface for a keypoint descriptor + * Abstract interface for a keypoint descriptor and matcher */ class GenericDescriptorMatcher; typedef GenericDescriptorMatcher GenericDescriptorMatch;