Public Member Functions | Public Attributes
cv::gpu::MOG_GPU Class Reference

Gaussian Mixture-based Backbround/Foreground Segmentation Algorithm. More...

#include <gpu.hpp>

List of all members.

Public Member Functions

 MOG_GPU (int nmixtures=-1)
 the default constructor
void initialize (Size frameSize, int frameType)
 re-initiaization method
void operator() (const GpuMat &frame, GpuMat &fgmask, float learningRate=0.0f, Stream &stream=Stream::Null())
 the update operator
void getBackgroundImage (GpuMat &backgroundImage, Stream &stream=Stream::Null()) const
 computes a background image which are the mean of all background gaussians
void release ()
 releases all inner buffers

Public Attributes

int history
float varThreshold
float backgroundRatio
float noiseSigma

Detailed Description

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


Constructor & Destructor Documentation

cv::gpu::MOG_GPU::MOG_GPU ( int  nmixtures = -1)

the default constructor


Member Function Documentation

void cv::gpu::MOG_GPU::initialize ( Size  frameSize,
int  frameType 
)

re-initiaization method

void cv::gpu::MOG_GPU::operator() ( const GpuMat frame,
GpuMat fgmask,
float  learningRate = 0.0f,
Stream stream = Stream::Null() 
)

the update operator

void cv::gpu::MOG_GPU::getBackgroundImage ( GpuMat backgroundImage,
Stream stream = Stream::Null() 
) const

computes a background image which are the mean of all background gaussians

releases all inner buffers


Member Data Documentation


The documentation for this class was generated from the following file: