BlockMeanHash.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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/img_hash.hpp"
  8. #import "opencv2/img_hash/block_mean_hash.hpp"
  9. #else
  10. #define CV_EXPORTS
  11. #endif
  12. #import <Foundation/Foundation.h>
  13. #import "ImgHashBase.h"
  14. #import "Img_hash.h"
  15. @class DoubleVector;
  16. NS_ASSUME_NONNULL_BEGIN
  17. // C++: class BlockMeanHash
  18. /**
  19. * Image hash based on block mean.
  20. *
  21. * See CITE: zauner2010implementation for details.
  22. *
  23. * Member of `Img_hash`
  24. */
  25. CV_EXPORTS @interface BlockMeanHash : ImgHashBase
  26. #ifdef __cplusplus
  27. @property(readonly)cv::Ptr<cv::img_hash::BlockMeanHash> nativePtrBlockMeanHash;
  28. #endif
  29. #ifdef __cplusplus
  30. - (instancetype)initWithNativePtr:(cv::Ptr<cv::img_hash::BlockMeanHash>)nativePtr;
  31. + (instancetype)fromNative:(cv::Ptr<cv::img_hash::BlockMeanHash>)nativePtr;
  32. #endif
  33. #pragma mark - Methods
  34. //
  35. // void cv::img_hash::BlockMeanHash::setMode(BlockMeanHashMode mode)
  36. //
  37. /**
  38. * Create BlockMeanHash object
  39. * @param mode the mode
  40. */
  41. - (void)setMode:(BlockMeanHashMode)mode NS_SWIFT_NAME(setMode(mode:));
  42. //
  43. // vector_double cv::img_hash::BlockMeanHash::getMean()
  44. //
  45. - (DoubleVector*)getMean NS_SWIFT_NAME(getMean());
  46. //
  47. // static Ptr_BlockMeanHash cv::img_hash::BlockMeanHash::create(BlockMeanHashMode mode = BLOCK_MEAN_HASH_MODE_0)
  48. //
  49. + (BlockMeanHash*)create:(BlockMeanHashMode)mode NS_SWIFT_NAME(create(mode:));
  50. + (BlockMeanHash*)create NS_SWIFT_NAME(create());
  51. @end
  52. NS_ASSUME_NONNULL_END