Providing a Method to Improve the Median Filter in Order to Remove Salt and Pepper Noise
Keywords:
digital image processing, impulse noise, salt and pepper noise, noise removal, median filterAbstract
Noise removal is one of the most common research topics in digital image processing. Salt and pepper noise, in which pixels take the values 0 or 255, is among the most significant types of noise and has a destructive effect on the image. There are several noise removal methods, each with its own problems. This study introduces a new method that uses two weight values to remove noise. First, a local variable window is created for each noisy pixel, the noise-free pixels in it are divided into minimum and maximum groups, and the distribution ratios of the two groups are obtained; the value of the noisy pixel is then replaced with a new weighted value, so that the noisy pixels are restored. Experimental results show that the proposed method can easily remove salt and pepper noise at different noise densities (10 to 90%) and eliminate blurring effects in the image.
References
Abdurrazzaq, A., Mohd, I., Junoh, A. K., & Yahya, Z. (2020). Tropical algebra based adaptive filter for noise removal in digital image. Multimedia Tools and Applications, 79(27-28), 19659–19668. https://doi.org/10.1007/s11042-020-08847-0
Aslam, N., Ehsan, M. K., Rehman, Z. U., Hanif, M., & Mustafa, G. (2022). A modified form of different applied median filter for removal of salt & pepper noise. Multimedia Tools and Applications, 82(5), 7479–7490. https://doi.org/10.1007/s11042-022-13289-x
Bovik, A. C. (2010). Handbook of image and video processing. Academic Press.
Enginoğlu, S., Erkan, U., & Memiş, S. (2019). Pixel similarity-based adaptive Riesz mean filter for salt-and-pepper noise removal. Multimedia Tools and Applications, 78(24), 35401–35418. https://doi.org/10.1007/s11042-019-08110-1
Erkan, U., & Gökrem, L. (2018). A new method based on pixel density in salt and pepper noise removal. Turkish Journal of Electrical Engineering & Computer Sciences, 26, 162–171. https://doi.org/10.3906/elk-1705-256
Erkan, U., Gökrem, L., & Enginoğlu, S. (2018). Different applied median filter in salt and pepper noise. Computers & Electrical Engineering, 70, 789–798. https://doi.org/10.1016/j.compeleceng.2018.01.019
erkan, U., Thanh, D. N. H., Hieu, L. M., & Enginoglu, S. (2019). An Iterative Mean Filter for Image Denoising. IEEE Access, 7, 167847–167859. https://doi.org/10.1109/access.2019.2953924
Esakkirajan, S., Veerakumar, T., Subramanyam, A. N., & PremChand, C. H. (2011). Removal of High Density Salt and Pepper Noise Through Modified Decision Based Unsymmetric Trimmed Median Filter. IEEE Signal Processing Letters, 18(5), 287–290. https://doi.org/10.1109/lsp.2011.2122333
González-Hidalgo, M., Massanet, S., Mir, A., & Ruiz-Aguilera, D. (2018). Improving salt and pepper noise removal using a fuzzy mathematical morphology-based filter. Applied Soft Computing, 63, 167–180. https://doi.org/10.1016/j.asoc.2017.11.030
Guan, S., Liu, B., Chen, S., Wu, Y., Wang, F., Liu, X., & Wei, R. (2024). Adaptive median filter salt and pepper noise suppression approach for common path coherent dispersion spectrometer. Scientific Reports, 14(1), Article 17445. https://doi.org/10.1038/s41598-024-66649-y
Hwang, H., & Haddad, R. A. (1995). Adaptive median filters: new algorithms and results. IEEE Transactions on Image Processing, 4(4), 499–502. https://doi.org/10.1109/83.370679
Islam, M. J. (2025). Adaptive weight-modified Riesz mean filter for high-density salt-and-pepper noise removal. Journal of Electrical Systems and Information Technology, 12(1), Article 76. https://doi.org/10.1186/s43067-025-00266-1
Jeelani, Z., & Qadir, F. (2022). Cellular automata-based approach for salt-and-pepper noise filtration. Journal of King Saud University - Computer and Information Sciences, 34(2), 365–374. https://doi.org/10.1016/j.jksuci.2018.12.006
Li, C., Li, J., & Luo, Z. (2021). An impulse noise removal model algorithm based on logarithmic image prior for medical image. Signal, Image and Video Processing, 15(6), 1145–1152. https://doi.org/10.1007/s11760-020-01842-w
Lu, C.-T., Chen, Y.-Y., Wang, L.-L., & Chang, C.-F. (2016). Removal of salt-and-pepper noise in corrupted image using three-values-weighted approach with variable-size window. Pattern Recognition Letters, 80, 188–199. https://doi.org/10.1016/j.patrec.2016.06.026
Lu, C.-T., & Chou, T.-C. (2012). Denoising of salt-and-pepper noise corrupted image using modified directional-weighted-median filter. Pattern Recognition Letters, 33(10), 1287–1295. https://doi.org/10.1016/j.patrec.2012.03.025
Mohan, S., & Paulchamy, B. (2024). Removal of salt and pepper noise using adaptive switching modified decision-based unsymmetric trimmed median filter optimized with Hyb-BCO-FBIA. Automatika, 65(3), 852–865. https://doi.org/10.1080/00051144.2024.2321807
Sahin, U., Uguz, S., & Sahin, F. (2014). Salt and pepper noise filtering with fuzzy-cellular automata. Computers & Electrical Engineering, 40(1), 59–69. https://doi.org/10.1016/j.compeleceng.2013.11.010
Srinivasan, K. S., & Ebenezer, D. (2007). A New Fast and Efficient Decision-Based Algorithm for Removal of High-Density Impulse Noises. IEEE Signal Processing Letters, 14(3), 189–192. https://doi.org/10.1109/lsp.2006.884018
Tang, Z., Yang, Z., Liu, K., & Pei, Z. (2016). A new adaptive weighted mean filter for removing high density impulse noise. In Eighth International Conference on Digital Image Processing (ICDIP 2016) (pp. 1003353). SPIE. https://doi.org/10.1117/12.2243838
Thanh, D. N. H., & Dvoenko, S. D. (2016). A method of total variation to remove the mixed Poisson-Gaussian noise. Pattern Recognition and Image Analysis, 26(2), 285–293. https://doi.org/10.1134/s1054661816020231
Toh, K. K. V., & Isa, N. A. M. (2010). Noise Adaptive Fuzzy Switching Median Filter for Salt-and-Pepper Noise Reduction. IEEE Signal Processing Letters, 17(3), 281–284. https://doi.org/10.1109/lsp.2009.2038769
University of California, Berkeley. (n.d.). The Berkeley segmentation dataset and benchmark (BSDS). https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/
Wang, Z., Bovik, A. C., Sheikh, H. R., & Simoncelli, E. P. (2004). Image quality assessment: from error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4), 600–612. https://doi.org/10.1109/tip.2003.819861
Wang, X., Shen, S., Shi, G., Xu, Y., & Zhang, P. (2016). Iterative non-local means filter for salt and pepper noise removal. Journal of Visual Communication and Image Representation, 38, 440–450. https://doi.org/10.1016/j.jvcir.2016.03.024
Zhang, H., Zhu, Y., & Zheng, H. (2021). NAMF: A Nonlocal Adaptive Mean Filter for Removal of Salt-and-Pepper Noise. Mathematical Problems in Engineering, 2021, 1–10. https://doi.org/10.1155/2021/4127679
Downloads
Published
Issue
Section
License
Copyright (c) 2025 DarnerView

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.