Abstract
Since the symptoms of the diabetic retinopathy, macular degeneration, and many other eye diseases are often associated with the bright spots, dark spots, and vascular abnormalities in retinal images, this study proposes a retinopathy image segmentation (system) to extract the bright spots, dark spots, and blood vessels from retinal images. Moreover, since a high proportion of diabetic patients suffer from the diabetic retinopathy with the most severe one to be the retinal detachment, the retinal image-based tractional retinal detachment diagnosis system is proposed, as well. Two genetic-based parameter detectors are given to provide the most appropriate values for the parameters used by the retinopathy image segmentation system and the tractional retinal detachment diagnosis system. The experimental results illustrate that the retinopathy image segmentation system and the tractional retinal detachment diagnosis system can provide expressive results in segmenting bright spots, dark spots, blood vessels, and in diagnosing tractional retinal detachment. Both systems are helpful for the ophthalmologists in diagnosing eye diseases.
Introduction
The World Health Organization (WHO) 1 reported in 2004 that approximately 285 million people worldwide are visually impaired, 39 million of whom are blind and 246 million have low vision. Therefore, vision problems have become a crucial health concern worldwide. The WHO also reported that diabetic retinopathy and age-related macular degeneration are critical diseases resulting in vision loss. 2
Many eye diseases are chronic conditions such as macular degeneration, glaucoma, and diabetic retinopathy; however, the patients are frequently unaware of their chronic eye diseases although they have already lost some vision. Early diagnosis of the abnormalities can decrease the probability of visual loss. For example, a high proportion of diabetic patients develop retinopathy, which may cause visual impairment or blindness, substantially influencing patients’ quality of life. Therefore, if diabetic patients with retinopathy can be diagnosed at an early stage, the risk of blindness can be reduced.
Because endocrinologists who treat diabetes possess less knowledge of eye diseases than ophthalmologists, consultations for diabetic patients with ophthalmologists are typically arranged through hospital referrals or document deliveries. However, this process is time-consuming and expensive because of complex procedures and human factors, which may delay treatment and exacerbate the disease.
Ophthalmologists typically interpret retinal images; however, image interpretation may contain errors caused by human influence, resulting from dissimilarities in the diagnosis experience of ophthalmologists. Moreover, the prevalence of retinopathy increases year by year, increasing the number of patients who receive fundus photography. Ophthalmologists require a large amount of time to interpret the vast amount of retinal image data, causing workload increase.
Therefore, it is necessary to develop an image interpretation system to automatically recognize the symptoms of retinopathy. When the retinal abnormality of a patient is detected, the patient must receive treatment to control disease progression to reduce the incidence of blindness. Thus, establishing an automatic interpretation system for symptom recognition is important.
In a retinopathy image, the white or bright yellow area signifies the following symptoms:
Hard exudates, which are composed of the deposition of protein and lipid materials, marked by the arrow in Figure 1(a).
Cotton wool spots, which are gray or bright spots similar to cotton wool or fluff with irregular shapes and unclear boundaries, denoted by arrow 1 in Figure 1(b).

Symptoms of retinopathy: (a) hard exudates, (b) cotton wool spots and capillary hemangioma.
In addition, the dark red areas indicate the following symptoms:
Capillary hemangiomata, appearing as tiny bumps with colors ranging from red to purple.
Hemorrhages, expressed as small petechiae with circular or irregular shapes, denoted by arrow 2 in Figure 1(b).
Microvascular abnormalities or hyperplasia: microvessels are distorted or exhibit uneven thickness (Figure 2).

Microvascular abnormalities or hyperplasia.
Tractional retinal detachment occurs when scar tissue on the retina’s surface contracts and causes the retina to pull away from the retinal pigment epithelium. Diabetes can lead to issues with the retinal vascular system and cause scar tissue in the eye that could cause detachment. Tractional retinal detachment may cause blindness in serious cases (Figure 3).

Tractional retinal detachment.
However, the retinal images obtained from fundus photography frequently exhibit uneven brightness, as shown in Figure 4(a). The area denoted by the arrow exhibits noise interference, which may influence the diagnosis process and results. Additionally, images may be overly blurry and fail to provide a clear symptom boundary. Therefore, the areas denoting specific symptoms in an image cannot be accurately segmented for further recognition (Figure 4(b)). When an image is captured, lighting can be adjusted to produce images with varying brightness; thus, retinal images even for the same symptom and the same patient may differ in color and brightness. For example, part of the image in Figure 4(c) is brighter than optic disk and part of the image in Figure 4(d) is very dark. Therefore, segmenting the optic disk from a retinopathy image is difficult.

