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, getBackgroundImage
clear, empty, getDefaultName, getNativeObjAddr, save
public 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 BackgroundSubtractor
java.lang.Throwable
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2