BackgroundSubtractorLSBP.h 1.4 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/bgsegm.hpp"
  8. #else
  9. #define CV_EXPORTS
  10. #endif
  11. #import <Foundation/Foundation.h>
  12. #import "BackgroundSubtractor.h"
  13. @class Mat;
  14. NS_ASSUME_NONNULL_BEGIN
  15. // C++: class BackgroundSubtractorLSBP
  16. /**
  17. * Background Subtraction using Local SVD Binary Pattern. More details about the algorithm can be found at CITE: LGuo2016
  18. *
  19. * Member of `Bgsegm`
  20. */
  21. CV_EXPORTS @interface BackgroundSubtractorLSBP : BackgroundSubtractor
  22. #ifdef __cplusplus
  23. @property(readonly)cv::Ptr<cv::bgsegm::BackgroundSubtractorLSBP> nativePtrBackgroundSubtractorLSBP;
  24. #endif
  25. #ifdef __cplusplus
  26. - (instancetype)initWithNativePtr:(cv::Ptr<cv::bgsegm::BackgroundSubtractorLSBP>)nativePtr;
  27. + (instancetype)fromNative:(cv::Ptr<cv::bgsegm::BackgroundSubtractorLSBP>)nativePtr;
  28. #endif
  29. #pragma mark - Methods
  30. //
  31. // void cv::bgsegm::BackgroundSubtractorLSBP::apply(Mat image, Mat& fgmask, double learningRate = -1)
  32. //
  33. - (void)apply:(Mat*)image fgmask:(Mat*)fgmask learningRate:(double)learningRate NS_SWIFT_NAME(apply(image:fgmask:learningRate:));
  34. - (void)apply:(Mat*)image fgmask:(Mat*)fgmask NS_SWIFT_NAME(apply(image:fgmask:));
  35. //
  36. // void cv::bgsegm::BackgroundSubtractorLSBP::getBackgroundImage(Mat& backgroundImage)
  37. //
  38. - (void)getBackgroundImage:(Mat*)backgroundImage NS_SWIFT_NAME(getBackgroundImage(backgroundImage:));
  39. @end
  40. NS_ASSUME_NONNULL_END