spatial.slides.printing

spatial.slides.printing - Spatial Filtering Spatial...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Spatial Filtering Spatial Filtering CS 450: Introduction to Digital Signal and Image Processing Bryan Morse BYU Computer Science Spatial Filtering Introduction Neighborhood Operations I Output is a function of a pixel’s value and its neighbors I Example (8-connected neighbors): g ( x , y ) = Op @ f ( x- 1 , y- 1 ) , f ( x , y- 1 ) , f ( x + 1 , y- 1 ) , f ( x- 1 , y ) , f ( x , y ) , f ( x + 1 , y ) , f ( x- 1 , y + 1 ) , f ( x , y + 1 ) , f ( x + 1 , y + 1 ) 1 A I Possible operations: sum, weighted sum, average, weighted average, min, max, median, ... Spatial Filtering Introduction Spatial Filtering I The most common neighborhood operation is to multiply each of the pixels in the neighborhood by a weight and add them together. I The local weights are sometimes called a mask or kernel . Local Neighborhood Mask f(x-1,y-1) f(x,y-1) f(x+1,y-1) f(x-1,y) f(x,y) f(x+1,y) f(x-1,y+1) f(x,y+1) f(x+1,y+1) w(-1,-1) w(0,-1) w(1,-1) w(-1,0) w(0,0) w(1,0) w(-1,1) w(0,1) w(1,1) g ( x , y ) = 1 X s =- 1 1 X t =- 1 w ( s , t ) f ( x + s , y + t ) Spatial Filtering Introduction Spatial Filtering Spatial Filtering...
View Full 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 / 12

spatial.slides.printing - Spatial Filtering Spatial...

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

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