Added missed method declarations. Fix for r5343
authorAndrey Kamaev <no@email>
Fri, 3 Jun 2011 15:09:21 +0000 (15:09 +0000)
committerAndrey Kamaev <no@email>
Fri, 3 Jun 2011 15:09:21 +0000 (15:09 +0000)
modules/video/include/opencv2/video/background_segm.hpp

index 08ee221..4d5b1b1 100644 (file)
@@ -360,6 +360,8 @@ public:
     //! the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image.
     CV_WRAP_AS(apply) virtual void operator()(const InputArray& image, OutputArray fgmask,
                                               double learningRate=0);
+                                             
+    virtual void getBackgroundImage(OutputArray) const;
 };
 
 
@@ -412,6 +414,8 @@ public:
     //! the update operator
     virtual void operator()(const InputArray& image, OutputArray fgmask, double learningRate=-1);
     
+    virtual void getBackgroundImage(OutputArray) const;
+    
     //! re-initiaization method
     virtual void initialize(Size frameSize, int frameType);