Class BackgroundSubtractorMOG


public class BackgroundSubtractorMOG extends BackgroundSubtractor
Gaussian Mixture-based Background/Foreground Segmentation Algorithm. The class implements the algorithm described in CITE: KB2001 .
  • Constructor Details

    • BackgroundSubtractorMOG

      protected BackgroundSubtractorMOG(long addr)
  • Method Details

    • __fromPtr__

      public static BackgroundSubtractorMOG __fromPtr__(long addr)
    • getHistory

      public int getHistory()
    • setHistory

      public void setHistory(int nframes)
    • getNMixtures

      public int getNMixtures()
    • setNMixtures

      public void setNMixtures(int nmix)
    • getBackgroundRatio

      public double getBackgroundRatio()
    • setBackgroundRatio

      public void setBackgroundRatio(double backgroundRatio)
    • getNoiseSigma

      public double getNoiseSigma()
    • setNoiseSigma

      public void setNoiseSigma(double noiseSigma)
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class BackgroundSubtractor
      Throws:
      Throwable