From 947f32d2e013a0d60b95db55b244032da2154cc3 Mon Sep 17 00:00:00 2001 From: StevenPuttemans Date: Thu, 6 Oct 2016 15:59:16 +0200 Subject: [PATCH] add border replicate note --- modules/imgproc/include/opencv2/imgproc.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index 30fa8c1383..9e25825412 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -1321,6 +1321,8 @@ The function smoothes an image using the median filter with the \f$\texttt{ksize \texttt{ksize}\f$ aperture. Each channel of a multi-channel image is processed independently. In-place operation is supported. +@note The median filter uses BORDER_REPLICATE internally to cope with border pixels, see cv::BorderTypes + @param src input 1-, 3-, or 4-channel image; when ksize is 3 or 5, the image depth should be CV_8U, CV_16U, or CV_32F, for larger aperture sizes, it can only be CV_8U. @param dst destination array of the same size and type as src.