org.opencv.bgsegm

## Class BackgroundSubtractorMOG

- java.lang.Object
- - org.opencv.core.Algorithm
  - - org.opencv.video.BackgroundSubtractor
    - - org.opencv.bgsegm.BackgroundSubtractorMOG

-     public class BackgroundSubtractorMOG
      extends BackgroundSubtractor

- - ### Field Summary

    - ### Fields inherited from class org.opencv.core.Algorithm

      `nativeObj`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `BackgroundSubtractorMOG(long addr)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static BackgroundSubtractorMOG` | `__fromPtr__(long addr)`
    `protected void` | `finalize()`
    `double` | `getBackgroundRatio()`
    `int` | `getHistory()`
    `int` | `getNMixtures()`
    `double` | `getNoiseSigma()`
    `void` | `setBackgroundRatio(double backgroundRatio)`
    `void` | `setHistory(int nframes)`
    `void` | `setNMixtures(int nmix)`
    `void` | `setNoiseSigma(double noiseSigma)`

    - ### Methods inherited from class org.opencv.video.BackgroundSubtractor

      `apply, apply, getBackgroundImage`

    - ### Methods inherited from class org.opencv.core.Algorithm

      `clear, empty, getDefaultName, getNativeObjAddr, save`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BackgroundSubtractorMOG

          protected BackgroundSubtractorMOG(long addr)

  - ### Method Detail

    - #### __fromPtr__

          public static BackgroundSubtractorMOG __fromPtr__(long addr)

    - #### getBackgroundRatio

          public double getBackgroundRatio()

    - #### getNoiseSigma

          public double getNoiseSigma()

    - #### getHistory

          public int getHistory()

    - #### getNMixtures

          public int getNMixtures()

    - #### setBackgroundRatio

          public void setBackgroundRatio(double backgroundRatio)

    - #### setHistory

          public void setHistory(int nframes)

    - #### setNMixtures

          public void setNMixtures(int nmix)

    - #### setNoiseSigma

          public void setNoiseSigma(double noiseSigma)

    - #### finalize

          protected void finalize()
                           throws java.lang.Throwable

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

Generated on Wed Aug 29 2018 10:29:57 UTC / OpenCV 3.4.3