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 Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2