TonemapDurand.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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/xphoto.hpp"
  8. #import "opencv2/xphoto/tonemap.hpp"
  9. #else
  10. #define CV_EXPORTS
  11. #endif
  12. #import <Foundation/Foundation.h>
  13. #import "Tonemap.h"
  14. NS_ASSUME_NONNULL_BEGIN
  15. // C++: class TonemapDurand
  16. /**
  17. * This algorithm decomposes image into two layers: base layer and detail layer using bilateral filter
  18. * and compresses contrast of the base layer thus preserving all the details.
  19. *
  20. * This implementation uses regular bilateral filter from OpenCV.
  21. *
  22. * Saturation enhancement is possible as in cv::TonemapDrago.
  23. *
  24. * For more information see CITE: DD02 .
  25. *
  26. * Member of `Xphoto`
  27. */
  28. CV_EXPORTS @interface TonemapDurand : Tonemap
  29. #ifdef __cplusplus
  30. @property(readonly)cv::Ptr<cv::xphoto::TonemapDurand> nativePtrTonemapDurand;
  31. #endif
  32. #ifdef __cplusplus
  33. - (instancetype)initWithNativePtr:(cv::Ptr<cv::xphoto::TonemapDurand>)nativePtr;
  34. + (instancetype)fromNative:(cv::Ptr<cv::xphoto::TonemapDurand>)nativePtr;
  35. #endif
  36. #pragma mark - Methods
  37. //
  38. // float cv::xphoto::TonemapDurand::getSaturation()
  39. //
  40. - (float)getSaturation NS_SWIFT_NAME(getSaturation());
  41. //
  42. // void cv::xphoto::TonemapDurand::setSaturation(float saturation)
  43. //
  44. - (void)setSaturation:(float)saturation NS_SWIFT_NAME(setSaturation(saturation:));
  45. //
  46. // float cv::xphoto::TonemapDurand::getContrast()
  47. //
  48. - (float)getContrast NS_SWIFT_NAME(getContrast());
  49. //
  50. // void cv::xphoto::TonemapDurand::setContrast(float contrast)
  51. //
  52. - (void)setContrast:(float)contrast NS_SWIFT_NAME(setContrast(contrast:));
  53. //
  54. // float cv::xphoto::TonemapDurand::getSigmaSpace()
  55. //
  56. - (float)getSigmaSpace NS_SWIFT_NAME(getSigmaSpace());
  57. //
  58. // void cv::xphoto::TonemapDurand::setSigmaSpace(float sigma_space)
  59. //
  60. - (void)setSigmaSpace:(float)sigma_space NS_SWIFT_NAME(setSigmaSpace(sigma_space:));
  61. //
  62. // float cv::xphoto::TonemapDurand::getSigmaColor()
  63. //
  64. - (float)getSigmaColor NS_SWIFT_NAME(getSigmaColor());
  65. //
  66. // void cv::xphoto::TonemapDurand::setSigmaColor(float sigma_color)
  67. //
  68. - (void)setSigmaColor:(float)sigma_color NS_SWIFT_NAME(setSigmaColor(sigma_color:));
  69. @end
  70. NS_ASSUME_NONNULL_END