09_Image_Filtering_Edge_Detection_09

Page 1

What is image filtering?

Image Filtering & Edge Detection

Modify the pixels in an image based on some function of a local neighborhood of the pixels.

Some function

Reading: Chapter 7 and 8, F&P

Linear Functions

Simplest: linear filtering.

Replace each pixel by a linear combination of its neighbors.

The prescription for the linear combination is called the “convolution kernel”.

Convolution

Key properties

Let I be the image and g be the kernel. The output of convolving I with g is denoted I ∗ g

f [ m, n] = I ∗ g = ∑ I[ m − k , n − l ] g[ k , l ]

Linearity:

k ,l

same behavior regardless of pixel location filter(shift(I)) = shift(filter(I))

Theoretical result:

I

filter(I1 + I2 ) = filter(I1) + filter(I2)

Shift invariance:

Any linear shift-invariant operator can be represented as a convolution

1


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.