Вы находитесь на странице: 1из 5

Automated Microaneurysms Detection in Fundus

Images Using Image Segmentation

Syna Sreng, Noppadol Maneerat Kazuhiko Hamamoto


Faculty of Engineering School of Information and Telecommunication Engineering
King Mongkut’s Institute of Technology Ladkrabang Tokai University
Bangkok, Thailand Tokyo, Japan
srengsina@yahoo.com hama@keyaki.cc.u-tokai.ac.jp
kmnoppad@kmitl.ac.th

Abstract— Diabetic retinopathy is one of the complicated country, and most of them are living in Bangkok [3]. This
diseases which occurs in diabetic patients when the affects damage means that it is quite difficult to find the ophthalmologists in
the retina. The eyes vision can lead to be lost in case of late the provinces, especially in the rural area. Therefore, the
treatment. Microaneurysms are the earliest detectable automatic system for primary screening of DR is so useful in
abnormalities of diabetic retinopathy, so the automated detection
of the lesions is essential and useful task. This paper proposed a
this task to help the ophthalmologists.
simple method to detect microaneurysms based on its
characteristics in fundus images using some techniques in image
segmentation. First, we preprocessed to reduce image noise and
improve the contrast. Then we segmented them using Canny edges
detection and maximum entropy thresholding. The characteristics
of microaneurysms which appear as small red dots and circular
shape are the specific points to discriminate them from the other
lesions as well as the anatomical structures of the fundus image by
applying area and eccentricity methods. Finally, the
morphological operation was applied to mark out these symptoms.
The results were analysis by ophthalmologist in order to define
system accuracy and preciseness. According to results of
comparison, we found that the accuracy is 90 % and the average
processing time is 9.53 seconds per image.

Keywords— microaneurysms; diabetic retinopathy; fundus


image; Canny edges detection; maximum entropy thresholding;

I. INTRODUCTION Fig. 1. Microanuerysms in retinal image.


Diabetes is one of the well-known diseases in the world.
When it affects on the eye, we called Diabetic Retinopathy In clinical environment, the brightness and contrast of the
(DR). The effected eyes vision can lead to blindness in case of backround in fundus images still remaind the main obstracles
late treatment. MIcroaneurysms (MIs) are the first sign of DR, for DR lesions detection. Therefore, there have been many
so the early detection and timely treatment of the lesions can researchers try to propose new ideas to detect the lesions. The
save the patients’ visions. Therefore, timely examination at approaches for MIs detection presented in the literatures can be
least once every year should be done for all people with diabete. roughly divided into different types such as mathematical
morphology [5-6] base analyzes on the characteristics of MIs
According to [1], the report from Novo Nordisk Pharma (size, pixel range, shape etc.). The average values of the HSV
(Thailand) Ltd, there are about 382 million people worldwide color model were defined by the color of MIs in the images with
have some forms of diabetes. Among all of them, the estimated area and eccentricity methods were used in [7]. In [8], the
3.2 million Thai adults have diabetes; 6.4 percent of the adult authors propose a method to detect MIs based on eigenvalue
population. This number will increase to 4.3 million by 2035. analysis using the Hessian matrix. Supervised learning method
The total amount around 6 million people are sufering by [9] train the algorithm with 21 images to classify MIs
diabete in Thailand based on the suvey in [2], and 30 percent of candidates based on kernel density estimation. Support Vector
them are affected by DR. With this amount, the number of eyes Machines[10] was applied to classify MIs candidates after
need to be examined are at least about 12 million for each year. extracting the features using different morphological
However, the numbers of ophthalmologists are limited in operations. The same classification method was applied in [11]
Thailand. There are approximately 1000 people in the whole after applying top hat transformation in features extraction step.

978-1-5090-5210-3/17/$31.00 ©2017 IEEE


