Tonemap.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 "Algorithm.h"
  13. @class Mat;
  14. NS_ASSUME_NONNULL_BEGIN
  15. // C++: class Tonemap
  16. /**
  17. * Base class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range.
  18. *
  19. * Member of `Photo`
  20. */
  21. CV_EXPORTS @interface Tonemap : Algorithm
  22. #ifdef __cplusplus
  23. @property(readonly)cv::Ptr<cv::Tonemap> nativePtrTonemap;
  24. #endif
  25. #ifdef __cplusplus
  26. - (instancetype)initWithNativePtr:(cv::Ptr<cv::Tonemap>)nativePtr;
  27. + (instancetype)fromNative:(cv::Ptr<cv::Tonemap>)nativePtr;
  28. #endif
  29. #pragma mark - Methods
  30. //
  31. // void cv::Tonemap::process(Mat src, Mat& dst)
  32. //
  33. /**
  34. * Tonemaps image
  35. *
  36. * @param src source image - CV_32FC3 Mat (float 32 bits 3 channels)
  37. * @param dst destination image - CV_32FC3 Mat with values in [0, 1] range
  38. */
  39. - (void)process:(Mat*)src dst:(Mat*)dst NS_SWIFT_NAME(process(src:dst:));
  40. //
  41. // float cv::Tonemap::getGamma()
  42. //
  43. - (float)getGamma NS_SWIFT_NAME(getGamma());
  44. //
  45. // void cv::Tonemap::setGamma(float gamma)
  46. //
  47. - (void)setGamma:(float)gamma NS_SWIFT_NAME(setGamma(gamma:));
  48. @end
  49. NS_ASSUME_NONNULL_END