image thumbnail

ASWMF for salt and pepper noise removal

version 1.0.0 (2.11 KB) by Dang N. H. Thanh
This program links to the paper "Adaptive Switching Weight Mean Filter for Salt and Pepper Image Denoising"

64 Downloads

Updated 21 Jun 2020

View License

- 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]);

Cite As

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.

View more styles
MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!