Added MOG and MOG2.
Resolved a compiling error under Linux.
Resolved a compiling warning under Windows.
Resolved compiling errors under Linux.
Used perf_precomp.hpp instead of precomp.hpp for test.
Optimized mog and mog2, which have much better performance.
Removed the trailing whitespace
Removed trailing whitespace
Removed whitespace.
Added perf namespace.
Removed performance test.
a little fix to tests and sample
Merge pull request #1388 from bitwangyaoyao:2.4_CLAHE
Merge pull request #1283 from melody-rain:new_mog_mog2