Edge Detection 1. Please learn how to use imgradientxy() function to compute

Edge Detection

1. Please learn how to use imgradientxy() function to compute the partial derivatives of image

“medical1.jpg” in x and y directions. Please use three different ways to compute the

derivatives. Display the derivative maps on screens. (Submit the code in .m file and screen

shots of the derivative maps)

2. Please learn how to use imgradient() function in matlab and use it to compute the gradients

of image “medical1.jpg”. Please use three different ways to compute the gradients. Display

the gradient map on screens. (Submit the code in .m file and screen shots of the gradient

maps)

3. Please use matlab function edge() to find the edges of the image “medical1.jpg” and

compare the results. Submit your matlab code and images after edge detection obtained by

three methods: sobel, prewitt and Roberts

Image Enhancement

4. Please use “contrast stretching” method in matlab function imadjust() to enhance the eimage

“medical1.jpg”. Submit your matlab code and images after enhancement. Please try to adjust

different parameters to get the best enhancement.

5. Please use the matlab function histogram() to get the histogram of the image“medical1.jpg” and

then use histeq() to enhance it . Submit your matlab code and images after enhancement.

Image Fusion

part 1: Write matlab code to fuse two medical images using the simple average method.

Image 1. MRI image (mri_g)

Image 2. CT image (ct_g)

Part  2: Please write half page summary of the following paper: 
image_fusion_review.pdf

Image segmentation

Please write matlab code to segment the skin lesion region from each image attached below.

Please label the lesion region red and other regions by blue. Please use k-means to do that.

Attached Files:

Skin_lession1.jpeg

skin3.jpg

skin4.png

skin5.jpg