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