Added condition to 1st test in cv::GaussianBlur
authorthoinvil <thoinvil@users.noreply.github.com>
Thu, 15 May 2014 06:40:13 +0000 (08:40 +0200)
committerthoinvil <thoinvil@users.noreply.github.com>
Thu, 15 May 2014 06:40:13 +0000 (08:40 +0200)
commitea038436e6b115b783212976b57b4f1455c8ac7b
tree110753ae8e63a29a2b7188364e1febee9d784953
parent0ebde6470162265b8c9e27fc0b7ec83a282521ac
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.
modules/imgproc/src/smooth.cpp