From 2609df00bd861e23d5784499fe4f9f6cc88166f8 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Fri, 3 Jun 2011 15:09:21 +0000 Subject: [PATCH] Added missed method declarations. Fix for r5343 --- modules/video/include/opencv2/video/background_segm.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/video/include/opencv2/video/background_segm.hpp b/modules/video/include/opencv2/video/background_segm.hpp index 08ee221..4d5b1b1 100644 --- a/modules/video/include/opencv2/video/background_segm.hpp +++ b/modules/video/include/opencv2/video/background_segm.hpp @@ -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); -- 2.7.4