COMBINING LAPLACIAN AND SOBEL GRADIENT FOR GREATER SHARPENING

Similar documents
Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain

Image Enhancement using Histogram Equalization and Spatial Filtering

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

Filtering in the spatial domain (Spatial Filtering)

Image Filtering. Median Filtering

Removal of Gaussian noise on the image edges using the Prewitt operator and threshold function technical

Digital Image Processing

IMAGE PROCESSING: AREA OPERATIONS (FILTERING)

Performance Evaluation of Edge Detection Techniques for Square Pixel and Hexagon Pixel images

BASIC OPERATIONS IN IMAGE PROCESSING USING MATLAB

A Hybrid Method for Contrast Enhancement with Edge Preservation of Generalized Images

EEL 6562 Image Processing and Computer Vision Box Filter and Laplacian Filter Implementation

DIGITAL IMAGE DE-NOISING FILTERS A COMPREHENSIVE STUDY

Frequency Domain Enhancement

Image Processing by Bilateral Filtering Method

A Study On Preprocessing A Mammogram Image Using Adaptive Median Filter

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII

International Journal of Pharma and Bio Sciences PERFORMANCE ANALYSIS OF BONE IMAGES USING VARIOUS EDGE DETECTION ALGORITHMS AND DENOISING FILTERS

Study And Analysis Of Enhancement And Edge Detection Method For Human Bone Fracture X-Ray Image

Image Segmentation of Color Image using Threshold Based Edge Detection Algorithm in MatLab

AUTOMATIC IRAQI CARS NUMBER PLATES EXTRACTION

Practical Image and Video Processing Using MATLAB

Study of Various Image Enhancement Techniques-A Review

Improved Fusing Infrared and Electro-Optic Signals for. High Resolution Night Images

Image Enhancement. DD2423 Image Analysis and Computer Vision. Computational Vision and Active Perception School of Computer Science and Communication

Prof. Vidya Manian Dept. of Electrical and Comptuer Engineering

A DEVELOPED UNSHARP MASKING METHOD FOR IMAGES CONTRAST ENHANCEMENT

FILTER FIRST DETECT THE PRESENCE OF SALT & PEPPER NOISE WITH THE HELP OF ROAD

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

1.Discuss the frequency domain techniques of image enhancement in detail.

Image analysis. CS/CME/BioE/Biophys/BMI 279 Oct. 31 and Nov. 2, 2017 Ron Dror

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

Design of an Efficient Edge Enhanced Image Scalar for Image Processing Applications

Historical Document Preservation using Image Processing Technique

Non Linear Image Enhancement

A Review on Image Enhancement Technique for Biomedical Images

Keywords Fuzzy Logic, ANN, Histogram Equalization, Spatial Averaging, High Boost filtering, MSE, RMSE, SNR, PSNR.

June 30 th, 2008 Lesson notes taken from professor Hongmei Zhu class.

Image Denoising Using Statistical and Non Statistical Method

Last Lecture. photomatix.com

An Efficient Noise Removing Technique Using Mdbut Filter in Images

Digital Image Processing. Digital Image Fundamentals II 12 th June, 2017

FPGA IMPLEMENTATION OF RSEPD TECHNIQUE BASED IMPULSE NOISE REMOVAL

CSE 564: Visualization. Image Operations. Motivation. Provide the user (scientist, t doctor, ) with some means to: Global operations:

APJIMTC, Jalandhar, India. Keywords---Median filter, mean filter, adaptive filter, salt & pepper noise, Gaussian noise.

Image Enhancement in Spatial Domain

CSE 564: Scientific Visualization

Sharpening Spatial Filters ( high pass)

Analysis of Satellite Image Filter for RISAT: A Review

Implementation of Image Deblurring Techniques in Java

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

Underwater Image Processing For Object Detection

Image Enhancement in the Spatial Domain Low and High Pass Filtering

Teaching Scheme. Credits Assigned (hrs/week) Theory Practical Tutorial Theory Oral & Tutorial Total

Implementing Morphological Operators for Edge Detection on 3D Biomedical Images

Carmen Alonso Montes 23rd-27th November 2015

Image Smoothening and Sharpening using Frequency Domain Filtering Technique

