TonemapDrago.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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/photo.hpp"
  8. #else
  9. #define CV_EXPORTS
  10. #endif
  11. #import <Foundation/Foundation.h>
  12. #import "Tonemap.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. // C++: class TonemapDrago
  15. /**
  16. * Adaptive logarithmic mapping is a fast global tonemapping algorithm that scales the image in
  17. * logarithmic domain.
  18. *
  19. * Since it's a global operator the same function is applied to all the pixels, it is controlled by the
  20. * bias parameter.
  21. *
  22. * Optional saturation enhancement is possible as described in CITE: FL02 .
  23. *
  24. * For more information see CITE: DM03 .
  25. *
  26. * Member of `Photo`
  27. */
  28. CV_EXPORTS @interface TonemapDrago : Tonemap
  29. #ifdef __cplusplus
  30. @property(readonly)cv::Ptr<cv::TonemapDrago> nativePtrTonemapDrago;
  31. #endif
  32. #ifdef __cplusplus
  33. - (instancetype)initWithNativePtr:(cv::Ptr<cv::TonemapDrago>)nativePtr;
  34. + (instancetype)fromNative:(cv::Ptr<cv::TonemapDrago>)nativePtr;
  35. #endif
  36. #pragma mark - Methods
  37. //
  38. // float cv::TonemapDrago::getSaturation()
  39. //
  40. - (float)getSaturation NS_SWIFT_NAME(getSaturation());
  41. //
  42. // void cv::TonemapDrago::setSaturation(float saturation)
  43. //
  44. - (void)setSaturation:(float)saturation NS_SWIFT_NAME(setSaturation(saturation:));
  45. //
  46. // float cv::TonemapDrago::getBias()
  47. //
  48. - (float)getBias NS_SWIFT_NAME(getBias());
  49. //
  50. // void cv::TonemapDrago::setBias(float bias)
  51. //
  52. - (void)setBias:(float)bias NS_SWIFT_NAME(setBias(bias:));
  53. @end
  54. NS_ASSUME_NONNULL_END