|
OpenCV 2.4.2 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opencv.core.Algorithm org.opencv.video.BackgroundSubtractor org.opencv.video.BackgroundSubtractorMOG
public class BackgroundSubtractorMOG
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
Field Summary |
---|
Fields inherited from class org.opencv.core.Algorithm |
---|
nativeObj |
Constructor Summary | |
---|---|
|
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)
|
Method Summary | |
---|---|
protected void |
finalize()
|
Methods inherited from class org.opencv.video.BackgroundSubtractor |
---|
apply, apply |
Methods inherited from class org.opencv.core.Algorithm |
---|
getBool, getDouble, getInt, getMat, getMatVector, getString, paramHelp, paramType, setBool, setDouble, setInt, setMat, setMatVector, setString |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BackgroundSubtractorMOG()
The constructors.
Default constructor sets all parameters to default values.
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.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.protected BackgroundSubtractorMOG(long addr)
Method Detail |
---|
protected void finalize() throws java.lang.Throwable
finalize
in class BackgroundSubtractor
java.lang.Throwable
|
Official OpenCV 2.4 Documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |