Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
More...
#include <opencv2/cudabgsegm.hpp>
Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
The class discriminates between foreground and background pixels by building and maintaining a model of the background. Any pixel which does not fit this model is then deemed to be foreground. The class implements algorithm described in [112] .
- See also
- BackgroundSubtractorMOG
- Note
- An example on gaussian mixture based background/foreground segmantation can be found at opencv_source_code/samples/gpu/bgfg_segm.cpp
◆ apply()
◆ getBackgroundImage()
virtual void cv::cuda::BackgroundSubtractorMOG::getBackgroundImage |
( |
OutputArray |
backgroundImage, |
|
|
Stream & |
stream |
|
) |
| const |
|
pure virtual |
◆ getBackgroundRatio()
virtual double cv::cuda::BackgroundSubtractorMOG::getBackgroundRatio |
( |
| ) |
const |
|
pure virtual |
◆ getHistory()
virtual int cv::cuda::BackgroundSubtractorMOG::getHistory |
( |
| ) |
const |
|
pure virtual |
◆ getNMixtures()
virtual int cv::cuda::BackgroundSubtractorMOG::getNMixtures |
( |
| ) |
const |
|
pure virtual |
◆ getNoiseSigma()
virtual double cv::cuda::BackgroundSubtractorMOG::getNoiseSigma |
( |
| ) |
const |
|
pure virtual |
◆ setBackgroundRatio()
virtual void cv::cuda::BackgroundSubtractorMOG::setBackgroundRatio |
( |
double |
backgroundRatio | ) |
|
|
pure virtual |
◆ setHistory()
virtual void cv::cuda::BackgroundSubtractorMOG::setHistory |
( |
int |
nframes | ) |
|
|
pure virtual |
◆ setNMixtures()
virtual void cv::cuda::BackgroundSubtractorMOG::setNMixtures |
( |
int |
nmix | ) |
|
|
pure virtual |
◆ setNoiseSigma()
virtual void cv::cuda::BackgroundSubtractorMOG::setNoiseSigma |
( |
double |
noiseSigma | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: