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:
- Add salt and pepper noise into the rice image (img1) of amount 0.05 and save it in a noisy_img.
- Apply a 5 5 average filter with replicate border into the noisy_img, and display the result.
- Apply a 3 3 median filter into the noisy_img, and display the result.
- 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
