Question: Please solve using Matlab Q1. Image restoration with white Gaussian noise [9 marks] Download a medical image of your choice from the internet. Show your

Please solve using MatlabPlease solve using Matlab Q1. Image restoration with white Gaussian noise [9

Q1. Image restoration with white Gaussian noise [9 marks] Download a medical image of your choice from the internet. Show your image, f(x,y), in grayscale. (a) Add Gaussian noises to f(x,y). Show the noisy image, g(x,y). (b) Apply 3x3 averaging mask on g(x,y). Show the restored image. Apply 5x5 averaging mask on g(x,y). Show the restored image. (d) Apply 3x3 median mask on g(x,y). Show the restored image. (e) Apply 5x5 median mask on g(x,y). Show the restored image. Which would you choose, averaging or median mask, to restore this type of noisy image? Justify your answer. g) Try a different size of the mask that you chose in (g), other than 3x3 and 5x5. Show the restored image. (h) Discuss how you determine the optimal size of the mask that you chose in (g), to restore this type of noisy image. (0) Explain what the white Gaussian noise is. Q2. Image restoration with salt-and-pepper noise [9 marks] Repeat (a)-(h) using the same image downloaded in Q1 (a), but add salt-and-pepper noises instead of Gaussian noises in (a). 0 Explain what the salt-and-pepper noises are. Q1. Image restoration with white Gaussian noise [9 marks] Download a medical image of your choice from the internet. Show your image, f(x,y), in grayscale. (a) Add Gaussian noises to f(x,y). Show the noisy image, g(x,y). (b) Apply 3x3 averaging mask on g(x,y). Show the restored image. Apply 5x5 averaging mask on g(x,y). Show the restored image. (d) Apply 3x3 median mask on g(x,y). Show the restored image. (e) Apply 5x5 median mask on g(x,y). Show the restored image. Which would you choose, averaging or median mask, to restore this type of noisy image? Justify your answer. g) Try a different size of the mask that you chose in (g), other than 3x3 and 5x5. Show the restored image. (h) Discuss how you determine the optimal size of the mask that you chose in (g), to restore this type of noisy image. (0) Explain what the white Gaussian noise is. Q2. Image restoration with salt-and-pepper noise [9 marks] Repeat (a)-(h) using the same image downloaded in Q1 (a), but add salt-and-pepper noises instead of Gaussian noises in (a). 0 Explain what the salt-and-pepper noises are

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!