public class BackgroundSubtractorMOG extends BackgroundSubtractor
Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
The class implements the algorithm described in P. KadewTraKuPong and R. Bowden, *An improved adaptive background mixture model for real-time tracking with shadow detection*, Proc. 2nd European Workshop on Advanced Video-Based Surveillance Systems, 2001: http://personal.ee.surrey.ac.uk/Personal/R.Bowden/publications/avbs01/avbs01.pdf
| Modifier | Constructor and Description |
|---|---|
|
BackgroundSubtractorMOG()
The constructors.
|
|
BackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio)
The constructors.
|
|
BackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio,
double noiseSigma)
The constructors.
|
protected |
BackgroundSubtractorMOG(long addr) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
apply, applyprotected BackgroundSubtractorMOG(long addr)
public BackgroundSubtractorMOG()
The constructors.
Default constructor sets all parameters to default values.
public BackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio,
double noiseSigma)
The constructors.
Default constructor sets all parameters to default values.
history - Length of the history.nmixtures - Number of Gaussian mixtures.backgroundRatio - Background ratio.noiseSigma - Noise strength.public BackgroundSubtractorMOG(int history,
int nmixtures,
double backgroundRatio)
The constructors.
Default constructor sets all parameters to default values.
history - Length of the history.nmixtures - Number of Gaussian mixtures.backgroundRatio - Background ratio.protected void finalize()
throws Throwable
finalize in class BackgroundSubtractorThrowableCopyright © 2014. All rights reserved.