public class BackgroundSubtractorMOG2 extends BackgroundSubtractor
Modifier and Type | Method and Description |
---|---|
double |
getBackgroundRatio() |
double |
getComplexityReductionThreshold() |
boolean |
getDetectShadows() |
int |
getHistory() |
int |
getNMixtures() |
double |
getShadowThreshold() |
int |
getShadowValue() |
double |
getVarInit() |
double |
getVarMax() |
double |
getVarMin() |
double |
getVarThreshold() |
double |
getVarThresholdGen() |
void |
setBackgroundRatio(double ratio) |
void |
setComplexityReductionThreshold(double ct) |
void |
setDetectShadows(boolean detectShadows) |
void |
setHistory(int history) |
void |
setNMixtures(int nmixtures) |
void |
setShadowThreshold(double threshold) |
void |
setShadowValue(int value) |
void |
setVarInit(double varInit) |
void |
setVarMax(double varMax) |
void |
setVarMin(double varMin) |
void |
setVarThreshold(double varThreshold) |
void |
setVarThresholdGen(double varThresholdGen) |
apply, apply, getBackgroundImage
clear, getDefaultName, save
public double getBackgroundRatio()
public double getComplexityReductionThreshold()
public boolean getDetectShadows()
public int getHistory()
public int getNMixtures()
public double getShadowThreshold()
public int getShadowValue()
public double getVarInit()
public double getVarMax()
public double getVarMin()
public double getVarThreshold()
public double getVarThresholdGen()
public void setBackgroundRatio(double ratio)
public void setComplexityReductionThreshold(double ct)
public void setDetectShadows(boolean detectShadows)
public void setHistory(int history)
public void setNMixtures(int nmixtures)
public void setShadowThreshold(double threshold)
public void setShadowValue(int value)
public void setVarInit(double varInit)
public void setVarMax(double varMax)
public void setVarMin(double varMin)
public void setVarThreshold(double varThreshold)
public void setVarThresholdGen(double varThresholdGen)