<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JBiSE</journal-id><journal-title-group><journal-title>Journal of Biomedical Science and Engineering</journal-title></journal-title-group><issn pub-type="epub">1937-6871</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jbise.2017.105B010</article-id><article-id pub-id-type="publisher-id">JBiSE-76949</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject></subj-group></article-categories><title-group><article-title>
 
 
  Automated Diabetic Retinopathy Detection Using Bag of Words Approach
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Monzurul</surname><given-names>Islam</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Anh</surname><given-names>V. Dinh</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Khan</surname><given-names>A. Wahid</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Electrical and Computer Engineering, University of Saskatchewan, Saskatoon, Canada</addr-line></aff><pub-date pub-type="epub"><day>10</day><month>05</month><year>2017</year></pub-date><volume>10</volume><issue>05</issue><fpage>86</fpage><lpage>96</lpage><history><date date-type="received"><day>April</day>	<month>22,</month>	<year>2017</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>June</month>	<year>13,</year>	</date><date date-type="accepted"><day>June</day>	<month>16,</month>	<year>2017</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   
   Imaging and computer vision systems offer the ability to study quantitatively on human physiology. On contrary, manual interpretation requires tremendous amount of work, expertise and excessive processing time. This work presents an algorithm that integrates image processing and machine learning to diagnose diabetic retinopathy from retinal fundus images. This automated method classifies diabetic retinopathy (or absence thereof) based on a dataset collected from some publicly available database such as DRIDB0, DRIDB1, MESSIDOR, STARE and HRF. Our approach utilizes bag of words model with Speeded Up Robust Features and demonstrate classification over 180 fundus images containing lesions (hard exudates, soft exudates, microaneurysms, and haemorrhages) and non-lesions with an accuracy of 94.4%, precision of 94%, recall and f1-score of 94% and AUC of 95%. Thus, the proposed approach presents a path toward precise and automated diabetic retinopathy diagnosis on a massive scale. 
  
 
