#include <ocl.hpp>
Public Member Functions | |
MOG (int nmixtures=-1) | |
the default constructor More... | |
void | initialize (Size frameSize, int frameType) |
re-initiaization method More... | |
void | operator() (const oclMat &frame, oclMat &fgmask, float learningRate=0.f) |
the update operator More... | |
void | getBackgroundImage (oclMat &backgroundImage) const |
computes a background image which are the mean of all background gaussians More... | |
void | release () |
releases all inner buffers More... | |
Public Member Functions inherited from cv::ocl::BackgroundSubtractor | |
virtual | ~BackgroundSubtractor () |
the virtual destructor More... | |
Public Attributes | |
int | history |
float | varThreshold |
float | backgroundRatio |
float | noiseSigma |
Gaussian Mixture-based Backbround/Foreground Segmentation Algorithm
The class implements the following algorithm: "An improved adaptive background mixture model for real-time tracking with shadow detection" P. KadewTraKuPong and R. Bowden, Proc. 2nd European Workshp on Advanced Video-Based Surveillance Systems, 2001." http://personal.ee.surrey.ac.uk/Personal/R.Bowden/publications/avbs01/avbs01.pdf
cv::ocl::MOG::MOG | ( | int | nmixtures = -1 | ) |
the default constructor
computes a background image which are the mean of all background gaussians
Implements cv::ocl::BackgroundSubtractor.
|
virtual |
the update operator
Reimplemented from cv::ocl::BackgroundSubtractor.
void cv::ocl::MOG::release | ( | ) |
releases all inner buffers
float cv::ocl::MOG::backgroundRatio |
int cv::ocl::MOG::history |
float cv::ocl::MOG::noiseSigma |
float cv::ocl::MOG::varThreshold |