|
opencv 2.2.0
|
#include <background_segm.hpp>
Public Member Functions | |
| CV_WRAP | BackgroundSubtractorMOG2 () |
| the default constructor | |
| CV_WRAP | BackgroundSubtractorMOG2 (double alphaT, double sigma=15, int nmixtures=5, bool postFiltering=false, double minArea=15, bool detectShadows=true, bool removeForeground=false, double Tb=16, double Tg=9, double TB=0.9, double CT=0.05, int shadowOutputValue=127, double tau=0.5) |
| the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength | |
| virtual void | initialize (Size frameSize, double alphaT, double sigma=15, int nmixtures=5, bool postFiltering=false, double minArea=15, bool detectShadows=true, bool removeForeground=false, double Tb=16, double Tg=9, double TB=0.9, double CT=0.05, int nShadowDetection=127, double tau=0.5) |
| re-initiaization method | |
| virtual void | operator() (const Mat &image, Mat &fgmask, double learningRate=0) |
| the update operator | |
| virtual | ~BackgroundSubtractorMOG2 () |
| the destructor | |
Public Attributes | |
| void * | model |
| CV_WRAP cv::BackgroundSubtractorMOG2::BackgroundSubtractorMOG2 | ( | ) |
the default constructor
| CV_WRAP cv::BackgroundSubtractorMOG2::BackgroundSubtractorMOG2 | ( | double | alphaT, |
| double | sigma = 15, |
||
| int | nmixtures = 5, |
||
| bool | postFiltering = false, |
||
| double | minArea = 15, |
||
| bool | detectShadows = true, |
||
| bool | removeForeground = false, |
||
| double | Tb = 16, |
||
| double | Tg = 9, |
||
| double | TB = 0.9, |
||
| double | CT = 0.05, |
||
| int | shadowOutputValue = 127, |
||
| double | tau = 0.5 |
||
| ) |
the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength
| virtual cv::BackgroundSubtractorMOG2::~BackgroundSubtractorMOG2 | ( | ) | [virtual] |
the destructor
| virtual void cv::BackgroundSubtractorMOG2::initialize | ( | Size | frameSize, |
| double | alphaT, | ||
| double | sigma = 15, |
||
| int | nmixtures = 5, |
||
| bool | postFiltering = false, |
||
| double | minArea = 15, |
||
| bool | detectShadows = true, |
||
| bool | removeForeground = false, |
||
| double | Tb = 16, |
||
| double | Tg = 9, |
||
| double | TB = 0.9, |
||
| double | CT = 0.05, |
||
| int | nShadowDetection = 127, |
||
| double | tau = 0.5 |
||
| ) | [virtual] |
re-initiaization method
| virtual void cv::BackgroundSubtractorMOG2::operator() | ( | const Mat & | image, |
| Mat & | fgmask, | ||
| double | learningRate = 0 |
||
| ) | [virtual] |
the update operator
1.7.4