BBM 413 Fundamentals of Image Processing
Erkut Erdem
- Dept. of Computer Engineering
BBM 413 Fundamentals of Image Processing Erkut Erdem Dept. of - - PowerPoint PPT Presentation
BBM 413 Fundamentals of Image Processing Erkut Erdem Dept. of Computer Engineering Hacettepe University Spatial Filtering Image Filtering Image filtering: computes a function of a local neighborhood at each pixel position Called
Slide credit: D. Hoiem
Image courtesy of Technology Review
Slide credit: S. Seitz
Slide credit: M. Hebert
>> noise = randn(size(im)).*sigma; >> output = im + noise;
Adapted from: K. Grauman
Adapted from: K. Grauman
Adapted from: K. Grauman
Slide credit: S. Marschner
Adapted from: S. Marschner
Slide credit: S. Marschner, K. Grauman
Slide credit: S. Marschner
Slide credit: S. Marschner
Slide credit: S. Marschner
a box filter
Slide credit: S. Marschner
Slide credit: S. Marschner
Slide credit: S. Marschner
Slide credit: S. Marschner
Slide credit: S. Marschner
Slide credit: S. Lazebnik
Slide credit: S. Lazebnik
Slide credit: S. Marschner
Slide credit: S. Marschner
Slide credit: S. Marschner
Slide credit: S. Marschner
Slide credit: S. Marschner
Slide credit: S. Marschner
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
Slide credit: S. Seitz
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 10 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
Slide credit: S. Seitz
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 10 20 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
Slide credit: S. Seitz
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 10 20 30 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
Slide credit: S. Seitz
10 20 30 30 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
Slide credit: S. Seitz
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 10 20 30 30 30 20 10 20 40 60 60 60 40 20 30 60 90 90 90 60 30 30 50 80 80 90 60 30 30 50 80 80 90 60 30 20 30 50 50 60 40 20 10 20 30 30 30 30 20 10 10 10 10
Slide credit: S. Seitz
Slide credit: C. Dyer
Slide credit: K. Grauman
Slide credit: K. Grauman
Left Right scanline
Slide credit: Fei-Fei Li
10 20 30 30 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
Slide credit: K. Grauman
depicts box filter: white = high value, black = low value
Slide credit: K. Grauman
Slide credit: S. Lazebnik
Slide credit: S. Marschner
imfilter(f, g, 0)
imfilter(f, g, ‘circular’)
imfilter(f, g, ‘replicate’)
imfilter(f, g, ‘symmetric’)
Slide credit: S. Marschner
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 1 2 1 2 4 2 1 2 1
Slide credit: S. Seitz
Slide credit: K. Grauman
Slide credit: K. Grauman
Slide credit: K. Grauman
Slide credit: S. Lazebnik
Slide credit: K. Grauman
for sigma=1:3:10 h = fspecial('gaussian‘, fsize, sigma);
imshow(out); pause; end
Slide credit: K. Grauman
= 30 pixels = 1 pixel = 5 pixels = 10 pixels
Slide credit: C. Dyer
Slide credit: C. Dyer
Slide credit: C. Dyer
Slide credit: C. Dyer
Slide credit: C. Dyer
Slide credit: C. Dyer
Slide credit: C. Dyer
Slide credit: C. Dyer
Slide credit: C. Dyer
Slide credit: K. Grauman
Slide credit: D. Lowe
Slide credit: K. Grauman
Slide credit: S. Lazebnik
Slide credit: K. Grauman
1 a b c d e f g h i
Slide credit: K. Grauman
Slide credit: K. Grauman
Slide credit: Fei-Fei Li
Slide credit: K. Grauman
Slide credit: K. Grauman
Slide credit: D. Lowe
Slide credit: D. Lowe
Slide credit: D. Lowe
Slide credit: D. Lowe
Slide credit: D. Lowe
Slide credit: D. Lowe
Slide credit: D. Lowe
Slide credit: D. Lowe
Slide credit: K. Grauman
smoothed (5x5)
detail
sharpened
detail
Slide credit: S. Lazebnik
Gaussian unit impulse Laplacian of Gaussian
image blurred image unit impulse (identity)
Slide credit: S. Lazebnik
Slide credit: C. Dyer
Slide credit: C. Dyer
Slide credit: J. Hays
Slide credit: J. Hays
adapted from: S. Seitz
Slide credit: K. Grauman
Slide credit: M. Hebert
Slide credit: K. Grauman