Soft Weighted Median Filter Method for Improved Image Segmentation with Noise

Siprianus Septian Manek, Handayani Tjandrasa


Soft Weighted Median Filter Method (SWMF) is one of the new methods for noise filtering in image processing. This method is used for two types of noise in images, there is fixed valued noise (FVN) and random valued noise (RVN). Fixed valued noise is a noise type with an unchanged value, it changes the pixel value of the image to the maximum and minimum values (0 and 255), while random valued noise is a noise type with a changed value. An example of fixed valued noise is salt & pepper noise, while for random valued noise can be exemplified as gaussian, poisson, speckle, and localvar noise.

Based on previous research, SWMF method can be applied to all images with all kinds of noise (FVN and RVN) and able to reduce the noise well. This method has a higher PSNR value than other methods, especially for random valued noise types such as: gaussian, speckle, and localvar noise.

In this study, we propose to examine the performance of the SWMF method further by comparing this method with other methods such as Median Filter, Mean Filter, Gaussian Filter, and Wiener Filter in an image segmentation process. The image segmentation process in this research is based on area detection using Top-Hat transform and Otsu thresholding and line detection using Sobel edge detection. The performance measurement process uses the calculation of sensitivity value, specificity, and accuracy on the image segmentation with the groundtruh image.

The results show that Soft Weighted Median Filter method can improve the quality of image segmentation with the average accuracy of 95.70% by reducing fixed value noise and random valued noise in the images.

Full Text:



P. Zhang and F. Li, “A New Adaptive Weighted Mean Filter for Removing Salt-and-Pepper Noise,” IEEE Signal Process. Lett., vol. 21, no. 10, pp. 1280–1283, 2014.

Ö. T. Cengiz Kandemir, Cem Kalyoncu, “A Weighted Mean Filter with Spatial-Bias Elimination for Impulse Noise Removal,” Digit. Signal Process., vol. 46, pp. 164–174, 2015.

C. Kalyoncu, Ö. Toygar, and H. Demirel, “Interpolation-based Impulse Noise Removal,” IET Image Process., vol. 7, no. 8, pp. 777–785, 2013.

N. Chithirala, A. Radhakrishnan, and P. O. Amritanagar, “Weighted Mean Filter for Removal of High Density Salt and Pepper Noise,” in Advanced Computing and Communication Systems (ICACCS), 2016, pp. 1–4.

S. S. Manek and H. Tjandrasa, “A Soft Weighted Median Filter for Removing General Purpose Image Noise,” in Information & Communication Technology and System (ICTS), pp. 25–30, 2017.

H. Tjandrasa, A. Y. Wijaya, I. Arieshanti, and N. D. Salyasari, “Segmentation of Hard Exudates in Retinal Fundus Images Using Fuzzy C-Means Clustering With Spatial Correlation,” Proc. 7th ICTS, Bali, pp.39–44, 2013.

H. Tjandrasa, I. Arieshanti, and R. Anggoro, “Classification of Non-Proliferative Diabetic Retinopathy Based on Segmented Exudates using K-Means Clustering,” Int. J. Image, Graph. Signal Process., vol. 7, no. 1, pp. 1–8, 2015.

N. Otsu, “A Threshold Selection Method from Gray-Level Histograms,” IEEE Trans. Syst., vol. 20, no. 1, pp. 62–66, 1979.



  • There are currently no refbacks.