BRISK.h 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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/features2d.hpp"
  8. #else
  9. #define CV_EXPORTS
  10. #endif
  11. #import <Foundation/Foundation.h>
  12. #import "Feature2D.h"
  13. @class FloatVector;
  14. @class IntVector;
  15. NS_ASSUME_NONNULL_BEGIN
  16. // C++: class BRISK
  17. /**
  18. * Class implementing the BRISK keypoint detector and descriptor extractor, described in CITE: LCS11 .
  19. *
  20. * Member of `Features2d`
  21. */
  22. CV_EXPORTS @interface BRISK : Feature2D
  23. #ifdef __cplusplus
  24. @property(readonly)cv::Ptr<cv::BRISK> nativePtrBRISK;
  25. #endif
  26. #ifdef __cplusplus
  27. - (instancetype)initWithNativePtr:(cv::Ptr<cv::BRISK>)nativePtr;
  28. + (instancetype)fromNative:(cv::Ptr<cv::BRISK>)nativePtr;
  29. #endif
  30. #pragma mark - Methods
  31. //
  32. // static Ptr_BRISK cv::BRISK::create(int thresh = 30, int octaves = 3, float patternScale = 1.0f)
  33. //
  34. /**
  35. * The BRISK constructor
  36. *
  37. * @param thresh AGAST detection threshold score.
  38. * @param octaves detection octaves. Use 0 to do single scale.
  39. * @param patternScale apply this scale to the pattern used for sampling the neighbourhood of a
  40. * keypoint.
  41. */
  42. + (BRISK*)create:(int)thresh octaves:(int)octaves patternScale:(float)patternScale NS_SWIFT_NAME(create(thresh:octaves:patternScale:));
  43. /**
  44. * The BRISK constructor
  45. *
  46. * @param thresh AGAST detection threshold score.
  47. * @param octaves detection octaves. Use 0 to do single scale.
  48. * keypoint.
  49. */
  50. + (BRISK*)create:(int)thresh octaves:(int)octaves NS_SWIFT_NAME(create(thresh:octaves:));
  51. /**
  52. * The BRISK constructor
  53. *
  54. * @param thresh AGAST detection threshold score.
  55. * keypoint.
  56. */
  57. + (BRISK*)create:(int)thresh NS_SWIFT_NAME(create(thresh:));
  58. /**
  59. * The BRISK constructor
  60. *
  61. * keypoint.
  62. */
  63. + (BRISK*)create NS_SWIFT_NAME(create());
  64. //
  65. // static Ptr_BRISK cv::BRISK::create(vector_float radiusList, vector_int numberList, float dMax = 5.85f, float dMin = 8.2f, vector_int indexChange = std::vector<int>())
  66. //
  67. /**
  68. * The BRISK constructor for a custom pattern
  69. *
  70. * @param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
  71. * keypoint scale 1).
  72. * @param numberList defines the number of sampling points on the sampling circle. Must be the same
  73. * size as radiusList..
  74. * @param dMax threshold for the short pairings used for descriptor formation (in pixels for keypoint
  75. * scale 1).
  76. * @param dMin threshold for the long pairings used for orientation determination (in pixels for
  77. * keypoint scale 1).
  78. * @param indexChange index remapping of the bits.
  79. */
  80. + (BRISK*)create:(FloatVector*)radiusList numberList:(IntVector*)numberList dMax:(float)dMax dMin:(float)dMin indexChange:(IntVector*)indexChange NS_SWIFT_NAME(create(radiusList:numberList:dMax:dMin:indexChange:));
  81. /**
  82. * The BRISK constructor for a custom pattern
  83. *
  84. * @param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
  85. * keypoint scale 1).
  86. * @param numberList defines the number of sampling points on the sampling circle. Must be the same
  87. * size as radiusList..
  88. * @param dMax threshold for the short pairings used for descriptor formation (in pixels for keypoint
  89. * scale 1).
  90. * @param dMin threshold for the long pairings used for orientation determination (in pixels for
  91. * keypoint scale 1).
  92. */
  93. + (BRISK*)create:(FloatVector*)radiusList numberList:(IntVector*)numberList dMax:(float)dMax dMin:(float)dMin NS_SWIFT_NAME(create(radiusList:numberList:dMax:dMin:));
  94. /**
  95. * The BRISK constructor for a custom pattern
  96. *
  97. * @param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
  98. * keypoint scale 1).
  99. * @param numberList defines the number of sampling points on the sampling circle. Must be the same
  100. * size as radiusList..
  101. * @param dMax threshold for the short pairings used for descriptor formation (in pixels for keypoint
  102. * scale 1).
  103. * keypoint scale 1).
  104. */
  105. + (BRISK*)create:(FloatVector*)radiusList numberList:(IntVector*)numberList dMax:(float)dMax NS_SWIFT_NAME(create(radiusList:numberList:dMax:));
  106. /**
  107. * The BRISK constructor for a custom pattern
  108. *
  109. * @param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
  110. * keypoint scale 1).
  111. * @param numberList defines the number of sampling points on the sampling circle. Must be the same
  112. * size as radiusList..
  113. * scale 1).
  114. * keypoint scale 1).
  115. */
  116. + (BRISK*)create:(FloatVector*)radiusList numberList:(IntVector*)numberList NS_SWIFT_NAME(create(radiusList:numberList:));
  117. //
  118. // static Ptr_BRISK cv::BRISK::create(int thresh, int octaves, vector_float radiusList, vector_int numberList, float dMax = 5.85f, float dMin = 8.2f, vector_int indexChange = std::vector<int>())
  119. //
  120. /**
  121. * The BRISK constructor for a custom pattern, detection threshold and octaves
  122. *
  123. * @param thresh AGAST detection threshold score.
  124. * @param octaves detection octaves. Use 0 to do single scale.
  125. * @param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
  126. * keypoint scale 1).
  127. * @param numberList defines the number of sampling points on the sampling circle. Must be the same
  128. * size as radiusList..
  129. * @param dMax threshold for the short pairings used for descriptor formation (in pixels for keypoint
  130. * scale 1).
  131. * @param dMin threshold for the long pairings used for orientation determination (in pixels for
  132. * keypoint scale 1).
  133. * @param indexChange index remapping of the bits.
  134. */
  135. + (BRISK*)create:(int)thresh octaves:(int)octaves radiusList:(FloatVector*)radiusList numberList:(IntVector*)numberList dMax:(float)dMax dMin:(float)dMin indexChange:(IntVector*)indexChange NS_SWIFT_NAME(create(thresh:octaves:radiusList:numberList:dMax:dMin:indexChange:));
  136. /**
  137. * The BRISK constructor for a custom pattern, detection threshold and octaves
  138. *
  139. * @param thresh AGAST detection threshold score.
  140. * @param octaves detection octaves. Use 0 to do single scale.
  141. * @param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
  142. * keypoint scale 1).
  143. * @param numberList defines the number of sampling points on the sampling circle. Must be the same
  144. * size as radiusList..
  145. * @param dMax threshold for the short pairings used for descriptor formation (in pixels for keypoint
  146. * scale 1).
  147. * @param dMin threshold for the long pairings used for orientation determination (in pixels for
  148. * keypoint scale 1).
  149. */
  150. + (BRISK*)create:(int)thresh octaves:(int)octaves radiusList:(FloatVector*)radiusList numberList:(IntVector*)numberList dMax:(float)dMax dMin:(float)dMin NS_SWIFT_NAME(create(thresh:octaves:radiusList:numberList:dMax:dMin:));
  151. /**
  152. * The BRISK constructor for a custom pattern, detection threshold and octaves
  153. *
  154. * @param thresh AGAST detection threshold score.
  155. * @param octaves detection octaves. Use 0 to do single scale.
  156. * @param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
  157. * keypoint scale 1).
  158. * @param numberList defines the number of sampling points on the sampling circle. Must be the same
  159. * size as radiusList..
  160. * @param dMax threshold for the short pairings used for descriptor formation (in pixels for keypoint
  161. * scale 1).
  162. * keypoint scale 1).
  163. */
  164. + (BRISK*)create:(int)thresh octaves:(int)octaves radiusList:(FloatVector*)radiusList numberList:(IntVector*)numberList dMax:(float)dMax NS_SWIFT_NAME(create(thresh:octaves:radiusList:numberList:dMax:));
  165. /**
  166. * The BRISK constructor for a custom pattern, detection threshold and octaves
  167. *
  168. * @param thresh AGAST detection threshold score.
  169. * @param octaves detection octaves. Use 0 to do single scale.
  170. * @param radiusList defines the radii (in pixels) where the samples around a keypoint are taken (for
  171. * keypoint scale 1).
  172. * @param numberList defines the number of sampling points on the sampling circle. Must be the same
  173. * size as radiusList..
  174. * scale 1).
  175. * keypoint scale 1).
  176. */
  177. + (BRISK*)create:(int)thresh octaves:(int)octaves radiusList:(FloatVector*)radiusList numberList:(IntVector*)numberList NS_SWIFT_NAME(create(thresh:octaves:radiusList:numberList:));
  178. //
  179. // String cv::BRISK::getDefaultName()
  180. //
  181. - (NSString*)getDefaultName NS_SWIFT_NAME(getDefaultName());
  182. //
  183. // void cv::BRISK::setThreshold(int threshold)
  184. //
  185. /**
  186. * Set detection threshold.
  187. * @param threshold AGAST detection threshold score.
  188. */
  189. - (void)setThreshold:(int)threshold NS_SWIFT_NAME(setThreshold(threshold:));
  190. //
  191. // int cv::BRISK::getThreshold()
  192. //
  193. - (int)getThreshold NS_SWIFT_NAME(getThreshold());
  194. //
  195. // void cv::BRISK::setOctaves(int octaves)
  196. //
  197. /**
  198. * Set detection octaves.
  199. * @param octaves detection octaves. Use 0 to do single scale.
  200. */
  201. - (void)setOctaves:(int)octaves NS_SWIFT_NAME(setOctaves(octaves:));
  202. //
  203. // int cv::BRISK::getOctaves()
  204. //
  205. - (int)getOctaves NS_SWIFT_NAME(getOctaves());
  206. @end
  207. NS_ASSUME_NONNULL_END