and morphological operation to remove the blood vessels. In step. After that the inverse discrete 2D wavelet transforms and
[12], the proper threshold value was selected first, then the optic medians filter are applied to remove noise and improve the
disk area and blood vessels were eliminated by applying quality of the image.
morphological operation. Finally, the MIs candidates were
classified by support vector machine algorithm. ݂஻ ൌ ‫ܥ‬௙೛೎ೌ ሺ‫ܯܫ‬ሻ (1)
The above proposed methods seem complicated and take where ݂஻ image is resulted image from the conversion of ݂௣௖௔
time to proceed. So, this paper develops a simple method to image by using Inverse 2D wavelet transforms (I) and Medians
detect MIs based on its characteristics with four processing filter (M).
steps. First, preprocessing step is applied to reduce noise and
improve the contrast of the image. Then Canny edges detection Finally, the resulted images in preprocessing step are
is used to define the lesions containing on the retinal image. shown in Fig. 3.
Since these lesoins contain also the bright lesoins, maximum
entropy thresholding method is suitable to define these bright
lesoins for substracting from the result. After that, the areas of
MIs are selected based on the eccentricity and area methods.
Finally, the MIs symptoms are marked out by morphological
algorithm.
The rest of this paper is organized as follows: section II,
proposed method was deeply described. Section III, the
performance of result and discussion were demonstrated and
finally, section IV is conclusion.
II. METHODOLOGY
Four processing steps are proposed for MIs detection: A.
Prepocessing step, B. Microaneurysms extraction, C. Small
bright features filtering and finally D. Microaneurysms
detection. The block diagram of the processing steps is shown
in Fig. 2.

T
Pre- Microaneurysms
processing Extraction Fig. 3. Preprocessing step

B. Microaneurysms Extraction

Fig.4 shows the process for filtering out the small lesions
in the retinal image. First, Canny edges detection is applied to
݂஻ image. This transformation is used to track all features which
Microaneurysms Small Bright Features
appear with edges inside ݂஻ image by using fudge factor ߙ௙
Detection Filtering
which assumes its value as 0.5.
Fig. 2. Block diagram of microaneurysms detection ݂஼௔௡௡௬ ൌ ܶ௙ಳ ሺߙ௙ ሻ (2)
A. Preprocessing Step
where ݂஼௔௡௡௬ image is resulted image from the transformation
The bad contrast, illumination and color inside the fundus of ݂஻ image by using Canny edges detection with the fudge
images are very complicated in the detection of MIs. factor ߙ௙ ൌ ͲǤͷ.
Preprocessing step is the first and important step to solve these The appeared lesions can be defined as the closed curve
problems. inside ݂஼௔௡௡௬ image so, then all holes are filled to mark them
In this research, first the images were resized to 576 x 720 out.
pixels in order to reduce the processing time. There are several
݂ு ൌ ݂݈݈݅݉݅ሺ݂஼௔௡௡௬ ǡ Ԣ݄‫݈݁݋‬Ԣሻ (3)
different color models in the literature and all color models have
their own advantages. Therefore, the testing process is the best
choice to find the best grayscale conversion method. Grayscale where ݂ு image is the resulted image of filling the holes in the
conversion in the LAB color model was selected (݂௣௖௔ image). ݂஼௔௡௡௬ image.
Next the ݂௣௖௔ image is complemented to reverse the intensity After marking out, all lesions can be filtered out by
subtracting the ݂஼௔௡௡௬ image from the ݂ு image.
values for the desired lesions become easier in thresholding
݂௅ ൌ ݂ு െ  ݂஼௔௡௡௬ (4) ݂஼ ൌ ‫ܥ‬௙೒ ሺ‫ܯܥ‬ሻ (7)

where ݂௅ image is the resulted image from subtracting the where ݂஼ image is resulted image from the conversion of ݂௚
݂஼௔௡௡௬ image from the ݂ு image. image by using Contrast-limited adaptive histogram
equalization (C) and Medians filter (M).
MIs are defined as red dots with the round shape and a
diameter Ȝ < 125ȝm [13]. With this characteristic, we have to To define both low and high levels of bright features
consider both the area and shape of MIs. The area of MIs can without affect to the background in retinal image, double
be found in the range of pixels from 7 to 15 in an image of 576 thresholds using maximum entropy thresholding [14] are
x 720 pixels. After that the group of pixels with the pixels’ applied. The first step is used to define the high level of bright
range from 7 to 15 are defined by area method. features, and then the resulted image is used to eliminate
themselves out from ݂஼ image. Next, maximum entropy
݂஺ ൌ ܴ௙ಽ ሺ‫ܽ݁ݎܣ‬ሻ (5) thresholding is applied again to define the low level of bright
features.
݂௧௪௢ ൌ ‫ܧ‬௙೒ ሺʹ‫ܮ‬ሻ (8)
where ݂஺ image is the resulted image from removing all group
of pixels which are out of range from 7 to 15 from ݂௅ image. where ݂௧௪௢ image is obtained after elimination 2 Levels (2L) of
Finally, the shape of MIs can be found by eccentricity bright features from ݂஼ image.
method with the values from 0.8 to 1. The value of eccentricity Since the result contains also some noises from the
is range from 0 (line) to 1 (circle). background , the big groups of pixels which are more then 3,000
pixels are removed out. They are considered as the background
݂஺௟௟ ൌ ܴ௙ಲ ሺ……ሻ (6) of the retina.

