Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
9e5c9dad
Commit
9e5c9dad
authored
Aug 16, 2017
by
Steven Puttemans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix_9121
parent
6b2510d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
filter_2d.markdown
doc/tutorials/imgproc/imgtrans/filter_2d/filter_2d.markdown
+5
-5
No files found.
doc/tutorials/imgproc/imgtrans/filter_2d/filter_2d.markdown
View file @
9e5c9dad
...
...
@@ -13,9 +13,9 @@ Theory
@note The explanation below belongs to the book
**Learning OpenCV**
by Bradski and Kaehler.
### Co
nvolu
tion
### Co
rrela
tion
In a very general sense, co
nvolu
tion is an operation between every part of an image and an operator
In a very general sense, co
rrela
tion is an operation between every part of an image and an operator
(kernel).
### What is a kernel?
...
...
@@ -25,10 +25,10 @@ that array, which is typically located at the center.

### How does co
nvolu
tion with a kernel work?
### How does co
rrela
tion with a kernel work?
Assume you want to know the resulting value of a particular location in the image. The value of the
co
nvolu
tion is calculated in the following way:
co
rrela
tion is calculated in the following way:
-# Place the kernel anchor on top of a determined pixel, with the rest of the kernel overlaying the
corresponding local pixels in the image.
...
...
@@ -91,7 +91,7 @@ Explanation
-# *kernel*: The kernel to be scanned through the image
-# *anchor*: The position of the anchor relative to its kernel. The location *Point(-1, -1)*
indicates the center by default.
-# *delta*: A value to be added to each pixel during the co
nvolu
tion. By default it is \f$0\f$
-# *delta*: A value to be added to each pixel during the co
rrela
tion. By default it is \f$0\f$
-# *BORDER_DEFAULT*: We let this value by default (more details in the following tutorial)
-# Our program will effectuate a
*while*
loop, each 500 ms the kernel size of our filter will be
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment