CSE 163
Convolutions
��Hunter Schafer
Convolution
When wanting to use “local” information, we commonly use a sliding window approach (i.e. a convolution)
Move the sliding window across the image, and compute the sum of the element wise product of the window (kernel) and image
2
3 | 3 | 2 | 1 | 0 |
0 | 0 | 1 | 3 | 1 |
3 | 1 | 2 | 2 | 3 |
2 | 0 | 0 | 2 | 2 |
2 | 0 | 0 | 0 | 1 |
Image
0 | 1 | 2 |
2 | 2 | 0 |
0 | 1 | 2 |
Kernel
Convolution Example
3
Common Kernels
What do the numbers in the kernel do?
4
Identity
Edge Detection
Sharpen
Box Blur
Image Classification
For a really long time, image classification was done by painstakingly crafting these features (like edge detectors), by hand.
This kind of worked, but we quickly hit our peak using this method.
Then came the buzz-word… deep learning
5
Image Classification
6
Group Work:
Best Practices
When you first working with this group:
Tips:
7