基于高斯混合模型的背景/前景分割 算法. 更多...
#include <opencv2/cudabgsegm.hpp>
基于高斯混合模型的背景/前景分割 算法.
该类通过建立和维护背景模型来区分前景像素和背景像素。任何不符合此模型的像素都被视为前景。该类实现了 [141] 中所述的算法。
- 另请参见
- BackgroundSubtractorMOG
- 注意
- 基于高斯混合的背景/前景分割示例可在 opencv_source_code/samples/gpu/bgfg_segm.cpp 找到
◆ apply()
◆ getBackgroundImage() [1/2]
| void cv::cuda::BackgroundSubtractorMOG::getBackgroundImage |
( |
GpuMat & | backgroundImage, |
|
|
Stream & | stream ) |
|
inline |
◆ getBackgroundImage() [2/2]
| virtual void cv::cuda::BackgroundSubtractorMOG::getBackgroundImage |
( |
OutputArray | backgroundImage, |
|
|
Stream & | stream ) const |
|
纯虚函数 |
◆ getBackgroundRatio()
| virtual double cv::cuda::BackgroundSubtractorMOG::getBackgroundRatio |
( |
| ) |
const |
|
纯虚函数 |
◆ getHistory()
| virtual int cv::cuda::BackgroundSubtractorMOG::getHistory |
( |
| ) |
const |
|
纯虚函数 |
◆ getNMixtures()
| virtual int cv::cuda::BackgroundSubtractorMOG::getNMixtures |
( |
| ) |
const |
|
纯虚函数 |
◆ getNoiseSigma()
| virtual double cv::cuda::BackgroundSubtractorMOG::getNoiseSigma |
( |
| ) |
const |
|
纯虚函数 |
◆ setBackgroundRatio()
| virtual void cv::cuda::BackgroundSubtractorMOG::setBackgroundRatio |
( |
double | backgroundRatio | ) |
|
|
纯虚函数 |
◆ setHistory()
| virtual void cv::cuda::BackgroundSubtractorMOG::setHistory |
( |
int | nframes | ) |
|
|
纯虚函数 |
◆ setNMixtures()
| virtual void cv::cuda::BackgroundSubtractorMOG::setNMixtures |
( |
int | nmix | ) |
|
|
纯虚函数 |
◆ setNoiseSigma()
| virtual void cv::cuda::BackgroundSubtractorMOG::setNoiseSigma |
( |
double | noiseSigma | ) |
|
|
纯虚函数 |
此类的文档生成自以下文件