@@ -159,7 +159,7 @@ LATCH is a binary descriptor based on learned comparisons of triplets of image p
159
159
* half_ssd_size - the size of half of the mini-patches size. For example, if we would like to compare triplets of patches of size 7x7x
160
160
then the half_ssd_size should be (7-1)/2 = 3.
161
161
162
- Note: the descriptor can be coupled with any keypoint extractor. The only demand is that if you use set rotationInvariance = True then
162
+ Note: the descriptor can be coupled with any keypoint extractor. The only demand is that if you use set rotationInvariance = True then
163
163
you will have to use an extractor which estimates the patch orientation (in degrees). Examples for such extractors are ORB and SIFT.
164
164
165
165
Note: a complete example can be found under /samples/cpp/tutorial_code/xfeatures2D/latch_match.cpp
@@ -258,6 +258,27 @@ class CV_EXPORTS_W DAISY : public Feature2D
258
258
259
259
};
260
260
261
+ /* * @brief Class implementing the MSD (*Maximal Self-Dissimilarity*) keypoint detector, described in @cite Tombari14.
262
+
263
+ The algorithm implements a novel interest point detector stemming from the intuition that image patches
264
+ which are highly dissimilar over a relatively large extent of their surroundings hold the property of
265
+ being repeatable and distinctive. This concept of "contextual self-dissimilarity" reverses the key
266
+ paradigm of recent successful techniques such as the Local Self-Similarity descriptor and the Non-Local
267
+ Means filter, which build upon the presence of similar - rather than dissimilar - patches. Moreover,
268
+ it extends to contextual information the local self-dissimilarity notion embedded in established
269
+ detectors of corner-like interest points, thereby achieving enhanced repeatability, distinctiveness and
270
+ localization accuracy.
271
+
272
+ */
273
+
274
+ class CV_EXPORTS_W MSDDetector : public Feature2D {
275
+
276
+ public:
277
+
278
+ static Ptr<MSDDetector> create (int m_patch_radius = 3 , int m_search_area_radius = 5 ,
279
+ int m_nms_radius = 5 , int m_nms_scale_radius = 0 , float m_th_saliency = 250 .0f , int m_kNN = 4 ,
280
+ float m_scale_factor = 1 .25f , int m_n_scales = -1 , bool m_compute_orientation = false );
281
+ };
261
282
262
283
// ! @}
263
284
0 commit comments