Package org.opencv.bgsegm
Class BackgroundSubtractorMOG
java.lang.Object
org.opencv.core.Algorithm
org.opencv.video.BackgroundSubtractor
org.opencv.bgsegm.BackgroundSubtractorMOG
Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
The class implements the algorithm described in CITE: KB2001 .
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BackgroundSubtractorMOG
__fromPtr__
(long addr) protected void
finalize()
double
int
int
double
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
-
Constructor Details
-
BackgroundSubtractorMOG
protected BackgroundSubtractorMOG(long addr)
-
-
Method Details
-
__fromPtr__
-
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
- Overrides:
finalize
in classBackgroundSubtractor
- Throws:
Throwable
-