BackgroundSubtractorMOG
Objective-C
@interface BackgroundSubtractorMOG : BackgroundSubtractor
Swift
class BackgroundSubtractorMOG : BackgroundSubtractor
Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
The class implements the algorithm described in CITE: KB2001 .
Member of Bgsegm
-
Declaration
Objective-C
- (double)getBackgroundRatio NS_SWIFT_NAME(getBackgroundRatio());
Swift
func getBackgroundRatio() -> Double
-
Declaration
Objective-C
- (double)getNoiseSigma NS_SWIFT_NAME(getNoiseSigma());
Swift
func getNoiseSigma() -> Double
-
Declaration
Objective-C
- (int)getHistory NS_SWIFT_NAME(getHistory());
Swift
func getHistory() -> Int32
-
Declaration
Objective-C
- (int)getNMixtures NS_SWIFT_NAME(getNMixtures());
Swift
func getNMixtures() -> Int32
-
Declaration
Objective-C
- (void)setBackgroundRatio:(double)backgroundRatio NS_SWIFT_NAME(setBackgroundRatio(backgroundRatio:));
Swift
func setBackgroundRatio(backgroundRatio: Double)
-
Declaration
Objective-C
- (void)setHistory:(int)nframes NS_SWIFT_NAME(setHistory(nframes:));
Swift
func setHistory(nframes: Int32)
-
Declaration
Objective-C
- (void)setNMixtures:(int)nmix NS_SWIFT_NAME(setNMixtures(nmix:));
Swift
func setNMixtures(nmix: Int32)
-
Declaration
Objective-C
- (void)setNoiseSigma:(double)noiseSigma NS_SWIFT_NAME(setNoiseSigma(noiseSigma:));
Swift
func setNoiseSigma(noiseSigma: Double)