From bd54ba911db662ab2ec32d0c378bc431c1473d5d Mon Sep 17 00:00:00 2001 From: scorpiozj Date: Sun, 10 Jul 2022 20:39:04 +0800 Subject: [PATCH] Update imgproc.hpp fix Rect value of integral image example; --- modules/imgproc/include/opencv2/imgproc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index fd1a5d9721..9ab8999e30 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -2725,7 +2725,7 @@ It makes possible to do a fast blurring or fast block correlation with a variabl example. In case of multi-channel images, sums for each channel are accumulated independently. As a practical example, the next figure shows the calculation of the integral of a straight -rectangle Rect(3,3,3,2) and of a tilted rectangle Rect(5,1,2,3) . The selected pixels in the +rectangle Rect(4,4,3,2) and of a tilted rectangle Rect(5,1,2,3) . The selected pixels in the original image are shown, as well as the relative pixels in the integral images sum and tilted . ![integral calculation example](pics/integral.png)