Itseez/opencv — pull request #2509 by euphrat (2014-03-21 07:48:23+00:00)
Title: modified BackgroundSubtractorMOG2::getBackgroundImage so that it can now...

... work with gray-level images.

Explanation: Although the class in general works for gray level images, getBackgroundImage does not. This PR is an attempt to fix this problem.

Thank you.
Firat