The Importance of Contrast Enhancement in Medical Images Analysis and Diagnosis

Contrast enhancement is a significant factor in any subjective evaluation of image quality which used to enhance the overall quality of the medical image for feature visualization and clinical measurement. This study presents a number of contrast enhancement techniques for medical images analysis. These techniques were applied on different type of medical images such as: MRI, CT-Scan and X-ray to improve image quality and come up with an acceptable image contrast. The proposed method included different enhancement techniques: logarithm and Exponential equations was created to improve the illumination and contrast of medical images, Image quality coefficients were extracted and compared with image quality coefficients for the same images, which were processed by the modified filter, and showed that the proposed method gave better results. Keywords— Medical Images; MRI; CT-Scan; X-ray; Contrast enhancement


I. INTRODUCTION
The aim of this study is to improve the image quality, enhance features and gain better characteristics of several medical images for a precise analysis and diagnosis. Medical imaging is one of the most advanced field of imaging that required for creating a visual representation of the internal structure of the human body so as to diagnose any abnormalities or diseases. Recent advances in medical image modalities, including Magnetic Resonance Imaging (MRI), Computed Tomography (CT), X-ray-based devices, Ultrasound (US) and Positron Emission Tomography (PET) [1]. Medical image analysis is a particularly difficult problem due to the inherent characteristics of these images in being low contrast, containing speckle noise, having signal dropouts and complex anatomical structures [2]. Therefore, it is very important to enhance the contrast of such images before further processing and analysis.
Contrast enhancement is a significant factor in any subjective evaluation of image quality which used to enhance the overall quality of the medical image for feature visualization and clinical measurement. Nowadays, most of contrast enhancement techniques have been applied to improve the visual appearance by increasing dominance of some features or by reducing ambiguity between different regions of the image [3,4].Several techniques are existing to improve the contrast and brightness of an image. The histogram modification techniques have been widely used for enhancing the contrast of medical image. The histogram equalization (HE) is one of the most popular technique which frequently used due to its simplicity and explicitness [5,6]. There are several methods have been applied to determine the level of contrast enhancement that carried out through modifications on the HE [7].Adaptive Histogram Equalization (AHE) provides a local contrast enhancement which computes the histogram of a local window centered at a given pixel [8].Therefore, all regions that having different gray scale ranges can be enhanced simultaneously. A generalization of AHE is Contrast Limiting AHE (CLAHE) which has more flexibility in choosing the local histogram mapping function. Undesired noise can be reduced by selecting the clipping level of the histogram [9]. Another method for medical image enhancement is Gamma correction [10].In this method, Gamma values of individual pixels are locally optimized by minimizing the homogeneity of co-occurrence matrix of the original image. The Gamma correction method improves the contrast of image by enhancing the dynamic range [11]. A review of most popular contrast enhancement techniques for medical images can be found in [12,13].

II. MEDICAL IMAGING MODALITIES
Several medical imaging modalities have been used for analyzing anatomical structures such as bones, muscles, blood vessels, tissue types, pathological regions such as cancer, multiple sclerosis lesions [14][15][16]. Therefore, this study focuses on the importance of contrast enhancement in medical images for precise analysis and diagnosis. Here, three medical imaging modalities will be discussed; MRI, CT-scan and X-ray such as shown in Fig. 1. Each one has its own mechanism of providing relevant physiological information of the organ being imaged. Magnetic Resonance Imaging Magnetic resonance imaging (MRI) is a medical imaging modality that is based on the same principals of nuclear magnetic resonance spectroscopy. MRI is the most powerful and noninvasive tool for clinical diagnosis of diseases [17]. The MRI scanner uses magnetic and radio waves to create pictures of tissues, organs and other structures within the body. The images that produced by an MRI scan are better in displaying good details. Therefore, it is possible to pictures all the tissue in the body by using an MRI scanner. These tissue such as bones (has the least hydrogen atoms) becomes dark, while the fatty tissue (that has many hydrogen atoms) looks much brighter. It is possible to gain information about the different types of tissues that are present by changing the timing of the radio wave pulses " [18].

B.
Computed Tomography Computed Tomography (CT) is a technique which utilizes X-rays in conjunction with computing algorithms to image tissues in the body. CT is one of the important diagnostic tool in the field of medical imaging which used to image the internal structure of human body. It provides good contrast amongst of different soft tissues of the body which especially make it useful for imaging the muscles, brain and cancers compared with other medical imaging techniques. Some advancement of CT machines technology have been introduced to increase the contrast of the CT images which are being used for diagnostic purposes [19,20].

