L8-9+Slides

# L8-9+Slides - CS 450 Lecture 8 CS Spatial Filters...

This preview shows pages 1–7. Sign up to view the full content.

CS 450 Lecture 8 CS 450 Lecture 8 Spatial Filters Spatial Filters

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Processing Digital Images digital images are often processed using “ spatial filters digital filters are based on mathematical functions that operate on the pixels of the image Motion Motion Filter Filter
Grayscale Transformation Functions transform each pixel uniformly and independently according to the function regardless of its location in the image Spatial filters transform a pixel depending upon its relation to surrounding ones

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Local Filters Local Filters Blurring Sharpening Unsharp Masking Edge and line detection Noise filters
Blurring Algorithm Blurring Algorithm For (every pixel in column x) { For (every pixel in row y of column x) { average image[x,y] with it’s neighbors; } }

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Blurring Average each pixel with its neighbors by : multiplying each pixel and its neighbors by 1: = - add multiplied pixels and divide by 9 - store result in a new array The new array contains a blurred image.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern