KAZE.h 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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 DiffusivityType (cv.KAZE.DiffusivityType)
  14. typedef NS_ENUM(int, DiffusivityType) {
  15. DIFF_PM_G1 = 0,
  16. DIFF_PM_G2 = 1,
  17. DIFF_WEICKERT = 2,
  18. DIFF_CHARBONNIER = 3
  19. };
  20. NS_ASSUME_NONNULL_BEGIN
  21. // C++: class KAZE
  22. /**
  23. * Class implementing the KAZE keypoint detector and descriptor extractor, described in CITE: ABD12 .
  24. *
  25. * NOTE: AKAZE descriptor can only be used with KAZE or AKAZE keypoints .. [ABD12] KAZE Features. Pablo
  26. * F. Alcantarilla, Adrien Bartoli and Andrew J. Davison. In European Conference on Computer Vision
  27. * (ECCV), Fiorenze, Italy, October 2012.
  28. *
  29. * Member of `Features2d`
  30. */
  31. CV_EXPORTS @interface KAZE : Feature2D
  32. #ifdef __cplusplus
  33. @property(readonly)cv::Ptr<cv::KAZE> nativePtrKAZE;
  34. #endif
  35. #ifdef __cplusplus
  36. - (instancetype)initWithNativePtr:(cv::Ptr<cv::KAZE>)nativePtr;
  37. + (instancetype)fromNative:(cv::Ptr<cv::KAZE>)nativePtr;
  38. #endif
  39. #pragma mark - Methods
  40. //
  41. // static Ptr_KAZE cv::KAZE::create(bool extended = false, bool upright = false, float threshold = 0.001f, int nOctaves = 4, int nOctaveLayers = 4, KAZE_DiffusivityType diffusivity = KAZE::DIFF_PM_G2)
  42. //
  43. /**
  44. * The KAZE constructor
  45. *
  46. * @param extended Set to enable extraction of extended (128-byte) descriptor.
  47. * @param upright Set to enable use of upright descriptors (non rotation-invariant).
  48. * @param threshold Detector response threshold to accept point
  49. * @param nOctaves Maximum octave evolution of the image
  50. * @param nOctaveLayers Default number of sublevels per scale level
  51. * @param diffusivity Diffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or
  52. * DIFF_CHARBONNIER
  53. */
  54. + (KAZE*)create:(BOOL)extended upright:(BOOL)upright threshold:(float)threshold nOctaves:(int)nOctaves nOctaveLayers:(int)nOctaveLayers diffusivity:(DiffusivityType)diffusivity NS_SWIFT_NAME(create(extended:upright:threshold:nOctaves:nOctaveLayers:diffusivity:));
  55. /**
  56. * The KAZE constructor
  57. *
  58. * @param extended Set to enable extraction of extended (128-byte) descriptor.
  59. * @param upright Set to enable use of upright descriptors (non rotation-invariant).
  60. * @param threshold Detector response threshold to accept point
  61. * @param nOctaves Maximum octave evolution of the image
  62. * @param nOctaveLayers Default number of sublevels per scale level
  63. * DIFF_CHARBONNIER
  64. */
  65. + (KAZE*)create:(BOOL)extended upright:(BOOL)upright threshold:(float)threshold nOctaves:(int)nOctaves nOctaveLayers:(int)nOctaveLayers NS_SWIFT_NAME(create(extended:upright:threshold:nOctaves:nOctaveLayers:));
  66. /**
  67. * The KAZE constructor
  68. *
  69. * @param extended Set to enable extraction of extended (128-byte) descriptor.
  70. * @param upright Set to enable use of upright descriptors (non rotation-invariant).
  71. * @param threshold Detector response threshold to accept point
  72. * @param nOctaves Maximum octave evolution of the image
  73. * DIFF_CHARBONNIER
  74. */
  75. + (KAZE*)create:(BOOL)extended upright:(BOOL)upright threshold:(float)threshold nOctaves:(int)nOctaves NS_SWIFT_NAME(create(extended:upright:threshold:nOctaves:));
  76. /**
  77. * The KAZE constructor
  78. *
  79. * @param extended Set to enable extraction of extended (128-byte) descriptor.
  80. * @param upright Set to enable use of upright descriptors (non rotation-invariant).
  81. * @param threshold Detector response threshold to accept point
  82. * DIFF_CHARBONNIER
  83. */
  84. + (KAZE*)create:(BOOL)extended upright:(BOOL)upright threshold:(float)threshold NS_SWIFT_NAME(create(extended:upright:threshold:));
  85. /**
  86. * The KAZE constructor
  87. *
  88. * @param extended Set to enable extraction of extended (128-byte) descriptor.
  89. * @param upright Set to enable use of upright descriptors (non rotation-invariant).
  90. * DIFF_CHARBONNIER
  91. */
  92. + (KAZE*)create:(BOOL)extended upright:(BOOL)upright NS_SWIFT_NAME(create(extended:upright:));
  93. /**
  94. * The KAZE constructor
  95. *
  96. * @param extended Set to enable extraction of extended (128-byte) descriptor.
  97. * DIFF_CHARBONNIER
  98. */
  99. + (KAZE*)create:(BOOL)extended NS_SWIFT_NAME(create(extended:));
  100. /**
  101. * The KAZE constructor
  102. *
  103. * DIFF_CHARBONNIER
  104. */
  105. + (KAZE*)create NS_SWIFT_NAME(create());
  106. //
  107. // void cv::KAZE::setExtended(bool extended)
  108. //
  109. - (void)setExtended:(BOOL)extended NS_SWIFT_NAME(setExtended(extended:));
  110. //
  111. // bool cv::KAZE::getExtended()
  112. //
  113. - (BOOL)getExtended NS_SWIFT_NAME(getExtended());
  114. //
  115. // void cv::KAZE::setUpright(bool upright)
  116. //
  117. - (void)setUpright:(BOOL)upright NS_SWIFT_NAME(setUpright(upright:));
  118. //
  119. // bool cv::KAZE::getUpright()
  120. //
  121. - (BOOL)getUpright NS_SWIFT_NAME(getUpright());
  122. //
  123. // void cv::KAZE::setThreshold(double threshold)
  124. //
  125. - (void)setThreshold:(double)threshold NS_SWIFT_NAME(setThreshold(threshold:));
  126. //
  127. // double cv::KAZE::getThreshold()
  128. //
  129. - (double)getThreshold NS_SWIFT_NAME(getThreshold());
  130. //
  131. // void cv::KAZE::setNOctaves(int octaves)
  132. //
  133. - (void)setNOctaves:(int)octaves NS_SWIFT_NAME(setNOctaves(octaves:));
  134. //
  135. // int cv::KAZE::getNOctaves()
  136. //
  137. - (int)getNOctaves NS_SWIFT_NAME(getNOctaves());
  138. //
  139. // void cv::KAZE::setNOctaveLayers(int octaveLayers)
  140. //
  141. - (void)setNOctaveLayers:(int)octaveLayers NS_SWIFT_NAME(setNOctaveLayers(octaveLayers:));
  142. //
  143. // int cv::KAZE::getNOctaveLayers()
  144. //
  145. - (int)getNOctaveLayers NS_SWIFT_NAME(getNOctaveLayers());
  146. //
  147. // void cv::KAZE::setDiffusivity(KAZE_DiffusivityType diff)
  148. //
  149. - (void)setDiffusivity:(DiffusivityType)diff NS_SWIFT_NAME(setDiffusivity(diff:));
  150. //
  151. // KAZE_DiffusivityType cv::KAZE::getDiffusivity()
  152. //
  153. - (DiffusivityType)getDiffusivity NS_SWIFT_NAME(getDiffusivity());
  154. //
  155. // String cv::KAZE::getDefaultName()
  156. //
  157. - (NSString*)getDefaultName NS_SWIFT_NAME(getDefaultName());
  158. @end
  159. NS_ASSUME_NONNULL_END