public class BackgroundSubtractorKNN extends BackgroundSubtractor
| Modifier | Constructor and Description | 
|---|---|
| protected  | BackgroundSubtractorKNN(long addr) | 
| Modifier and Type | Method and Description | 
|---|---|
| static BackgroundSubtractorKNN | __fromPtr__(long addr) | 
| protected void | finalize() | 
| 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, getBackgroundImageclear, empty, getDefaultName, getNativeObjAddr, savepublic static BackgroundSubtractorKNN __fromPtr__(long addr)
public boolean getDetectShadows()
public double getDist2Threshold()
public double getShadowThreshold()
public int getHistory()
public int getNSamples()
public int getShadowValue()
public int getkNNSamples()
public void setDetectShadows(boolean detectShadows)
public void setDist2Threshold(double _dist2Threshold)
public void setHistory(int history)
public void setNSamples(int _nN)
public void setShadowThreshold(double threshold)
public void setShadowValue(int value)
public void setkNNSamples(int _nkNN)
protected void finalize()
                 throws java.lang.Throwable
finalize in class BackgroundSubtractorjava.lang.ThrowableGenerated on Fri Dec 21 2018 18:02:43 UTC / OpenCV 3.4.5