Image Enhancement Using Filtering Techniques: Krishan Kant Lavania
Image Enhancement Using Filtering Techniques: Krishan Kant Lavania
Shivali
Department of Computer Science and Engineering
Arya Institute of Engineering and Technology
Jaipur (Rajasthan), India
[email protected]
Rajiv Kumar
Department of Information Technology
Gurgaon Institute of Technology and Management
Gurgaon (Haryana), India
[email protected]
Abstract— Image enhancement is used to improve the quality of an image. In this paper, two novel
algorithms CB (Center-to-Boundary) and BB (Boundary-to-Boundary) filters have proposed. These
algorithms have implemented for mask, but in this paper, authors have chosen only which
are convoluted with various poorly contrast images. The performance of these two algorithms are
analyzed and compared with the average filter on the basis of four parameters - eme, mse, rmse, and
psnr. The experimental results are carried on more than 1000 images that prove that these two
algorithms enhance poor quality images very effectively.
1.67 2 1.67
2 1 2
1.67 2 1.67
A. Algorithm
Step 1: Choose any n×n matrix.
Step 2: Check whether the matrix is odd or even. If even, then exit otherwise proceed to step3.
Step 3: Initialize the central pixel of the matrix equal to 1 i.e 1.
Step 4: Scan from the Central pixel to all neighboring pixels by using 4-connectivity.
Step 5: Apply Newton-Raphson’s Method on step 4 to find out the value of neighboring pixels using formula:
4
Step 6: Repeat step 4 and 5 until all pixels are scanned (NOTE: Do not scan those pixels that are already
scanned.
Step 7: Exit
B. Results
The CB filter applied on the original image and results has displayed in Fig.1 [4,5,11].
1 2 1.67
2 1.67 1.62
A. Algorithm
Step 1: Choose any n×n matrix.
Step 2: Check whether the matrix is odd or even. If even, then exit otherwise proceed to step3.
Step 3: Initialize the upper left boundary pixel of the matrix equal to 1 i.e 1.
Step 4: Scan from the upper left boundary pixel to all neighboring pixels by using 4-connectivity.
Step 5: Apply Newton-Raphson’s Method to find out the value of neighboring pixels using formula:
′
5
Step 6: Repeat step 4 and 5 until all pixels are scanned (NOTE: Do not scan those pixels that are already
scanned.
Note: Do not scan those pixels that are already scanned.
Step 7: Exit
B. Results
The BB filter applied on the original image and results has displayed in Fig. 2 [4,5,11].
TABLE 3. EME VALUES OF CB, BB AND AVERAGE FILTER FOR 3×3 MASK
TABLE 4. MSE VALUES OF CB, BB AND AVERAGE FILTER FOR 3×3 MASK
The following results based on rmse parameters have shown in table 5 given below:
TABLE 5. RMSE VALUES OF CB, BB AND AVERAGE FILTER FOR 3×3 MASK
D. psnr(Peak-to-Signal-Noise Ratio)
The following results based on psnr parameters [6] have shown in table 6 given below:
TABLE 6. PSNR VALUES OF CB, BB AND AVERAGE FILTER FOR 3×3 MASK
The graphs of CB, BB and average filters are shown for various images for 3×3 mask [4,13] and they are shown
as:
Figure 3. Comparison of eme values of various image using Figure 4. Comparison of mse values of various image using
3×3 filter for table 3×3 filter for table
Figure 5. Comparison of rmse values of various image using Figure 6. Comparison of psnr values of various image using
3×3 filter for table 3×3 filter for table
The results of various images using CB, BB and average filter are compared and they are shown in figure 7.
V. CONCLUSION
In this paper, two novel filters that are Center-to-Boundary (CB) filter and Boundary-to-Boundary (BB) filter
using Newton Raphson’s methods have developed. These two filters are compared with existing average filter
on the basis of four parameters- eme (Quality measure of image enhancement), mse (mean square error), rmse
(root mean square error) and psnr (Peak-to-Signal noise ratio). The performances of these two filters are
evaluated on more than 1000 images using MATLAB 7.4 and the results are found very satisfactory as
compared to average filter. From table 3, the following results are obtained. eme value of CB, BB and average
filter in case of mask are 13.0678, 12.3028 and 12.4036 respectively which shows that CB filter is better
than BB and average filter. As we increase the dimension of filters, the quality of image has decreased but still
the results of CB and BB filter are much better than average. As it is clear from table 4, the mse values of CB
and BB filter are much less than average filters that show that the image is of good quality in case of CB and BB
filter. As the dimension of filter has increased, the error between the original images and enhanced image will
increase but still the values in CB and BB filter are much lesser than average filter. Similar is the case with rmse
value in Table 5.The Table 6 shows that psnr values of CB and BB filter are much higher than average filter that
is necessary for good enhanced image. In case of increased filter dimensions, psnr value has decreased but still it
is good in case of CB and BB filter. Finally, this paper work is concluded with graph and bar chart that shows
the comparison of these three filters over eme, mse, rmse and psnr parameters. The results are implemented on
MATLAB 7.4 using Image Processing Toolbox (IPT). In short word, it has been concluded that performance of
CB and BB filter are much better than average filter.
REFERENCES
[1] K. Jain, Fundamentals of Digital Image Processing. Englewood Cliffs, NJ: Prentice Hall, 1989.
[2] Aniati Murni [2000], Image Processing, class handouts, Faculty of Computer Science, University of Indonesia, Jakarta.
[3] Ashish Mehta,” A Literature Survey On image enhancement”, MHTASH002, Research Methods, Date: 07 August 2006.
[4] D-I-Y Matlab Tutorials http://pesona.mmu.edu.my/~johnsee/matlab
[5] E.S. Gopi, Digital Image Processing using Matlab, Senior Lecturer, Department of Electronics and Communication Engineering, Sri.
Venkateswara College of Engineering Pennalur, Sriperumbudur, Tamilnadu, SciTech Publication (India) Pvt. Ltd., 2007.
[6] “Image Quality Evaluation Based On Image Weighted Separating Block Peak Signal-to-Noise Ratio”, IEEE Int.Conf. Neural
Networks & Signal Processing, Nanjing, China, December 14-17, 2003.
[7] J.C. Russ, The Image Processing Handbook, CRC Press, Boca Raton, FL., 1992.
[8] K. R. Castleman (1979), Digital Image Processing. Prentice Hall, Englewood Cliffs, NJ
[9] Mr. Salem Saleh Al-amri1, Dr.N.V. Kalyankar2, Dr.S.D.Khamitkar,” Linear and Non-linear Contrast Enhancement Image”, IJCSNS
International Journal of Computer Science and Network Security, VOL.10 No.2, February 2010.
[10] Muhammad Shahzad, Shiraz Latif,” Efficient Image Enhancement Techniques”, Journal of Information & Communication
Technology Vol. 3, No. 1, (Spring 2009) 50-55.
[11] Raghad Jawad AHMED,” Image enhancement and noise removal by using new spatial filters”, U.P.B. Sci. Bull., Series C, Vol. 73, Iss.
1, 2011 ISSN 1454-234x.
[12] Raman Maini and Himanshu Aggarwal, “A comprehensive review of Image Enhancement techniques, journal of computing”, volume
2, issue 3, march 2010, issn 2151-9617
[13] R. C. Gonzalez, Richard E. Woods, Digital Image processing, Addision-Wesely, 2003 R. Gonzalez, R. Woods and S. Eddins “Digital
Image Processing Using Matlab”, 2004, Prentice Hall.
[14] S. S. Agaian, K Panetta, and A. M. Grigorian, “A new measure of image enhancement,” presented at the IASTED Int. Conf. Signal
Processing Communication, Marbella, Spain, Sep. 19-22, 2000.
[15] T.S. Huang, G.J. Yang, And G.Y. Tang, "A Fast Two Dimensional Median Filtering Algorithm", IEEE Trans. On Accustics, Speech,
Signal Processing, Vol. ASSP-27, No.1, Feb 1997.
AUTHORS PROFILE
Krishan kant lavania has done M.Tech. (Computer Science) from JNRV University,
Udaipur,M.Sc. ( Computer Science ) from Dr. B.R. Ambedkar University (Formerly Agra
University), Agra, B.Sc. ( Vocational ) Specialization in Computer Applications from DDIVE,
Agra; An Institute of Dr. B.R. Ambedkar University (Formerly Agra University), Agra. Currently
he is working as Associate Professor in Arya Institute of Engineering & Technology
He has published several National and International journal papers.
Shivali has done B.Tech from Kurushetra University, Kurushetra Haryana in 2006. She is pursuing
M.Tech from RTU, Jaipur. She obtained MBA from Symbiosis University, Pune. She has published
three papers in National Conference and one international journal on Image Processing. She is
member of CSI. Her area of interest is image morphing,
Rajiv Kumar obtained M. Tech (CSE) from Guru Jambeshwar University, Hissar, Haryana in 2005.
He is pursuing Ph.D. from Bharathiar University, Coimbatore, Tamil Nadu from 2008
onwards.During 2005-2009, he served as Lecturer in R V College of Engineering, Bangalore.
Currently, he is working as Assistant Professor in Gurgaon Institue of Technology and Management,
Gurgaon, Haryana. He has published 13 papers in National/International Conference and 2 papers are
in International Journal. He has participated in various programme/workshop/conference from
different organization like Infosys, Wipro, RVCE etc. he is member of CSI. His area of interest is
image processing, computer vision and pattern recognition.