Retinal images: (a) brightness of image is uneven, (b) the optic disk is indistinct, (c) part of the image is very bright, and (d) part of the image is very dark.
After a retinal image is converted into a gray-level image, the symptoms visible in the gray-level image exhibit varying levels of brightness. For example, hard exudates and cotton wool spots are brighter than capillary hemangiomata, hemorrhages, and blood vessels. Therefore, the areas of bright spots, dark spots, or vessels in the image should be targeted and segmented for image detection to facilitate physicians’ symptom recognition.
This study proposes a retinopathy image segmentation (RIS) system to correctly segment the regions of bright spots, dark spots, and vessels from a retinal image. The RIS system can precisely segment the regions of bright spots, dark spots, and vessels from a retinal image. It is indifferent to noise in the image. This study also proposes a retinal-image-based tractional retinal detachment diagnosis (TRDD) system to automatically diagnose tractional retinal detachment in patients.
RIS system
One of the aims in this study is to segment the bright spots, dark spots, and blood vessels from retinal images helping physicians identify the symptoms of retinal abnormalities. Hence, the bright spots, dark spots, and blood vessels are the regions of interest (ROI) which the RIS system expects to segment. The RIS system comprises three stages:
Preprocessing: extract the retinal area from a retinal image;
Bright-spot segmentation: segment the bright spots from the segmented retinal area;
Dark-spot and vessel segmentation: segment the dark regions from the segmented retinal area (including dark spots and blood vessels), and then separate dark spots and blood vessels in the segmented dark regions.
Image preprocessing
First, the RIS system transforms a color retinal image
where

(a) Original image, (b) gray-level image, (c) result obtained by Otsu’s thresholding method, and (d) result obtained by opening operation.
Because the background of a retinopathy image does not encompass ROI—bright spots, dark spots, and blood vessels, the RIS system then removes the background of the retinal image
where 0 and 1 denote black and white pixels in
The biggest white region in
On a retinal color image, RGB three-color components are, respectively, considered to three gray-level images, namely,

A (a) color image and its (b)
To facilitate the segmentation of the bright spots, dark spots, and blood vessels from
where

(a) The
Bright-spot segmentation
This subsection describes the bright-spot segmentation in detail from the retinal region in
A retinal image may be taken with various lighting angles which may result in uneven brightness on the image. For example, in Figure 7(a), some bright spots are located in the darker area while others are located in the brighter area. Only using a global threshold cannot be effectively used to extract the bright spots from the image. In this study, PCF is proposed to solve this problem.
Let
The gray levels of
where
There may be noise (indicated by red arrows) in Figure 7(b) displaying the bright spots segmented from Figure 7(b) with
Dark-spot and vessel segmentation
This subsection explicates the segmentation of dark spots and vessels from the retinal region of
In this stage, a 3 × 3 mean filter
5
is first used to eliminate noise in

The processing procedure of dark area segmentation: (a) the image
The gray levels of
Some noise may appear and the contours of blood vessels may be disconnected in image
Figure 9 shows the

The
After that, the RIS system generates a binary image
where
In image

The segmentation results of dark spots and vessels from image
Genetic-based parameter detector–retinopathy image segmentation method
In this subsection, a genetic algorithm, called the genetic-based parameter detector–retinopathy image segmentation (GBPD-RIS) method, is used to determine the appropriate values of the parameters used in the RIS system. The segmentation results of the RIS system are considerably influenced by the parameters
In the accumulated historical data, ground truth are the contours of bright spots, dark spots, and vessels manually drawn by ophthalmologists. Precision and Recall scores
7
are often used to measure the image segmentation results. True positive (TP) is the number of pixels which are considered to the pixels in ROI by the segmentation method and the ground truth. False positive (FP) is the number of pixels which are considered to the pixels in ROI by the segmentation method but not in the ground truth. False negative (FN) is the number of pixels which are considered to the pixels in ROI by the segmentation method but it is not. Precision and recall are then defined as:
In the GBPD-RIS method, each chromosome is divided into eight substrings
Then, the values of the parameters
Initially, the GBPD-RIS method randomly generates
In the crossover operation,
In the selection operation, the GBPD-RIS method selects
TRDD system
The second purpose of this study is to develop a TRDD system to automatically diagnose tractional retinal detachment disease based on patient’s retinal image. The TRDD system contains three steps: gray-level co-occurrence matrix (GLCM) analysis, bilayer feature matching (BFM), and GBPD-TRDD method. In the GLCM analysis step, the red and green components of the retinal image (i.e. the mages in Figure 11) are used to create co-occurrence matrixes. BFM is then conducted. Specifically, for each retinal image, GLCM is employed to calculate four features: contrast, dissimilarity, correlation, and inverse difference moment. To increase the recognition rate of the TRDD system, K-means clustering 8 is conducted repeatedly to categorize an image set into small classes. The number of small classes will be determined by a genetic-based algorithm, which is also adopted to determine the most suitable parameter values for increasing the recognition rate of the TRDD system.

