//! 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;
};
//! 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);