OpenCV 3.0.0

org.opencv.video
Class BackgroundSubtractorKNN

java.lang.Object
  extended by org.opencv.core.Algorithm
      extended by org.opencv.video.BackgroundSubtractor
          extended by org.opencv.video.BackgroundSubtractorKNN

public class BackgroundSubtractorKNN
extends BackgroundSubtractor


Method Summary
 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)
           
 
Methods inherited from class org.opencv.video.BackgroundSubtractor
apply, apply, getBackgroundImage
 
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)

OpenCV 3.0.0 Documentation