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.
Merge pull request #1283 from melody-rain:new_mog_mog2