FastFeatureDetector.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 FastDetectorType (cv.FastFeatureDetector.DetectorType)
  14. typedef NS_ENUM(int, FastDetectorType) {
  15. TYPE_5_8 = 0,
  16. TYPE_7_12 = 1,
  17. TYPE_9_16 = 2
  18. };
  19. NS_ASSUME_NONNULL_BEGIN
  20. // C++: class FastFeatureDetector
  21. /**
  22. * Wrapping class for feature detection using the FAST method. :
  23. *
  24. * Member of `Features2d`
  25. */
  26. CV_EXPORTS @interface FastFeatureDetector : Feature2D
  27. #ifdef __cplusplus
  28. @property(readonly)cv::Ptr<cv::FastFeatureDetector> nativePtrFastFeatureDetector;
  29. #endif
  30. #ifdef __cplusplus
  31. - (instancetype)initWithNativePtr:(cv::Ptr<cv::FastFeatureDetector>)nativePtr;
  32. + (instancetype)fromNative:(cv::Ptr<cv::FastFeatureDetector>)nativePtr;
  33. #endif
  34. #pragma mark - Class Constants
  35. @property (class, readonly) int THRESHOLD NS_SWIFT_NAME(THRESHOLD);
  36. @property (class, readonly) int NONMAX_SUPPRESSION NS_SWIFT_NAME(NONMAX_SUPPRESSION);
  37. @property (class, readonly) int FAST_N NS_SWIFT_NAME(FAST_N);
  38. #pragma mark - Methods
  39. //
  40. // static Ptr_FastFeatureDetector cv::FastFeatureDetector::create(int threshold = 10, bool nonmaxSuppression = true, FastFeatureDetector_DetectorType type = FastFeatureDetector::TYPE_9_16)
  41. //
  42. + (FastFeatureDetector*)create:(int)threshold nonmaxSuppression:(BOOL)nonmaxSuppression type:(FastDetectorType)type NS_SWIFT_NAME(create(threshold:nonmaxSuppression:type:));
  43. + (FastFeatureDetector*)create:(int)threshold nonmaxSuppression:(BOOL)nonmaxSuppression NS_SWIFT_NAME(create(threshold:nonmaxSuppression:));
  44. + (FastFeatureDetector*)create:(int)threshold NS_SWIFT_NAME(create(threshold:));
  45. + (FastFeatureDetector*)create NS_SWIFT_NAME(create());
  46. //
  47. // void cv::FastFeatureDetector::setThreshold(int threshold)
  48. //
  49. - (void)setThreshold:(int)threshold NS_SWIFT_NAME(setThreshold(threshold:));
  50. //
  51. // int cv::FastFeatureDetector::getThreshold()
  52. //
  53. - (int)getThreshold NS_SWIFT_NAME(getThreshold());
  54. //
  55. // void cv::FastFeatureDetector::setNonmaxSuppression(bool f)
  56. //
  57. - (void)setNonmaxSuppression:(BOOL)f NS_SWIFT_NAME(setNonmaxSuppression(f:));
  58. //
  59. // bool cv::FastFeatureDetector::getNonmaxSuppression()
  60. //
  61. - (BOOL)getNonmaxSuppression NS_SWIFT_NAME(getNonmaxSuppression());
  62. //
  63. // void cv::FastFeatureDetector::setType(FastFeatureDetector_DetectorType type)
  64. //
  65. - (void)setType:(FastDetectorType)type NS_SWIFT_NAME(setType(type:));
  66. //
  67. // FastFeatureDetector_DetectorType cv::FastFeatureDetector::getType()
  68. //
  69. - (FastDetectorType)getType NS_SWIFT_NAME(getType());
  70. //
  71. // String cv::FastFeatureDetector::getDefaultName()
  72. //
  73. - (NSString*)getDefaultName NS_SWIFT_NAME(getDefaultName());
  74. @end
  75. NS_ASSUME_NONNULL_END