</p></abstract><kwd-group><kwd>Diabetic Retinopathy</kwd><kwd> Bag of Words</kwd><kwd> Speeded Up Robust Features</kwd><kwd> Hard Exu-dates</kwd><kwd> Soft Exudates</kwd><kwd> Microaneurysms</kwd><kwd> Haemorrhages and SVM</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>World Health Organization on global report on diabetes, 2016, estimates that the number of people with diabetes has risen from 108 million in 1980 to 422 million in 2014. One of the major complications associated with diabetes is diabetic retinopathy (DR) which leads to visual impairment in long term. One out of three diabetic person demonstrates signs of DR [<xref ref-type="bibr" rid="scirp.76949-ref1">1</xref>] and one out of ten suffers from its most severe and vision threatening forms [<xref ref-type="bibr" rid="scirp.76949-ref2">2</xref>]. Diabetic retinopathy results in formation of new retinal blood vessels and also leakage from retinal tissues and blood vessels. Diabetic retinopathy is characterized by group of lesions such as hard exudates, soft exudates, microaneurysms, and haemorrhages. Hard exudate, often arranged in clumps or rings, appears as yellowish-white deposits with sharp margins. The debris accumulation appearing as fluffy white lesions in the retinal Nerve Fibre Layer is called soft exudates or cotton wool spots. The red spots with irregular margin and sharp edges are called hemorrhages and microaneurysms respectively. <xref ref-type="fig" rid="fig1">Figure 1</xref> illustrates some samples of normal and DR images.</p><p>Due to the increasing number of diabetic patients and the requirement of continuous monitoring on retinal status, the limited number of ophthalmologists cannot satisfy the huge demand. In order to assist in reducing the burden on retina specialists and providing the mass population with retina checking facility, the automation in the screening process is a demand of time. A computer vision assisted automatic system can help to reduce the specialist's burden and the excessive processing time. It can narrow down the search to the most severe and meticulous one and then based on computer feedback, human expert can perform screening more efficiently.</p><p>Over the years, several methods have been developed for the automatic detection of diabetic retinopathy in color fundus images. Abr&#224;moff et al. proposed an early treatment diabetic retinopathy study protocol for automatic DR detection using 10,000 fundus images and obtained an area under curve (AUC) of 0.84 [<xref ref-type="bibr" rid="scirp.76949-ref3">3</xref>]. According to the guideline of National Institute for Clinical Excellence, UK, Usher et al. developed a DR screening tool with 1273 patients with a sensitivity of 95.1% and specificity of 46.3% [<xref ref-type="bibr" rid="scirp.76949-ref4">4</xref>].</p><p>For automated detection of microaneurysms (MA), several attempts have been made based on morphological operations and top-hat transformation by</p><fig-group id="fig1"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Samples of retinal fundus images: (a) (b) and (c) are normal and (d) (e) and (f) contain lesions of diabetic retinopathy.</title></caption><fig id ="fig1_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x2.png"/></fig><fig id ="fig1_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x3.png"/></fig></fig-group><p>structuring element [<xref ref-type="bibr" rid="scirp.76949-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.76949-ref6">6</xref>]. An algorithm to detect the optic disk (OD), blood vessels and fovea was developed in [<xref ref-type="bibr" rid="scirp.76949-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.76949-ref8">8</xref>]. Perumalsamy et al. have developed Aravind Diabetic Retinopathy Screening 3.0 (ADRES3.0) CAD system using 210 images and achieved an accuracy of 81.3% by comparing the performance with ophthalmologists grading [<xref ref-type="bibr" rid="scirp.76949-ref9">9</xref>]. In recent years, many researchers proposed system for the automatic identification of features for DR to aid the automated diagnosis [<xref ref-type="bibr" rid="scirp.76949-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.76949-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.76949-ref12">12</xref>]. However, there is still a need for further improvement in diagnostic accuracy.</p><p>This proposed algorithm demonstrates the discrimination between normal and diabetic retinal images without prior need for segmentation of blood vessel and optic disk. The rest of the paper is organized as follows: Section 2 describes the dataset of our work and the proposed approach is explained in Section 3. The experimental results are presented in Section 4 and finally Section 5 concludes the paper including some future directions.</p></sec><sec id="s2"><title>2. Materials</title><p>Retinal fundus images, captured clinically by intricate microscope, are not easily accessible as they contain confidential information related to the subjects (patients). However, only for clinical research and experimental purposes, some retinal fundus databases have been made publicly available. Our experimental dataset is composed of normal and diabetic retinal fundus images collected from the following publicly available databases:</p><p>・ DRIDB0 and DRIDB1: http://www.fer.unizg.hr/ipg/resources/image_database</p><p>・ MESSIDOR: http://messidor.crihan.fr</p><p>・ STARE: http://www.ces.clemson.edu/~ahoover/stare/</p><p>・ HRF: http://www5.cs.fau.de/research/data/fundus-images/</p></sec><sec id="s3"><title>3. Methodology</title><p>The proposed method is based on the bag of words (BOW) approach to automatically discriminate between normal and diabetic retinal fundus images. In an image, every local patch or region contains descriptor which lands a point in high dimensional feature space. In this work, the Speeded Up Robust Features (SURF) interest points are detected and SURF features are extracted from the preprocessed images. Those features are allocated to some clusters by applying K-means clustering algorithm. The cluster centers represent visual words and these words altogether form the vocabulary or bag of words. Now, each individual feature in the image is quantized to the nearest word (cluster center) and thus an entire image is represented by a histogram where each bin indicates the frequency of a word within that vocabulary, i.e., bag of words. The number of bins of the resultant histogram is as the same as the number of words in the vocabulary. On the next step, every histogram is encoded to a one dimensional feature array and then fed to the classifier. The flowchart of proposed algorithm is presented in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Algorithm overview</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x4.png"/></fig><sec id="s3_1"><title>3.1. Preprocessing</title><p>As the experimental images under study belong to different databases, they contain significant variations in size and resolution. So at the first step of preprocessing, all images are resized to 512 &#215; 512 resolution. From literature review, it is found that the discriminating characteristics are mostly visible in green color channel. So all further processing are performed only on the green channel of the experimental images. Resized and green channel extracted retinal images are shown in <xref ref-type="fig" rid="fig3">Figure 3</xref> and <xref ref-type="fig" rid="fig4">Figure 4</xref>, respectively. On the next step, the images are contrast enhanced by applying adaptive histogram equalization technique. As both the diabetic and non-diabetic images contain some significant structural similarities such as optic disk and blood vessels, so it is crucial only to highlight the discriminating lesions to make them easily identifiable by our feature detector. So to achieve this task, some morphological structural element operations are performed over all images. Morphological dilation is performed by a rectangular structuring element of size 25 &#215; 25 over the contrast enhanced image. Then by using a disk-shaped structuring element of radius 25, dilation is performed over the green channel image. Dilated images after both operations are shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>. From the rectangular window dilated image, the contrast enhanced image is subtracted. Then this resulting image is again subtracted from the disk window dilated image. After this operation, the final image contains highlighted lesions (for DR) which can be localized efficiently by the feature detector. Final images of preprocessing are presented in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p></sec><sec id="s3_2"><title>3.2. Speeded up Robust Features (SURF)</title><p>SURF is a scale- and rotation-invariant interest point detector and descriptor</p><fig-group id="fig3"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Resized images: (a) normal and (b) DR.</title></caption><fig id ="fig3_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x5.png"/></fig></fig-group><fig-group id="fig4"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Extracted green color channel images: (a) normal and (b) DR.</title></caption><fig id ="fig4_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x6.png"/></fig></fig-group><fig-group id="fig5"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Resulting images after application of dilation by rectangular and disk structural elements respectively: (a) and (c) are normal and (b) and (d) are DR.</title></caption><fig id ="fig5_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x7.png"/></fig><fig id ="fig5_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x8.png"/></fig></fig-group><fig-group id="fig6"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Final preprocessed images: (a) normal and (b) DR</title></caption><fig id ="fig6_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x9.png"/></fig></fig-group><p>which is computationally fast, while not sacrificing performance. SURF exploits the salient features of integer approximation of the determinant of Hessian matrix and thus it detects the blob interest points. Using the Haar wavelet response around the point of interest, the feature descriptor is constructed. Both feature detection and description is performed by utilizing some predetermined integral images. Integral images can be created by Equations (1):</p><disp-formula id="scirp.76949-formula18"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/76949x10.png"  xlink:type="simple"/></disp-formula><p>where I(i, j) is the brightness values of the pixel in original image and S(x,y) is the integral image. For a point p(x, y) in an image I, the Hessian matrix H(p,s) at point p(x, y) and scale s is denoted by Equations (2):</p><disp-formula id="scirp.76949-formula19"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/76949x11.png"  xlink:type="simple"/></disp-formula><p>By utilizing SURF over the preprocessed images, the lesions were detected and corresponding features were extracted. <xref ref-type="fig" rid="fig7">Figure 7</xref> and <xref ref-type="fig" rid="fig8">Figure 8</xref> show the detected strongest SURF feature points on retinal images.</p></sec><sec id="s3_3"><title>3.3. Vocabulary Generation by K-Means Clustering</title><p>K-means is an unsupervised learning algorithm that solves the well-known clustering problem. The main idea is to define k centroids into the space represented by the objects that are being clustered. Each object is assigned to the group that has the closest centroid. When no point is pending, the first step is completed and an early grouping is done. At this point, we need to re-calculate k new centroids as barycenters of the clusters resulting from the previous step. In this manner, the k centroids change their location step by step until no more changes are done.</p><p>Assuming the set of features extracted from the training set can be expressed as {x<sub>1</sub>, x<sub>2</sub>, ….,x<sub>M</sub>} where, x<sub>m</sub> &#206; R<sup>D</sup>, the goal is to partition this feature set into K clusters {d<sub>1</sub>, d<sub>2</sub>, ….,d<sub>k</sub>}, d<sub>k</sub> &#206; R<sup>D</sup>. If we consider for each feature x<sub>m</sub>, there is a corresponding set of binary indicator variables r<sub>mk</sub> &#206; {0, 1}. If x<sub>m</sub> is appointed to cluster K, then r<sub>mk</sub> = 1 and r<sub>mj</sub> = 0 for j &#185; k. The objective function can be defined by Equation (3).</p><fig-group id="fig7"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> Detection of Surf Feature over retinal images: (a) normal and (b) DR</title></caption><fig id ="fig7_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x12.png"/></fig></fig-group><fig-group id="fig8"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> Representative retinal images: (a) normal and (b); (c) and (d) DR. SURF features on corresponding normal (e) and DR (f); (g) and (h)</title></caption><fig id ="fig8_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x13.png"/></fig><fig id ="fig8_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x14.png"/></fig></fig-group><disp-formula id="scirp.76949-formula20"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/76949x15.png"  xlink:type="simple"/></disp-formula><p>The main idea is to find values for both r<sub>mk</sub> and d<sub>k</sub> to minimize the objective function H. By utilizing this K-means clustering algorithm, the features extracted by SURF are transformed to K = 100 visual words and then the codebook, i.e., vocabulary, is generated.</p></sec><sec id="s3_4"><title>3.4. Feature Encoding</title><p>Histogram from each image is encoded to a one dimensional feature array. The main idea is that firstly we consider X be a set of D-dimensional descriptors such as X = {x<sub>1</sub>, x<sub>2</sub>, ….,x<sub>N</sub>} &#206; R<sup>DxN</sup>. Given a visual dictionary (the one already computed in the previous step) with K visual words, i.e., D = {d<sub>1</sub>, d<sub>2</sub>,….,d<sub>K</sub>} &#206; R<sup>DxK</sup> . The purpose of the encoding step is to compute a code for input x with D. Thus, each feature descriptor x<sub>n</sub> is allocated to the nearest visual word in the dictionary by satisfying arg min<sub>k</sub> ||x<sub>n</sub> − d<sub>k</sub>||<sup>2</sup>.</p></sec><sec id="s3_5"><title>3.5. Classification by SVM</title><p>Support Vector Machines (SVMs) are supervised learning models which construct an optimal hyperplane to classify data into different classes. Lines drawn parallel to this separating line are the supporting hyperplanes and the distance between them is called the margin. Width of the margin is constrained by support vectors which are the data points that are closest to the separating hyperplane. Since, the optimal hyperplane is the one that separates the high probability density areas of two classes with maximum possible margin between them, the goal is to determine the direction that provides the maximum margin. It needs the solution of following optimization problem of Equation (4) for a given training set of instance label pairs (x<sub>i</sub>, y<sub>i</sub>), l = 1, 2,….,i where x<sub>i</sub> &#206; R<sup>n</sup> and y<sub>i</sub> &#206; {1, − 1}<sup>i</sup>. subjected to</p><disp-formula id="scirp.76949-formula21"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/76949x16.png"  xlink:type="simple"/></disp-formula></sec></sec><sec id="s4"><title>4. Result and Discussion</title><p>The proposed algorithm is applied on a database of 180 retinal fundus images collected from some publicly available databases. Our experimental dataset consists of fundus images of 93 of normal and 87 of DR. During the experiment, the database was divided into two sets: the training set containing 126 images (65%) and the testing set containing 54 images (35%). For classification purpose, support vector machine with “linear” Kernel was utilized. For performance evaluation of the classification model, performance parameters such as accuracy, sensitivity, recall, and F1-score were calculated. At the 65% - 35% train-test split, testing accuracy of the classification is 94.44%. Moreover, to make the model more robust, 10-fold cross validation was applied over whole dataset while 94% mean accuracy was achieved. The performance measures for the proposed approach are tabulated in <xref ref-type="table" rid="table1">Table 1</xref>. In addition, this proposed work is also compared to some other recent works published in 2016 and 2017 in <xref ref-type="table" rid="table2">Table 2</xref>.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Performance Scores of the proposed algorithm</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Class</th><th align="center" valign="middle"  colspan="3"  >Performance Scores</th></tr></thead><tr><td align="center" valign="middle" >Precision</td><td align="center" valign="middle" >Recall</td><td align="center" valign="middle" >F1-score</td></tr><tr><td align="center" valign="middle" >Normal</td><td align="center" valign="middle" >0.93</td><td align="center" valign="middle" >0.96</td><td align="center" valign="middle" >0.94</td></tr><tr><td align="center" valign="middle" >Diabetic</td><td align="center" valign="middle" >0.96</td><td align="center" valign="middle" >0.92</td><td align="center" valign="middle" >0.95</td></tr><tr><td align="center" valign="middle" >Average/Total</td><td align="center" valign="middle" >0.95</td><td align="center" valign="middle" >0.94</td><td align="center" valign="middle" >0.94</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Comparison on various algorithms on normal-DR classification</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >References</th><th align="center" valign="middle" >Applied Technique</th><th align="center" valign="middle" >Performance</th></tr></thead><tr><td align="center" valign="middle" >This Proposed Approach</td><td align="center" valign="middle" >Bag of Word, Surf Detector and SVM</td><td align="center" valign="middle" >Accuracy 94.4% Precision 94% Recall and f1-score 94% AUC 95%</td></tr><tr><td align="center" valign="middle" >Morales et al., 2017 [<xref ref-type="bibr" rid="scirp.76949-ref13">13</xref>]</td><td align="center" valign="middle" >Local Binary Pattern</td><td align="center" valign="middle" >True Positive Rate of 85.6% True Negative Rate of 89.7%</td></tr><tr><td align="center" valign="middle" >Seoud et al., 2016 [<xref ref-type="bibr" rid="scirp.76949-ref14">14</xref>]</td><td align="center" valign="middle" >Dynamic Shape Features</td><td align="center" valign="middle" >AUC of 89.9%</td></tr><tr><td align="center" valign="middle" >Saranya and Selvarani, 2016 [<xref ref-type="bibr" rid="scirp.76949-ref15">15</xref>]</td><td align="center" valign="middle" >Minimum Intensity Maximum Solidity</td><td align="center" valign="middle" >Sensitivity of 82%</td></tr></tbody></table></table-wrap><p>For medical image processing, high classification performance is crucial as a false prediction may lead to life and death situation. In term of performance measures, our proposed method outperforms the other state-of-the-art algorithms of diabetic retinopathy detection. The method proposed by Morales et al. in [<xref ref-type="bibr" rid="scirp.76949-ref3">3</xref>] utilize Local Binary Pattern and perform Normal-DR classification with a True Positive Rate of 85.6% and True Negative Rate of 89.7%. Seoud et al. per</p><p>form Diabetic Retinopathy detection based on only Red lesions over Messidor database with an AUC of 89.9% by exploiting dynamic shape features [<xref ref-type="bibr" rid="scirp.76949-ref14">14</xref>]. By using Minimum Intensity Maximum Solidity (MinIMaS) algorithm, Saranya and Selvarani in [<xref ref-type="bibr" rid="scirp.76949-ref15">15</xref>] achieve a sensitivity of 89% for grouping of bright lesion and a sensitivity of 82% for classifying bright lesion. Our proposed method can detect DR containing any lesions such as hard exudates, soft exudates, microaneurysms and hemorrhages and with a better accuracy, precision, sensitivity and AUC score. It is to be noted that the obtained results are not directly comparable because the dataset used in each case is different.</p><p><xref ref-type="fig" rid="fig9">Figure 9</xref> shows the graphical representation of the confusion matrix containing test data for normal (class 0) and DR (class 1). <xref ref-type="fig" rid="fig1">Figure 1</xref>0 illustrates that the area under the ROC curve for our classification is 95% that indicates excellent discrimination capabilities of our classifier.</p></sec><sec id="s5"><title>5. Conclusion</title><p>In this work, bag of words model with support vector machines is utilized to develop an automated and easily accessible diagnosis system. The leading cause of vision-loss among adults, diabetic retinopathy, is screened with a little computational effort. The proposed approach will offer ophthalmologists a feasible, efficient, and timesaving way of diabetic retinopathy detection. The bag of words approach along with surf feature descriptor demonstrates excellent discriminat-</p><fig id="fig9"  position="float"><label><xref ref-type="fig" rid="fig9">Figure 9</xref></label><caption><title> Plot of confusion matrix for test data</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x17.png"/></fig><fig id="fig10"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>0</label><caption><title> ROC analysis for classification</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/76949x18.png"/></fig><p>ing capabilities with an accuracy of 94.4%. In the future, more number of featuredetector and descriptors such as ASIFT, HOG and LBP and more experimental images to be integrated into the system. Furthermore, work on automatically estimating the severity of diabetic retinopathy is to be implemented.</p></sec><sec id="s6"><title>Cite this paper</title><p>Islam, M., Dinh, A.V. and Wahid, K.A. (2017) Automated Diabetic Retinopathy Detection Using Bag of Words Approach. J. Biomedical Science and Engineering, 10, 86-96. https://doi.org/10.4236/jbise.2017.105B010</p></sec></body><back><ref-list><title>References</title><ref id="scirp.76949-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Ding, J. and Wong, T.Y. (2011) Current Epidemiology of Diabetic Retinopathy and Diabetic Macular Edema. Curr. Diabetes Rep., 12, 346-354.  
https://doi.org/10.1007/s11892-012-0283-6</mixed-citation></ref><ref id="scirp.76949-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Yau, J.W.Y., et al. (2012) Global Prevalence and Major Risk Factors of Diabetic Retinopathy. Diabetes Care, 35, 556-564. https://doi.org/10.2337/dc11-1909</mixed-citation></ref><ref id="scirp.76949-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Abramoff, M.D., Niemeijer, M., Suttorp-Schulten, M.S.A., Viergever, M.A., Russell, S.R. and van Ginneken, B. (2008) Evaluation of a System for Automatic Detection of Diabetic Retinopathy from Color Fundus Photographs in a Large Population of Patients with Diabetes. Diabetes Care, 31, 193-198. https://doi.org/10.2337/dc07-1312</mixed-citation></ref><ref id="scirp.76949-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Usher, D., Dumskyj, M., Himaga, M., Williamson, T.H., Nussey, S. and Boyce, J. (2004) Automated Detection of Diabetic Retinopathy in Digital Retinal Images: A Tool for Diabetic Retinopathy Screening. Diabetic Med., 21(1), 84-90.  
https://doi.org/10.1046/j.1464-5491.2003.01085.x</mixed-citation></ref><ref id="scirp.76949-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Frame, A.J., et al. (1998) A Comparison of Computer Based Classification Methods Applied to the Detection of Microaneurysms in Ophthalmic Fluorescein Angiograms. Comput. Biol. Med., 28, 225-238.  
https://doi.org/10.1016/S0010-4825(98)00011-0</mixed-citation></ref><ref id="scirp.76949-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Niemeijer, M., van Ginneken, B., Staal, J., Suttorp-Schulten, M.S.A., and Abràmoff, M.D. (2005) Automatic Detection of Red Lesions in Digital Color Fundus Photographs. IEEE Trans. Med. Imag., 24, 584-592.  
https://doi.org/10.1109/TMI.2005.843738</mixed-citation></ref><ref id="scirp.76949-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Sinthanayothin, C. (1999) Image Analysis for Automatic Diagnosis of Diabetic Re-tinopathy. PhD Thesis, King’s College of London.</mixed-citation></ref><ref id="scirp.76949-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Hsiao, H.-K., Liu, C.-C., Yu, C.-Y., Kuo, S.-W. and Yu, S.-S. (2012) A Novel Optic Disc Detection Scheme on Retinal Images. Expert Syst. Appl. 39, 10600-10606.  
https://doi.org/10.1016/j.eswa.2012.02.157</mixed-citation></ref><ref id="scirp.76949-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Perumalsamy, N., Prasad, N.M., Sathya, S. and Ramasamy, K. (2007) Software for Reading and Grading Diabetic Retinopathy: Aravind Diabetic Retinopathy Screening 3.0. Diabetes Care, 30, 2302-2306. https://doi.org/10.2337/dc07-0225</mixed-citation></ref><ref id="scirp.76949-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Larsen, M., Godt, J., Larsen, N., Lund-Andersen, H., Sjolie, A.K., Agardh, E., Kalm, H., Grunkin, M. and Owens, D.R. (2003) Automated Detection of Fundus Photographic Red Lesions in Diabetic Retinopathy, Invest. Ophthalmol. Vis. Sci., 44, 761-766. https://doi.org/10.1167/iovs.02-0418</mixed-citation></ref><ref id="scirp.76949-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Usher, D., Dumskyj, M., Himaga, M., Williamson, T.H., Nussey, S. and Boyce, J. (2004) Automated Detection of Diabetic Retinopathy in Digital Retinal Images: A Tool for Diabetic Retinopathy Screening, Diabetic Med., 21, 84-90.  
https://doi.org/10.1046/j.1464-5491.2003.01085.x</mixed-citation></ref><ref id="scirp.76949-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, X. and Chutatape, A. (2004) Detection and Classification of Bright Lesions in Color Fundus Images. ICIP’04, 2004 International Conference on Image Processing, 131, 139-142.</mixed-citation></ref><ref id="scirp.76949-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Morales, S., Engan, K., Naranjo, V. and Colomer, A. (2017) Retinal Disease Screening through Local Binary Patterns. IEEE Journal of Biomedical and Health Informatics, 21, 184-192. https://doi.org/10.1109/JBHI.2015.2490798</mixed-citation></ref><ref id="scirp.76949-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Seoud, L., Hurtut, T., Chelbi, J., Cheriet, F. and Langlois, J.M.P. (2016) Red Lesion Detection Using Dynamic Shape Features for Diabetic Retinopathy Screening. IEEE Trans-actions on Medical Imaging, 35, 1116-1126.  
https://doi.org/10.1109/TMI.2015.2509785</mixed-citation></ref><ref id="scirp.76949-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Saranya, M., and Grace Selvarani, A. (2016) Fundus Image Screening for Diabetic Retinopathy. Indian Journal of Science and Technology, 9.  
https://doi.org/10.17485/ijst/2016/v9i25/90183</mixed-citation></ref></ref-list></back></article>