Commit 575ec4aa authored by Ilya Lysenkov's avatar Ilya Lysenkov

Added doxygen doc to getBackgroundImage

parent 3531521f
...@@ -360,8 +360,9 @@ public: ...@@ -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. //! 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, CV_WRAP_AS(apply) virtual void operator()(InputArray image, OutputArray fgmask,
double learningRate=0); double learningRate=0);
virtual void getBackgroundImage(OutputArray) const; //! computes a background image
virtual void getBackgroundImage(OutputArray backgroundImage) const;
}; };
...@@ -414,7 +415,8 @@ public: ...@@ -414,7 +415,8 @@ public:
//! the update operator //! the update operator
virtual void operator()(InputArray image, OutputArray fgmask, double learningRate=-1); 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 //! re-initiaization method
virtual void initialize(Size frameSize, int frameType); virtual void initialize(Size frameSize, int frameType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment