

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Main points of this handout are: Image Filtering, Low Pass Filter, Sharpening Filter, Point Spread Function, Image Processing Operations, Analytical Expression, Frequency Response, Command Line Arguments, Matlab Code, Arbitrary Value
Typology: Lecture notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!
1 Introduction
In this laboratory, you will filter gray scale images using both FIR and IIR filters. We will also use Matlab to plot various functions. When processing images on a computer, there are usually special cases that must be properly handled. In particular, all filters will be implemented using free boundary conditions along edges, and pixels will be clipped to a range of [0, 255].
y(m, n) = 0 if x(m, n) < 0 y(m, n) = 255 if x(m, n) > 255 y(m, n) = x(m; n) if 0 <= x(m, n) <= 255
2 FIR Low Pass Filter
In this problem, you will analyze and implement a simple low pass filter given by the 9 x 9 point spread function:
h(m, n) = 1/81 for m, n = -4, …, -1,0,1,…, h(m, n) = 0 otherwise
Section 2 Report: Hand in:
3 FIR Sharpening Filter
In this problem, you will analyze the effect of a sharpening filter known as an “unsharp mask”. The terminology comes from the fact that an unsharp mask filter removes the unsharp (low frequency) components of the image, and therefore produces an image with a sharper appearance. Let h(m, n) be a low pass filter. For our purposes use
h(m, n) = 1/25 for m, n = -2,-1,0,1, h(m, n) = 0 otherwise
The unsharp mask filter is then given by
g(m, n) = δ(m, n) + λ(δ(m, n) - h(m, n))
where λ is a constant greater than zero.