0% found this document useful (0 votes)
34 views

Digital Image Processing Assign7

This document describes using unsharp masking to enhance a blurry moon image in both the spatial and frequency domains. In the spatial domain, a Butterworth high pass filter is used to generate a sharp filter added to the original image. In the frequency domain, the same is done but using a frequency domain filter generated from a spatial mask. The goal is to match the results from the two methods.

Uploaded by

Su-ho Han
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Digital Image Processing Assign7

This document describes using unsharp masking to enhance a blurry moon image in both the spatial and frequency domains. In the spatial domain, a Butterworth high pass filter is used to generate a sharp filter added to the original image. In the frequency domain, the same is done but using a frequency domain filter generated from a spatial mask. The goal is to match the results from the two methods.

Uploaded by

Su-ho Han
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

6.

Unsharp Masking in the Frequency Domain

(a) Download image FigP4.6(a)(blurry_moon).tif and enhance it using un sharp masking. Your
final result should be of class uint8, which is the same class as the result obtained in Project
3.6. Use a Butterworth high pass filter of order 2 with D0 = 256 to generate the sharp filter
that is added to the original (see Problem 3.6). Vary k in increments of 1 until the absolute
difference between your result and the result from Project 3.6 is as small as you can make
it. Display both results.
Matlab solution for problem 6 (a)

Image sharpened using unsharp masking


Original image in the spatial
domain.
Image sharpened with unsharp masking in the
frequency domain techniques based on
a Butterworth filter and a scaling factor of 5.

(b) Repeat (a) but this time using a frequency domain filter generated from the
spatial mask w = [0 1 0; 1 -4 1; 0 1 0] (see Section 4.4). Convert your final result to class
uint8. The absolute difference should be zero in this case.
Unsharp masking result obtained using
a frequency domain filter generated
from the spatial filter used in (a).

You might also like