mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
fixed linker error undo mingw (#657)
This commit is contained in:
parent
0ad9edfbd5
commit
0af4d09aa9
@ -266,7 +266,7 @@ CV_EXPORTS void read(const FileNode& node, CV_OUT vector<KeyPoint>& 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<DescriptorMatcher> createDescriptorMatcher( const string& descrip
|
||||
* GenericDescriptorMatcher *
|
||||
\****************************************************************************************/
|
||||
/*
|
||||
* Abstract interface for a keypoint descriptor
|
||||
* Abstract interface for a keypoint descriptor and matcher
|
||||
*/
|
||||
class GenericDescriptorMatcher;
|
||||
typedef GenericDescriptorMatcher GenericDescriptorMatch;
|
||||
|
Loading…
Reference in New Issue
Block a user