FlannBasedMatcher.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 "DescriptorMatcher.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. // C++: class FlannBasedMatcher
  15. /**
  16. * Flann-based descriptor matcher.
  17. *
  18. * This matcher trains cv::flann::Index on a train descriptor collection and calls its nearest search
  19. * methods to find the best matches. So, this matcher may be faster when matching a large train
  20. * collection than the brute force matcher. FlannBasedMatcher does not support masking permissible
  21. * matches of descriptor sets because flann::Index does not support this. :
  22. *
  23. * Member of `Features2d`
  24. */
  25. CV_EXPORTS @interface FlannBasedMatcher : DescriptorMatcher
  26. #ifdef __cplusplus
  27. @property(readonly)cv::Ptr<cv::FlannBasedMatcher> nativePtrFlannBasedMatcher;
  28. #endif
  29. #ifdef __cplusplus
  30. - (instancetype)initWithNativePtr:(cv::Ptr<cv::FlannBasedMatcher>)nativePtr;
  31. + (instancetype)fromNative:(cv::Ptr<cv::FlannBasedMatcher>)nativePtr;
  32. #endif
  33. #pragma mark - Methods
  34. //
  35. // cv::FlannBasedMatcher::FlannBasedMatcher( _hidden_ indexParams = cv::makePtr<cv::flann::KDTreeIndexParams>(), _hidden_ searchParams = cv::makePtr<cv::flann::SearchParams>())
  36. //
  37. - (instancetype)initWithIndexParams;
  38. //
  39. // static Ptr_FlannBasedMatcher cv::FlannBasedMatcher::create()
  40. //
  41. + (FlannBasedMatcher*)create NS_SWIFT_NAME(create());
  42. @end
  43. NS_ASSUME_NONNULL_END