BackgroundSubtractorMOG.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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/bgsegm.hpp"
  8. #else
  9. #define CV_EXPORTS
  10. #endif
  11. #import <Foundation/Foundation.h>
  12. #import "BackgroundSubtractor.h"
  13. NS_ASSUME_NONNULL_BEGIN
  14. // C++: class BackgroundSubtractorMOG
  15. /**
  16. * Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
  17. *
  18. * The class implements the algorithm described in CITE: KB2001 .
  19. *
  20. * Member of `Bgsegm`
  21. */
  22. CV_EXPORTS @interface BackgroundSubtractorMOG : BackgroundSubtractor
  23. #ifdef __cplusplus
  24. @property(readonly)cv::Ptr<cv::bgsegm::BackgroundSubtractorMOG> nativePtrBackgroundSubtractorMOG;
  25. #endif
  26. #ifdef __cplusplus
  27. - (instancetype)initWithNativePtr:(cv::Ptr<cv::bgsegm::BackgroundSubtractorMOG>)nativePtr;
  28. + (instancetype)fromNative:(cv::Ptr<cv::bgsegm::BackgroundSubtractorMOG>)nativePtr;
  29. #endif
  30. #pragma mark - Methods
  31. //
  32. // int cv::bgsegm::BackgroundSubtractorMOG::getHistory()
  33. //
  34. - (int)getHistory NS_SWIFT_NAME(getHistory());
  35. //
  36. // void cv::bgsegm::BackgroundSubtractorMOG::setHistory(int nframes)
  37. //
  38. - (void)setHistory:(int)nframes NS_SWIFT_NAME(setHistory(nframes:));
  39. //
  40. // int cv::bgsegm::BackgroundSubtractorMOG::getNMixtures()
  41. //
  42. - (int)getNMixtures NS_SWIFT_NAME(getNMixtures());
  43. //
  44. // void cv::bgsegm::BackgroundSubtractorMOG::setNMixtures(int nmix)
  45. //
  46. - (void)setNMixtures:(int)nmix NS_SWIFT_NAME(setNMixtures(nmix:));
  47. //
  48. // double cv::bgsegm::BackgroundSubtractorMOG::getBackgroundRatio()
  49. //
  50. - (double)getBackgroundRatio NS_SWIFT_NAME(getBackgroundRatio());
  51. //
  52. // void cv::bgsegm::BackgroundSubtractorMOG::setBackgroundRatio(double backgroundRatio)
  53. //
  54. - (void)setBackgroundRatio:(double)backgroundRatio NS_SWIFT_NAME(setBackgroundRatio(backgroundRatio:));
  55. //
  56. // double cv::bgsegm::BackgroundSubtractorMOG::getNoiseSigma()
  57. //
  58. - (double)getNoiseSigma NS_SWIFT_NAME(getNoiseSigma());
  59. //
  60. // void cv::bgsegm::BackgroundSubtractorMOG::setNoiseSigma(double noiseSigma)
  61. //
  62. - (void)setNoiseSigma:(double)noiseSigma NS_SWIFT_NAME(setNoiseSigma(noiseSigma:));
  63. @end
  64. NS_ASSUME_NONNULL_END