Sie sind auf Seite 1von 6

Auto-segmentation of Retinal Blood Vessels Using

Image Processing

Malak T. Bantan
Computer Science Department
Computer and Information System College
Umm Al Qura University
Makkah, Saudi Arabia

m.bantan@hotmail.com

AbstractAutomatic segmentation of the normal features II. RELATED WORK


such the blood vessels may help to develop the future of medicine.
It can give an earlier diagnosis of such eye diseases as diabetic Ravishankar et al. [1] extracted features in order to detect
retinopathy and glaucoma; it can support the specialists in their lesions of Diabetic retinopathy in its early stages. Blood vessel
decision as well. In this paper, a method of retinal blood vessel extraction was done as the first step. Resizing the input image
segmentation is proposed. The database used is HRF of a total of to 768 576 pixels was followed by the green channel is
45 fundus images. The fundus images go through a MATLAB extracted. Morphological Closing was applied on the image
code in preprocessing steps of image acquisition, grayscale using two different sizes of a structuring element (disk shape).
conversion and contrast enhancement, intensity adjustment, Both closed images were subtracted using two different scales.
complement and adaptive histogram equalization. Then, the
blood vessel segmentation process includes mathematical
The scales (S1, S2) are chosen depending on the target vessels
morphological opening, binarization and noise extraction. The to be extracted. To extract the entire blood vessel network, the
proposed method shows a specificity of 97%, a sensitivity of 69% radius of the large disk (S2) is fixed at 6 pixels and (S1) is
and an Accuracy of 94%. selected At least 4 pixels below (S2). Then thresholding (90%
of the max intensity), median filtering and thinning were
KeywordsSegmentation; Retinal Blood Vessels; Image performed on the image. Lastly, a 22 median filter is used to
Processing; HRF database remove the noise.
I. INTRODUCTION On the other hand, Sri et al. [2] developed an algorithm to
The eye is an organ of vision. The human eye is considered identify the different stages of Diabetic Retinopathy. This was
as the most complex organ in the body as it has many parts done by extracting the blood vessels then calculating the area
comparing to its small size [9]. Examples of ocular diseases and the perimeter. Vessel extraction was done using edge
are glaucoma and Diabetic retinopathy. They affect the human detection (non-linear Sobel operator), then followed by shade
eye and cause vision loss or blindness. There are certain correction, Top hat transformation extracted fine vessels. The
features to be considered in order to diagnose these diseases image is then converted to binary. After that, Morphological
such as optic nerve, optic disc [1] [6], blood vessels network opening was applied to remove the isolated pixels. Dilation
[2]. was done to fill the space between the edges. Finally, the
Blood vessels extraction is very important as many eye image is masked to eliminate the fundus edge.
diseases are recognized by inspecting the blood vessels. Since Like [1] and [2], Phyo et al. [6] concerned about Diabetic
the eye is the only organ in the body that you can visualize the retinopathy. In [1] and [6], both optic disc and vessel were
blood vessels which reflects the health status of blood vessels detected. IN [6] used closing, filling, morphological
in other body organs, we consider this organ in this work. The reconstruction and Otsu algorithm to detect them. Blood
objective of this paper is to segment the blood vessels in fundus
vessel extraction started with Image Acquisition. Then, RGB
images in order to help specialists to diagnose or support their
image was converted to gray. Filters such as median,
decision.
Averaging and Wiener filters were used. To enhance the
The rest of the paper is organized as follows: Section II is image, histogram, and adaptive histogram equalization was
about other existing related work in the same field, Section III applied. The morphological closing was applied followed by
explains the materials of this paper and methodology followed; filling. The last step was thresholding.
Section IV shows the results and discussion; Section V is the
conclusion and finally, the references.

978-1-4673-8956-3/16/$31.00 2016 IEEE


