Class BackgroundSubtractorMOG


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

      • BackgroundSubtractorMOG

        protected BackgroundSubtractorMOG​(long addr)
    • Method Detail

      • 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 java.lang.Throwable
        Overrides:
        finalize in class BackgroundSubtractor
        Throws:
        java.lang.Throwable