A Novel Approach For The Enrichment Of Digital Images Using Morphological Operators
V. Karthikeyan*1,V.J.Vijayalakshmi*2, P.Jeyakumar*3 *1Assistant Professor, Department of Electronics and Communication Engineering,
SVS College of Engineering, Coimbatore, India,
I. INTRODUCTION The contrast enhancement problem in digital images can be approached from various Methodologies, among which is mathematical morphology (MM). Initial studies on contrast Enhancement in this area were carried out and introduced the contrast mappings notion. Such operators consist in accordance to some proximity criterion, in selecting for each point of the analyzed image, a new grey level between two patterns (primitives). Other works based on the contrast mapping concept have been developed elsewhere .With regard to MM, several studies based on contrast multi scale criterion have been carried out. In our work, a scheme is defined to enhance local contrast based on morphological top-hat transformations and implements a processing system in real time for its application in the enhancement of angio cardio graphic images. Even though morphological contrast has been largely studied, there
are no methodologies, from the point of view MM, capable of simultaneously normalizing and enhancing the contrast in images with poor lighting. On the other side, one of the most common techniques in image processing to enhance dark regions is the use of nonlinear functions, such as logarithm or power functions otherwise, a method that works in the frequency domain is the homo morphic filter . In addition, there are techniques based on data statistical analysis, such as global and local histogram equalization. During the histogram equalization process, grey level intensities are reordered within the image to obtain a uniform distributed histogram. However, the main disadvantage of histogram equalization is that the global properties of the image can not be properly applied in a local context, frequently producing a poor performance in detail preservation. In a method to enhance contrast is proposed; the methodology consists in solving an optimization problem that maximizes the average local contrast of an image. II. OPTIMIZATION FORMULATION The optimization formulation includes a perceptual constraint derived directly from human threshold contrast sensitivity function. The proposed operators to some images with poor lighting with good results. On the other hand, in, a methodology to enhance contrast based on color statistics from a training set of images which look visually appealing is presented. Here, the basic idea is to select a set of raining images which look good perceptually, next a Gaussian mixture model for the color distribution in the face region is built, and for any given input image, a color tone mapping is performed so that the color statistics in the face region matches the training examples. In this way, even though the reported algorithms to compensate changes in lighting are varied, some are more adequate than
Page 349
Fig. 1 (a)original image (b)original image and the marker (c)opening by reconstruction using erosion as marker,. (d), performance of the opening and closing by reconstruction.
Simillar to Webers law we have considered by taking the luminance L as the grey level intensity of a function (image) and the expression (5) is written as C=Klog f+b f>0 (2)
On the other hand, in a methodology to compute the background parameter was proposed. The methodology consists in calculating the average between the smallest and largest regional minima, as illustrated in Fig. 4.1.
V.IMAGE BACKGROUND APPROXIMATION BY BLOCKS The image background approximation is enhanced and the image is divided into blocks of size. Each block is a sub image of the original image. The minimum and maximum intensity values in each sub image are denoted as m i= i(x) (3) Mi= i(x) (4)
Page 350
The value of irepresents a division line between clear (f >i) and dark(f i) intensity levels. Once is calculated, this value is used to select the background parameter associated with the Fig .4 (a) Original Image ( b) Enhanced image after applying opening and analyzed block. As follows, an expression to enhance the closing contrast is stated as VI. IMAGE BACKGROUND DETERMINATION USING Ti(f) = kilog(f+1)+ Mi , f Ti kilog(f+1)+mi , (6) THE EROSION DILATION BY RECONSTRUCTION otherwise The Background parameter i depends on the value. If (f i) It is desirable to obtain a function that resembles the image (dark region), the background parameter takes the value of the background without changing the original image into blocks, maximum intensity Mi within the analyzed block, and the and without using the morphological erosion and dilation, since minimum intensity mi value otherwise. Also, the unit was added these morphological transformations generate new contours when the structuring element is increased. This process is shown to the logarithm function in (10) to avoid indetermination. Since in the projected work grey level images are used, and the in Fig. 5. When morphological erosion or dilation are used with large sizes of to reveal the background, inappropriate values constant ki in (5.4) is: obtained as follows may be obtained. there is other class of transformations that Ki=255-mi*/log(256)mi*=mi, f>i allows the filtering of the image without generating new Mi, f i (7 ) The above process is similar to a contrast mapping which components. modifies the intensity values depending on certain criterion. The criterion to modify the contrast in (4) is given by i. The values are used as background parameters to improve the contrast depending on the background which is different for clear and dark regions. An example to illustrate the performance of (4) considering a 1-D signal is presented in Fig. Notice that, in this figure, the intensity levels are stretched in an important way by the behavior of the logarithm function and the background parameter Mi or mi. In this way, the transformation i (f) fulfils the next properties.The set composed by high Fig .5 (a) Original Image (b) Erosion size =20 contrast areas, and the set composed by low contrast areas. The composition of contrast mappings using opening closing will These process are called transformations by reconstruction. In result in lighter images for each iteration, reaching a limit our case, the opening by reconstruction is our choice because it imposed by the value of the highest level of intensity of the contact the regional minima and merges regional maxima. This image.If image is subdivided into smaller blocks each time, the characteristic allows the modification of the altitude of regional background function tends to be similar to the original function. maxima when the size of the structuring element increases. This On the other hand, given that, maximum and minimum values effect can be used to detect the background criteria in (5), are analyzed for each block, an extension using morphological operators is presented as follows. Notice that the window corresponds to the structuring element . For the sake of (x)=(f)(x) (8) simplicity values correspond to the morphological dilation and
Page 351
(a)
(b)
(a)
(b)
Fig .6 Erosion by reconstruction as background criteria (a) Original images. (b)Enhanced images.
Opening & Closing is maintained and only the way to detect the background is modified. An example of this modification is shown in Fig. 7.2. Input images are located in Fig. 6(a) where as enhanced images are presented in Fig. 6(b). The image background criteria were calculated with a structuring element size 10. On the other hand, it is possible to use the opening by reconstruction to generate the image background similarly to that presented, and not only, as a criterion to detect the background as was presented. An uneven background,which is detected from an image with important variations in lighting. Observe that the background touches only regional minima, while the other regions contain local information of the original function. From these extreme points and the local information provided by the original function and the important information about the image can be acquired. When considering the opening by reconstruction to detect the background, one further operation is necessary to detect the local information given by the original The morphological transformation in opening & Closing is maintained and only the way to detect the background is modified. An example of this modification is shown in Fig. 6. Input images are located in Fig. 6(a), whereas enhanced images are presented in Fig. 6(b). The image background criteria were calculated with a structuring element size =10 for all output images.
TABLE.1
PERFORMANCE ANALYSIS FOR VARIOUS IMAGES PSNR & MEAN VALUES
The following expression derived is proposed to enhance the contrast in images with poor lighting (f)=k(x)log(f+1)+1[(f)] (7.3) (11)
(10)
VII.EMPIRICAL RESULTS The Erosion dilation and opening closing Results was listed below.
Erosion Dialation Original image Tumor Tower Man PSNR 14.9124 2.7778 6.3124 Mean 37.8881 57.3989 49.5454
Opening Closing PSNR 18.3777 7.4313 9.5674 MEAN 110.3905 87.3987 70.6574
Page 352
VIII. CONCLUSION This paper presents a study to detect the image background and to enhance the contrast in grey level images with poor lighting. First, a methodology was introduced to compute an approximation to the background using blocks analysis. This proposal was subsequently extended using mathematical morphology operators. However, a difficulty was detected when the morphological erosion and dilation were employed; therefore, a new proposal to detect the image background was propounded, that is based on the use of morphological connected transformations. These contrast transformations are characterized by the normalization of grey level intensities; avoiding abrupt changes in illumination The performance of the proposals provided in this work were illustrated by means of several examples throughout the paper. REFERENCES:
Page 353