MarrHildrethHash.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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/marr_hildreth_hash.hpp"
  9. #else
  10. #define CV_EXPORTS
  11. #endif
  12. #import <Foundation/Foundation.h>
  13. #import "ImgHashBase.h"
  14. NS_ASSUME_NONNULL_BEGIN
  15. // C++: class MarrHildrethHash
  16. /**
  17. * Marr-Hildreth Operator Based Hash, slowest but more discriminative.
  18. *
  19. * See CITE: zauner2010implementation for details.
  20. *
  21. * Member of `Img_hash`
  22. */
  23. CV_EXPORTS @interface MarrHildrethHash : ImgHashBase
  24. #ifdef __cplusplus
  25. @property(readonly)cv::Ptr<cv::img_hash::MarrHildrethHash> nativePtrMarrHildrethHash;
  26. #endif
  27. #ifdef __cplusplus
  28. - (instancetype)initWithNativePtr:(cv::Ptr<cv::img_hash::MarrHildrethHash>)nativePtr;
  29. + (instancetype)fromNative:(cv::Ptr<cv::img_hash::MarrHildrethHash>)nativePtr;
  30. #endif
  31. #pragma mark - Methods
  32. //
  33. // float cv::img_hash::MarrHildrethHash::getAlpha()
  34. //
  35. /**
  36. * self explain
  37. */
  38. - (float)getAlpha NS_SWIFT_NAME(getAlpha());
  39. //
  40. // float cv::img_hash::MarrHildrethHash::getScale()
  41. //
  42. /**
  43. * self explain
  44. */
  45. - (float)getScale NS_SWIFT_NAME(getScale());
  46. //
  47. // void cv::img_hash::MarrHildrethHash::setKernelParam(float alpha, float scale)
  48. //
  49. /**
  50. * Set Mh kernel parameters
  51. * @param alpha int scale factor for marr wavelet (default=2).
  52. * @param scale int level of scale factor (default = 1)
  53. */
  54. - (void)setKernelParam:(float)alpha scale:(float)scale NS_SWIFT_NAME(setKernelParam(alpha:scale:));
  55. //
  56. // static Ptr_MarrHildrethHash cv::img_hash::MarrHildrethHash::create(float alpha = 2.0f, float scale = 1.0f)
  57. //
  58. /**
  59. * @param alpha int scale factor for marr wavelet (default=2).
  60. * @param scale int level of scale factor (default = 1)
  61. */
  62. + (MarrHildrethHash*)create:(float)alpha scale:(float)scale NS_SWIFT_NAME(create(alpha:scale:));
  63. /**
  64. * @param alpha int scale factor for marr wavelet (default=2).
  65. */
  66. + (MarrHildrethHash*)create:(float)alpha NS_SWIFT_NAME(create(alpha:));
  67. /**
  68. */
  69. + (MarrHildrethHash*)create NS_SWIFT_NAME(create());
  70. @end
  71. NS_ASSUME_NONNULL_END