Overview | Package | Class | Tree | Index | Help

OpenCV 2.4.3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.opencv.video
Class BackgroundSubtractorMOG

    java.lang.Object
      org.opencv.core.Algorithm
          org.opencv.video.BackgroundSubtractor
              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

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

### 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

### BackgroundSubtractorMOG

    protected BackgroundSubtractorMOG(long addr)

Method Detail

### finalize

    protected void finalize()
                     throws java.lang.Throwable

  Overrides:
    `finalize` in class `BackgroundSubtractor`
  Throws:
    `java.lang.Throwable`

Overview | Package | Class | Tree | Index | Help

Official OpenCV 2.4 Documentation
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD