Download presentation
Presentation is loading. Please wait.
Published byDr. Setyawan Widyarto | Faculty of Communication, Modified over 8 years ago
1
Digital Image Processing, Assoc. Prof. Dr. Setyawan Widyarto 1-1 Convolution
2
Assoc. Prof. Dr. Setyawan Widyarto 1-2 Convolution uLinear filtering of an image is accomplished through an operation called convolution. In convolution, the value of an output pixel is computed as a weighted sum of neighboring pixels. The matrix of weights is called the convolution kernel, also known as the filter.
3
Assoc. Prof. Dr. Setyawan Widyarto Example uThe image is uA = [17 24 1 8 15 u 23 5 7 14 16 u 4 6 13 20 22 u 10 12 19 21 3 u 11 18 25 2 9] uand the convolution kernel is uh = [8 1 6 u 3 5 7 u 4 9 2]
4
Assoc. Prof. Dr. Setyawan Widyarto uThe following figure shows how to compute the (2,4) output pixel using these steps: 1.Rotate the convolution kernel 180 degrees about its center element. 2.Slide the center element of the convolution kernel so that it lies on top of the (2,4) element of A. 3.Multiply each weight in the rotated convolution kernel by the pixel of A underneath. 4.Sum the individual products from step 3. uHence the (2,4) output pixel is
5
Assoc. Prof. Dr. Setyawan Widyarto
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.