Zana et al. [3] discussed the difficulty of image registration got the green channel. Then, applied histogram equalization
and presented an algorithm for temporal and multimodal followed by a 2D median filter. After that, a morphological
channel was extracted. Mainly, this paper tracks the vascular structuring element and a morphological opening were
trees. The connected Vessels that have a width less than 15 performed. Another 2D median filter was used. Finally
and locally linear are simplified by applying opening thresholding function and intensity transformation function.
operation with 15 pixels linear structuring elements. Noise and Patwari et al. [12] paper, a method was proposed to
nonlinear parts were removed. After that, top hats were used calculate retinal blood vessels with respect to six parameters:
to enhance the contrast. The author defines the vessels as Area, Length, thickness, diameter, Mean Diameter and
correlated cross curvature. So, to calculate this cross Tortuosity. The algorithm went through three stages:
curvature, a Laplacian filter is used. Then, the image is preprocessing operations, retinal vessel extraction and
simplified by applying a sequence of openings and closings Segmentation to detect the Blood vessels boundaries. Green
with linear structuring elements of increasing length simple channel was extracted as a preprocessing step. For vessel
thresholding is used then. At this stage, the images were enhancement, the preprocessed image is complemented. Then,
binarized to represent the detected vascular branches. histogram equalization method was done followed by
In Hoover et al. [4], "fuzzy convergence" algorithm is morphological structuring element. Finally, the blood vessels
developed to locate the optic nerve in fundus images. The were extracted by the morphological opening, 2D median
segmentation of the vessels was created using two dissimilar filter and a thresholding function.
parameter sets in order to detect the convergent points. Rajput et al. [13] proposed a general algorithm that can be
"Fuzzy convergence" algorithm worked in the spatial domain applied on high-resolution fundus images. In this algorithm,
of the image. The input image is a binary segmentation of the the diameter of the normal blood vessel was defined to be 25
blood vessels. A fuzzy segment modeled all vessels, this mm; and according to that, the decision was made regarding
contributed to a cumulative voting image. The output is a the normality and abnormality of blood vessels. To achieve
convergence image that is thresholded to find the best that, green channel first was extracted; then it was
convergence points. complemented followed by a histogram equalization method.
Hoover et al. [8] located the blood vessel by using local After that, both a morphological structuring element and a
and global vessel features to detect the vessel network. morphological opening were applied. A 2D median filter and a
Probing regions in a matched filter response (MFR) image was thresholding function were done as final steps. Finally, the
the basic operation of the algorithm. Some criteria were diameter was calculated.
examined to define the probe threshold and deciding whether
III. MATERIALS AND METHODOLOGY
the probed area (termed a piece) was a blood vessel or not.
In this work, HRF High-Resolution Fundus (HRF) Image
Another paper concerned about vessel Extraction is found Database is used [10]. It contains a total of 45 fundus images.
in Kovcs et al. [5]. Hidden Markov Random Fields (HMRF) It also provides 45 manual blood vessel segmentation images
was used to segment the retinal blood vessels. The HMRF and Field of View (FOV) mask images. The images are a
based segmentation means the maximization of the functional. combination of 15 healthy images, 15 diabetic retinopathy
Basically, the image tangent vector field is considered to images, and 15 glaucomatous images. In order to accomplish
improve the connectivity of the vascular network. To improve this work, we use MATLAB 2015a.
the probability assessment of the Hidden Markov problem, the
Averaged One-Dependence Estimator (AODE) was used. The To achieve the objective of this paper, we follow the
images went under morphological operations to trace thick methodology shown in Fig. 1.
and thin vessels. Some developed equations were applied to Preprocessing Stage
the green channel image to achieve the objective of vessel
extraction. A.1. Image Acquisition
A.
Niemeijer et al. [7] evaluated different blood vessel The input images are RGB (Red, Green, and Blue) images of
segmentation methods. Five methods were included in the size 2336x3504x3.
comparison. One of them was pixel classification based
method. A feature vector was built for individual pixel and a
classifier was trained. As usual, the green channel was
extracted first. In initial experiments, we compared two types
of features: kNN-classifier was the best among other
classifiers to find the vessel pixels. Finally, thresholding the
probability map helped to obtain a binary segmentation of the
vasculature.
Manjiri et al. [11] extracted blood vessels in the purpose
of detecting Diabetic retinopathy in some unique cases. The
method followed consisted of five stages: preprocessing, mask
registration. The algorithm is applied on retinal images after
they were injected with fluorescein dye, then, the green
extraction, optic disk localization, blood vessel extraction, and
detection of lesions. In blood vessel extraction, the author first Fig. 1. Methodology Block Diagram
A.2. Converting the image to Gray image is converted to a black and white (binarized) with a
specific thresholding value. Binarization happens according to
The RGB image is converted to gray by extracting the the threshold level. All pixels less than the threshold level are
green channel. Green channel highlights the blood vessel set to 0 and all pixels larger than threshold level are set to 1.
pixels more than red and blue channels. Fig. 2 shows the
original image and the green channel image. Lastly, opening operation is placed for noise reduction
purposes. The blood vessel segmentation process and result
A.3. Image Enhancement and Adjustment are shown in Fig. 4. Fig 5. shows the algorithm of segmenting
The contrast of the gray image is enhanced using contrast- the retinal blood vessels.
limited adaptive histogram equalization (CLAHE) method. It
is applied to each neighborhood. It also prevents the noise to IV. RESULTS AND DISCUSSION

