L8-9+Slides

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

Info iconThis 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
Background image of page 1

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

View Full DocumentRight 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
Background 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
Background image of page 3

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

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

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

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

This note was uploaded on 03/02/2012 for the course C S 450 taught by Professor Morse,b during the Winter '08 term at BYU.

Page1 / 20

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

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online