Commit 4e956a47956dc40a34b11456753708ffd933e62f

Authored by Charles Otto
1 parent 7ae74c55

Fix KeyPointMatcher

Since it's actually a distance, being named KeyPointMatcherTransform prevented
name lookup from working correctly
Showing 1 changed file with 2 additions and 2 deletions
openbr/plugins/keypoint.cpp
@@ -109,7 +109,7 @@ BR_REGISTER(Transform, KeyPointDescriptorTransform) @@ -109,7 +109,7 @@ BR_REGISTER(Transform, KeyPointDescriptorTransform)
109 * \brief Wraps OpenCV Key Point Matcher 109 * \brief Wraps OpenCV Key Point Matcher
110 * \author Josh Klontz \cite jklontz 110 * \author Josh Klontz \cite jklontz
111 */ 111 */
112 -class KeyPointMatcherTransform : public Distance 112 +class KeyPointMatcherDistance : public Distance
113 { 113 {
114 Q_OBJECT 114 Q_OBJECT
115 Q_PROPERTY(QString matcher READ get_matcher WRITE set_matcher RESET reset_matcher STORED false) 115 Q_PROPERTY(QString matcher READ get_matcher WRITE set_matcher RESET reset_matcher STORED false)
@@ -148,7 +148,7 @@ class KeyPointMatcherTransform : public Distance @@ -148,7 +148,7 @@ class KeyPointMatcherTransform : public Distance
148 } 148 }
149 }; 149 };
150 150
151 -BR_REGISTER(Distance, KeyPointMatcherTransform) 151 +BR_REGISTER(Distance, KeyPointMatcherDistance)
152 152
153 /*! 153 /*!
154 * \ingroup transforms 154 * \ingroup transforms