public class BackgroundSubtractorGMG extends BackgroundSubtractor
Modifier | Constructor and Description |
---|---|
protected |
BackgroundSubtractorGMG(long addr) |
Modifier and Type | Method and Description |
---|---|
static BackgroundSubtractorGMG |
__fromPtr__(long addr) |
protected void |
finalize() |
double |
getBackgroundPrior() |
double |
getDecisionThreshold() |
double |
getDefaultLearningRate() |
int |
getMaxFeatures() |
double |
getMaxVal() |
double |
getMinVal() |
int |
getNumFrames() |
int |
getQuantizationLevels() |
int |
getSmoothingRadius() |
boolean |
getUpdateBackgroundModel() |
void |
setBackgroundPrior(double bgprior) |
void |
setDecisionThreshold(double thresh) |
void |
setDefaultLearningRate(double lr) |
void |
setMaxFeatures(int maxFeatures) |
void |
setMaxVal(double val) |
void |
setMinVal(double val) |
void |
setNumFrames(int nframes) |
void |
setQuantizationLevels(int nlevels) |
void |
setSmoothingRadius(int radius) |
void |
setUpdateBackgroundModel(boolean update) |
apply, apply, getBackgroundImage
clear, empty, getDefaultName, getNativeObjAddr, save
public static BackgroundSubtractorGMG __fromPtr__(long addr)
public boolean getUpdateBackgroundModel()
public double getBackgroundPrior()
public double getDecisionThreshold()
public double getDefaultLearningRate()
public double getMaxVal()
public double getMinVal()
public int getMaxFeatures()
public int getNumFrames()
public int getQuantizationLevels()
public int getSmoothingRadius()
public void setBackgroundPrior(double bgprior)
public void setDecisionThreshold(double thresh)
public void setDefaultLearningRate(double lr)
public void setMaxFeatures(int maxFeatures)
public void setMaxVal(double val)
public void setMinVal(double val)
public void setNumFrames(int nframes)
public void setQuantizationLevels(int nlevels)
public void setSmoothingRadius(int radius)
public void setUpdateBackgroundModel(boolean update)
protected void finalize() throws java.lang.Throwable
finalize
in class BackgroundSubtractor
java.lang.Throwable
Generated on Sun Nov 18 2018 11:54:12 UTC / OpenCV 4.0.0