Digital Image Processing 3/e

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Spatial Domain Processing and Image Enhancement

Edge Detection of Sickle Cells in Red Blood Cells

PERFORMANCE ANALYSIS OF LINEAR AND NON LINEAR FILTERS FOR IMAGE DE NOISING

Last Lecture. photomatix.com

Vision Review: Image Processing. Course web page:

Various Image Enhancement Techniques - A Critical Review

Image restoration and color image processing

Noise Detection and Noise Removal Techniques in Medical Images

Direction based Fuzzy filtering for Color Image Denoising

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016

A Novel Approach for MRI Image De-noising and Resolution Enhancement

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

Prof. Feng Liu. Winter /10/2019

Adaptive Optimum Notch Filter for Periodic Noise Reduction in Digital Images

Digital Image Processing

Chapter 6. [6]Preprocessing

Segmentation of Blood Vessel in Retinal Images and Detection of Glaucoma using BWAREA and SVM

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Matlab (see Homework 1: Intro to Matlab) Linear Filters (Reading: 7.1, ) Correlation. Convolution. Linear Filtering (warm-up slide) R ij

Image filtering, image operations. Jana Kosecka

Sensors and Sensing Cameras and Camera Calibration

Images and Filters. EE/CSE 576 Linda Shapiro

Image analysis. CS/CME/BioE/Biophys/BMI 279 Oct. 31 and Nov. 2, 2017 Ron Dror

A Review Paper on Image Processing based Algorithms for De-noising and Enhancement of Underwater Images

A Fast Median Filter Using Decision Based Switching Filter & DCT Compression

PARAMETRIC ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

Study of Noise Detection and Noise Removal Techniques in Medical Images

Histogram Equalization: A Strong Technique for Image Enhancement

Area Extraction of beads in Membrane filter using Image Segmentation Techniques

Midterm Examination CS 534: Computational Photography

Gaussian Higher Order Derivative Based Structural Enhancement of Digital Bone X-ray Images

MAV-ID card processing using camera images

UM-Based Image Enhancement in Low-Light Situations

A Spatial Mean and Median Filter For Noise Removal in Digital Images

An Introduction of Various Image Enhancement Techniques

Computing for Engineers in Python

Chapter 3. Study and Analysis of Different Noise Reduction Filters

New Spatial Filters for Image Enhancement and Noise Removal

CSC 320 H1S CSC320 Exam Study Guide (Last updated: April 2, 2015) Winter 2015

An Informal Method of Village Mapping Using Edge Detection Technique& ISRO- BHUVAN Software

Transcription:

