ORB.h 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  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. // C++: enum ScoreType (cv.ORB.ScoreType)
  14. typedef NS_ENUM(int, ScoreType) {
  15. HARRIS_SCORE = 0,
  16. FAST_SCORE = 1
  17. };
  18. NS_ASSUME_NONNULL_BEGIN
  19. // C++: class ORB
  20. /**
  21. * Class implementing the ORB (*oriented BRIEF*) keypoint detector and descriptor extractor
  22. *
  23. * described in CITE: RRKB11 . The algorithm uses FAST in pyramids to detect stable keypoints, selects
  24. * the strongest features using FAST or Harris response, finds their orientation using first-order
  25. * moments and computes the descriptors using BRIEF (where the coordinates of random point pairs (or
  26. * k-tuples) are rotated according to the measured orientation).
  27. *
  28. * Member of `Features2d`
  29. */
  30. CV_EXPORTS @interface ORB : Feature2D
  31. #ifdef __cplusplus
  32. @property(readonly)cv::Ptr<cv::ORB> nativePtrORB;
  33. #endif
  34. #ifdef __cplusplus
  35. - (instancetype)initWithNativePtr:(cv::Ptr<cv::ORB>)nativePtr;
  36. + (instancetype)fromNative:(cv::Ptr<cv::ORB>)nativePtr;
  37. #endif
  38. #pragma mark - Methods
  39. //
  40. // static Ptr_ORB cv::ORB::create(int nfeatures = 500, float scaleFactor = 1.2f, int nlevels = 8, int edgeThreshold = 31, int firstLevel = 0, int WTA_K = 2, ORB_ScoreType scoreType = ORB::HARRIS_SCORE, int patchSize = 31, int fastThreshold = 20)
  41. //
  42. /**
  43. * The ORB constructor
  44. *
  45. * @param nfeatures The maximum number of features to retain.
  46. * @param scaleFactor Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  47. * pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  48. * will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  49. * will mean that to cover certain scale range you will need more pyramid levels and so the speed
  50. * will suffer.
  51. * @param nlevels The number of pyramid levels. The smallest level will have linear size equal to
  52. * input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  53. * @param edgeThreshold This is size of the border where the features are not detected. It should
  54. * roughly match the patchSize parameter.
  55. * @param firstLevel The level of pyramid to put source image to. Previous layers are filled
  56. * with upscaled source image.
  57. * @param WTA_K The number of points that produce each element of the oriented BRIEF descriptor. The
  58. * default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  59. * so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  60. * random points (of course, those point coordinates are random, but they are generated from the
  61. * pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  62. * rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  63. * output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  64. * denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  65. * bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  66. * @param scoreType The default HARRIS_SCORE means that Harris algorithm is used to rank features
  67. * (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  68. * FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  69. * but it is a little faster to compute.
  70. * @param patchSize size of the patch used by the oriented BRIEF descriptor. Of course, on smaller
  71. * pyramid layers the perceived image area covered by a feature will be larger.
  72. * @param fastThreshold the fast threshold
  73. */
  74. + (ORB*)create:(int)nfeatures scaleFactor:(float)scaleFactor nlevels:(int)nlevels edgeThreshold:(int)edgeThreshold firstLevel:(int)firstLevel WTA_K:(int)WTA_K scoreType:(ScoreType)scoreType patchSize:(int)patchSize fastThreshold:(int)fastThreshold NS_SWIFT_NAME(create(nfeatures:scaleFactor:nlevels:edgeThreshold:firstLevel:WTA_K:scoreType:patchSize:fastThreshold:));
  75. /**
  76. * The ORB constructor
  77. *
  78. * @param nfeatures The maximum number of features to retain.
  79. * @param scaleFactor Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  80. * pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  81. * will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  82. * will mean that to cover certain scale range you will need more pyramid levels and so the speed
  83. * will suffer.
  84. * @param nlevels The number of pyramid levels. The smallest level will have linear size equal to
  85. * input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  86. * @param edgeThreshold This is size of the border where the features are not detected. It should
  87. * roughly match the patchSize parameter.
  88. * @param firstLevel The level of pyramid to put source image to. Previous layers are filled
  89. * with upscaled source image.
  90. * @param WTA_K The number of points that produce each element of the oriented BRIEF descriptor. The
  91. * default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  92. * so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  93. * random points (of course, those point coordinates are random, but they are generated from the
  94. * pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  95. * rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  96. * output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  97. * denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  98. * bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  99. * @param scoreType The default HARRIS_SCORE means that Harris algorithm is used to rank features
  100. * (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  101. * FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  102. * but it is a little faster to compute.
  103. * @param patchSize size of the patch used by the oriented BRIEF descriptor. Of course, on smaller
  104. * pyramid layers the perceived image area covered by a feature will be larger.
  105. */
  106. + (ORB*)create:(int)nfeatures scaleFactor:(float)scaleFactor nlevels:(int)nlevels edgeThreshold:(int)edgeThreshold firstLevel:(int)firstLevel WTA_K:(int)WTA_K scoreType:(ScoreType)scoreType patchSize:(int)patchSize NS_SWIFT_NAME(create(nfeatures:scaleFactor:nlevels:edgeThreshold:firstLevel:WTA_K:scoreType:patchSize:));
  107. /**
  108. * The ORB constructor
  109. *
  110. * @param nfeatures The maximum number of features to retain.
  111. * @param scaleFactor Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  112. * pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  113. * will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  114. * will mean that to cover certain scale range you will need more pyramid levels and so the speed
  115. * will suffer.
  116. * @param nlevels The number of pyramid levels. The smallest level will have linear size equal to
  117. * input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  118. * @param edgeThreshold This is size of the border where the features are not detected. It should
  119. * roughly match the patchSize parameter.
  120. * @param firstLevel The level of pyramid to put source image to. Previous layers are filled
  121. * with upscaled source image.
  122. * @param WTA_K The number of points that produce each element of the oriented BRIEF descriptor. The
  123. * default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  124. * so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  125. * random points (of course, those point coordinates are random, but they are generated from the
  126. * pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  127. * rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  128. * output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  129. * denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  130. * bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  131. * @param scoreType The default HARRIS_SCORE means that Harris algorithm is used to rank features
  132. * (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  133. * FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  134. * but it is a little faster to compute.
  135. * pyramid layers the perceived image area covered by a feature will be larger.
  136. */
  137. + (ORB*)create:(int)nfeatures scaleFactor:(float)scaleFactor nlevels:(int)nlevels edgeThreshold:(int)edgeThreshold firstLevel:(int)firstLevel WTA_K:(int)WTA_K scoreType:(ScoreType)scoreType NS_SWIFT_NAME(create(nfeatures:scaleFactor:nlevels:edgeThreshold:firstLevel:WTA_K:scoreType:));
  138. /**
  139. * The ORB constructor
  140. *
  141. * @param nfeatures The maximum number of features to retain.
  142. * @param scaleFactor Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  143. * pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  144. * will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  145. * will mean that to cover certain scale range you will need more pyramid levels and so the speed
  146. * will suffer.
  147. * @param nlevels The number of pyramid levels. The smallest level will have linear size equal to
  148. * input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  149. * @param edgeThreshold This is size of the border where the features are not detected. It should
  150. * roughly match the patchSize parameter.
  151. * @param firstLevel The level of pyramid to put source image to. Previous layers are filled
  152. * with upscaled source image.
  153. * @param WTA_K The number of points that produce each element of the oriented BRIEF descriptor. The
  154. * default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  155. * so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  156. * random points (of course, those point coordinates are random, but they are generated from the
  157. * pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  158. * rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  159. * output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  160. * denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  161. * bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  162. * (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  163. * FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  164. * but it is a little faster to compute.
  165. * pyramid layers the perceived image area covered by a feature will be larger.
  166. */
  167. + (ORB*)create:(int)nfeatures scaleFactor:(float)scaleFactor nlevels:(int)nlevels edgeThreshold:(int)edgeThreshold firstLevel:(int)firstLevel WTA_K:(int)WTA_K NS_SWIFT_NAME(create(nfeatures:scaleFactor:nlevels:edgeThreshold:firstLevel:WTA_K:));
  168. /**
  169. * The ORB constructor
  170. *
  171. * @param nfeatures The maximum number of features to retain.
  172. * @param scaleFactor Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  173. * pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  174. * will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  175. * will mean that to cover certain scale range you will need more pyramid levels and so the speed
  176. * will suffer.
  177. * @param nlevels The number of pyramid levels. The smallest level will have linear size equal to
  178. * input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  179. * @param edgeThreshold This is size of the border where the features are not detected. It should
  180. * roughly match the patchSize parameter.
  181. * @param firstLevel The level of pyramid to put source image to. Previous layers are filled
  182. * with upscaled source image.
  183. * default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  184. * so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  185. * random points (of course, those point coordinates are random, but they are generated from the
  186. * pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  187. * rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  188. * output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  189. * denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  190. * bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  191. * (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  192. * FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  193. * but it is a little faster to compute.
  194. * pyramid layers the perceived image area covered by a feature will be larger.
  195. */
  196. + (ORB*)create:(int)nfeatures scaleFactor:(float)scaleFactor nlevels:(int)nlevels edgeThreshold:(int)edgeThreshold firstLevel:(int)firstLevel NS_SWIFT_NAME(create(nfeatures:scaleFactor:nlevels:edgeThreshold:firstLevel:));
  197. /**
  198. * The ORB constructor
  199. *
  200. * @param nfeatures The maximum number of features to retain.
  201. * @param scaleFactor Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  202. * pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  203. * will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  204. * will mean that to cover certain scale range you will need more pyramid levels and so the speed
  205. * will suffer.
  206. * @param nlevels The number of pyramid levels. The smallest level will have linear size equal to
  207. * input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  208. * @param edgeThreshold This is size of the border where the features are not detected. It should
  209. * roughly match the patchSize parameter.
  210. * with upscaled source image.
  211. * default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  212. * so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  213. * random points (of course, those point coordinates are random, but they are generated from the
  214. * pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  215. * rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  216. * output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  217. * denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  218. * bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  219. * (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  220. * FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  221. * but it is a little faster to compute.
  222. * pyramid layers the perceived image area covered by a feature will be larger.
  223. */
  224. + (ORB*)create:(int)nfeatures scaleFactor:(float)scaleFactor nlevels:(int)nlevels edgeThreshold:(int)edgeThreshold NS_SWIFT_NAME(create(nfeatures:scaleFactor:nlevels:edgeThreshold:));
  225. /**
  226. * The ORB constructor
  227. *
  228. * @param nfeatures The maximum number of features to retain.
  229. * @param scaleFactor Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  230. * pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  231. * will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  232. * will mean that to cover certain scale range you will need more pyramid levels and so the speed
  233. * will suffer.
  234. * @param nlevels The number of pyramid levels. The smallest level will have linear size equal to
  235. * input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  236. * roughly match the patchSize parameter.
  237. * with upscaled source image.
  238. * default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  239. * so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  240. * random points (of course, those point coordinates are random, but they are generated from the
  241. * pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  242. * rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  243. * output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  244. * denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  245. * bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  246. * (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  247. * FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  248. * but it is a little faster to compute.
  249. * pyramid layers the perceived image area covered by a feature will be larger.
  250. */
  251. + (ORB*)create:(int)nfeatures scaleFactor:(float)scaleFactor nlevels:(int)nlevels NS_SWIFT_NAME(create(nfeatures:scaleFactor:nlevels:));
  252. /**
  253. * The ORB constructor
  254. *
  255. * @param nfeatures The maximum number of features to retain.
  256. * @param scaleFactor Pyramid decimation ratio, greater than 1. scaleFactor==2 means the classical
  257. * pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  258. * will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  259. * will mean that to cover certain scale range you will need more pyramid levels and so the speed
  260. * will suffer.
  261. * input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  262. * roughly match the patchSize parameter.
  263. * with upscaled source image.
  264. * default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  265. * so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  266. * random points (of course, those point coordinates are random, but they are generated from the
  267. * pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  268. * rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  269. * output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  270. * denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  271. * bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  272. * (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  273. * FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  274. * but it is a little faster to compute.
  275. * pyramid layers the perceived image area covered by a feature will be larger.
  276. */
  277. + (ORB*)create:(int)nfeatures scaleFactor:(float)scaleFactor NS_SWIFT_NAME(create(nfeatures:scaleFactor:));
  278. /**
  279. * The ORB constructor
  280. *
  281. * @param nfeatures The maximum number of features to retain.
  282. * pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  283. * will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  284. * will mean that to cover certain scale range you will need more pyramid levels and so the speed
  285. * will suffer.
  286. * input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  287. * roughly match the patchSize parameter.
  288. * with upscaled source image.
  289. * default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  290. * so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  291. * random points (of course, those point coordinates are random, but they are generated from the
  292. * pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  293. * rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  294. * output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  295. * denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  296. * bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  297. * (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  298. * FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  299. * but it is a little faster to compute.
  300. * pyramid layers the perceived image area covered by a feature will be larger.
  301. */
  302. + (ORB*)create:(int)nfeatures NS_SWIFT_NAME(create(nfeatures:));
  303. /**
  304. * The ORB constructor
  305. *
  306. * pyramid, where each next level has 4x less pixels than the previous, but such a big scale factor
  307. * will degrade feature matching scores dramatically. On the other hand, too close to 1 scale factor
  308. * will mean that to cover certain scale range you will need more pyramid levels and so the speed
  309. * will suffer.
  310. * input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
  311. * roughly match the patchSize parameter.
  312. * with upscaled source image.
  313. * default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,
  314. * so we get 0/1 response. Other possible values are 3 and 4. For example, 3 means that we take 3
  315. * random points (of course, those point coordinates are random, but they are generated from the
  316. * pre-defined seed, so each element of BRIEF descriptor is computed deterministically from the pixel
  317. * rectangle), find point of maximum brightness and output index of the winner (0, 1 or 2). Such
  318. * output will occupy 2 bits, and therefore it will need a special variant of Hamming distance,
  319. * denoted as NORM_HAMMING2 (2 bits per bin). When WTA_K=4, we take 4 random points to compute each
  320. * bin (that will also occupy 2 bits with possible values 0, 1, 2 or 3).
  321. * (the score is written to KeyPoint::score and is used to retain best nfeatures features);
  322. * FAST_SCORE is alternative value of the parameter that produces slightly less stable keypoints,
  323. * but it is a little faster to compute.
  324. * pyramid layers the perceived image area covered by a feature will be larger.
  325. */
  326. + (ORB*)create NS_SWIFT_NAME(create());
  327. //
  328. // void cv::ORB::setMaxFeatures(int maxFeatures)
  329. //
  330. - (void)setMaxFeatures:(int)maxFeatures NS_SWIFT_NAME(setMaxFeatures(maxFeatures:));
  331. //
  332. // int cv::ORB::getMaxFeatures()
  333. //
  334. - (int)getMaxFeatures NS_SWIFT_NAME(getMaxFeatures());
  335. //
  336. // void cv::ORB::setScaleFactor(double scaleFactor)
  337. //
  338. - (void)setScaleFactor:(double)scaleFactor NS_SWIFT_NAME(setScaleFactor(scaleFactor:));
  339. //
  340. // double cv::ORB::getScaleFactor()
  341. //
  342. - (double)getScaleFactor NS_SWIFT_NAME(getScaleFactor());
  343. //
  344. // void cv::ORB::setNLevels(int nlevels)
  345. //
  346. - (void)setNLevels:(int)nlevels NS_SWIFT_NAME(setNLevels(nlevels:));
  347. //
  348. // int cv::ORB::getNLevels()
  349. //
  350. - (int)getNLevels NS_SWIFT_NAME(getNLevels());
  351. //
  352. // void cv::ORB::setEdgeThreshold(int edgeThreshold)
  353. //
  354. - (void)setEdgeThreshold:(int)edgeThreshold NS_SWIFT_NAME(setEdgeThreshold(edgeThreshold:));
  355. //
  356. // int cv::ORB::getEdgeThreshold()
  357. //
  358. - (int)getEdgeThreshold NS_SWIFT_NAME(getEdgeThreshold());
  359. //
  360. // void cv::ORB::setFirstLevel(int firstLevel)
  361. //
  362. - (void)setFirstLevel:(int)firstLevel NS_SWIFT_NAME(setFirstLevel(firstLevel:));
  363. //
  364. // int cv::ORB::getFirstLevel()
  365. //
  366. - (int)getFirstLevel NS_SWIFT_NAME(getFirstLevel());
  367. //
  368. // void cv::ORB::setWTA_K(int wta_k)
  369. //
  370. - (void)setWTA_K:(int)wta_k NS_SWIFT_NAME(setWTA_K(wta_k:));
  371. //
  372. // int cv::ORB::getWTA_K()
  373. //
  374. - (int)getWTA_K NS_SWIFT_NAME(getWTA_K());
  375. //
  376. // void cv::ORB::setScoreType(ORB_ScoreType scoreType)
  377. //
  378. - (void)setScoreType:(ScoreType)scoreType NS_SWIFT_NAME(setScoreType(scoreType:));
  379. //
  380. // ORB_ScoreType cv::ORB::getScoreType()
  381. //
  382. - (ScoreType)getScoreType NS_SWIFT_NAME(getScoreType());
  383. //
  384. // void cv::ORB::setPatchSize(int patchSize)
  385. //
  386. - (void)setPatchSize:(int)patchSize NS_SWIFT_NAME(setPatchSize(patchSize:));
  387. //
  388. // int cv::ORB::getPatchSize()
  389. //
  390. - (int)getPatchSize NS_SWIFT_NAME(getPatchSize());
  391. //
  392. // void cv::ORB::setFastThreshold(int fastThreshold)
  393. //
  394. - (void)setFastThreshold:(int)fastThreshold NS_SWIFT_NAME(setFastThreshold(fastThreshold:));
  395. //
  396. // int cv::ORB::getFastThreshold()
  397. //
  398. - (int)getFastThreshold NS_SWIFT_NAME(getFastThreshold());
  399. //
  400. // String cv::ORB::getDefaultName()
  401. //
  402. - (NSString*)getDefaultName NS_SWIFT_NAME(getDefaultName());
  403. @end
  404. NS_ASSUME_NONNULL_END