be over amplified. The intensity of the image then is This work mainly aims to segment the blood vessels in
adjusted. This step increases the contrast as well. After that, fundus images. MATLAB code is applied on HRF database
the image is complemented. By complementing the image, all [10]. For each image, the code times 36 seconds to segment the
pixels are subtracted from the maximum pixel. The result blood vessels and compare the result with the ground truth.
gives dark area in bright pixels and vice versa. Another Since HRF database contains images of manual blood vessel
CLAHE is performed. Fig. 3 shows how the image is extraction, the results of this experiment are compared to these
enhanced. images i.e. ground truth images. Mean Squared Error (MSE) is
calculated to find the error between the ground truth image and
B. Blood Vessels Segmentation the resultant image, see Fig. 6.
Blood vessels Detection is very important as it is one of
the normal features. To segment them, a morphological
 (2)
opening is applied first using a structure element of "ball"
[11]. The opening is a combination of dilation and erosion
Where M and N are the numbers of rows and columns of
operations. Where A and B are the input images, is the
the input images respectively and I is the input image. Mean
opening operation, and are respectively erosion and
dilation operation.

A B = (A B) B (1)

Second, the result is subtracted from the adaptive-


histogram image to get the vessels [11]. After that, the
following steps clarify the vessels and remove the noise. The

Fig. 4. Steps of Retinal Blood Vessel Segmentation (a) opening. (b)


Fig. 2. (a) Original fundus image. (b) Green channel extraction difference. (c) Binarization. (e ) Noise Removal.

Fig. 5. Proposed algorithm to segment retinal blood vessels

Fig. 3. (a) Contrast Enhancement using CLAHE (b) Intencity


Adjustment (c) Complement (d) Adaptive Histogram Equalization
pixels incorrectly classified as background. TN (True Negative)
is the number of pixels correctly classified as background. FP
(False Positive) is the number of pixels incorrectly classified as
vessels. P is the total number of vessels pixels in the manual
HRF segmentation. N is the total number of background pixels
in the manual HRF segmentation.
Fig. 7 shows the proposed method results of blood vessel
segmentation versus the manual blood vessel extraction images
of HRF dataset. The three cases of Diabetic Retinopathy,
Glaucomatous and Healthy images show different
performance, illustrated in Table II. During the experiment, we
observe that the proposed algorithm works on healthy and can
be seen from Table I that is the MSE of DR images are higher

TABLE I. MSE ON PROPOSED METHOD OF HRF


DATABASE FOR DIFFERENT STATUS OF DR, GLAUCOMA,
AND HEALTHY IMAGES. THE AVERAGE AND STANDARD
DEVIATION ARE CALCULATED

Fig. 6. Mean squared error between the ground truth and the results. The left
column shows the ground truth images. The right column shows the result of Status MSE
vessel extraction. The first row is vessels od Diabetic retinopathy. The second
row shows vessels of glaucoma disease. The third row shows vessels of the DR 7%
healthy eye.
squared error measures the difference between the input images Glaucoma 5%
which is the error, then squares this error and get the average.
Table I. shows the MSE of HFR dataset with different cases. Healthy 5%
Performance measurements include calculating the Average 6%
sensitivity (SE), specificity (SP) and accuracy (ACC) using
equation (3), (4) and (5) respectively. STD 0.00957


