modified BackgroundSubtractorMOG2::getBackgroundImage so that it can now work with gray-level images.
Merge branch '2.4' of git://github.com/Itseez/opencv into mog2_bgimg_gray
made a performance improvement.
changed the way the mean value for each pixel is assigned in the output image.
Bugfix #3668 in FilterEngine::apply(), use the ROI properly
Bugfix #3668 removed the comment
Fixing as suggested in bug 2626, made naming same for both C, C++ and python API
doc: update/clarify behaviour of mask in floodFill

Clarify how the mask parameter is set on output and how this is
affected by the flags parameter.

resolves Feature #2942
fix cv::kmeans function

reshape input matrix, since the function works with data
as with [N x dims] matrix
Added doc for LinearPolar Transform
Added condition to 1st test in cv::GaussianBlur

Consistent with the test made in cv::boxFilter, it adjusts the kernel size to the source size only if the border is not BORDER_CONSTANT and if BORDER_ISOLATED is set. Otherwise, the source has to be considered possibly in a larger image (i.e. the source being a ROI) in witch the kernel should apply.
use more accurate reshape
add additional tests for different input cases
Merge pull request #2719 from yashdv:patch-1
Merge pull request #2733 from StevenPuttemans:bug_2162
added documentation for findContours
Merge pull request #2735 from StevenPuttemans:bug_2000
fix coordinate problem with large images - bug 1523
Merge pull request #2754 from thoinvil:patch-1
Merge pull request #2744 from jet47:kmeans-fix
Merge pull request #2738 from kevmitch:2.4