NVBMF

A New Approach for SPN Removal: Nearest Value Based Mean Filter
30 Downloads
Updated 7 Dec 2022

View License

In this study, a new adaptive filter is proposed to eliminate salt and pepper noise (SPN). The basis of the proposed method consists of two-stages. (1) Changing the noisy pixel value with the closest pixel value or assigning their average to the noisy pixel in case there is more than one pixel with the same distance; (2) the updating of the calculated noisy pixel values with the average filter by correlating them with the noise ratio. The method developed was named as Nearest Value Based Mean Filter (NVBMF), because of using the pixel value which the closest distance in the first stage. Results obtained with the proposed method: it has been compared with the results obtained with the Adaptive Frequency Median Filter, Adaptive Riesz Mean Filter, Improved Adaptive Weighted Mean Filter, Adaptive Switching Weight Mean Filter, Adaptive Weighted Mean Filter, Different Applied Median Filter, Iterative Mean Filter, Two-Stage Filter, Multistage Selective Convolution Filter, Different Adaptive Modified Riesz Mean Filter, Stationary Framelet Transform Based Filter and A New Type Adaptive Median Filter methods. In the comparison phase, nine different noise levels were applied to the original images. Denoised images were compared using Peak Signal-to-Noise Ratio, Image Enhancement Factor, and Structural Similarity Index Map image quality metrics. Comparisons were made using three separate image datasets and Cameraman, Airplane images. NVBMF achieved the best result in 52 out of 84 comparisons for PSNR, best in 47 out of 84 comparisons for SSIM, and best in 36 out of 84 comparisons for IEF. In addition, values nearly to the best result were obtained in comparisons where the best result could not be reached. The results obtained show that the NVBMF can be used as an effective method in denoising SPN.

Cite As

Turan, Bülent. “A New Approach for SPN Removal: Nearest Value Based Mean Filter.” PeerJ Computer Science, vol. 8, PeerJ, Nov. 2022, p. e1160, doi:10.7717/peerj-cs.1160.

View more styles
MATLAB Release Compatibility
Created with R2022b
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!
Version Published Release Notes
1.0.1

added image

1.0.0