WhiteBalancer.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 "Algorithm.h"
  14. @class Mat;
  15. NS_ASSUME_NONNULL_BEGIN
  16. // C++: class WhiteBalancer
  17. /**
  18. * The base class for auto white balance algorithms.
  19. *
  20. * Member of `Xphoto`
  21. */
  22. CV_EXPORTS @interface WhiteBalancer : Algorithm
  23. #ifdef __cplusplus
  24. @property(readonly)cv::Ptr<cv::xphoto::WhiteBalancer> nativePtrWhiteBalancer;
  25. #endif
  26. #ifdef __cplusplus
  27. - (instancetype)initWithNativePtr:(cv::Ptr<cv::xphoto::WhiteBalancer>)nativePtr;
  28. + (instancetype)fromNative:(cv::Ptr<cv::xphoto::WhiteBalancer>)nativePtr;
  29. #endif
  30. #pragma mark - Methods
  31. //
  32. // void cv::xphoto::WhiteBalancer::balanceWhite(Mat src, Mat& dst)
  33. //
  34. /**
  35. * Applies white balancing to the input image
  36. *
  37. * @param src Input image
  38. * @param dst White balancing result
  39. * @see `cvtColor`, `equalizeHist`
  40. */
  41. - (void)balanceWhite:(Mat*)src dst:(Mat*)dst NS_SWIFT_NAME(balanceWhite(src:dst:));
  42. @end
  43. NS_ASSUME_NONNULL_END