- Open Access
- Total Downloads : 500
- Authors : S Deepak Raj, Harisha D S, Deepak M, Pruthvi Kumar K R
- Paper ID : IJERTV3IS070741
- Volume & Issue : Volume 03, Issue 07 (July 2014)
- Published (First Online): 21-07-2014
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Edge Detection in Angiogram Images Using Modified Classical Image Processing Technique
-
Deepak Raj1 Harisha D S2
1,2Asst. Prof , Dept Of ISE,
Sai Vidya Institute of Technology, Bangalore, India
Deepak M3 Pruthvi Kumar K .R4
3,4Asst. Prof , Dept Of CSE,
Sai Vidya Institute Of Technology, Bangalore, India
Abstract:- Blood vessels of human body can be made available for study using medical imaging methods like as X- ray, Computed Tomography (CT), and Magnetic Resonance (MR). Extraction of blood vessel images from noisy backgrounds is necessary in medical image processing. Also must be ensured clarity to aid in drawing accurate inferences in diagnosis. One such application is a procedure used in observation of blood vessels called Angiography. Determination of area covered by vessels and vessel length are two basic tasks involved in it. Such tasks are achieved through enhancement and segmentation. Segmentation can be defined as a process of dividing a given image into several non- overlapping regions. Such partitioning is made with Edge detection. Complex algorithms have been modeled for detection of edges of blood vessel images which are currently available in literature. This paper detects edges of vessels in an angiogram image, using proposed algorithm utilizing using classical image processing techniques. Steps involved are, a Preprocessing step, where noise is removed using either a simple filter and Histogram equalization technique, replacing Canny edge Detector. Proposed algorithm is not complicated. It is accurate and involves very simple steps.
Keywords- Angiogram image, Segmentation, Vessel extraction, Canny edge detector, filtering, Image enhancement, Histogram equalization
-
INTRODUCTION
Detecting and analysing blood vessels in an angiogram image depends vitally upon Segmentation. It is a process of partitioning an image into several non- overlapping regions. It is used to extract vascular regions from other background regions. Based on partitioning results thus obtained, surfaces of vasculatures can be extracted, modeled, manipulated, measured as well as visualized. Hence it is used in detection of vascular diseases. Developing a reliable and robust image segmentation method is therefore imperative for making angiography effective and efficient. This endeavor has been the priority of researchers as shown by other active research groups in [4, 10]. Segmentation simply subdivides an image into parts or objects that constitute it. Autonomous segmentation is one of the very difficult tasks of image processing.
Segmentation algorithms for monochrome images are generally based on two following basic properties of gray level values:
-
Discontinuity and
-
Similarity.
It is challenging to perform image segmentation in angiography. Angiograms can be analyzed using computers to detect the blood vessel boundary as a first step. In literature, this is performed using, magnitude of image gradient but this method does not provide sufficient information for locating the boundary of blood vessel and hence; performance of segmentation becomes complicated as shown conclusively in [1, 2, 6, 8]. Thus, the quality of image segmentation can be improved using our proposed histogram equalization technique, rather than the gradient magnitude.
Edge detection is done to segment blood vessels from angiogram images. Edge detection algorithms are followed by linking and boundary detection procedures. Edge detection is used for detecting discontinuities in gray level. First and second order digital derivatives are implemented to detect edges in an image. Edge can be defined as a boundary between two regions with relatively distinct gray-level properties. An edge is a set of connected pixels that lie on the boundary between two regions [3, 5]. The complexity of an image is reduced by detecting its edges. Such simplified images can be then used to measure parameters related to blood flow or to locate some patterns in relation to vessels in angiographic images. Thus edge detection is done using first order derivative (Gradient operator), Second-order derivative (Laplacian operator) and also using Sobel and Prewitt algorithms [7, 9].
Canny proposed the hysteresis thresholding method in which two threshold values have to be fixed. However, its performance was not good enough with respect to detection, localization, and resolution and noise rejection. The percentage of true edges detected is also less, when compared to other algorithms proposed in literature [14].
In this paper, edges of vessel in an angiogram image are detected using our proposed algorithm which involves a pre-processing step, where noise is removed using the Median filter and Histogram equalization technique, which replaces the
Canny edge Detector. Median filtering is useful in eliminating intensity spikes while it preserves edges in a better manner. Histogram equalization stretches or compresses an image, which is used to detect the edges of a blood vessel.
-
-
EDGE DETECTION
Edges are significant local changes of intensity in an image. Causes for intensity include:
-
Geometric events
-
surface orientation (boundary) discontinuities
-
depth discontinuities
-
color and texture discontinuities
-
-
Non-geometric events
-
illumination changes
-
specularities
-
shadows inter-reflections
-
The figure drawn below shows discontinuities in the image.
Fig. 1. Discontinuties in the Image
-
Goal of Edge Detection
The goal of edge detection is to produce a line drawing of a scene from an image of that scene.
-
Advantages of Edge Detection
-
Important features can be extracted from edges of an image (e.g., corners, lines, curves).
-
These features are used by higher-level computer vision algorithms (e.g., recognition).
-
-
Edge Detection Methods
The edge detection methods include:
-
1st Derivative Estimate
-
-
Canny Edge Detector
Canny edge detection operator was created by John. F. Canny in the year 1986. It uses a multi-staged algorithm to detect edges in images over a wide range. Following are its various stages.
Noise Reduction
Canny edge detector makes use of first derivative of a Gaussian as filter. It filters noise by convolving input raw image with Gaussian filter. A slightly blur version of an input image is hence obtained which is not affected by even a single noisy pixel to a significant degree. Thus, it is a strong tool used to remove noise present in raw unprocessed data.
-
Intensity Gradient
The algorithm makes use of four filters to detect various edges in blurred input images. An edge in a image may point in various directions, horizontal, vertical and diagonal. Whenever edges are to be detected, it can be done by calculating the gradient of a pixel relative to its neighborhood. A good approximation of first derivate is given by two Sobel operators. As the derivatives enhance noise; smoothing effect produced is a particularly attractive feature of Sobel operators. First derivatives are implemented using magnitude of gradient.
For a function f (x, y), the gradient f at co-ordinate (x, y) is defined as the 2-dimesional column vector
If a (x,y) represents the direction angle of the
-
Gradient edge detection
vector f
at (x,y), then,
-
Compass edge detection
-
Canny edge detector
-
2nd Derivative Estimate
(x, y) tan
1 Gx
G
. Thus, the direction of
y
-
Laplacian
-
Difference of Gaussians
-
-
Parametric Edge Models
We are concentrating on the existing method, namely canny edge detector for comparing edge detection with proposed method.
an edge at (x,y) is perpendicular to the direction of the gradient vector at that point. Edge direction angle is here rounded to one of the four angles each representing one of vertical, horizontal and the two diagonals (0, 45, 90 and 135 degrees).
-
-
-
Non – maximum suppression
The edges are still colored to indicate direction. When estimates of an images gradient are given, we make a search to determine if gradient magnitude assumes a local maximum in gradients direction.
Thus for example,
-
In case, rounded angle is zero degrees and if intensity is greater than the intensities in north and south directions the point will be considered to be on the edge,
-
In case rounded angle is 90 degrees, and if its intensity is greater than the intensities in west and east directions the point will be considered to be on the edge,
-
In case rounded angle is 135 degrees, and if its intensity is greater than the intensities in north east and south west directions, the point will be considered to be on the edge
-
In case rounded angle is 45 degrees, and if its intensity is greater than the intensities in northwest and south east directions. the point will be considered to be on the edge
This is achieved by passing a grid of dimension 3 x 3 over an intensity map out of which are obtained a set of edge points, in the form of binary images. This is referred to as "non – maximum suppression" and is also called as "thin edges". In most cases it is impossible to specify the threshold at which intensity gradient switches from being an edge, when it is traced through the image and hysteresis. Hence, Canny used threshold and hysteresis. This required two thresholds high and low. With this assumption, edges are traced along continuous curves in an image. This allows us to follow a faint section of given line while discarding all noisy pixels that do not constitute a line but yet have an equally high intensity gradient. Thus, this is done by applying high threshold. Finally edges are traced starting from here, with the help of directional information derived earlier. While tracing an edge, lower threshold is applied, which allows tracing faint sections of edges as long as the starting point is found. Thus, finally a binary image is obtained. Every pixel, from this binary image, is then marked as either an edge pixel or a non- edge pixel. The binary edge map obtained thus, can also be treated as a set of edge curves. On further processing such curves can be represented as polygons in image domain.
-
-
Differential Geometric Formulation
A greater refined approach to obtain edges with sub-pixel accuracy is, using differential edge detection. Here the requirement of non-maximum suppression is formulated in terms of second as well as third order derivatives computed from a scale-space representation, as proposed by Lindeberg in the year 1998.
-
Parameters
The Canny algorithm contains a number of adjustable parameters, which may affect its computation time and effectiveness.
-
The size of Gaussian filter used in stage one, directly affects results of canny algorithm used later. Smaller filters cause lesser blurring, and allow detection of small but sharp lines. On the other hand, larger filters cause more blurring, thereby smearing out a given pixel over a larger area of image. Larger blurring radii are more useful in detecting larger, smoother edges.
-
Thresholds: the use of double thresholds with hysteresis allows greater flexibility than that is available in a single threshold approach. But general problems of thresholding approaches continue. A threshold set too high may miss required information.
-
-
PROPOSED METHOD Classical Image
-
Processing Techniques
A new algorithm is proposed to overcome the above said drawbacks using classical image processing techniques as shown in the flow diagram below.
Proposed Algorithm:
Step 1: Read the given angiogram image, and convert it into a matrix form where each pixel value is in the range from 0-255.
Step 2: Apply median filtering to remove noise. Step 3: Take Histogram of the given input image.
Step4: Obtain a uniform histogram using histogram equalization or linearization technique.
Step 5: Repeat the above process again.
Step 6: 2D FIR filter is used to detect the edges of the angiogram image.
Fig. 2 Proposed flow chart for Edge Detection
In Fig. 2, first the input image is preprocessed using median filter to remove noise and then the histogram of input angiogram image is obtained. Then by a technique called histogram equalization, uniform histogram is obtained. Again, the histogram of histogram equalized image is obtained. Finally, the edges of the vessel from the given angiogram image is obtained.
Thus, the above mentioned algorithm is used to detect the edges of the vessel from the given angiogram image.
-
Image Enhancement
Image Enhancement process consists of a collection of techniques which seek to improve visual appearance of an image. Thus the basic aim is to make an image look better. The objective of enhancement technique is to process an image so that the resultant image is more suitable than the original. Suitability is of course dependent on specific applications. Image enhancement refers to either accentuation of, or sharpening of image features such as edges, boundaries or contrast to make graphic display more suitable for display and analysis. Image enhancement may include tasks like, gray level and contrast manipulation, noise reduction, edge crispening and sharpening, filtering, interpolation and magnification, pseudo coloring.
-
Histogram Equalization
A Technique which is used to obtain uniform histogram is known as Histogram Equalization or Histogram Linearization. Let r represent the grey levels in the image to be enhanced. Assume r to be normalized in the interval [0, 1], with r = 0 representing black and r = 1 representing white. For any value r in the interval [0,1], the image transformation is given as,
A level s for every pixel value r in the original image is produced by this transformation. The function T(r) satisfies the following conditions,
-
T(r) is single valued and monotonically increases in the interval 0 r 1(ie., it actully preserves order from black
-
-
Edge Detection
Magnitude of first derivative can be used in detection of edges. The sign (zero crossing) of the second derivative can be used to detect an edge. The same idea can be extended into 2-D.
2-D derivatives should be used. The magnitude of the gradient and sign of the Laplacian are used.
Thus, a 2 D FIR filter is used to compute the result using a two-dimensional correlation. The filter is rotated
180 degrees in order to perform two-dimensional correlation which basically involves two-dimensional convolution to detect edges. Usually one dimension process is carried in literature but here a 20 FIR filter is used to improve the results of detection process.
IV CONCLUSION
Proposed algorithm here detects edges of blood vessels from an angiogram image by implementing classical image processing techniques. We have found that edges thus segmented are both accurate and clear. Steps involved in our algorithm are also simple and easy for implementation. Results prove that detection of algorithms are efficient and effective in determining dges. Future work is aimed at detection of blockages and clots in capillaries and vessels.
REFERENCES
-
A. K. Klein, and A. Amin, "Quantities coronary angiography with deformable spline models", IEEE Trans. Med. Imag., vol. 16, 468-482, 1997.
-
C. Kirbas and F. Quek, "A review of vessel extraction techniques and algorithms, ACM Computing Surveys", Vol. 36 (2): pp.81-121, 2004.
-
D. Marr and E. Hildreth, "Theory of edge detection," Proc.R. Soc.
to white in output image) and
0 T (r) 1for 0 r 1 (ie., guarantees that the output
-
Lond., vo1.l2, pp. 187-217, 1980.
J.Brieva, P.Ponce, " Evaluation of Segmentation Algorithms for Coronary Angiography", proceedings of the 29th Annual International Conference of the IEEE, France, August 23-26, 2007.
gray levels will be in the same range as the input levels) The Inverse transformation is given as,
-
If gray levels in an image can be viewed as random
-
-
J.Canny, "A computational approach to edge detection," IEEE Trans. Pattern Anal. Machine Intell., vol. 8, pp. 679-698,lune 1986.
-
J. S. Suri, K. Liu, L. Reden, and S. Laxminarayan, "A Reivew on MR Vascular Image Processing Algorithms: Acquisition and refiltering: Part I," IEEE Trans. Iriformation Technology in Biomedicine, voI. 6, no. 4, pp. 324-337, 2002.
-
Huertas, A. and Medioni, G., "Detection of intensity changes with sub pixel accuracy using Laplacian- Gaussian masks," IEEE Trans. On Pattern Analysis and Machine Intelligence, PAMI,vol. 8, pp. 651-664, 1986.
-
Lee 1.S.1., Haralick R.M., and Shapiro L.G., "Morphology edge
variables in the interval [0,1], then
Pr (r) and
Detection," IEEE 1.Robot. Automat, vol. 3, pp. 142-156,Feb 1987.
-
L. G. Brown, "A survey of image registration techniques," ACM
Ps (s) denote probability density functions of random variables r and s.
Com put. Surv., vol. 24, on. 4, pp. 352-376, 1992.
-
Lo Kwee-Seong, "Image Segmentation Methods for Detecting Blood vessels in Angiography," Conf. Control, Automation, Robotics and vision Singapore, December 2006
r
-
If P (r) and T(r) are known T 1 (S) satisfies the first
-
-
www.ieeexplore.org
-
Digital Image processing by Rafael C. Gonzalez, Richard E. Woods.
condition, then the probability density function of transformed variables is determined by gray level probability density function of input image and by the chosen transformation function.