public class BackgroundSubtractorKNN extends BackgroundSubtractor
Modifier and Type | Method and Description |
---|---|
boolean |
getDetectShadows() |
double |
getDist2Threshold() |
int |
getHistory() |
int |
getkNNSamples() |
int |
getNSamples() |
double |
getShadowThreshold() |
int |
getShadowValue() |
void |
setDetectShadows(boolean detectShadows) |
void |
setDist2Threshold(double _dist2Threshold) |
void |
setHistory(int history) |
void |
setkNNSamples(int _nkNN) |
void |
setNSamples(int _nN) |
void |
setShadowThreshold(double threshold) |
void |
setShadowValue(int value) |
apply, apply, getBackgroundImage
clear, getDefaultName, save
public boolean getDetectShadows()
public double getDist2Threshold()
public int getHistory()
public int getkNNSamples()
public int getNSamples()
public double getShadowThreshold()
public int getShadowValue()
public void setDetectShadows(boolean detectShadows)
public void setDist2Threshold(double _dist2Threshold)
public void setHistory(int history)
public void setkNNSamples(int _nkNN)
public void setNSamples(int _nN)
public void setShadowThreshold(double threshold)
public void setShadowValue(int value)