Answered step by step
Verified Expert Solution
Link Copied!

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 Matlabimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Accounting questions