#include <ocl.hpp>
Public Member Functions | |
virtual | ~BackgroundSubtractor () |
the virtual destructor More... | |
virtual void | operator() (const oclMat &image, oclMat &fgmask, float learningRate) |
the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image. More... | |
virtual void | getBackgroundImage (oclMat &backgroundImage) const =0 |
computes a background image More... | |
Base class for MOG and MOG2!
|
virtual |
the virtual destructor
|
pure virtual |
computes a background image
Implemented in cv::ocl::MOG2, and cv::ocl::MOG.
|
virtual |
the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image.
Reimplemented in cv::ocl::MOG2, and cv::ocl::MOG.