From 2fded17f10563ac5705678e26569bd9c93f28e23 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Wed, 4 Apr 2012 12:13:53 +0000 Subject: [PATCH] added notice about the changed behavior of copyMakeBorder in the case of ROI (ticket #1756) --- modules/imgproc/doc/filtering.rst | 4 ++++ 1 file changed, 4 insertions(+) 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` -- 2.7.4