From 575ec4aae8b2a3729aee691d730c03de6a772ff8 Mon Sep 17 00:00:00 2001 From: Ilya Lysenkov Date: Thu, 9 Jun 2011 07:36:26 +0000 Subject: [PATCH] Added doxygen doc to getBackgroundImage --- modules/video/include/opencv2/video/background_segm.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/video/include/opencv2/video/background_segm.hpp b/modules/video/include/opencv2/video/background_segm.hpp index 13dd46849a..83a571a590 100644 --- a/modules/video/include/opencv2/video/background_segm.hpp +++ b/modules/video/include/opencv2/video/background_segm.hpp @@ -360,8 +360,9 @@ 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()(InputArray image, OutputArray fgmask, double learningRate=0); - - virtual void getBackgroundImage(OutputArray) const; + + //! computes a background image + virtual void getBackgroundImage(OutputArray backgroundImage) const; }; @@ -414,7 +415,8 @@ public: //! the update operator virtual void operator()(InputArray image, OutputArray fgmask, double learningRate=-1); - virtual void getBackgroundImage(OutputArray) const; + //! computes a background image which are the mean of all background gaussians + virtual void getBackgroundImage(OutputArray backgroundImage) const; //! re-initiaization method virtual void initialize(Size frameSize, int frameType);