Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the...

10
Convolution and Filtering Raed S. Rasheed 2012

Transcript of Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the...

Page 1: Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the fundamental neighborhood operations of image processing.

Convolution and Filtering

Raed S. Rasheed2012

Page 2: Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the fundamental neighborhood operations of image processing.

Convolution and Filtering

– Convolution is the fundamental neighborhood operations of image processing.

– Used for filtering of images e.g., to suppress noise or enhance edges.

Page 3: Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the fundamental neighborhood operations of image processing.

Convolution

– In convolution, the calculation performed at a pixel is a weighted sum of grey levels from a neighborhood surrounding a pixel. The neighborhood includes the pixel under consideration, and it is customary for it to be disposed symmetrically about that pixel.

Page 4: Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the fundamental neighborhood operations of image processing.

Convolution

Page 5: Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the fundamental neighborhood operations of image processing.

Convolution

Page 6: Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the fundamental neighborhood operations of image processing.

Convolution

Page 7: Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the fundamental neighborhood operations of image processing.

Convolution

– Computational problems • No processing at the border• Copying of input image pixels• Truncation of the image• Truncation of the kernel

Page 8: Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the fundamental neighborhood operations of image processing.

Filtering

– Mean & Median filter• In which we select the middle-ranked value from a

neighborhood as our output value. For a 3x3 neighborhood, the middle value is fifth in the list of sorted grey levels; for an nxn neighborhood with n odd, the middle value is at position n2/2 + 1.

Page 9: Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the fundamental neighborhood operations of image processing.

Filtering

Page 10: Convolution and Filtering Raed S. Rasheed 2012. Convolution and Filtering – Convolution is the fundamental neighborhood operations of image processing.

Filtering