From 7f453ade7396cbf63d381e343e9f671d01ba7d8a Mon Sep 17 00:00:00 2001 From: "Michal W. Tarnowski" Date: Mon, 25 May 2020 00:48:44 +0200 Subject: [PATCH] Merge pull request #17361 from mwtarnowski:fix-documentation-gapi-imgproc-blur * fix documentation for cv::gapi::blur * remove dst parameter and move ksize parameter to its correct position --- modules/gapi/include/opencv2/gapi/imgproc.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gapi/include/opencv2/gapi/imgproc.hpp b/modules/gapi/include/opencv2/gapi/imgproc.hpp index cc1799a1df..b4905e932b 100644 --- a/modules/gapi/include/opencv2/gapi/imgproc.hpp +++ b/modules/gapi/include/opencv2/gapi/imgproc.hpp @@ -388,8 +388,8 @@ The function smooths an image using the kernel: \f[\texttt{K} = \frac{1}{\texttt{ksize.width*ksize.height}} \begin{bmatrix} 1 & 1 & 1 & \cdots & 1 & 1 \\ 1 & 1 & 1 & \cdots & 1 & 1 \\ \hdotsfor{6} \\ 1 & 1 & 1 & \cdots & 1 & 1 \\ \end{bmatrix}\f] -The call `blur(src, dst, ksize, anchor, borderType)` is equivalent to `boxFilter(src, dst, src.type(), -anchor, true, borderType)`. +The call `blur(src, ksize, anchor, borderType)` is equivalent to `boxFilter(src, src.type(), ksize, anchor, +true, borderType)`. Supported input matrix data types are @ref CV_8UC1, @ref CV_8UC3, @ref CV_16UC1, @ref CV_16SC1, @ref CV_32FC1. Output image must have the same type, size, and number of channels as the input image.