TonemapReinhard.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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 TonemapReinhard
  15. /**
  16. * This is a global tonemapping operator that models human visual system.
  17. *
  18. * Mapping function is controlled by adaptation parameter, that is computed using light adaptation and
  19. * color adaptation.
  20. *
  21. * For more information see CITE: RD05 .
  22. *
  23. * Member of `Photo`
  24. */
  25. CV_EXPORTS @interface TonemapReinhard : Tonemap
  26. #ifdef __cplusplus
  27. @property(readonly)cv::Ptr<cv::TonemapReinhard> nativePtrTonemapReinhard;
  28. #endif
  29. #ifdef __cplusplus
  30. - (instancetype)initWithNativePtr:(cv::Ptr<cv::TonemapReinhard>)nativePtr;
  31. + (instancetype)fromNative:(cv::Ptr<cv::TonemapReinhard>)nativePtr;
  32. #endif
  33. #pragma mark - Methods
  34. //
  35. // float cv::TonemapReinhard::getIntensity()
  36. //
  37. - (float)getIntensity NS_SWIFT_NAME(getIntensity());
  38. //
  39. // void cv::TonemapReinhard::setIntensity(float intensity)
  40. //
  41. - (void)setIntensity:(float)intensity NS_SWIFT_NAME(setIntensity(intensity:));
  42. //
  43. // float cv::TonemapReinhard::getLightAdaptation()
  44. //
  45. - (float)getLightAdaptation NS_SWIFT_NAME(getLightAdaptation());
  46. //
  47. // void cv::TonemapReinhard::setLightAdaptation(float light_adapt)
  48. //
  49. - (void)setLightAdaptation:(float)light_adapt NS_SWIFT_NAME(setLightAdaptation(light_adapt:));
  50. //
  51. // float cv::TonemapReinhard::getColorAdaptation()
  52. //
  53. - (float)getColorAdaptation NS_SWIFT_NAME(getColorAdaptation());
  54. //
  55. // void cv::TonemapReinhard::setColorAdaptation(float color_adapt)
  56. //
  57. - (void)setColorAdaptation:(float)color_adapt NS_SWIFT_NAME(setColorAdaptation(color_adapt:));
  58. @end
  59. NS_ASSUME_NONNULL_END