OpenCV 2.4.8

org.opencv.video
Class BackgroundSubtractorMOG

java.lang.Object
  extended by org.opencv.core.Algorithm
      extended by org.opencv.video.BackgroundSubtractor
          extended by org.opencv.video.BackgroundSubtractorMOG

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

See Also:
org.opencv.video.BackgroundSubtractorMOG : public BackgroundSubtractor

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.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackgroundSubtractorMOG

public BackgroundSubtractorMOG()

The constructors.

Default constructor sets all parameters to default values.

See Also:
org.opencv.video.BackgroundSubtractorMOG.BackgroundSubtractorMOG

BackgroundSubtractorMOG

public BackgroundSubtractorMOG(int history,
                               int nmixtures,
                               double backgroundRatio)

The constructors.

Default constructor sets all parameters to default values.

Parameters:
history - Length of the history.
nmixtures - Number of Gaussian mixtures.
backgroundRatio - Background ratio.
See Also:
org.opencv.video.BackgroundSubtractorMOG.BackgroundSubtractorMOG

BackgroundSubtractorMOG

public BackgroundSubtractorMOG(int history,
                               int nmixtures,
                               double backgroundRatio,
                               double noiseSigma)

The constructors.

Default constructor sets all parameters to default values.

Parameters:
history - Length of the history.
nmixtures - Number of Gaussian mixtures.
backgroundRatio - Background ratio.
noiseSigma - Noise strength.
See Also:
org.opencv.video.BackgroundSubtractorMOG.BackgroundSubtractorMOG

OpenCV 2.4.8 Documentation