SimpleWB.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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/white_balance.hpp"
  9. #else
  10. #define CV_EXPORTS
  11. #endif
  12. #import <Foundation/Foundation.h>
  13. #import "WhiteBalancer.h"
  14. NS_ASSUME_NONNULL_BEGIN
  15. // C++: class SimpleWB
  16. /**
  17. * A simple white balance algorithm that works by independently stretching
  18. * each of the input image channels to the specified range. For increased robustness
  19. * it ignores the top and bottom `$$p\%$$` of pixel values.
  20. *
  21. * Member of `Xphoto`
  22. */
  23. CV_EXPORTS @interface SimpleWB : WhiteBalancer
  24. #ifdef __cplusplus
  25. @property(readonly)cv::Ptr<cv::xphoto::SimpleWB> nativePtrSimpleWB;
  26. #endif
  27. #ifdef __cplusplus
  28. - (instancetype)initWithNativePtr:(cv::Ptr<cv::xphoto::SimpleWB>)nativePtr;
  29. + (instancetype)fromNative:(cv::Ptr<cv::xphoto::SimpleWB>)nativePtr;
  30. #endif
  31. #pragma mark - Methods
  32. //
  33. // float cv::xphoto::SimpleWB::getInputMin()
  34. //
  35. /**
  36. * Input image range minimum value
  37. * @see `-setInputMin:`
  38. */
  39. - (float)getInputMin NS_SWIFT_NAME(getInputMin());
  40. //
  41. // void cv::xphoto::SimpleWB::setInputMin(float val)
  42. //
  43. /**
  44. * getInputMin @see `-getInputMin:`
  45. */
  46. - (void)setInputMin:(float)val NS_SWIFT_NAME(setInputMin(val:));
  47. //
  48. // float cv::xphoto::SimpleWB::getInputMax()
  49. //
  50. /**
  51. * Input image range maximum value
  52. * @see `-setInputMax:`
  53. */
  54. - (float)getInputMax NS_SWIFT_NAME(getInputMax());
  55. //
  56. // void cv::xphoto::SimpleWB::setInputMax(float val)
  57. //
  58. /**
  59. * getInputMax @see `-getInputMax:`
  60. */
  61. - (void)setInputMax:(float)val NS_SWIFT_NAME(setInputMax(val:));
  62. //
  63. // float cv::xphoto::SimpleWB::getOutputMin()
  64. //
  65. /**
  66. * Output image range minimum value
  67. * @see `-setOutputMin:`
  68. */
  69. - (float)getOutputMin NS_SWIFT_NAME(getOutputMin());
  70. //
  71. // void cv::xphoto::SimpleWB::setOutputMin(float val)
  72. //
  73. /**
  74. * getOutputMin @see `-getOutputMin:`
  75. */
  76. - (void)setOutputMin:(float)val NS_SWIFT_NAME(setOutputMin(val:));
  77. //
  78. // float cv::xphoto::SimpleWB::getOutputMax()
  79. //
  80. /**
  81. * Output image range maximum value
  82. * @see `-setOutputMax:`
  83. */
  84. - (float)getOutputMax NS_SWIFT_NAME(getOutputMax());
  85. //
  86. // void cv::xphoto::SimpleWB::setOutputMax(float val)
  87. //
  88. /**
  89. * getOutputMax @see `-getOutputMax:`
  90. */
  91. - (void)setOutputMax:(float)val NS_SWIFT_NAME(setOutputMax(val:));
  92. //
  93. // float cv::xphoto::SimpleWB::getP()
  94. //
  95. /**
  96. * Percent of top/bottom values to ignore
  97. * @see `-setP:`
  98. */
  99. - (float)getP NS_SWIFT_NAME(getP());
  100. //
  101. // void cv::xphoto::SimpleWB::setP(float val)
  102. //
  103. /**
  104. * getP @see `-getP:`
  105. */
  106. - (void)setP:(float)val NS_SWIFT_NAME(setP(val:));
  107. @end
  108. NS_ASSUME_NONNULL_END