ISSN: 0976-9102 (ONLINE) DOI: 10.21917/ijivp.2016.0180 ICTACT JOURNAL ON IMAGE AND VIDEO PROCESSING, MAY 2016, VOLUME: 06, ISSUE: 04 COMBINING LAPLACIAN AND SOBEL GRADIENT FOR GREATER SHARPENING Suneet Gupta 1 and Rabins Porwal 2 1 Department of Computer Science and Engineering, Mewar University, Chittorgarh India E-mail: suneetsonu@yahoo.com 2 International College of Engineering, India E-mail: rabinsp@rediffmail.com Abstract Generally medical images have narrow dynamic range of intensity levels and high noise. One such abdominal x-ray image has been taken for enhancement. This paper enhances the image by sharpening and by lime lighting more, the minute details of the bone structure present in the image. Actually the whole task has been accomplished with Laplacian filter to highlight fine details and with Sobel gradient to emphasize edges. To get the sharpened image, smoothed gradient image is used to mask the Laplacian image. Finally the dynamic range has been increased using gamma transformation. Keywords: Noise, Sharpening, Laplacian, Smoothed-gradient, Mask 1. INTRODUCTION Image enhancement is manipulations on image in order to make it more suitable for certain applications. One way of image enhancement is by increasing dominance of some features over the others and/or by decreasing ambiguity between different portions of the image. Image enhancement process consists of a collection of techniques that seek to improve the visual effects and the clarity of the image, or to make the original image more conducive for computer to process [1]. Image enhancement, which is one of the significant techniques in digital image processing, plays important roles in many fields, such as medical image analysis, remote sensing, high definition television (HDTV), hyper spectral image processing, industrial X-ray image processing, microscopic imaging etc [2]. Image enhancement methods are broadly categorized into spatial domain methods and frequency domain methods. A spatial domain refers to an image plane and the methods directly operate on the pixels. Frequency domain methods are based on adapting one of the different transforms of an image. Medical images are generally low in dynamic range or contrast as at the time of imaging the radiations have to be kept with lesser energy to avoid damaging of the patient s body [3]. When such images are combined with noise the enhancement task becomes more difficult. 2. BASICS The experimental image taken is an x-ray image of abdomen. The image is noisy and suffers low dynamic range of intensity levels as generally it is the case with medical images. The idea for enhancement is to highlight those details which are very fine including edges. The basic strategy chosen is to use Laplacian for emphasizing fine details and gradient to highlight edges [4]. Following are the few basics which are needed to be understood for properly understanding the proposed enhancement method. 2.1 SMOOTHING FILTER Smoothing linear filters are also called averaging filters or low pass filters. At each pixel location the output or response of this filter is simply the average intensity of all the pixels contained within the filter mask. We get the filtered image after convolving (sliding) the filter over the image. In the resultant image every pixel value is replaced by average intensity. The Fig.1 shows a 3 3 smoothing filter. 1 9 Fig.1. A 3 3 smoothing filter Random noise in an image typically contains sharp transitions in intensity levels. Smoothing filters reduce noise in an image. These filters are also used for blurring which is nothing but eliminating very small details from an image. 2.2 LAPLACIAN FILTER The Laplacian is a 2D, isotropic, second spatial derivative operator [5]. The Laplacian of an image emphasize regions of intensity discontinuities and is therefore often used for detection of fine details and edges. The Laplacian is very sensitive to noise therefore often applied to a smoothed image. Two commonly used 3 3 kernels are shown in Fig.2. The filters in Fig.2(a) and Fig.2(b) yields isotropic results for rotations in increments of 90º and 45º respectively. In Laplacian image, features involving slow intensity change are de-emphasized. These suppressed features can be brought back into the image by simply adding Laplacian image with the original image. 0-1 0-1 -1-1 -1 4-1 -1 8-1 0-1 0-1 -1-1 (a) (b) Fig.2. Two commonly used Laplacian filters 2.3 SOBEL GRADIENT Gradient image or Gradient is a nonlinear, first-order derivative sharpening operator. For a function A(x, y) the gradient at coordinates (x, y) is defined as the 2D column vector. 1239

