Question: Write a Matlab code to read rice.png image and to do the following: Add salt and pepper noise into the rice image (img1) of amount

Write a Matlab code to read rice.png image and to do the following:

  1. Add salt and pepper noise into the rice image (img1) of amount 0.05 and save it in a noisy_img.
  2. Apply a 5 5 average filter with replicate border into the noisy_img, and display the result.
  3. Apply a 3 3 median filter into the noisy_img, and display the result.
  4. Apply a Gaussian low-pass filter on the noisy_img with D0=36 and D0=18 and display the results

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 Databases Questions!