- Change the path to this folder: myworkspace
- Make three folders in the myworkspace folder: dataset, noisy, and proposed.
- In which, the dataset folder contains noise-free images, the noisy and proposed folders are empty.
- HOW TO RUN:
- You just call the function:
I = imread('cameraman.tif');
In=imnoise(I, 'salt & pepper', .2);
Id = ASWMF(In);
imshow([I In Id]);
Thanh, Dang N. H., et al. “Adaptive Switching Weight Mean Filter for Salt and Pepper Image Denoising.” Procedia Computer Science, vol. 171, Elsevier BV, 2020, pp. 292–301, doi:10.1016/j.procs.2020.04.031.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!