1 | initial version |
When you use the appy function (or operator() in your case) the last parameter is used for the update of the background. It is not really documented, I'm afraid, but, in the sample cpp/bgfg_segm.cpp, you could see that -1 if for updating the background, and 0 for no update. This probably means that 0.01 as you used is for updating background. Keep in mind that the history is also playing a role in your background update. See the reference papers for more information.