SUNEET GUPTA AND RABINS PORWAL: COMBINING LAPLACIAN AND SOBEL GRADIENT FOR GREATER SHARPENING where, A x, y G x x A grad A G y A x, y y G x = A(x, y) A(x + 1, y) G y = A(x, y) A(x, y + 1). The magnitude of vector δa, M(x, y) is given as, (1) 2 2 M x, y mag A Gx Gy (2) where, M(x, y) is the Gradient Image and is of the same size as the original image. Or M x, y Gx Gy The Sobel operators are shown in Fig.3.. (3) -1-2 -1-1 0 1 0 0 0-2 0 2 1 2 1-1 0 1 (a) G x (b) G y Fig.3. Sobel Operators The weight value of 2 in the center coefficient is to achieve little smoothing. 2.4 POWER-LAW TRANSFORMATION The basic expression for Power-Law transformation is given in the form s = cr (4) where, c and are positive constants and s and r are intensity levels for output and input respectively [6]. Plots for different values of are shown in Fig.4. In all cases c is taken as 1. The exponent in the power-law equation is called gamma. Intensity levels in an image can be adjusted or corrected by using an appropriate value for gamma. These images are then called gamma corrected images and the process is called gamma correction [4]. Fig.4. Plots for Power-law transformations 2.5 MASKING Masking is the process of multiplying a given image by a mask image [4]. Generally the mask image has one or more region(s) of interest (ROI). The ROI has the intensity values as 1s and at other regions the intensity values are 0s. The ROI can be of any arbitrary shape but generally rectangle shape is used. 3. THE PROPSED METHOD The stepwise description of the proposed enhancement or sharpening method is given as follows: 1. taken: The image which is to be enhanced is taken. As discussed earlier it is an Abdominal x-ray image as shown in Fig.5 [7]. 2. Laplacian of : The Laplacian basically highlights rapid intensity discontinuities and deemphasizes areas with gradual or no intensity change [8]. Because of this a Laplacian image has grayish edges and other discontinuities on a dark featureless background as shown in Fig.6. 3. : Noisy sharpened image is obtained by adding Laplacian image with the original image. With this addition the overall intensity variations of the image are restored as well as enhanced image is obtained. The resultant image is shown in Fig.7. 4. Sobel gradient of Original image: The gradient of an image enhances prominent edges more than that by Laplacian [9], and this is verified by comparing the resultant image of this step shown in Fig.8 with the image in Fig.7. The resultant image is nothing but Sobel gradient of the original image, obtained using the Eq.(3). 5. Smoothed Sobel Image: Smoothed Sobel gradient is obtained using an averaging filter of size 5 5. The resultant image is shown in Fig.9. Generally gradient of an image has stronger response in areas of high intensity change like step and ramp and lower response in case of noise and fine detail as compared to the responses of Laplacian. To further reduce the noise, Sobel image is filtered with averaging filter. 6. Masking: In this step the resultant image is obtained by treating smoothed gradient image as mask image and multiplying it with the Laplacian image as obtained in step 3. Or in other words this is nothing but masking the Laplacian with smoothed Sobel gradient. The resultant image is shown in Fig.10. Actually Laplacian is a second order derivative operator and hence it gives greater response to fine details and noise than that by gradient. So the product of the two images gives us an image with highlighted fine details and edges both. 7. Final Sharpened image: This image is obtained by adding the masked image (resultant image in step 6) to the original image. The resultant image is shown in Fig.11. This addition is done to make the sharpened features more prominent as well as to keep overall features intact. 8. Gamma Corrected Final Image: If required the dynamic range of the final Sharpened image can be transformed by using any one of the Intensity transformation methods. The 1240

ISSN: 0976-9102 (ONLINE) ICTACT JOURNAL ON IMAGE AND VIDEO PROCESSING, MAY 2016, VOLUME: 06, ISSUE: 04 best suited method for dark to very dark image is powerlaw transformation. After few hits and trials the image is gamma-corrected with = 0.75. The resultant image is shown in Fig.12. Fig.5. Fig.7. Fig.6. Fig.8. Sobel-gradient Image 4. DISCUSSION Laplacian and Gradient both highlights intensity discontinuities but Laplacian is superior in enhancing fine detail and gradient is superior in enhancing edges. Laplacian produces noisier image which can be seen by comparing the image at step 2 with that at step 1. At step 3 a noisy but sharpened image is obtained. One could think of using a median filter for reducing the noise, but doing so may eliminate some important image features. This is not advisable in case of medical images. Therefore Sobel gradient has been used as its response to noise and fine details is low. It can be seen that image at step 4 has lesser noise than the image at step 1. However as expected the edges are very prominent. Multiplying Laplacian with Sobel gradient gives an image whose fine details and edges both are enhanced. Before multiplication if the Sobel gradient is smoothed, noise would be reduced further. That is why smoothed-gradient is multiplied with Laplacian. The image obtained at step 6 contains lesser noise, highlighted features and blur. The presence of blur is due to smoothening done at step 5. Adding the image to the original reduces blur and makes highlighted features more prominent. The edges comprising pelvic brim, different Lumbar vertebrae, ribs etc. are all enhanced. The other thing which is of importance is that in Laplacian image the noise in smooth areas is predominantly visible and hence objectionable and gradient has the ability to enhance small discontinuities in smooth areas. Therefore masking Laplacian with Sobel gradient gives us an image with preserved details in strong areas and reduced noise in smooth areas. The whole process is shown diagrammatically in Fig.13. Original image Laplacian image Sobel-Gradient Image Sharpened image Smoothed- Gradient Image Fig.9. Fig.10. Final Sharpened image Gamma Corrected image Fig.11. Fig.12. Fig.13. Proposed Method 1241

