PhaseUnwrapping.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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/phase_unwrapping.hpp"
  8. #import "opencv2/phase_unwrapping/phase_unwrapping.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 PhaseUnwrapping
  17. /**
  18. * Abstract base class for phase unwrapping.
  19. *
  20. * Member of `Phase_unwrapping`
  21. */
  22. CV_EXPORTS @interface PhaseUnwrapping : Algorithm
  23. #ifdef __cplusplus
  24. @property(readonly)cv::Ptr<cv::phase_unwrapping::PhaseUnwrapping> nativePtrPhaseUnwrapping;
  25. #endif
  26. #ifdef __cplusplus
  27. - (instancetype)initWithNativePtr:(cv::Ptr<cv::phase_unwrapping::PhaseUnwrapping>)nativePtr;
  28. + (instancetype)fromNative:(cv::Ptr<cv::phase_unwrapping::PhaseUnwrapping>)nativePtr;
  29. #endif
  30. #pragma mark - Methods
  31. //
  32. // void cv::phase_unwrapping::PhaseUnwrapping::unwrapPhaseMap(Mat wrappedPhaseMap, Mat& unwrappedPhaseMap, Mat shadowMask = Mat())
  33. //
  34. /**
  35. * Unwraps a 2D phase map.
  36. *
  37. * @param wrappedPhaseMap The wrapped phase map of type CV_32FC1 that needs to be unwrapped.
  38. * @param unwrappedPhaseMap The unwrapped phase map.
  39. * @param shadowMask Optional CV_8UC1 mask image used when some pixels do not hold any phase information in the wrapped phase map.
  40. */
  41. - (void)unwrapPhaseMap:(Mat*)wrappedPhaseMap unwrappedPhaseMap:(Mat*)unwrappedPhaseMap shadowMask:(Mat*)shadowMask NS_SWIFT_NAME(unwrapPhaseMap(wrappedPhaseMap:unwrappedPhaseMap:shadowMask:));
  42. /**
  43. * Unwraps a 2D phase map.
  44. *
  45. * @param wrappedPhaseMap The wrapped phase map of type CV_32FC1 that needs to be unwrapped.
  46. * @param unwrappedPhaseMap The unwrapped phase map.
  47. */
  48. - (void)unwrapPhaseMap:(Mat*)wrappedPhaseMap unwrappedPhaseMap:(Mat*)unwrappedPhaseMap NS_SWIFT_NAME(unwrapPhaseMap(wrappedPhaseMap:unwrappedPhaseMap:));
  49. @end
  50. NS_ASSUME_NONNULL_END