Medical Image Denoising using Non-Linear

22 downloads 0 Views 1015KB Size Report
Diagnostic imaging is an invaluable tool in medicine ... other imaging modalities provide an effective means for ... fundamental problem in image processing [1].
Medical Image Denoising using Non-Linear Spatial Mean Filters for Edge Detection K. Somasundaram1 and P. Kalavathi2 Image Processing Lab, Department of Computer Science and Applications, Gandhigram Rural Institute-Deemed University, Gandhigram–624302, Tamil Nadu, India e-mail: [email protected], [email protected] Abstract—All medical image processing techniques need to extract meaningful information from medical images. However, the noise generated during image acquisition and transmission degrades the human interpretation, or computer-aided analysis of these images. Therefore, denoising should be performed to improve the image quality for more accurate analysis and diagnosis. In this paper we propose a medical image denoising technique using three spatial mean filters and the performance of these filters are evaluated using the Canny edge detector by computing the edge image difference between the original and the denoised image.

Keywords: Spatial Mean Filters, Medical Image Enhancement, Denoising, canny edge Detector, Enhancement. I.

INTRODUCTION

Diagnostic imaging is an invaluable tool in medicine today. Medical image acquisition techniques such as X-rays, Computed tomography (CT), Ultrasound, Magnetic resonance imaging (MRI), Functional magnetic resonance imaging (fMRI), Positron emission tomography (PET), Single photon emission computed tomography (SPECT), Electrical impedance tomography (EIT), Digital mammography, Biomagnetic Imaging, Radiographic Imaging, Autoradiographic Imaging, 2-D and 3-D Microscopy Imaging (Light, Electron, Confocal, Atomic Force) and other imaging modalities provide an effective means for mapping the anatomy of a subject. These technologies have greatly helped to understand the normal and diseased anatomy for medical research and are critical component in diagnosis and treatment planning. However the noise present in the medical image degrades the performance of the medical image processing techniques. Image enhancement through noise reduction is a fundamental problem in image processing [1]. Noise filtering has become one of the indispensable components of image processing operation [2]. Noise filters generally attempt to smooth the corrupted image by neighborhood operations. Non-linear filters exhibit better performance than linear filters. The linear filters distribute the noise over the image rather than eliminating it [3], [4]. Non-linear filters control the direction and/or degree of averaging with the local contents of neighborhood because the spatial relations of the gray

values of neighborhood pixels can recognize the objects in an image [5],[6].The spatial mean filters are simple sliding window filters that replaces the center value by the calculated mean value. In this paper, we demonstrate how the non-linear spatial filters, arithmetic mean, geometric mean harmonic mean can be effectively used to eliminate the Gaussian noise in the medical images. The performances of these filters are compared by finding the edge image difference between the original and the denoised images using Canny edge detector. The remaining part of the paper is organized as follows: In section II, we explain the methods and materials that are used in the proposed approach. In section III, the experimental results and discussion are given. In section IV, the conclusions are given. II. METHODS AND MATERIALS A. Image Noise Image noise is a random variation of brightness or color information in images that are not present in the object imaged, and is usually an aspect of electronic noise. It can be produced by the sensor and circuitry of a scanner or digital camera. Image noise is generally of the following types [7]: Gaussian noise Salt-and-pepper noise Short noise Uniform noise Film grain noise Non-isotropic noise Gaussian noise is evenly distributed over the input image. This means that each pixel in the noisy image is the sum of the true pixel value and a random Gaussian distributed noise value. The Gaussian noise has a Gaussian distribution having a bell shaped probability distribution function given by [8], [9]:

F (g)

1 2SV

e ( g  P )

2

/ 2V 2

(1)

where, g represent the gray level, P represents the mean of the function and V the standard deviation of the noise. The chosen medical images are degraded with Gaussian noise for de-noising with the selected spatial filters.

150 ‹ National Conference on Signal and Image Processing (NCSIP-2012)

B. Spatial Mean Filters Spatial mean filters provide a convenient way to remove the random noises from the image intensity profile. In this paper, three non-linear spatial filters, arithmetic mean, geometric mean and harmonic mean filters are used to remove the noise in the medical images. The arithmetic mean (AM) filter is defined as the average of all pixels within a local region of an image. Pixels that are included in the average operation are specified by a mask. The arithmetic mean filter is given by:

fˆ ( x, y )

1 ¦ g ( s, t ) mn ( s ,t )S xy

(2)

where, fˆ is the denoised image, g represents the corrupted image, m, n is the size of the sliding window and S xy represents the set of coordinates in a sliding window of size m x n centered at point (x, y). The geometric mean filter is a member of a set of nonlinear filters that are used to remove image noise. It operates by replacing each pixel by the geometric mean of the values in its neighborhood. Geometric mean (GM) filter is given by: 1

ª º mn (3) fˆ ( x, y ) « – g ( s, t )» «¬( s ,t )S xy »¼ where, fˆ is the denoised image, g represents the corrupted image, m, n is the size of the sliding window and S xy represents the set of coordinates in a sliding window of size m x n centered at point (x, y). Harmonic mean (HM) is used to calculate the average of a set of numbers. Here the number of elements will be averaged and divided by the sum of the reciprocals of the elements. The Harmonic mean is always the lowest mean [10]. The harmonic mean filtering operation is given by:

f ( x, y )

mn

¦

( s ,t )S xy

1 g ( s, t )

(4)

where, fˆ is the denoised image, g represents the corrupted image, m, n is the size of the sliding window and S xy represents the set of coordinates in a sliding window of size m x n centered at point (x, y). C. Materials W e have used 20 volumes of Magnetic Resonance Image (MRI) brain images obtained from the Internet