(3) TABLE II. PERFORMANCE MEASUREMENTS SE, SP AND
ACC USING PROPOSED METHOD ON HRF DATASET
(4)
Case SE SP ACC
DR 71% 95% 93%
(5)
Glaucoma 66% 97% 95%
Where TP (True Positive) is the number of pixels correctly Healthy 70% 98% 95%
classified as vessels. FN (False Negative) is the number of Average 69% 97% 94%

Fig. 7. From left to right. The fundus image, the manual segmentation, and the proposed method segmentation. Row(a) shows the DR case. Row(b) shows the
Glaucomatous case. Row(c) shows the healthy case
Fig. 8. Blood vessel segmentation of diabetic retinopathy shows undesired vessels. The arrow points to the soft exudate feature. (a) original fundus image of
DR that shows (b) image adjustment shows the intensity levels of both soft exuadtes and blood vessels. (c) the final result of blood vessel segmentation that
includes the soft exudates as a blood vessel.

than glaucomatous and healthy images. Fig. 8 shows bad blood Error is measured between our results and the ground truth
vessel segmentation result of diabetic retinopathy image. The and found reasonably acceptable. Furthermore, the algorithm
reason behind that is related to the features of DR. Soft exudate will be modified in the future to result in better segmentation
is one feature of Diabetic retinopathy that shows in severing in the case of diabetic retinopathy.
stages of DR. as shown in Fig. 8, soft exudates have almost
similar intensity level to blood vessels. ACKNOWLEDGMENT
In Table III, a comparison between the proposed method I thank Dr. Kalthoum Bantan for her endless help in
and other methods is listed. SE, SP, and ACC are shown for the providing medical information in the field of ophthalmology. I
diabetic retinopathy, glaucomatous and healthy images. In also forward my thanks to Dr. Muhammad Arif for his
terms of sensitivity, our proposed method gives a comparable supervision and help in providing computer knowledge to me.
average sensitivity of 69% although some of other methods
mentioned in Table III are slightly better than the proposed REFERENCES
method. Specificity and Accuracy are calculated to be 97% and [1] Ravishankar, Saiprasad, Abhishek Jain, and Anish Mittal.
94% respectively which is also comparable with the published "Automated feature extraction for early detection of
results mentioned in Table III. The proposed algorithm is diabetic retinopathy in fundus images." Computer Vision
simpler than the published results and suitable for and Pattern Recognition, 2009. CVPR 2009. IEEE
implementation in the systems having constrained Conference on. IEEE, 2009.
computational resources like smartphones. The algorithm will
be modified as future work to improve the performance of the [2] Sri, R. Manjula, M. Raghupathy Reddy, and K. M. M.
method. Rao. "Image Processing for Identifying Different Stages
of Diabetic Retinopathy."International Journal on Recent
V. CONCLUSION Trends in Engineering & Technology 11.1 (2014): 83.
In this paper, a segmentation method of the retinal blood [3] Zana, Frdric, and Jean-Claude Klein. "A multimodal
vessel is proposed. We show the methodology of registration algorithm of eye fundus images using vessels
preprocessing and blood vessels segmentation. It is a
detection and Hough transform."Medical Imaging, IEEE
combination of efficient morphological operations, image
Transactions on 18.5 (1999): 419-428.
enhancement, and noise reduction techniques. Classification
[4] Hoover, Adam, and Michael Goldbaum. "Locating the
TABLE III. COMPARISON BETWEEN THE PROPOSED optic nerve in a retinal image using the fuzzy convergence
METHOD AND OTHER METHODS. SE, SP, AND ACC ARE of the blood vessels." Medical Imaging, IEEE
SHOWN FOR THE DIABETIC RETINOPATHY, Transactions on 22.8 (2003): 951-958.
GLAUCOMATOUS AND HEALTHY IMAGES. [5] Kovcs, Gyrgy, and Andrs Hajdu. "Extraction of
Case
C Algorithm
Al ith SE SP ACC vascular system in retina images using averaged one-
DR Proposed 71% 95% 93% dependence estimators and orientation estimation in
hidden markov random fields." Biomedical Imaging:
Budai [14] 66% 98% 96%
From Nano to Macro, 2011 IEEE International
Frangi [15] 59% 97% 95% Symposium on. IEEE, 2011.
Glaucoma Proposed 66% 97% 95%
[6] Phyo, Oakar, and AungSoe Khaing. "Automatic detection
Budai [14] 69% 99% 97%
of optic disc and blood vessels from retinal images using
Frangi [15] 65% 98% 96% image processing techniques."IJRET: International
Healthy Proposed 70% 98% 95% Journal of Research in Engineering and Technology 3.03
Budai [14] 66% 99% 96% (2014): 300-307.
Frangi [15] 62% 99% 96% [7] Niemeijer, Meindert, et al. "Comparative study of retinal
Average Proposed 69% 97% 94% vessel segmentation methods on a new publicly available
Budai [14] 67% 99% 96% database." Medical Imaging 2004. International Society
Frangi [15] 62% 98% 95% for Optics and Photonics, 2004.
Sofka [16] 55% 98% 94% [8] Hoover, Adam, Valentina Kouznetsova, and Michael
Goldbaum. "Locating blood vessels in retinal images by
Soares [17] 72% 98% 96%
piecewise threshold probing of a matched filter
Bankhead [18] 68% 98% 96% response." Medical Imaging, IEEE Transactions on 19.3
Nguyen [19] 68% 98% 96% (2000): 203-210.
Annunziata [20] 71% 98% 96%
[9] http://www.allaboutvision.com/resources/anatomy.htm
Cheng [21] 70% 99% 96%
[10] https://www5.cs.fau.de/research/data/fundus-images [17] Soares, Joao VB, et al. "Retinal vessel segmentation using
[11] Manjiri, Patwari, et al. "Automated Localization of Optic the 2-D Gabor wavelet and supervised
Disk, Detection of Microaneurysms and Extraction of classification." Medical Imaging, IEEE Transactions
Blood Vessels to Bypass Angiography."Proceedings of on 25.9 (2006): 1214-1222.
the 3rd International Conference on Frontiers of [18] Bankhead, Peter, et al. "Fast retinal vessel detection and
Intelligent Computing: Theory and Applications (FICTA) measurement using wavelets and edge location
2014. Springer International Publishing, 2015. refinement." PloS one 7.3 (2012): e32435.
[12] Patwari, Manjiri B., et al. "Classification and Calculation [19] Nguyen, Uyen TV, et al. "An effective retinal blood
of Retinal Blood vessels Parameters." IEEE's vessel segmentation method using multi-scale line
International Conferences For Convergence Of detection." Pattern recognition 46.3 (2013): 703-715.
Technology, Pune, India. [20] Annunziata, Roberto, et al. "Leveraging multiscale
[13] Rajput, Yogesh M., et al. "Retinal blood vessels hessian-based enhancement with a novel exudate
extraction using 2D median filter." National Conference inpainting technique for retinal vessel segmentation."
in Advances in computing (NCAC13). Vol. 5. 2013. (2015).
[14] Budai, Attila, et al. "Robust vessel segmentation in fundus [21] Cheng, Erkang, et al. "Discriminative vessel segmentation
images."International journal of biomedical in retinal images by fusing context-aware hybrid
imaging 2013 (2013). features." Machine Vision and Applications25.7 (2014):
[15] Frangi, Alejandro F., et al. "Multiscale vessel 1779-1792.
enhancement filtering." Medical Image Computing and
Computer-Assisted InterventationMICCAI98. Springer
Berlin Heidelberg, 1998. 130-137.
[16] Sofka, Michal, and Charles V. Stewart. "Retinal vessel
centerline extraction using multiscale matched filters,
confidence and edge measures." Medical Imaging, IEEE
Transactions on 25.12 (2006): 1531-1546.

Das könnte Ihnen auch gefallen