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

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

View Full Document Right Arrow Icon
CS 450 Lecture 8 CS 450 Lecture 8 Spatial Filters Spatial Filters
Image of page 1

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

View Full Document Right Arrow Icon
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
Image of page 2
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
Image of page 3

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

View Full Document Right Arrow Icon
Local Filters Local Filters Blurring Sharpening Unsharp Masking Edge and line detection Noise filters
Image of page 4
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; } }
Image of page 5

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

View Full Document Right Arrow Icon
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.
Image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern