Upload
mohamed-khairy
View
2
Download
0
Embed Size (px)
DESCRIPTION
assignment
Citation preview
SPC 303
Assignment 2
Instructions:
Deadline for this assignment is 30-10-2015 at 22:00 Cairo Time
Each student has to supply a .m and a .pdf file that should follow the
following naming convention:
o AssingXX_SPC303_6Y _Firstname_LastName
o Where XX is the assignment number, and Y is your section (A
or B)
Each student has to send the .pdf file and the .m file to Eng. Nashaat
on the email: [email protected]
The .m file should contain enough comments and has a good
indentation
Use given variable names, if required.
Subject:
Write a matlab script to do the following:
1. Load the moon.tif in the variable Im
2. Calculate ImhSobel and ImvSobel as horizontal and vertical line
features using Sobel operator
3. Calculate the magnitude image ImmSobel, from results obtained in
last step
4. Calculate the 2nd derivative of the image using Laplacian operator as
ImLaplace.
5. Sharpen the Im image by adding the result of last step (note and
comment the effect of the sign of the central pixel in the Laplacian
operator) to ImSharpLaplacian
6. Calculate the unsharp mask ImUnsharp
7. Calculate a new sharp image using the unsharp mask ImSharp
Show results of each step as an image.
The .pdf file should contains the outputs with proper titles on each figure.