Merge pull request #1899 from berak:b_3171_24

This commit is contained in:
Andrey Pavlenko 2013-12-03 11:32:30 +04:00 committed by OpenCV Buildbot
commit 3ff1620086

View File

@ -115,13 +115,13 @@ protected:
International Conference Pattern Recognition, UK, August, 2004. International Conference Pattern Recognition, UK, August, 2004.
http://www.zoranz.net/Publications/zivkovic2004ICPR.pdf http://www.zoranz.net/Publications/zivkovic2004ICPR.pdf
*/ */
class CV_EXPORTS BackgroundSubtractorMOG2 : public BackgroundSubtractor class CV_EXPORTS_W BackgroundSubtractorMOG2 : public BackgroundSubtractor
{ {
public: public:
//! the default constructor //! the default constructor
BackgroundSubtractorMOG2(); CV_WRAP BackgroundSubtractorMOG2();
//! the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength //! the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength
BackgroundSubtractorMOG2(int history, float varThreshold, bool bShadowDetection=true); CV_WRAP BackgroundSubtractorMOG2(int history, float varThreshold, bool bShadowDetection=true);
//! the destructor //! the destructor
virtual ~BackgroundSubtractorMOG2(); virtual ~BackgroundSubtractorMOG2();
//! the update operator //! the update operator