The Base Class for Background/Foreground Segmentation. More...
#include <background_segm.hpp>
Inherited by cv::BackgroundSubtractorMOG, and cv::BackgroundSubtractorMOG2.
Public Member Functions | |
virtual | ~BackgroundSubtractor () |
the virtual destructor | |
CV_WRAP_AS (apply) virtual void operator()(InputArray image | |
the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image. | |
virtual void | getBackgroundImage (OutputArray backgroundImage) const |
computes a background image | |
Public Attributes | |
OutputArray | fgmask |
OutputArray double | learningRate = 0) |
The Base Class for Background/Foreground Segmentation.
The class is only used to define the common interface for the whole family of background/foreground segmentation algorithms.
virtual cv::BackgroundSubtractor::~BackgroundSubtractor | ( | ) | [virtual] |
the virtual destructor
cv::BackgroundSubtractor::CV_WRAP_AS | ( | apply | ) |
the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image.
virtual void cv::BackgroundSubtractor::getBackgroundImage | ( | OutputArray | backgroundImage | ) | const [virtual] |
computes a background image
Reimplemented in cv::BackgroundSubtractorMOG2.
OutputArray double cv::BackgroundSubtractor::learningRate = 0) |