Image Processing For Colour Blindness Correction: S Poret, R D Dony, S Gregori
Image Processing For Colour Blindness Correction: S Poret, R D Dony, S Gregori
I. INTRODUCTION
Colour blindness is a colour vision deficiency that naturally
occurs within the population. Images with similar colours and
shades can prove to be difficult to view. Object recognition
within images can also be hindered. Therefore a processing
system to aid in this natural mutation would be beneficial. Figure 1. The wavelength of the cone systems [2]
Colour blind individuals often have difficulties in modern
society with traffic lights, paint samples and digital images. B. Colour Blindness
Our focus is on the later: filtering digital images in order to There are three degrees of colour blindness: monochromacy,
correct the colour vision deficiency. There exists little to no dichromacy and anomalous trichromacy [2].
help for most colour blind individuals. Normally this is not Monochromacy is very rare and vision is limited to the
life threatening and most colour blind people live normally. equivalent of a black-and-white movie. Dichromacy is also
Some people may not even know they are affected without rare and is the absence of one of the three cones which causes
testing. Modern societies have even started to aid the colour the total loss of vision of that wavelength. Anomalous
blind with traffic signals; blue hues are added to the green trichromacy is the most common form of colour blindness and
traffic light, while orange hues are added to the red light to simply is the defect in one of the three cone systems. The
further distinguish the three colours from each other. middle/green and long/red wavelength sensitive cones are
However, with modern image processing technology, it may more likely affected resulting in difficulties discriminating
be possible to design an aid to enhance the colour blind’s reds, yellows and greens. This is commonly called “red-
perception of colour in everyday situations. green” colour blindness. Along with the colour difficulties,
duller shades of colours are also harder to distinguish, whereas
vibrant colours are easier to see. The medical names are
Over the years, a number of different tests for colour Figure 4. Circle test for CDV analysis
blindness have been developed.
1) Ishihara colour test The circles must be arranged from left-to-right matching the
colour most like the colour directly to the left. Figure 4 shows
The Ishihara colour test, [6] is a standard way to test for “red- the test at starting. Figure 5(a) shows the sorted circles by a
green” colour blindness. It was named after its creator Dr. normal vision subject compared to 5(b) for a colour blind
Shinobu Ishihara in 1917 at the University of Tokyo. The test subject. The patterns within the arrangement of the coloured
has a variety of coloured plates with a circle of dots of circles reveal the estimation of the colour blind qualities.
randomized size and colour. In this dot pattern is a number or
object that should be visible to those with normal vision but
540
III. METHODS
A. Test Subjects
(a) (b)
First, the CDV method proposed in [5] was used with eight
Figure 5. (a) Normal subject results, (b) Colour blind subject results
test subjects: four colour blind males and four individuals
The arrangement of the coloured circles generates CDVs that with normal vision (two men & two women). The quantitative
are used to create the moment of inertia. The moment of testing proved to be accurate as the test subjects with normal
inertia is yields three important factors: confusion angle (A), vision (NM1, NM2, NF1 NF2) all scored the same (perfect, see
selectivity index (E) and confusion index (F). The confusion Table 2) where the test subjects that were colour blind (CB1,
angle can be used to identify the type of colour defect. The CB2, CB3, CB4) all scored unique results with varied output
selectivity index (major radius/minor radius) tells the amount (Table 3).
of polarity of the subject: the larger the value the more severe
the degree of the vision deficiency. The confusion index is the TABLE II. NORMAL VISION RESULTS
comparison of the normal (perfect) vision arrangement to the
erroneous arrangement and quantifies the colour difference. Results (NM1) Results (NM2) Results (NF1) Results (NF2)
The research in [5] presented a chart for comparison of these A 61.98 61.98 61.98 61.98
values. A large panel of 53 normal and 66 colour deficient B 8.85 8.85 8.85 8.85
subjects were used to calibrate the data and the scoring results C 7.21 7.21 7.21 7.21
of this testing is shown in Table 1. D 11.42 11.42 11.42 11.42
E 1.23 1.23 1.23 1.23
TABLE I. CALIBRATION OF SCORING RESULTS F 0.96 0.96 0.96 0.96
Protanomaly 28.3 18.0 8.2 20.4 1.97 1.95 B 22.32 14.03 16.38 18.39
C 8.97 8.61 8.58 8.45
Protanope 8.8 38.8 6.6 39.4 6.16 4.20
D 24.06 16.46 18.49 20.24
Deuteranomaly -5.8 25.4 9.6 27.5 2.99 2.75
E 2.49 1.63 1.91 2.18
Deuteranope -7.4 37.9 6.3 38.4 6.19 4.10
F 2.42 1.52 1.77 1.99
Tritanomal -80.8 16.3 6.4 17.5 2.57 1.77
Tritanope -82.8 24.0 6.4 24.9 3.94 2.60 All four test subjects tested within the same range of colour
blindness according the study: protanomalous. Test subject
CB1 is shown to have the most colour defect while CB2 has the
D. Previous Work least defect. The results show that all test subjects were within
Little work has been done investigating the use of image the protanomaly level which is the red weakness colour defect,
processing filters to assist colour perception for the colour long wavelength.
blind. Some work has been done in order to attempt to filter
real-world with physical devices. A colour sensing system to It is therefore hypothesized that the red portion of the image
aid the colour blind was presented in [4]. The author designed should be altered in order to aid the colour blind test subjects.
a simple system with two colour sensors that detect the colours Every colour blind individual’s vision is unique and therefore
and sends an analog voltage to a microcontroller. The signal the level of correction may need to be optimized in order to
is then conditioned and related to a colour. The colour achieve accurate results. The Ishihara colour plates will first
detected is output on a display screen where it can be read by be examined and processed in order to determine if colour
the colour blind. The system was effective in performing this correction can aid in the visibility of the numbers in the plates.
basic operation. The wavelengths of each colour were Once this analysis is complete, real world digital images will
detected and the theory behind the anomalous trichromacy be filtered to determine if colour correction can then be
deficiencies was graphed. It was found that the red/green implemented. The processing will be performed in MATLAB.
(common) defects result in the medium (green) and long (red)
curves being shifted to the left. This results in the lack of
detection of these specific wavelengths. IV. RESULTS AND DISCUSSION
A. Preliminary Ishihara Analysis
The Ishihara plates were shown to both sets of test subjects.
The numbers inside the plates (7, 10, 4, 2, 8 and 45) are not
visible to any of the four red-green colour blind subjects
541
whereas all four normal vision subjects could correctly
identify all six values. The designing and testing of various
filters and image enhancement techniques were used on the
images. As a simple approach, the images were processed to
remove the green and blue components leaving only the red
component. This can be easily implemented in MATLAB
using the imadjust command:
(a) (b)
Figure 9. (a) Normal vision wavelengths, (b) Protanomaly colour blind
wavelengths [4]
542
weakness and remove these troublesome shades. Once this
was performed the green and blue components of the original
image were re-introduced back into the image resulting in
figure 13. Labels are placed on six test colours of interest (A-
F). The order of the labels (A-F) in the original image and the
filtered image were varied to reduce the chance the colour
blind subject would remember the order of the colours.
Figure 10. Detailed image processing sample with desired colours labeled
543
All five subjects identified the same colours of all six flowers. dullest/lightest shades and shifting all the red shades to the
The colour blind subjects were able to correctly identify the darker vibrant shades. This resulted in an image where colour
previously incorrect colours because of the correction of the blind subjects were able to identify the colours in the image
red component. Referring to Table IV for flower labels; the correctly, while still having the image appear naturally to
correction has removed the blue/pink distortions that are seen those with normal vision. Future research is required to
by the colour blind subjects in flower A, the orange distortion generalize the results in a larger study and to investigate the
seen in flowers B/F and the purple distortion seen in flower C. implementation of such processing in a portable aid for the
The image now appears more vibrant, by removing the weaker colour blind.
shades, and it is much easiest now for the colour blind subjects
to distinguish the different colours.
REFERENCES
V. CONCLUSIONS
Many people are affected by colour blindness, yet little has [1] Blanchet Gerald. Charbit, Maurice. Digital Signal and Image Processing
using MATLAB, Hermes Science Europe. 2001.
been done to investigate image processing methods to aid the
[2] Livingstone, M. Vision and art: the biology of seeing. Harry N. Abrams,
colour blind. This paper has proposed a method to aid the May 2002
colour blind using digital image processing. In the most [3] U.S. National Library of Medicine “X-linked recessive (carrier mother)”
common type of colour blindness, a genetic mutation alters the http://www.nlm.nih.gov/. Retrieved, March 2009
colour vision of the subjects by decreasing the sensitivity to [4] McDowell, Jason. “Design of a color sensing system to aid the color
certain colour wavelengths, depending on the defect. Most blind.” IEEE Potentials, pp 34-39, v 27, no 4, July-Aug 2008.
commonly the “red-green” variation is seen where reds or [5] Vingrys, A.J. and King-Smith, P.E. “A quantitative scoring technique
greens are weakened resulting in vibrant shades being easily for panel tests of a color vision” Investigative Ophthalmology and Visual
Science, v 29, pp 50-63, 1988.
seen and the dull shades not. A filter was designed based on
[6] Ishihara, S. “Tests for colour-blindness” Handaya, Tokyo, Hongo
the Ishihara colour tests in order to correct the colour blind Harukicho, 1917.
deficiencies. This was successful for the test plates but did not [7] Gonzalez, Rafael. Woods, Richard. Eddins, Steven. Digital Image
translate well for real image since there was too much colour Processing Using Matlab. Prentice Hall, 2003.
compensation. The filter was modified, removing the
544