Brain Segmentation Repository (IBSR) [11] of the Centre for Morphometric Analysis (CMA) at the Massachusetts General Hospital and from the website ‘The W hole Brain Atlas’(W BA) [12] maintained by the Department of Radiology and Neurology of Brigham and W omen’s Hospital, Harvard Medical School, the Library of Medicine, and the American academy of neurology. W e have also used 40 CT scan and X-ray images collected from the internet for our experiments. D. Performance Evaluation W e use edge detection as a measure to evaluate the performance of the selected filters on medical image. For edge detection we use Canny edge detector. The Canny [13] method finds edges by looking for local maxima of the gradient of the input image. The gradient is calculated using the derivative of a Gaussian filter. This method uses two thresholds, to detect strong and weak edges, and includes the weak edges in the output only if they are connected to strong edges. III. RESULTS AND DISCUSSION W e carried out experiments by degrading the collected images with Gaussian noise and then we applied the selected spatial filters to enhance the corrupted images. The sample selected images, and the corresponding corrupted and enhanced images are shown in Fig.1. Each row in Fig. 1 represents images numbered from 1 to 8. Images 1 to 3 are MR brain images, Images 4 to 8 are CT scan and X-ray images. The qualitative performance of these selected filters is evaluated using canny edge detector. The edge image obtained using canny edge detector on the original image, corrupted image and enhanced images of the selected sample images are shown in Fig.2. From Fig.2, we observe that the edges of the harmonic mean and geometric mean filtered images are more similar that of the edges of uncorrupted image. For the quantitative comparison of the selected filters, the differences of edge images are calculated for the images shown in Fig.2 and are given in Table.1. TABLE 1: COMPUTED EDGE DIFFERENCE VALUES FOR THE SELECTED IMAGES IN FIGURE 2 BY THE AM, GM AND HM MEAN FILTERS Images Image 1 Image 2 Image 3 Image 4 Image 5 Image 6 Image 7 Image 8

Corrupted Image 4451 4850 3070 2833 3360 3351 4816 7390

AM

GM

HM

3291 2635 3508 2818 2736 3376 2063 7112

2903 2326 3168 2653 2588 2677 1888 954

2898 2293 2125 1915 2116 3138 1983 905

Medical Image Denoising using Non-Linear Spatial Mean Filters for Edge Detection ‹ 151

Fig. 1: Results of Image Denoising: Column 1 Original Image, Column 2 Corrupted Image, Column 3 Denoised Image by AM, Column 4 Denoised by GM and Column 5 Denoised by HM

152 ‹ National Conference on Signal and Image Processing (NCSIP-2012)

Fig. 2: Results of Canny Edge Detection: Column 1 Edges in the Original Image, Column 2 Edges in the Corrupted image, Column 3 Edges by AM Filtered Image, Column 4 edges by GM and Column 5 Edge Image HM.

Medical Image Denoising using Non-Linear Spatial Mean Filters for Edge Detection ‹ 153

IV. CONCLUSION In this paper, we have demonstrated the performance of three noise filter, AM, GM and HM for denoising medical images. Further the effectiveness of these filters is studied by finding the edges on the denoised images. It is found from the experimental results that HM filter is more effective in removing noise thereby giving more clear edges than with the images denoised by other two noise filters AM and GM. ACKNOW LEDGEMENT This work is supported by a research grant by University Grants Commission (UGC), New Delhi (Grant no: M.R.P, F.No-37-154/2009(SR)).

[4] [5] [6]

[7] [8] [9]

[10]

[11]

REFERENCES [1]

[2] [3]

Richard Alan Peters, “A New Algorithm for Image Noise Reduction using mathematical Morphology”, IEEE Transaction on Image Processing, Vol. 4, No. 8, pp. 554-568 (1995). J. Astola and P. Kuosmanen,” Fundamentals of Non-linear Filtering”, CRC, Boca Raton (1997). Jahne and E. Yuksel,”Implusive noise Suppression for Images with Jarque-Bera Test based Median Filter”, Internatonal Journal of Electronics and Communications, Vol. 59, pp. 105110. 2005.

[12] [13]

A. K. Jain,” Fundamentals of Digital Image Processing”, PHI, New Delhi,2001. I.Pitas and A. Venetsanopoulos, “Non-Linear Digital Filters: Principles and Application”, Kluwer M.A., Norwell,1990. B.I. Justusson, “Median Filtering: Statistical Properties, Two Dimensional Digital Signal Processing I”, T.S.Haung Ed., Springer-Verlog, New York, 1981. R.C. Gonzalez, and R.E. W oods, “ Digital Image Processing”, Addison-W esley Publishing Company, 1992. E. U. Scott,”Computer Vision and Image Processing”, Prentice Hall, PTR, New Jercy, 1998. G. Pierre., G. Beaudoin and A.D.G. Jaques, “A Method for Medolling Noise in Medical Images”, IEEE Transaction on Medical Imaging, Vol. 23, No.10, pp. 1221-1232, 2004. M. Abramowitz, and I.A., Stegun, (Eds.). “Handbook of Mathematical Functions with Formulas”, Graphs, and Mathematical Tables, 9th printing. New York: Dover,1972. IBSR data set available online: http://www.cma.mgh. havard.edu/ibsr/index.html. W BA (W hole Brain Atlas) MR brain image available online: http://www.med.harvad.edu/AANLIB/home.html. J. Canny, “A Computational Approach to Edge Detection”, IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. PAMI-8, No. 6, pp. 679-698, (1986).