Skip to content

Commit 3a8dbeb

Browse files
authored
Merge pull request opencv#9382 from StevenPuttemans:fix_9121
2 parents fdb3d4f + 9e5c9da commit 3a8dbeb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/tutorials/imgproc/imgtrans/filter_2d/filter_2d.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Theory
1313

1414
@note The explanation below belongs to the book **Learning OpenCV** by Bradski and Kaehler.
1515

16-
### Convolution
16+
### Correlation
1717

18-
In a very general sense, convolution is an operation between every part of an image and an operator
18+
In a very general sense, correlation is an operation between every part of an image and an operator
1919
(kernel).
2020

2121
### What is a kernel?
@@ -25,10 +25,10 @@ that array, which is typically located at the center.
2525

2626
![](images/filter_2d_tutorial_kernel_theory.png)
2727

28-
### How does convolution with a kernel work?
28+
### How does correlation with a kernel work?
2929

3030
Assume you want to know the resulting value of a particular location in the image. The value of the
31-
convolution is calculated in the following way:
31+
correlation is calculated in the following way:
3232

3333
-# Place the kernel anchor on top of a determined pixel, with the rest of the kernel overlaying the
3434
corresponding local pixels in the image.
@@ -91,7 +91,7 @@ Explanation
9191
-# *kernel*: The kernel to be scanned through the image
9292
-# *anchor*: The position of the anchor relative to its kernel. The location *Point(-1, -1)*
9393
indicates the center by default.
94-
-# *delta*: A value to be added to each pixel during the convolution. By default it is \f$0\f$
94+
-# *delta*: A value to be added to each pixel during the correlation. By default it is \f$0\f$
9595
-# *BORDER_DEFAULT*: We let this value by default (more details in the following tutorial)
9696

9797
-# Our program will effectuate a *while* loop, each 500 ms the kernel size of our filter will be

0 commit comments

Comments
 (0)