From: Vadim Pisarevsky Date: Wed, 4 Apr 2012 12:13:53 +0000 (+0000) Subject: added notice about the changed behavior of copyMakeBorder in the case of ROI (ticket... X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~2269 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2fded17f10563ac5705678e26569bd9c93f28e23;p=platform%2Fupstream%2Fopencv.git added notice about the changed behavior of copyMakeBorder in the case of ROI (ticket #1756) --- diff --git a/modules/imgproc/doc/filtering.rst b/modules/imgproc/doc/filtering.rst index 401120d..8b7cbd3 100644 --- a/modules/imgproc/doc/filtering.rst +++ b/modules/imgproc/doc/filtering.rst @@ -585,6 +585,10 @@ The function supports the mode when ``src`` is already in the middle of ``dst`` ... +.. note:: + + When the source image is a part (ROI) of a bigger image, the function will try to use the pixels outside of the ROI to form a border. To disable this feature and always do extrapolation, as if ``src`` was not a ROI, use ``borderType | BORDER_ISOLATED``. + .. seealso:: :ocv:func:`borderInterpolate`