OpenCV 3.0.0

org.opencv.video
Class BackgroundSubtractor

java.lang.Object
  extended by org.opencv.core.Algorithm
      extended by org.opencv.video.BackgroundSubtractor
Direct Known Subclasses:
BackgroundSubtractorKNN, BackgroundSubtractorMOG2

public class BackgroundSubtractor
extends Algorithm


Method Summary
 void apply(Mat image, Mat fgmask)
           
 void apply(Mat image, Mat fgmask, double learningRate)
           
 void getBackgroundImage(Mat backgroundImage)
           
 
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

apply

public void apply(Mat image,
                  Mat fgmask)

apply

public void apply(Mat image,
                  Mat fgmask,
                  double learningRate)

getBackgroundImage

public void getBackgroundImage(Mat backgroundImage)

OpenCV 3.0.0 Documentation