Package 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 Gaussian Mixture-based Background/Foreground Segmentation Algorithm. The class implements the algorithm described in CITE: KB2001 .
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedBackgroundSubtractorMOG(long addr)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BackgroundSubtractorMOG__fromPtr__(long addr)protected voidfinalize()doublegetBackgroundRatio()intgetHistory()intgetNMixtures()doublegetNoiseSigma()voidsetBackgroundRatio(double backgroundRatio)voidsetHistory(int nframes)voidsetNMixtures(int nmix)voidsetNoiseSigma(double noiseSigma)- 
Methods inherited from class org.opencv.video.BackgroundSubtractorapply, apply, getBackgroundImage
 - 
Methods inherited from class org.opencv.core.Algorithmclear, empty, getDefaultName, getNativeObjAddr, save
 
- 
 
- 
- 
- 
Method Detail- 
__fromPtr__public static BackgroundSubtractorMOG __fromPtr__(long addr) 
 - 
getBackgroundRatiopublic double getBackgroundRatio() 
 - 
getNoiseSigmapublic double getNoiseSigma() 
 - 
getHistorypublic int getHistory() 
 - 
getNMixturespublic int getNMixtures() 
 - 
setBackgroundRatiopublic void setBackgroundRatio(double backgroundRatio) 
 - 
setHistorypublic void setHistory(int nframes) 
 - 
setNMixturespublic void setNMixtures(int nmix) 
 - 
setNoiseSigmapublic void setNoiseSigma(double noiseSigma) 
 - 
finalizeprotected void finalize() throws java.lang.Throwable- Overrides:
- finalizein class- BackgroundSubtractor
- Throws:
- java.lang.Throwable
 
 
- 
 
-