OpenCV 3.0.0-rc1

org.opencv.video
Class BackgroundSubtractorMOG2

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

public class BackgroundSubtractorMOG2
extends BackgroundSubtractor


Method Summary
 double getBackgroundRatio()
           
 double getComplexityReductionThreshold()
           
 boolean getDetectShadows()
           
 int getHistory()
           
 int getNMixtures()
           
 double getShadowThreshold()
           
 int getShadowValue()
           
 double getVarInit()
           
 double getVarMax()
           
 double getVarMin()
           
 double getVarThreshold()
           
 double getVarThresholdGen()
           
 void setBackgroundRatio(double ratio)
           
 void setComplexityReductionThreshold(double ct)
           
 void setDetectShadows(boolean detectShadows)
           
 void setHistory(int history)
           
 void setNMixtures(int nmixtures)
           
 void setShadowThreshold(double threshold)
           
 void setShadowValue(int value)
           
 void setVarInit(double varInit)
           
 void setVarMax(double varMax)
           
 void setVarMin(double varMin)
           
 void setVarThreshold(double varThreshold)
           
 void setVarThresholdGen(double varThresholdGen)
           
 
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

getBackgroundRatio

public double getBackgroundRatio()

getComplexityReductionThreshold

public double getComplexityReductionThreshold()

getDetectShadows

public boolean getDetectShadows()

getHistory

public int getHistory()

getNMixtures

public int getNMixtures()

getShadowThreshold

public double getShadowThreshold()

getShadowValue

public int getShadowValue()

getVarInit

public double getVarInit()

getVarMax

public double getVarMax()

getVarMin

public double getVarMin()

getVarThreshold

public double getVarThreshold()

getVarThresholdGen

public double getVarThresholdGen()

setBackgroundRatio

public void setBackgroundRatio(double ratio)

setComplexityReductionThreshold

public void setComplexityReductionThreshold(double ct)

setDetectShadows

public void setDetectShadows(boolean detectShadows)

setHistory

public void setHistory(int history)

setNMixtures

public void setNMixtures(int nmixtures)

setShadowThreshold

public void setShadowThreshold(double threshold)

setShadowValue

public void setShadowValue(int value)

setVarInit

public void setVarInit(double varInit)

setVarMax

public void setVarMax(double varMax)

setVarMin

public void setVarMin(double varMin)

setVarThreshold

public void setVarThreshold(double varThreshold)

setVarThresholdGen

public void setVarThresholdGen(double varThresholdGen)

OpenCV 3.0.0-rc1 Documentation