Professional Documents
Culture Documents
INTRODUCTION
1
1.1 GENERAL REMARKS
2
1.3 RISK FACTORS
All people with diabetes mellitus (Type I diabetes and Type II diabetes) are
at risk. The longer a person has diabetes, the higher the risk of developing some
ocular problem. After 20 years of diabetes, nearly all patients with Type I diabetes
and greater than 60% of patients with Type II diabetes have some degree of
retinopathy. It has been shown that the widely accepted WHO and American
Diabetes Association diagnostic cutoff for diabetes of a fasting plasma glucose
7.0 mmol/l (126 mg/dl) does not accurately identify diabetic retinopathy among
patients.
1.4 TYPES OF DR
Blurred vision
1.6 DIAGNOSIS
Pupil dilation
1.7 DETECTION OF DR
4
system can analyze digital color retinal images for important features of diabetic
retinopathy. These are used to detect the landmarks of retinal image such as optic
disc, blood vessels etc.
CHAPTER 2
LITERATURE SURVEY
5
1.Yannis A. Tolias, and Stavros M. Panas, A Fuzzy Vessel Tracking
Algorithm for Retinal Images Based on Fuzzy Clustering IEEE
TRANSACTIONS ON MEDICAL IMAGING, APRIL 1998
This paper present a new unsupervised fuzzy algorithm for vessel tracking
that is applied to the detection of the ocular fundus vessels. This method
overcomes the problems of initialization and vessel profile modeling that are
encountered in the literature and automatically tracks fundus vessels using
linguistic descriptions like vessel and nonvessel. The main tool for
determining vessel and nonvessel regions along a vessel profile is the fuzzy C-
means clustering algorithm that is fed with properly preprocessed data. Additional
procedures for checking the validity of the detected vessels and handling junctions
and forks are also presented. This paper presented a novel scheme that
automatically tracks vessels in fundus images without the need of user
intervention.
2.M. Elena Martinez-Perez, Alun D. Hughes, Alice V. Stanton, Simon A.
Thom, Neil Chapman, Anil A. Bharath, and Kim H. Parker Retinal
Vascular Tree Morphology: A Semi-Automatic Quantification, IEEE
TRANSACTIONS ON BIOMEDICAL ENGINEERING, AUGUST
2002.
6
In this paper a semi-automatic method to measure and quantify
geometrical and topological properties of continuous vascular trees in clinical
fundus images is described. Measurements are made from binary images obtained
from segmentation process. The skeletons of the segmented trees are produced by
thinning off branch and crossing points are identified and segments of the trees are
labeled and stored as a chain code. The operator selects a tree to be measured and
decides if it is an arterial or venous tree. An automatic process then measures the
lengths, areas and angles of the individual segments of the tree. Geometrical data
and the connectivity information between branches from continuous retinal vessel
trees are tabulated. A number of geometrical properties and topological indexes are
derived.
7
The system proposed here is the first that integrates a reliable tracking technique
with bifurcations and crossing identification, showing the possibility of devising a
fully automatic system for vascular morphology and lesion analysis in retinal
images.
8
SEGMENTATION, CVIT, International Institute of Information
Technology, Hyderabad, India, 2007.
Unsupervised methods for automatic vessel segmentation from retinal
images are attractive when only small datasets, with associated ground truth
markings, are available. This paper presents an unsupervised, curvature-based
method for segmenting the complete vessel tree from color retinal images. The
vessels are modeled as trenches and the medial lines of the trenches are extracted
using the curvature information derived from a novel curvature estimate. The
complete vessel structure is then extracted using a modified region growing
method. Obtaining large datasets with ground truth is essential in developing
robust solutions for vessel segmentation that can be used in mass programs. It is
difficult to achieve as the ground truth generation is a tedious process that demands
patience. This signals the challenges in creating consistent quality and large size
datasets for testing and benchmarking segmentation algorithms. Unsupervised
techniques for segmentation are hence quite attractive in this scenario. In
registration applications, an added strength of this method is it can be simplified by
removing the segmentation stage as the medial axis map provides sufficient corner
(control) points.
9
of the retinal vasculature, and then obtains the skeleton (medial axis) of the
vascular network. Terminal and branching points of the network are then located,
and the network converted into a graph representation including length and
thickness information for all vessels. Finally, a MaxMin approach is used to locate
the central vein: The candidates central vein is the minimal paths from the optic
disk to all terminal nodes found using Dijkstra algorithm. The actual central vein is
selected among the all candidates by maximizing a merit function estimating the
total vessel area in the image. This paper presents a new automatic method to track
the central vein from fundus retinal images. The method uses connectivity and
anatomy information to determine the minimal path in the vessel graph that
maximizes a cost function. For the cost function described here used only length,
connectivity and thickness of the graph arcs.
10
Analysis method with certain modifications which makes the method to be fast and
robust. This is useful when ophthalmologist visits an eye camp, he can get the
retinal images of many patients using fundus camera and once these images are fed
to system, the abnormalities can be easily detected. This reduces the analysis time
and improves the efficiency.
11
9.Huiqi Li, Wynne Hsu, Mong Li Lee*, and Tien Yin Wong,
Automatic Grading of Retinal Vessel Caliber, IEEE
TRANSACTIONS ON BIOMEDICAL ENGINEERING, VOL. 52, NO.
7, JULY 2005.
New clinical studies suggest that narrowing of the retinal blood vessels
may be an early indicator of cardiovascular diseases. One measure to quantify the
severity of retinal arteriolar narrowing is the arteriolar-to-venular diameter ratio
(AVR). The manual computation of AVR is a tedious process involving repeated
measurements of the diameters of all arterioles and venules in the retinal images by
human graders. Consistency and reproducibility are concerns. To facilitate large-
scale clinical use in the general population, it is essential to have a precise, efficient
and automatic system to compute this AVR. In this study the potential of wavelet
analysis for amplitude estimation of perfusion signals in vitro and in vivo was
explored. It was found that FFT and wavelet analysis gave very similar results on
periodic perfusion signals present in the in vitro study.
CHAPTER 3
IMAGE PROCESSING
13
3.1 DIGITAL IMAGE PROCESSING
14
Wavelets and Multi Resolution Processing
Image Restoration
Segmentation
Image Enhancement
Knowledge Base
Image
Acquisition
Object Recognition
15
It is an area that deals with improving the appearance of an image.
Image enhancement is subjective; image restoration is objective, in the sense that
restoration techniques tend to be based on mathematical or probabilistic models of
image degradation.
3.2.4 Compression:
It deals with techniques for reducing the storage required to save an
image, or the bandwidth required to transmit it. Though storage technology has
improved significantly over the past decade, the same cannot be said for
transmission capacity. This is true particularly in uses of the internet, which are
characterized by significant pictorial content. Image compression familiar uses
of computers in the form of image file extensions such as jpg file extension
used in the JPEG (joint photographic experts group) compression standard.
3.2.5 Segmentation:
It procedures partition an image into its constituent parts or objects. In
general, autonomous segmentation is one of the most difficult tasks in digital
image processing. A rugged segmentation procedure brings the process a long
way toward successful solution of imaging problems that required objects to be
identified individually.
16
Description, also called feature selection, deals with extracting attributes that
result in some quantitative information of interest or are basic for differentiating
one class of objects from another.
3.2.7 Recognition:
It is the process that assigns a label (e.g., vehicle) to an object based on
its descriptors.
It deals with tools for extracting image components hat are useful in
the representation and description of shape. The identification of objects within an
image can be a very difficult task. One way to simplify the problem is to change
the grayscale image into a binary image, in which each pixel is restricted to a value
of either 0 or 1. The techniques used on these binary images go by such names as:
blob analysis, connectivity analysis, and morphological image processing (from the
Greek word morphe, meaning shape or form). The foundation of morphological
processing is in the mathematically rigorous field of set theory; however, this level
of sophistication is seldom needed.
17
Image Enhancement is among the simplest and most appealing areas of
digital image processing. Basically, the idea behind enhancement techniques is
to bring out detail that is obscured, or simply to highlight certain features of
interest in an image. A familiar example of enhancement is when its increase
the contrast of an image because it looks better.
18
eye. When optic nerve head is swollen and lesions particularly exudates, are very
near to optic nerve head and if the size and brightness of exudates are same as that
of optic nerve head in that case there is possibility of false detection of optic disc.
The location of optic nerve head is important in retinal image analysis, to
locate anatomical components in retinal images, for vessel tracking, as a reference
length for measuring distances in the retinal images and for registering changes
within the optic disc region due to disease.
Figure 3.2: Retinal images of Optic Nerve Head and Optic Cup
19
approximately twice the diameter of the optic nerve head just below the horizontal
axis of the optic nerve head.
These are one of the main characteristics of DR and can vary in size
from tiny specks to large patches. Hard exudates are bright yellow color with well
defined margins. Weakening of retinal capillary walls and loss of pericyte support,
give rise to microaneurysm formation. Serum lipoproteins leak from
microaneurysms and are deposited as exudates.
20
Figure 3.5: Retinal images of Exudates
These intra retinal deposits are intimately associated with various retinal
pathologies and detection of exudates is quite important for the early diagnosis of
DR.
21
CHAPTER 4
PROBLEM DEFINITION AND
METHODOLOGY
22
two categories, an SVM training algorithm builds a model that assigns new
examples into one category or the other. An SVM model is a representation of the
examples as points in space, mapped so that the examples of the separate
categories are divided by a clear gap that is as wide as possible. New examples are
then mapped into that same space and predicted to belong to a category based on
which side of the gap they fall on. In addition to performing linear classification,
SVMs can efficiently perform a non-linear classification using what is called
the kernel trick, implicitly mapping their inputs into high-dimensional feature
spaces.
SVMs are also useful in medical science to classify proteins with up to 90%
of the compounds classified correctly.
23
histogram equalization, giving rise to contrast limited histogram equalization
(CLHE), which is rarely used in practice. CLAHE was developed to prevent the
over amplification of noise that adaptive histogram equalization can give rise to.
CLAHE operates on small regions in the image, called tiles, rather than the entire
image. Each tile's contrast is enhanced, so that the histogram of the output region
approximately. The neighboring tiles are then combined using bilinear
interpolation to eliminate artificially induced boundaries. The contrast, especially
in homogeneous areas, can be limited to avoid amplifying any noise that might be
present in the image. CLAHE limits the amplification by clipping the histogram at
a predefined value before computing the CDF.
The Canny edge detector is an edge detection operator that uses a multi-
stage algorithm to detect a wide range of edges in images. Canny's aim was to
discover the optimal edge detection algorithm. In this situation, an "optimal" edge
detector means:
Good detection the algorithm should mark as many real edges in the image
as possible.
Minimal response a given edge in the image should only be marked once,
and where possible, image noise should not create false edges.
24
of directions, so the Canny algorithm uses four filters to detect horizontal, vertical
and diagonal edges in the blurred image. The canny edge detector first smoothes
the image to eliminate and noise. It then finds the image gradient to highlight
regions with high spatial derivatives. The algorithm then tracks along these regions
and suppresses any pixel that is not at the maximum.
25
CHAPTER 5
TESTING
5.1 INTRODUCTION
26
Nowadays there are many different methods how to segment the retinal
vasculature from the fundus images. For example, blood vessel segmentation using
wavelet transform, region growing or adaptive filtering have been used. However,
due to the unique properties of each technique, a single generally accepted vessel
detection algorithm does not exist. The main goal of presented method is a fast
blood-vessels segmentation based on two-dimensional discrete wavelet transform
(2D DWT). In this paper I will introduce a method which is composed from four
main parts.
i. Preprocessing
ii. Decomposition by 2D DWT
iii. Thresholding procedure
27
Figure 5.2 Flow Chart for detection of Vasculature
Index t denotes the time (iterations).Original RGB retinal image on the left,
G channel separated from the original RGB image in the middle, G channel image
filtered by an anisotropic diffusion filter on the right. Histogram equalization
28
technique increases the dynamic range of the histogram of an image. It assigns the
intensity values of pixels in the input image such that the output image contains a
uniform distribution of intensities. The algorithm developed uses a morphological
operation to smooth the background and, as a result, veins, hemorrhages and micro
aneurysms can be seen clearly.
29
Figure 5.3 One decomposition level of 2D DWT
5.3.1 Thresholding
The next step is to threshold within each direction in each level. The main
task of thresholding is to highlight high values of wavelet coefficients which
almost correspond to the blood-vessels and suppress small values which
correspond to noise or unimportant structures in the image. The key parameter in
this process is the choice of the threshold value. A good way how to get this value
is to use the histogram of the image. 88 % of the pixels in the wavelet coefficient
image are noise or unimportant structures and only 12 %belongs to the blood-
vessels (determined as a result of the experiments). The threshold value has been
set to brightness value 30, because 88% of pixels are below this value.
30
Figure 5.4The Thresholding procedure
Now it is necessary to reconstruct the final binary image. The first step is to
logically add all thresholded directions in each level (Fig 5.6). So three images
which reflect the segmented blood vessels. Due to the 2D DWT, before adding
those images in a final image, it is necessary to interpolate them to the same size
by bilinear interpolation. However the final image has to be binary. Furthermore
each image includes some noise, which is necessary to remove.
The morphological opening operation erodes an image and then dilates the eroded
image using the same structuring element for both operations with a disc SE where
R = 10. As a result, the objects completely destroyed by the erosion are not
recovered. This behavior is the very basis of the filtering properties of the opening
operator. The image structures are selectively filtered out depending on the
selection of the shape and size of SE. This means, all foreground image structures
that do not contain the structuring element are removed by the opening. The shape
and size of SE are set according to image structures to be extracted.
The opened set is the union of all SEs fitting the set:
(5.1)
(5.2)
33
The image is further processed with a disc SE of R = 18, followed by a
diamond SE of R = 3, each time, and hence the image has its intensity adjusted
before the SE morphs the image. This increases the contrast of the output image J
as it spreads pixel intensities more evenly over the intensity range. The perimeter
and area of the features can be easily extracted from these pre-processed images.
(5.3)
34
Figure 5.5: Morphological Operations are used in the Processing of Binary
Images.
Figures (b) and (c) show how the image is changed by the two most
common morphological operations, erosion and dilation. In erosion, every object
pixel that is touching a background pixel is changed into a background pixel. In
dilation, every background pixel that is touching an object pixel is changed into an
object pixel. Erosion makes the objects smaller, and can break a single object into
multiple objects. Dilation makes the objects larger, and can merge multiple objects
into one.
35
some pixels have the wrong binary value. For instance, it might be known that an
object cannot contain a "hole", or that the object's border must be smooth.
36
CHAPTER 7
RESULT
37
Fig.7.1. Input Retinal (RGB) image
38
Fig.7.2. Intensity Gray Image
39
Fig.7.3. Median Filtered Retinal Image
Filtering is used to suppress the unwanted noise which gets added into
the fundus image. Here median filtering is used as it is very robust and has the
capability to filter any outliers and is an excellent choice for removal of salt and
pepper noise.
40
Fig.7.4. CLAHE Enhanced Retinal Image
41
Fig.7.5. Image Dilation after Thresholding (image A)
42
Fig.7.6. Canny Edge Detected Image (image B)
43
Fig.7.7. Logical AND between image A and image B
44
Fig.7.8. Blood Vessels Detection
The vessel extraction algorithm yields the skeleton of the thicker blood
vessels. These thicker vessels include the main blood vessel and other smaller but
thick vessels emanating from the optic disk.
45
Fig.7.9. Noisy Blood Vessel
46
Fig.7.10. Red Layer Extraction
47
Fig.7.11. Green Layer Extraction
48
CHAPTER 8
CONCLUTION AND FUTUR
ENHANCEMENT
8.1 CONCLUTION
49
abnormality which is based on retinal photography. It is not a final result
application but it can be a preliminary diagnosis tool or a decision support system
for ophthalmologists. Human ophthalmologists are still needed for the cases where
detection results are not very obvious. This type of presentation will enable
clinicians to identify retinal landmarks more quickly and will also help to take
decision while treating the abnormality, particularly retinopathy.
Diabetes affects slowly the circulatory system including that of the retina. So
the vision of a patient may start to deteriorate and lead to diabetic retinopathy. This
work proposes an algorithm for the detection of various stages of diabetic
retinopathy and the degree of blindness from diabetic retinopathy (DR) images of
both left and right eye. This algorithm uses color fundus images obtained from
mydriatic camera. The quantitative performance is evaluated by calculating sensitivity,
specificity and predictive value. Overall sensitivity (Se), specificity (Sp) and predictive
value (PV) obtained in detecting optic nerve head from normal images and from
abnormal images.
50
CHAPTER 9
REFERENCE
51
2. M. Elena Martinez-Perez, Alun D. Hughes, Alice V. Stanton, Simon A. Thom,
Neil Chapman, Anil A. Bharath, and Kim H. Parker Retinal Vascular Tree
Morphology: A Semi-Automatic Quantification, IEEE TRANSACTIONS ON
BIOMEDICAL ENGINEERING, AUGUST 2002.
3. Enrico Grisan, Alessandro Pesce, Alfredo Giani1, Marco Foracchia, and Alfredo
Ruggeri A new tracking system for the robust extraction of retinal vessel
structure, Proceedings of the 26th Annual International Conference of the
IEEE EMBS San Francisco, CA, USA, September2004.
4. Yi Yin, Mouloud Adel, Mireille Guillaume, and Salah Bourennane, A
PROBABILISTIC BASED METHOD FOR TRACKING VESSELS IN
RETINAL IMAGES, IEEE 17th International Conference on Image
Processing, September 2010,
5. Saurabh Garg, Jayanthi Sivaswamy, Siva Chandra, UNSUPERVISED
CURVATURE-BASED RETINAL VESSEL SEGMENTATION, CVIT,
International Institute of Information Technology, Hyderabad, India, 2007
6. Hind Azegrouz, Emanuele Trucco, MAX-MIN CENTRAL VEIN
DETECTION IN RETINAL FUNDUS IMAGES, School of Engineering and
Physical Sciences Department of Electrical Electronic and Computer
engineering, Heriot Watt University,2006.
7. V.Vijaya Kumari, N.SuriyaNarayanan, Diabetic Retinopathy-Early Detection
Using Image Processing Techniques, (IJCSE) International Journal on
Computer Science and Engineering , Vol. 02, No. 02, 2010, 357-361.
8. Neera Singh, Ramesh Chandra Tripathi, Automated Early Detection of
Diabetic Retinopathy Using Image Analysis Techniques , International Journal
of Computer Applications (0975 8887), Volume 8 No.2, October 2010
9. Huiqi Li, Wynne Hsu, Mong Li Lee*, and Tien Yin Wong, Automatic Grading
of Retinal Vessel Caliber, IEEE TRANSACTIONS ON BIOMEDICAL
ENGINEERING, VOL. 52, NO. 7, JULY 2005.
52
10.Akara Sopharak, Bunyarit Uyyanonvara, Automatic exudates detection from
diabetic retinopathy retinal images using Fuzzy C-means and morphological
methods,
53