From: Andrey Kamaev Date: Fri, 3 Jun 2011 15:09:21 +0000 (+0000) Subject: Added missed method declarations. Fix for r5343 X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~7125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2609df00bd861e23d5784499fe4f9f6cc88166f8;p=platform%2Fupstream%2Fopencv.git Added missed method declarations. Fix for r5343 --- 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);