// // This file is auto-generated. Please don't modify it! // #pragma once #ifdef __cplusplus //#import "opencv.hpp" #import "opencv2/xfeatures2d.hpp" #else #define CV_EXPORTS #endif #import #import "Feature2D.h" NS_ASSUME_NONNULL_BEGIN // C++: class AffineFeature2D /** * Class implementing affine adaptation for key points. * * A REF: FeatureDetector and a REF: DescriptorExtractor are wrapped to augment the * detected points with their affine invariant elliptic region and to compute * the feature descriptors on the regions after warping them into circles. * * The interface is equivalent to REF: Feature2D, adding operations for * REF: Elliptic_KeyPoint "Elliptic_KeyPoints" instead of REF: KeyPoint "KeyPoints". * * Member of `Xfeatures2d` */ CV_EXPORTS @interface AffineFeature2D : Feature2D #ifdef __cplusplus @property(readonly)cv::Ptr nativePtrAffineFeature2D; #endif #ifdef __cplusplus - (instancetype)initWithNativePtr:(cv::Ptr)nativePtr; + (instancetype)fromNative:(cv::Ptr)nativePtr; #endif #pragma mark - Methods @end NS_ASSUME_NONNULL_END