AIMS To determine whether software processing of digitised retinal images using a “sharpen” filter improves the ability to grade diabetic retinopathy.
METHODS 150 macula centred retinal images were taken as 35 mm colour transparencies representing a spectrum of diabetic retinopathy, digitised, and graded in random order before and after the application of a sharpen filter (Adobe Photoshop). Digital enhancement of contrast and brightness was performed and a X2 digital zoom was utilised. The grades from the unenhanced and enhanced digitised images were compared with the same retinal fields viewed as slides.
RESULTS Overall agreement in retinopathy grade from the digitised images improved from 83.3% (125/150) to 94.0% (141/150) with sight threatening diabetic retinopathy (STDR) correctly identified in 95.5% (84/88) and 98.9% (87/88) of cases when using unenhanced and enhanced images respectively. In total, five images were overgraded and four undergraded from the enhanced images compared with 17 and eight images respectively when using unenhanced images.
CONCLUSION This study demonstrates that the already good agreement in grading performance can be further improved by software manipulation or processing of digitised retinal images.
- diabetic retinopathy
- digital imaging
- ophthalmic photography
Statistics from Altmetric.com
The addition of retinal photography to ophthalmoscopy has been shown to improve sensitivity when grading diabetic retinopathy (DR).1 Recently the performance of dedicated digital retinal cameras has been evaluated in a clinical setting when grading DR.2-5 We have shown good agreement when grading DR from both digitised colour transparencies (83.3% (125/150) overall agreement)3 and digital retinal images taken with the Canon CR5 retinal camera (93.3% (70/75) overall agreement)2 when compared with the same retinal 35 mm colour transparencies viewed as slides. The digitised colour transparencies in the above study were viewed without software enhancement while the digital images from the Canon CR5 retinal camera were enhanced using the software provided with the camera system (Retinal Imaging Software). Sharpen filters are widely available in commercial image processing software (such as Photoshop, Adobe) and can improve the definition of fine retinal detail which may aid in the grading of DR. We investigated whether software manipulation of digitised images, such as optimisation of contrast and brightness, the application of a sharpen filter, and the use of a X2 digital zoom improved agreement in retinopathy grade between digitised images and 35 mm colour transparencies.
Materials and methods
We took 150 macula centred retinal images as 35 mm colour transparencies and digitised them in Kodak Photo CD format onto CD ROM. The digitised images were anonymised and imported into the commercial image processing package Photoshop (Adobe) at a resolution of 768 × 512 pixels. This resolution was chosen so as to be as close to that of currently available digital retinal cameras as possible. The retinal images were graded twice each in separate sessions by a diabetologist with 2 years’ grading experience (once without software enhancement and once with software enhancement) in random order in a darkened room. Although not investigated in this study the intraobserver variation of the grader has previously been documented at 6.7%.2Grading of digitised images was performed on a Sony Triniton 17 inch monitor with contrast and brightness standardised. Grading of the 35 mm colour transparencies was performed on a Slidex viewer which projects an 11× magnified image onto a self contained screen. The clinical grading system employed was the Welsh Community Diabetic Retinopathy Study (WCDRS) protocol which is based on the validated European guidelines6 (Table 1).
A sharpen filter was applied to all the images graded with software enhancement using the default settings in Photoshop. Contrast and brightness were also enhanced from within the software of Photoshop at the discretion of the grader and a digital zoom facility (×2) was used to scrutinise the retina. The original 35 mm colour transparencies were also anonymised and graded in random order. The grades from the 35 mm colour transparencies act as the reference against which the grades from the unenhanced and enhanced digitised images are compared. The results are shown below.
The grades from the unenhanced digitised images are shown compared with the 35 mm colour transparencies in Table 2. The grades from the software enhanced digitised images are shown in comparison with the original 35 mm colour transparencies in Table 3. The shaded diagonal represent exact agreement between the two grading methods with numbers above the line signifying relative undergrading from the digitised images in comparison with the colour transparencies and numbers below the line signifying overgrading.
From the above data it can be seen that the level of exact agreement in retinopathy grades between software enhanced digitised images and the colour transparencies is 94.0% (141/150; 95%CI 87.2–96.3%) with 100% (62/62; 95%CI 94.2–100%) of non-sight threatening DR (NSTDR) correctly identified and 98.9% (87/88; 95%CI 93.8–99.9%) of sight threatening DR (STDR) correctly identified. Before the images were enhanced the percentage of exact agreement, NSTDR, and STDR correctly identified were 83.3% (125/150; 95%CI 76.4–88.9%), 100% (62/62; 95%CI 94.2–100%), and 95.5% (84/88; 95%CI 88.8–98.8%) respectively. In total, five images were overgraded and four images undergraded when using software enhanced images but in only one case did this involve STDR being graded as NSTDR. In comparison, 17 images were overgraded from the unenhanced digitised images and eight were undergraded, four cases of STDR were misgraded from the unenhanced images compared with one case from the enhanced images.
The effects of applying a sharpen filter to retinal images are clearly seen in Figures 1–3 where Figures 1a, 2a, 3a represent the image before sharpening and Figures 1b, 2b, 3b the same image after sharpening.
The data show that the already good agreement between retinopathy grades from digitised images and colour transparencies is further improved after software manipulation of the images. Photoshop was chosen for this study as it represents one of the most widely used software packages for image manipulation. Although it is possible to customise the variables around which a sharpen filter works it was felt that for simplicity the default settings should be used, although a more refined approach may improve the results even further.
It was noted that the enhanced images were generally easier to view and grade than the unenhanced images. In particular, the grading of fine retinal detail such as small microaneurysms was consistently more accurate. This can be seen in Table 2 where only three cases of grade 0 retinopathy (from the colour transparencies) were overgraded as grade 1 after manipulation compared with 10 cases before manipulation. There is also generally less scatter of the grades around the shaded diagonal (indicating better agreement) particularly noticeable at the lower end of the spectrum of severity of DR. There were three cases of STDR misgraded only from the unenhanced images and one case misgraded from both the unenhanced and the enhanced images. Of these three cases misgraded before enhancement, two showed small numbers of exudates close to the fovea but these were masked by light reflections from the retina in young patients. The third case showed small numbers of intraretinal microvascular abnormalities which were only visible after enhancement in a retina without other preproliferative features.
We can clearly see that even at the relatively low image resolution utilised in this study the agreement in grading from a digitised image can be improved simply by applying the readily available filters described above, although overenthusiastic use of these filters may result in pixelation or “blockiness” of the images and may even accentuate artefacts in the image.
Software manipulation of digitised retinal images is associated with an improvement in agreement when grading any DR and also STDR in comparison with the original 35 mm colour transparencies.