SUNEET GUPTA AND RABINS PORWAL: COMBINING LAPLACIAN AND SOBEL GRADIENT FOR GREATER SHARPENING 5. CONCLUSION The method combines the best features of Laplacian and the gradient to give a better sharpened image which otherwise would not have been possible if anyone is used alone. The method is best suited to images having noise and low dynamic range and from which more details are to be extracted. Quite a good number of medical images are of such type. In the paper the corrupted image is prepared by narrowing down the dynamic range from [0 1] to [0.3 0.7] using the imadjust function of Matlab. Then Gaussian noise is added using imnoise function with mean and variance selected as zero and 0.0002 respectively. Some more images are taken from Internet and the proposed method is implemented. The method is found suitable to these images too as can be made out from Fig.14, Fig.15 and Fig.16. In all the images gamma is taken as 0.75 except in the case of skull image where it is taken as 0.65. This method works very well for images having too much minute details and edges. Fig.15. Proposed method implemented on Skull Image Fig.14. Proposed method implemented on Skeleton Image 1242

ISSN: 0976-9102 (ONLINE) ICTACT JOURNAL ON IMAGE AND VIDEO PROCESSING, MAY 2016, VOLUME: 06, ISSUE: 04 Fig.16. Proposed method implemented on Brain Image REFERENCES [1] Renjie He, Sheng Luo, Zhanrong Jing and Yangyu Fan, Adjustable Weighting Image Contrast Enhancement Algorithm and Its Implementation, Proceedings of 6 th IEEE Conference on Industrial Electronics and Applications, pp. 1750-1754, 2011. [2] Vijay A. Kotkar and Sanjay S. Gharde, Review Of Various Image Contrast Enhancement Techniques, International Journal of Innovative Research in Science, Engineering and Technology, Vol. 2, No. 7, pp. 2786-2793, 2013 [3] K. Faulkner, C.J. Kotre and M. Louka, Veiling Glare Deconvolution of Images produced by X-ray Image Intensifiers, Proceedings of 3 rd International Conference on Image Processing and its Applications, pp. 669-673, 1989. [4] R. Gonzalez and R. Woods, Digital Image Processing, 3 rd Edition, Pearson, 2008. [5] http://homepages.inf.ed.ac.uk/rbf/hipr2/log.htm [6] Gursharn Singh and Anand Mittal, Various Image Enhancement Techniques - A Critical Review, International Journal of Innovation and Scientific Research, Vol. 10, No. 2, pp. 267-274, 2014 [7] https://upload.wikimedia.org/wikipedia/commons/d/d0/me dical_x-ray_imaging_alp02_nevit.jpg [8] Mingming Huang, Zhichun Mu, HuiZeng and Hongbo Huang, A Novel Approach for Interest Point Detection via Laplacian-of-Bilateral Filter, Journal of Sensors, Vol. 3, pp. 1-9, 2015. [9] B Ramesh Naidu, P. Lakshman Rao, M.S. Prasad Babu and K.V.L. Bhavani, Efficient Case Study for Image Edge Gradient Based Detectors-Sobel, Robert Cross, Prewitt and Canny, International Journal of Electronics Communication and Computer Engineering, Vol. 3, No. 3, pp. 561-571, 2012. [10] G.T. Shrivakshan and C. Chandrasekar, A Comparison of various Edge Detection Techniques used in Image Processing, IJCSI International Journal of Computer Science Issues, Vol. 9, Issue 5, No 1, pp. 269-276, 2012 [11] Kanjar De and V. Masilamani, A New No-Reference Image Quality Measure for Blurred Images in Spatial Domain, Journal of Image and Graphics, Vol. 1, No. 1, pp. 39-42, 2013. [12] Mikko Nuutinen, Olli Orenius, Timo Saamanen and Pirkko Oittinen, A Framework for Measuring Sharpness in Natural Images Captured by Digital Cameras based on Reference Image and Local Areas, EURASIP Journal on Image and Video Processing, Vol. 2012, No. 1, pp. 1-15, 2012. [13] S. Jayaraman, S. Esakkirajan and T. Veerakumar, Digital Image Processing, 5 th Edition, Tata McGraw-Hill Education, 2015. [14] R. Gonzalez, R. Woods and S. Eddins, Digital Image Processing Using Matlab, 2 nd Edition, Gatesmark Publishing, 2010. [15] S. Sridhar, Digital Image Processing, 1 st Edition, Oxford University Press, 2011. 1243