Question: Need a Matlab code for this project, you will read in an image, add noise to it , attempt to remove the noise with three
Need a Matlab code for this project, you will read in an image, add noise to it attempt to remove the noise with
three different filters, and then compare the results.
Use an image that has values from about Make sure you convert the images to precision
"double" before adding noise.
Add noise to the image with the randn command. Use a standard deviation of For example:
Noisylmage Image randnsizeImage; should work.
Filter the image with one of the Harmonic mean filter Adjust the parameters of the filter until
you get the best MSE that you can.
The MSE is a scaler and is calculated as: Restoredlmage Imagesnumber of
pixels in an image Although the number may be small, dividing by the number pixels allows
comparison between different size images and different images.
Repeat the above process using an order statistic filters eg Median, Max, Min, Midpoint,
and Alphatrimmed mean filters and determine the best parameter for the filter you have
chosen.
Also use the adaptive filter to filter the noise and adjust the parameters until you get the
lowest MSE.
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