where ݂஺௟௟ image is the resulted image from removing all group ݂௕௥௜௚௛௧ ൌ ܴ௙మಽ ሺ‫ܲܩܤ‬ሻ (9)
of pixels with the values of eccentricity are out of range from
0.8 to 1 from ݂஺ image. where ݂௕௥௜௚௛௧ image is the resulted image from removing all Big
Group of Pixels (BGP) from ݂ଶ௅ image.
The resulted image ݂஺௟௟ here contains all small lesions
which the shape and diameter are similar with MIs. Therefore, Finally, small bright features is defined by appliying
the bright lesions in section C need to define to eliminate them AND-operator between the ݂஺௟௟ and ݂௕௥௜௚௛௧ images.
from the final result.
݂ௌି௕௥௜௚௛௧ ൌ ‫ܦܰܣ‬ሺ݂஺௟௟ ǡ ݂௕௥௜௚௛௧ ሻ (10)

The resulted images for small bright features filtering are


illustrated in Fig. 5.

a. b.

c. d.

Fig. 4 Microaneurysms extraction

C. Small Bright Features Filtering


For bright features detection, we preprocess by selecting
green channel in RGB color model (݂௚ image) and apply
contrast-limited adaptive histogram equalization to improve the Fig. 5 Small bright features filtering
contrast. After that, median filter is used to reduce noise.
D. Microaneurysms Detection ophthalmologist shows that 90% of MIs detections were
successful. The average of processing time is 9.53 seconds per
After small bright features are detected, we can eliminate
image using a laptop with Intel Dual core CPU and Ram 2 GB.
these features by subtracting them out from the result of
microaneurysms extraction as shown in equation (11). IV. CONCLUSION
This paper proposed a simple method for automated MIs
݂ெூ௦ି௠௔௦௞ ൌ ݂௔௟௟ െ  ݂ௌି௕௥௜௚௛௧ (11)
detection in fundus images. It is a part of DR lesions detection
system which is very important to help the ophthalmologists for
where ݂ெூ௦ି௠௔௦௞ image is the resulted image from subtracting primary DR screening. To develop this robust MIs descriptor,
the ݂ௌି௕௥௜௚௛௧ image from the ݂௔௟௟ image. four processing steps were proposed based on the
characteristics of MIs as mentioned in the above section. Given
Finally, we overlaid the resulted ݂ெூ௦ି௠௔௦௞ image on the a success rate of 90 % on MIs detection with the average
original retinal image to mark out these lesions by using processing time 9.53 seconds per image, the proposed method
morpological reconstruction. is acceptable for time consuming process. However, we needs
carefully examine the reason of failure in some cases in the
݂ெூ௦ ൌ ܴ௙ಷೠ೙೏ೠೞ ሺ݂ெூ௦ି௠௔௦௞ ൯ (12)
future work.
where ݂ெூ௦ି௠௔௦௞ is the mask image, ݂ி௨௡ௗ௨௦ is the original ACKNOWLEDGMENT
image, and ݂ெூ௦ image is the result of Mis detection.
We would like to acknowledge Asian University Network
Fig. 7 illustrates the result of microaneurysms detection. (AUN/SEED-Net) for financial support one of the authors (Mr.
Syna Sreng) for his study at King Mongkut’s Institute of
Technology Ladkrabang (KMITL), THAILAND.

