Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 Matlab
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 areStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started