MSDDetector.h 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. //
  2. // This file is auto-generated. Please don't modify it!
  3. //
  4. #pragma once
  5. #ifdef __cplusplus
  6. //#import "opencv.hpp"
  7. #import "opencv2/xfeatures2d.hpp"
  8. #else
  9. #define CV_EXPORTS
  10. #endif
  11. #import <Foundation/Foundation.h>
  12. #import "Feature2D.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. // C++: class MSDDetector
  15. /**
  16. * Class implementing the MSD (*Maximal Self-Dissimilarity*) keypoint detector, described in CITE: Tombari14.
  17. *
  18. * The algorithm implements a novel interest point detector stemming from the intuition that image patches
  19. * which are highly dissimilar over a relatively large extent of their surroundings hold the property of
  20. * being repeatable and distinctive. This concept of "contextual self-dissimilarity" reverses the key
  21. * paradigm of recent successful techniques such as the Local Self-Similarity descriptor and the Non-Local
  22. * Means filter, which build upon the presence of similar - rather than dissimilar - patches. Moreover,
  23. * it extends to contextual information the local self-dissimilarity notion embedded in established
  24. * detectors of corner-like interest points, thereby achieving enhanced repeatability, distinctiveness and
  25. * localization accuracy.
  26. *
  27. * Member of `Xfeatures2d`
  28. */
  29. CV_EXPORTS @interface MSDDetector : Feature2D
  30. #ifdef __cplusplus
  31. @property(readonly)cv::Ptr<cv::xfeatures2d::MSDDetector> nativePtrMSDDetector;
  32. #endif
  33. #ifdef __cplusplus
  34. - (instancetype)initWithNativePtr:(cv::Ptr<cv::xfeatures2d::MSDDetector>)nativePtr;
  35. + (instancetype)fromNative:(cv::Ptr<cv::xfeatures2d::MSDDetector>)nativePtr;
  36. #endif
  37. #pragma mark - Methods
  38. //
  39. // static Ptr_MSDDetector cv::xfeatures2d::MSDDetector::create(int m_patch_radius = 3, int m_search_area_radius = 5, int m_nms_radius = 5, int m_nms_scale_radius = 0, float m_th_saliency = 250.0f, int m_kNN = 4, float m_scale_factor = 1.25f, int m_n_scales = -1, bool m_compute_orientation = false)
  40. //
  41. + (MSDDetector*)create:(int)m_patch_radius m_search_area_radius:(int)m_search_area_radius m_nms_radius:(int)m_nms_radius m_nms_scale_radius:(int)m_nms_scale_radius m_th_saliency:(float)m_th_saliency m_kNN:(int)m_kNN m_scale_factor:(float)m_scale_factor m_n_scales:(int)m_n_scales m_compute_orientation:(BOOL)m_compute_orientation NS_SWIFT_NAME(create(m_patch_radius:m_search_area_radius:m_nms_radius:m_nms_scale_radius:m_th_saliency:m_kNN:m_scale_factor:m_n_scales:m_compute_orientation:));
  42. + (MSDDetector*)create:(int)m_patch_radius m_search_area_radius:(int)m_search_area_radius m_nms_radius:(int)m_nms_radius m_nms_scale_radius:(int)m_nms_scale_radius m_th_saliency:(float)m_th_saliency m_kNN:(int)m_kNN m_scale_factor:(float)m_scale_factor m_n_scales:(int)m_n_scales NS_SWIFT_NAME(create(m_patch_radius:m_search_area_radius:m_nms_radius:m_nms_scale_radius:m_th_saliency:m_kNN:m_scale_factor:m_n_scales:));
  43. + (MSDDetector*)create:(int)m_patch_radius m_search_area_radius:(int)m_search_area_radius m_nms_radius:(int)m_nms_radius m_nms_scale_radius:(int)m_nms_scale_radius m_th_saliency:(float)m_th_saliency m_kNN:(int)m_kNN m_scale_factor:(float)m_scale_factor NS_SWIFT_NAME(create(m_patch_radius:m_search_area_radius:m_nms_radius:m_nms_scale_radius:m_th_saliency:m_kNN:m_scale_factor:));
  44. + (MSDDetector*)create:(int)m_patch_radius m_search_area_radius:(int)m_search_area_radius m_nms_radius:(int)m_nms_radius m_nms_scale_radius:(int)m_nms_scale_radius m_th_saliency:(float)m_th_saliency m_kNN:(int)m_kNN NS_SWIFT_NAME(create(m_patch_radius:m_search_area_radius:m_nms_radius:m_nms_scale_radius:m_th_saliency:m_kNN:));
  45. + (MSDDetector*)create:(int)m_patch_radius m_search_area_radius:(int)m_search_area_radius m_nms_radius:(int)m_nms_radius m_nms_scale_radius:(int)m_nms_scale_radius m_th_saliency:(float)m_th_saliency NS_SWIFT_NAME(create(m_patch_radius:m_search_area_radius:m_nms_radius:m_nms_scale_radius:m_th_saliency:));
  46. + (MSDDetector*)create:(int)m_patch_radius m_search_area_radius:(int)m_search_area_radius m_nms_radius:(int)m_nms_radius m_nms_scale_radius:(int)m_nms_scale_radius NS_SWIFT_NAME(create(m_patch_radius:m_search_area_radius:m_nms_radius:m_nms_scale_radius:));
  47. + (MSDDetector*)create:(int)m_patch_radius m_search_area_radius:(int)m_search_area_radius m_nms_radius:(int)m_nms_radius NS_SWIFT_NAME(create(m_patch_radius:m_search_area_radius:m_nms_radius:));
  48. + (MSDDetector*)create:(int)m_patch_radius m_search_area_radius:(int)m_search_area_radius NS_SWIFT_NAME(create(m_patch_radius:m_search_area_radius:));
  49. + (MSDDetector*)create:(int)m_patch_radius NS_SWIFT_NAME(create(m_patch_radius:));
  50. + (MSDDetector*)create NS_SWIFT_NAME(create());
  51. //
  52. // void cv::xfeatures2d::MSDDetector::setPatchRadius(int patch_radius)
  53. //
  54. - (void)setPatchRadius:(int)patch_radius NS_SWIFT_NAME(setPatchRadius(patch_radius:));
  55. //
  56. // int cv::xfeatures2d::MSDDetector::getPatchRadius()
  57. //
  58. - (int)getPatchRadius NS_SWIFT_NAME(getPatchRadius());
  59. //
  60. // void cv::xfeatures2d::MSDDetector::setSearchAreaRadius(int use_orientation)
  61. //
  62. - (void)setSearchAreaRadius:(int)use_orientation NS_SWIFT_NAME(setSearchAreaRadius(use_orientation:));
  63. //
  64. // int cv::xfeatures2d::MSDDetector::getSearchAreaRadius()
  65. //
  66. - (int)getSearchAreaRadius NS_SWIFT_NAME(getSearchAreaRadius());
  67. //
  68. // void cv::xfeatures2d::MSDDetector::setNmsRadius(int nms_radius)
  69. //
  70. - (void)setNmsRadius:(int)nms_radius NS_SWIFT_NAME(setNmsRadius(nms_radius:));
  71. //
  72. // int cv::xfeatures2d::MSDDetector::getNmsRadius()
  73. //
  74. - (int)getNmsRadius NS_SWIFT_NAME(getNmsRadius());
  75. //
  76. // void cv::xfeatures2d::MSDDetector::setNmsScaleRadius(int nms_scale_radius)
  77. //
  78. - (void)setNmsScaleRadius:(int)nms_scale_radius NS_SWIFT_NAME(setNmsScaleRadius(nms_scale_radius:));
  79. //
  80. // int cv::xfeatures2d::MSDDetector::getNmsScaleRadius()
  81. //
  82. - (int)getNmsScaleRadius NS_SWIFT_NAME(getNmsScaleRadius());
  83. //
  84. // void cv::xfeatures2d::MSDDetector::setThSaliency(float th_saliency)
  85. //
  86. - (void)setThSaliency:(float)th_saliency NS_SWIFT_NAME(setThSaliency(th_saliency:));
  87. //
  88. // float cv::xfeatures2d::MSDDetector::getThSaliency()
  89. //
  90. - (float)getThSaliency NS_SWIFT_NAME(getThSaliency());
  91. //
  92. // void cv::xfeatures2d::MSDDetector::setKNN(int kNN)
  93. //
  94. - (void)setKNN:(int)kNN NS_SWIFT_NAME(setKNN(kNN:));
  95. //
  96. // int cv::xfeatures2d::MSDDetector::getKNN()
  97. //
  98. - (int)getKNN NS_SWIFT_NAME(getKNN());
  99. //
  100. // void cv::xfeatures2d::MSDDetector::setScaleFactor(float scale_factor)
  101. //
  102. - (void)setScaleFactor:(float)scale_factor NS_SWIFT_NAME(setScaleFactor(scale_factor:));
  103. //
  104. // float cv::xfeatures2d::MSDDetector::getScaleFactor()
  105. //
  106. - (float)getScaleFactor NS_SWIFT_NAME(getScaleFactor());
  107. //
  108. // void cv::xfeatures2d::MSDDetector::setNScales(int use_orientation)
  109. //
  110. - (void)setNScales:(int)use_orientation NS_SWIFT_NAME(setNScales(use_orientation:));
  111. //
  112. // int cv::xfeatures2d::MSDDetector::getNScales()
  113. //
  114. - (int)getNScales NS_SWIFT_NAME(getNScales());
  115. //
  116. // void cv::xfeatures2d::MSDDetector::setComputeOrientation(bool compute_orientation)
  117. //
  118. - (void)setComputeOrientation:(BOOL)compute_orientation NS_SWIFT_NAME(setComputeOrientation(compute_orientation:));
  119. //
  120. // bool cv::xfeatures2d::MSDDetector::getComputeOrientation()
  121. //
  122. - (BOOL)getComputeOrientation NS_SWIFT_NAME(getComputeOrientation());
  123. //
  124. // String cv::xfeatures2d::MSDDetector::getDefaultName()
  125. //
  126. - (NSString*)getDefaultName NS_SWIFT_NAME(getDefaultName());
  127. @end
  128. NS_ASSUME_NONNULL_END