{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lecture04medFilter

# lecture04medFilter - neighborhood median not mean Noisy row...

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

Notes on image processing Mean versus median filtering

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

View Full Document
Images need to be cleaned  up: Histogram equalization Left image does not use all available gray levels. Image is recoded so that  all gray levels are used and such that each gray level occurs in roughly the  same number of pixels of the recoded image. (See algorithm in text, xv.)
Compute output pixel using  neighborhood of pixels in input Input image A Output image B Pixel B[j,k] Neighborhood of  A[j,k] MEAN filtering:   B[j,k] is the average of the neighborhood of A[j,k] MEDIAN filtering: B[j,k] is the median of the neighborhood of A[j,k]

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

View Full Document
Linear smoothing smoothes  noise and blurs signal One row of mean filtered image
Median filter replaces center with

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: neighborhood median, not mean Noisy row of checkers image Mean filtering smoothes signal and ramps the boundary Median filter smoothes signal and preserves sharp boundary Scratches removed by using a median filter Using the mean to remove the streaks will also blur the entire image. Need to implement median filter efficiently, because sorting the neighborhood can be slow Can use bucket idea Relate to text problem 7.38 Updating the array of neighborhood values becomes critical For 7x7 neighborhood, for next pixel, we delete 7 from the set and add 7, the other 49-14 elements are the same...
View Full Document

{[ snackBarMessage ]}

### Page1 / 7

lecture04medFilter - neighborhood median not mean Noisy row...

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

View Full Document
Ask a homework question - tutors are online