LUCID.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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/xfeatures2d.hpp"
  8. #else
  9. #define CV_EXPORTS
  10. #endif
  11. #import <Foundation/Foundation.h>
  12. #import "Feature2D.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. // C++: class LUCID
  15. /**
  16. * Class implementing the locally uniform comparison image descriptor, described in CITE: LUCID
  17. *
  18. * An image descriptor that can be computed very fast, while being
  19. * about as robust as, for example, SURF or BRIEF.
  20. *
  21. * NOTE: It requires a color image as input.
  22. *
  23. * Member of `Xfeatures2d`
  24. */
  25. CV_EXPORTS @interface LUCID : Feature2D
  26. #ifdef __cplusplus
  27. @property(readonly)cv::Ptr<cv::xfeatures2d::LUCID> nativePtrLUCID;
  28. #endif
  29. #ifdef __cplusplus
  30. - (instancetype)initWithNativePtr:(cv::Ptr<cv::xfeatures2d::LUCID>)nativePtr;
  31. + (instancetype)fromNative:(cv::Ptr<cv::xfeatures2d::LUCID>)nativePtr;
  32. #endif
  33. #pragma mark - Methods
  34. //
  35. // static Ptr_LUCID cv::xfeatures2d::LUCID::create(int lucid_kernel = 1, int blur_kernel = 2)
  36. //
  37. /**
  38. * @param lucid_kernel kernel for descriptor construction, where 1=3x3, 2=5x5, 3=7x7 and so forth
  39. * @param blur_kernel kernel for blurring image prior to descriptor construction, where 1=3x3, 2=5x5, 3=7x7 and so forth
  40. */
  41. + (LUCID*)create:(int)lucid_kernel blur_kernel:(int)blur_kernel NS_SWIFT_NAME(create(lucid_kernel:blur_kernel:));
  42. /**
  43. * @param lucid_kernel kernel for descriptor construction, where 1=3x3, 2=5x5, 3=7x7 and so forth
  44. */
  45. + (LUCID*)create:(int)lucid_kernel NS_SWIFT_NAME(create(lucid_kernel:));
  46. /**
  47. */
  48. + (LUCID*)create NS_SWIFT_NAME(create());
  49. //
  50. // void cv::xfeatures2d::LUCID::setLucidKernel(int lucid_kernel)
  51. //
  52. - (void)setLucidKernel:(int)lucid_kernel NS_SWIFT_NAME(setLucidKernel(lucid_kernel:));
  53. //
  54. // int cv::xfeatures2d::LUCID::getLucidKernel()
  55. //
  56. - (int)getLucidKernel NS_SWIFT_NAME(getLucidKernel());
  57. //
  58. // void cv::xfeatures2d::LUCID::setBlurKernel(int blur_kernel)
  59. //
  60. - (void)setBlurKernel:(int)blur_kernel NS_SWIFT_NAME(setBlurKernel(blur_kernel:));
  61. //
  62. // int cv::xfeatures2d::LUCID::getBlurKernel()
  63. //
  64. - (int)getBlurKernel NS_SWIFT_NAME(getBlurKernel());
  65. //
  66. // String cv::xfeatures2d::LUCID::getDefaultName()
  67. //
  68. - (NSString*)getDefaultName NS_SWIFT_NAME(getDefaultName());
  69. @end
  70. NS_ASSUME_NONNULL_END