The red, green, and blue color component images of a retinal image: (a) original color image, (b) red color component image
GLCM analysis
Co-occurrence matrix (GLCM) is a frequently used texture analysis method in image processing and pattern recognition.
9
This study will take it to describe the characteristics of a gray-level image
where
Co-occurrence texture statistics.
For a color retinal image
BFM
The TRDD system divides the accumulated historical retinal images into two sets: one consisting of the retinal images taken from the patients with tractional retinal detachment, and the other containing the retinal images taken from healthy normal persons. Let
Figure 12(a) shows two data sets

Example for the bilayer feature matching method: (a) an input data
To deal with the problem mentioned above, the BFM method categorizes all the data in one set into some small classes. When given a datum
where
In the
where
GBPD-TRDD method
The performance of the TRDD system is considerably affected by the parameters
where
Experimental results and discussions
This section is to investigate the performances of the RIS system and the TRDD system by experiments based on the images downloaded from structured analysis of the retina (STARE) retinal image database. 11 The STARE database provides the symptom locations marked by professional physicians. Moreover, the retinal images in the database were all taken by the TopCon TRV-50 fundus camera with a 35° field of view. Each image consists of 605 × 700 pixels with eight bits per RGB channel. 11
The performances of the RIS system
Experiment 1 is to derive the optimal values for the parameters
The most suitable values of the parameters used by the retinopathy image segmentation system.
In experiment 2, the RIS system and Eddins’ 12 watershed method are used to segment the bright and dark spots. Tables 3 and 4 demonstrate the experimental results. Recall, precision, and F-score are used to explain the effectiveness of the segmentation methods. Table 3 explains that the RIS system provides a lower recall than the watershed method does. However, the RIS system gives much higher precision and F-score than the watershed method does. Figure 13 shows the segmentation results for some test images. From Figure 13, one can obviously observe that Eddins’ watershed method loses much more areas of bright spots while the RIS system give a little quantity of bright-spot areas which are not in the round truth. Table 4 explains that the RIS system gets far higher recall, precision, and F-score than Eddins’ watershed method does. Figure 14 shows the segmentation results for some test images. Figure 14 displays that the RIS system is much superior to Eddins’ watershed method in extracting dark spots from a retinal image.
Bright-spot segmentation results.
RIS: retinopathy image segmentation.
Dark-spot segmentation results.
RIS: retinopathy image segmentation.

Bright-spot segmentation: (a) and (b) the ground truth on two image; (c) and (d) the results obtained by the retinopathy image segmentation system; (e) and (f) the results obtained by Eddins’ watershed method.

Dark-spot segmentation: (a) and (b) the ground truth on two image; (c) and (d) the results obtained by the retinopathy image segmentation system; (e) and (f) the results obtained by Eddins’ watershed method.
Experiment 3 is to extract blood vessels from retinal images by the RIS system, Mendonca’s method, 13 and Hoovers’ method. 14 Table 5 exhibits the experimental results and Figure 15 shows the segmentation results for some test images. The effect of blood vessel segmentation achieved by the RIS system is better than those obtained by Mendoncas’ method and Hoovers’ method.
Blood vessel segmentation results.
RIS: retinopathy image segmentation.

Blood vessel segmentation: (a) and (b) the ground truth on two image; (c) and (d) the results obtained by the retinopathy image segmentation system; (e) and (f) the results obtained by Mendonca’s method; (g) and (h) the results obtained by Hoovers’ method.
The performances of the TRDD system
Next experiment is to derive the optimal values for the parameters
The optimal values of the parameters used by the tractional retinal detachment diagnosis system.
The last experiment is to investigate the performance of the TRDD system based on the 53 test images. The experimental results indicate that the TRDD system achieves an accurate rate of 92% in diagnosing tractional retinal detachment.
Conclusion
The patients suffering from hard exudates and cotton wool spots usually have common symptom bright spots in their retinopathy images, and the ones suffering from capillary hemangiomata, hemorrhages, and vascular abnormality usually have common symptom dark spots in their retinopathy images, and they may lead to vascular malformations. This study hence proposes the RIS system to segment the bright spots, dark spots, and blood vessels in retinal images. Additionally, retinal detachment caused by proliferative diabetic retinopathy is a primary factor causing vision loss. The TRDD system is also developed to automatically diagnose tractional retinal detachment based on retinal images.
In this study, PCF and native cross filtering are presented to eliminate the influence of uneven brightness on the image caused by uneven light exposure. The BFM method is proposed to promote the performance of the TRDD system. The GBPD-RIS and GBPD-TRDD methods are provided to determine the most suitable parameters used in the RIS system and the TRDD system. The RIS system and the TRDD system can give impressive experimental results.
Footnotes
Academic Editor: Stephen D Prior
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
