Question: i need the code in Matlab please (4) Take a photo.Then add salt and pepper noise to the photo. The noise density of pepper is

i need the code in Matlab please
(4) Take a photo.Then add salt and pepper noise to the photo. The noise density of pepper is 0.1 and the noise density of salt is 0.2. Then save the polluted picture. Median filtering is performed on the contaminated pictures, the filter window sizes are [33] and [7 7]. Adaptive median filtering is performed on the contaminated pictures, the maximum window is 5 and 7, respectively. Two filtering results should be saved.please write a piece of code to achieve the above function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