REFERENCES
[1] National Epidemiology Board of Thailand “The diabetes epidemic and its
impact on Thailand”
http://www.novonordisk.com/content/dam/Denmark/HQ/aboutus/docum
ents/Thailand-BB.pdf
[2] T. Chetthakul, C. Deerochanawong, S. Suwanwalaikorn, N.
Kosachunhanun, C. Ngarmukos, P. Rawdaree, et al., “Thailand diabetes
registry project: prevalence of diabetic retinopathy and associated factors
in type 2 diabetes mellitus,” J Med Assoc Thai 89, no. Suppl 1, S27-36,
2006.
[3] Hutchinson A, McIntosh A, Peters J, Home P, Feder G, Baker R, Forrester
J, Alexander W, Eltringham-Cox A, Greenwood R, Grimshaw G, Hine C,
Khunti K, Wilson A, Woodward G, (2001) “Clinical guidelines and
evidence review for Type 2 diabetes: Diabetic retinopathy: early
management and screening” Sheffield: ScHARR, University of Sheffield.
[4] Jones CD, Greenwood RH, Misra A, Bachmann MO. Incidence and
progression of diabetic retinopathy during 17 years of a population-based
screening program in England. Diabetes Care. 35(3):592-6. Epub
Fig. 7. Blood vessels detection 2012/01/27.
[5] A. Sopharak, B. Uyyanonvara, S. Barman, and T. Williamson, Automatic
III. RESULTS microaneurysm detection from non-dilated diabetic retinopathy retinal
images. In Proceedings of the World Congress on Engineering, vol. 2, pp.
579 fundus images from Bhumibol Adulyadej Hospital 6-8. 2011.
and 89 images from online database (DIARETDB1) were used [6] R. Murugan, R. Korah, S.N. Fathima, and T. V. Haritha, Microaneurysms
detection methods in retinal images using mathematical morphology.
in this paper. The image resolution varies from 1500 x 1152 Ophthalmology, 110 (2003), 1679-80.
pixels (DIARETDB1) to 3872 x 2592 pixels (local database) in
[7] P. Yunuch, N. Maneerat, D. Isarakorn, B. Pasaya, R. Panjaphongse, and
24 bit PNG and JPEG format. These images contain all lesions R. Varakulsiripunth. Automatic microaneurysms detection through retinal
related to DR (microaneurysms, hemorrhages, cotton-wool color image analysis. In Information Technology and Electrical
spots, exudate, etc.) and healthy images. Engineering (ICITEE), 2013 International Conference on pp. 36-40,
IEEE, October 2013.
In this paper, the performance evaluation has been done [8] T. Inoue, Y. Hatanaka, S. Okumura, C. Muramatsu, and H. Fujita,
over all the images by the verification of an ophthalmologist. Automated microaneurysm detection method based on eigenvalue
analysis using hessian matrix in retinal fundus images. In Engineering in
The ophthalmologist verifies the detection results for all test Medicine and Biology Society (EMBC), 2013 35th Annual International
image sets based on the values of sensitivity and specificity. Conference of the IEEE, pp. 5873-5876, July 2013.
The accuracy is the overall correctness of the system and is [9] T. Walter, P. Massin, A. Erginay, R. Ordonez, C. Jeulin and J. C. Klein,
calculated as the sum of correct classifications divided by the Automatic detection of microaneurysms in color fundus images. Medical
total number of classifications. The results from the image analysis, 11(6) (2007), 555-566.
[10] P. Adarsh and D.Jeyakumari, A Novel Method for Micro Aneurysm innovations in intelligent instrumentation, optimization and electrical
Detection and Diabetic Retinopathy Diagnosis. International Journal of sciences ICIIIOES (11), pp. 18-22, Jul 12, 2013.
Computer Applications (0975 – 8887), International Conference on [13] B. Dupas, T. Walter, A. Erginay et al., “Evaluation of automated fundus
Innovations In Intelligent Instrumentation, Optimization And Signal photograph analysis algorithms for detecting microaneurysms,
Processing. (ICIIIOSP), 2013. haemorrhages and exudates, and of a computer-assisted diagnostic system
[11] J. Prakash, and K. Sumathi, Detection and Classification of for grading diabetic retinopathy,” Diabetes & Metabolism 36(3), 2010,
Microaneurysms for Diabetic Retinopathy. International Journal of pp. 213-220.
Engineering Research and Applications (IJERA) ISSN: 2248-9622 [14] S. Sreng, J. I. Takada, N. Maneerat, D. Isarakorn, R. Varakulsiripunth, B.
National, Conference on Advanced ommunication & Computing Pasaya, and R. Panjaphongse, Feature extraction from retinal fundus
Techniques (NCACCT), March 19, 2013. image for early detection of diabetic retinopathy. In Humanitarian
[12] C. Aravind, M. Ponnibala, S. Vijayachitra, Automatic detection of Technology Conference (R10-HTC), 2013 IEEE Region 10, pp. 63-66,
microaneurysms and classification of diabetic retinopathy images using August 2013
SVM technique. In IJCA Proceedings on international conference on

Вам также может понравиться