C.
X-ray X-ray images are being used to image the internal structure of human body. In the field of medicine, it is one of the most widely used diagnostic tools. X-Ray is used for capturing images of the internal body structure that help the radiologists in recognizing the internal problems. It is the most useful imaging modality to check for the bone fractures. Although of several advantages of X-Ray technology, but it generates low contrast images. The main reason for low contrast of X-ray images due to presence of amount liquid in human body. One can increase the power of X-Rays for capturing images but it may harm human body/ bones [3]. " III. CONTRAST ENHANCEMENT TECHNIQUES " Contrast enhancement techniques have various application fields especially in medical imaging for enhancing visual quality of low contrast image. It is a required step in medical image analysis for highlighting the important features or the features that are not properly visible. The goal of most contrast enhancement techniques is to determine an optimal transformation function relating original gray level and the displayed intensity such that contrast between adjacent structures in an image. "

D.
Histogram Equalization " Histogram equalization (HE) is a very popular technique and widely used for enhancing the contrast of an image. Its basic idea lies on mapping the gray levels based on the probability distribution of the input gray levels. HE improves contrast by obtaining a uniform histogram and can be used on a whole image or just on a part of an image. This technique attempts to spread out the gray levels in an image and reassigns the brightness value of pixels based on the image histogram. Histogram equalization technique is effective only when the original image has low contrast to start with, otherwise histogram equalization may degrade the image quality " [5].

E.
Adaptive Histogram Equalization Adaptive Histogram Equalization (AHE) is a technique by using localized histogram equalization which considers a local window for each individual pixel and computes the new intensity value based on the local histogram defined in the local window. Adaptive characteristics can give better result, but it computation is hard enough even though there are some fast techniques for updating the local histograms [21]. In this method, the contrast of the image is enhanced by transforming the values in the intensity image. AHE attempts to overcome the limitations of global histogram equalization by providing the desired information in a single image. Thus, this approach is more popular and effective for contrast enhancement of the grayscale and color images.

F. Contrast Limited Adaptive Histogram Equalization
" Contrast limited adaptive histogram (CLAHE) is a technique that is used for improving the local contrast of images. It is a combination of HE and adaptive histogram equalization, the histogram is equalized in blocks with a predefined clip limit in an adaptive manner. CLAHE does not operate on the whole image but it works on small regions of the images, named tiles. On each tile it works like ordinary Histogram Equalization (HE) [22].

IV. IMAGE QUALITY STATISTICS
The following statistics were applied to measure the image quality applied by the present study filters:

G.
Mean Squared Error Mean Squared Error (MSE) known as the cumulative square error between the resulting image and the original image, and calculated from the following relationship: [23] (1) Where I1(x, y) is the original image element in the location (x, y). I2(x, y) is the image element that required account in the location (x, y). M, N: size of image.

Peak Signal to Noise Ratio
The peak signal-to-noise ratio (PSNR) means the highest value, the lowest value to signal noise: [24] (2) Where L: gray-level numbers. PSNR is measured with unite decibel (dB).

B.
Root Mean Square Error Root Mean Square Error (RMSE) is defined as the square root of the error rate of the MSE. The lower the value of the error: [25] (3)

V. THE PROPOSED METHOD
In the present study, contrast enhancement is an important pre-processing step in medical images for a right analysis and diagnosis. Therefore, the following equation was developed, consisting of the logarithmic and exponential function: Where C: contrast Enhancement, r: pixel intensity (0-255), and g values taken from Fig. 2. Then, the contrast of the image can be enhanced through a 3 x 3 mask convolution. Fig. 3 shows the block diagram including main steps of the proposed method that applied in this present study.
After the text edit has been completed, the paper is ready for the template. Duplicate the template file by using the Save As command, and use the naming convention prescribed by your conference for the name of your paper. In this newly created file, highlight all of the contents and import your prepared text file. You are now ready to style your paper; use the scroll down window on the left of the MS Word Formatting toolbar.

VI. EXPERIMENTAL RESULTS AND DISCUSSION
The proposed method has been implemented on original medical images of CT-scan, MRI and X-ray. Fig. 4 shows the experimental results of proposed method by applying the 3x3 mask according to equation (4) on the original images. It can be noted by visual observation, the overall image quality has been improved as well as the contrast of each image has been enhanced. In order to measure the resultant quality of enhanced images (such as shown in Fig. 3), three statistics metrics including: PSNR, MSE, and RMSE have been used. Table  I presents the values of these metrics that performed for the enhanced medical images. The created equation (Exponential and logarithm) is enhancement of illumination and contrast of medical images with good results, and the equation that was first introduced and applied to digital images. The statistical results of PSNR, MSE and RMSE showed the efficiency of the equation (equation 4) in improving the illumination and contrast of medical images, especially for CT images.