fixed warnings; added read/write methods; fixed docs

This commit is contained in:
Vadim Pisarevsky
2013-03-21 15:46:21 +04:00
parent 07e0f7bf59
commit 09127aa358
5 changed files with 264 additions and 120 deletions

View File

@@ -59,7 +59,7 @@ class BackgroundSubtractor : public Algorithm
{
public:
//! the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image.
virtual void apply(InputArray image, OutputArray fgmask, double learningRate=0) = 0;
virtual void apply(InputArray image, OutputArray fgmask, double learningRate=-1) = 0;
//! computes a background image
virtual void getBackgroundImage(OutputArray backgroundImage) const = 0;