AffineFeature2D.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 AffineFeature2D
  15. /**
  16. * Class implementing affine adaptation for key points.
  17. *
  18. * A REF: FeatureDetector and a REF: DescriptorExtractor are wrapped to augment the
  19. * detected points with their affine invariant elliptic region and to compute
  20. * the feature descriptors on the regions after warping them into circles.
  21. *
  22. * The interface is equivalent to REF: Feature2D, adding operations for
  23. * REF: Elliptic_KeyPoint "Elliptic_KeyPoints" instead of REF: KeyPoint "KeyPoints".
  24. *
  25. * Member of `Xfeatures2d`
  26. */
  27. CV_EXPORTS @interface AffineFeature2D : Feature2D
  28. #ifdef __cplusplus
  29. @property(readonly)cv::Ptr<cv::xfeatures2d::AffineFeature2D> nativePtrAffineFeature2D;
  30. #endif
  31. #ifdef __cplusplus
  32. - (instancetype)initWithNativePtr:(cv::Ptr<cv::xfeatures2d::AffineFeature2D>)nativePtr;
  33. + (instancetype)fromNative:(cv::Ptr<cv::xfeatures2d::AffineFeature2D>)nativePtr;
  34. #endif
  35. #pragma mark - Methods
  36. @end
  37. NS_ASSUME_NONNULL_END