org.opencv.video
Class BackgroundSubtractorKNN
java.lang.Object
org.opencv.core.Algorithm
org.opencv.video.BackgroundSubtractor
org.opencv.video.BackgroundSubtractorKNN
public class BackgroundSubtractorKNN
- extends BackgroundSubtractor
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDetectShadows
public boolean getDetectShadows()
getDist2Threshold
public double getDist2Threshold()
getHistory
public int getHistory()
getkNNSamples
public int getkNNSamples()
getNSamples
public int getNSamples()
getShadowThreshold
public double getShadowThreshold()
getShadowValue
public int getShadowValue()
setDetectShadows
public void setDetectShadows(boolean detectShadows)
setDist2Threshold
public void setDist2Threshold(double _dist2Threshold)
setHistory
public void setHistory(int history)
setkNNSamples
public void setkNNSamples(int _nkNN)
setNSamples
public void setNSamples(int _nN)
setShadowThreshold
public void setShadowThreshold(double threshold)
setShadowValue
public void setShadowValue(int value)