Model and Analysis of Optimal Color Vision Deficiency System

Similar documents
PERCEPTUALLY-ADAPTIVE COLOR ENHANCEMENT OF STILL IMAGES FOR INDIVIDUALS WITH DICHROMACY. Alexander Wong and William Bishop

Color Image Processing

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

OPEN CV BASED AUTONOMOUS RC-CAR

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Colour Based People Search in Surveillance

Performance Analysis of Color Components in Histogram-Based Image Retrieval

Figure 1: Energy Distributions for light

Observing a colour and a spectrum of light mixed by a digital projector

Color Image Processing. Gonzales & Woods: Chapter 6

Implementation of License Plate Recognition System in ARM Cortex A8 Board

SMART ELECTRONIC GADGET FOR VISUALLY IMPAIRED PEOPLE

Mahdi Amiri. March Sharif University of Technology

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Prof. Feng Liu. Winter /09/2017

Segmentation using Saturation Thresholding and its Application in Content-Based Retrieval of Images

Colors in Images & Video

USE OF COLOR IN REMOTE SENSING

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

LECTURE 07 COLORS IN IMAGES & VIDEO

QUALITY CHECKING AND INSPECTION BASED ON MACHINE VISION TECHNIQUE TO DETERMINE TOLERANCEVALUE USING SINGLE CERAMIC CUP

Digital Image Processing

DESIGN & DEVELOPMENT OF COLOR MATCHING ALGORITHM FOR IMAGE RETRIEVAL USING HISTOGRAM AND SEGMENTATION TECHNIQUES

The human visual system

Computer Graphics Si Lu Fall /27/2016

A Methodology to Create a Fingerprint for RGB Color Image

COLOR and the human response to light

APPLICATION OF COMPUTER VISION FOR DETERMINATION OF SYMMETRICAL OBJECT POSITION IN THREE DIMENSIONAL SPACE

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models

CSE1710. Big Picture. Reminder

Capturing Light in man and machine

The Science Seeing of process Digital Media. The Science of Digital Media Introduction

VC 16/17 TP4 Colour and Noise

Human Vision, Color and Basic Image Processing

Colors in images. Color spaces, perception, mixing, printing, manipulating...

Color & Graphics. Color & Vision. The complete display system is: We'll talk about: Model Frame Buffer Screen Eye Brain

CS 544 Human Abilities

VEHICLE LICENSE PLATE DETECTION ALGORITHM BASED ON STATISTICAL CHARACTERISTICS IN HSI COLOR MODEL

Visual Perception. human perception display devices. CS Visual Perception

Visual Communication by Colours in Human Computer Interface

Vision Defect Identification System (VDIS) using Knowledge Base and Image Processing Framework

Spectral colors. What is colour? 11/23/17. Colour Vision 1 - receptoral. Colour Vision I: The receptoral basis of colour vision

MATH 5300 Lecture 3- Summary Date: May 12, 2008 By: Violeta Constantin

Vyshali S, Suresh Kumar R

COLOR. and the human response to light

Digital Image Processing. Lecture # 8 Color Processing

Graphics and Image Processing Basics

Digital Image Processing

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

Various Calibration Functions for Webcams and AIBO under Linux

Chapter 9: Color. What is Color? Wavelength is a property of an electromagnetic wave in the frequency range we call light

Wireless Communication

Adapted from the Slides by Dr. Mike Bailey at Oregon State University

Color Perception and Applications. Penny Rheingans University of Maryland Baltimore County. Overview

Computer Vision Robotics I Prof. Yanco Spring 2015

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

Color images C1 C2 C3

What is Color Gamut? Public Information Display. How do we see color and why it matters for your PID options?

Introduction to Computer Vision and image processing

CSSE463: Image Recognition Day 2

Capturing Light in man and machine

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University

Colour Profiling Using Multiple Colour Spaces

Reference Free Image Quality Evaluation

Lecture 2 Digital Image Fundamentals. Lin ZHANG, PhD School of Software Engineering Tongji University Fall 2016

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002

Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!

Enhanced Method for Face Detection Based on Feature Color

4. Measuring Area in Digital Images

EFFICIENT COLOR IMAGE INDEXING AND RETRIEVAL USING A VECTOR-BASED SCHEME

Lecture 3: Grey and Color Image Processing

CS 4300 Computer Graphics. Prof. Harriet Fell Fall 2012 Lecture 4 September 12, 2012

Color Image Processing

Chapter 3 Part 2 Color image processing

Capturing Light in man and machine

ISSN: [Azhagi * et al., 7(3): March, 2018] Impact Factor: 5.164

Colour. Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!) Colour Lecture!

Visual Perception. Jeff Avery

This list supersedes the one published in the November 2002 issue of CR.

Vision. The eye. Image formation. Eye defects & corrective lenses. Visual acuity. Colour vision. Lecture 3.5

Colour. Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5. Autumn 2016 University of Stirling

Smart License Plate Recognition Using Optical Character Recognition Based on the Multicopter

RESEARCH AND DEVELOPMENT OF DSP-BASED FACE RECOGNITION SYSTEM FOR ROBOTIC REHABILITATION NURSING BEDS

Digital Image Processing Lec.(3) 4 th class

Image Processing. Michael Kazhdan ( /657) HB Ch FvDFH Ch. 13.1

Implementing RoshamboGame System with Adaptive Skin Color Model

Gesture Recognition with Real World Environment using Kinect: A Review

The Classification of Gun s Type Using Image Recognition Theory

Controlling Humanoid Robot Using Head Movements

SCIENCE & TECHNOLOGY

CSE1710. Big Picture. Reminder

Introduction. The Spectral Basis for Color

Content Based Image Retrieval Using Color Histogram

EC-433 Digital Image Processing

Marks + Channels. Large Data Visualization Torsten Möller. Munzner/Möller

International Journal of Informative & Futuristic Research ISSN (Online):

Digital Image Processing

Image processing & Computer vision Xử lí ảnh và thị giác máy tính

Visual Perception. Overview. The Eye. Information Processing by Human Observer

COLOR IMAGE SEGMENTATION USING K-MEANS CLASSIFICATION ON RGB HISTOGRAM SADIA BASAR, AWAIS ADNAN, NAILA HABIB KHAN, SHAHAB HAIDER

Transcription:

Model and Analysis of Optimal Color Vision Deficiency System A. Ya akup *,a and F. S. Ismail b Centre for Artificial Intelligence & Robotics (CAIRO), Faculty of Electrical Engineering, Universiti Teknologi Malaysia, Johor Bahru, Malaysia. a afiqamirul92@yahoo.com, b,* fatimahs@fke.utm.my Abstract The inability to recognize color has caused several problems to the patient daily life and in conducting certain color oriented activities. To help the patient cope with problem related to color, a color vision deficiency aided device is designed. This paper focuses on developing a user interface that can detect colors and show it as text on the screen of the device using the concept of augmented reality. The system basically consists of a mini computer, Raspberry PI and its own camera module as well as a LCD screen for display purposes. Raspberry PI is used due to its small and compact size and capability to carry out image processing. Programming using OpenCV library has been developed for optimal color detection, filtering and processing can be carried out easily. Various experiments have been carried out to test for the performance and functionality of the device. The result of the distance test for various benchmark shapes and colors show that the hue element is almost consistent whereas the saturation varies by roughly 49.3% and value by 30.5%. As for the range of detection, the minimum range is about 20 cm where the maximum range is up to 12 meter. The accuracy of the four base colors detection is about 68%. Copyright 2015 - All rights reserved. Keywords: Color Vision Deficiency, Image Processing, Color Coding, Open Software 1.0 INTRODUCTION Based on The global statistics from the World Health Organization (WHO) indicate that there are more than 39 million blind and 285 million of visual impairments during year 2012. It is approximately 1 of 12 men (8%) and 1 of 2. The inability to recognize color has caused several problems to the patient daily life and in conducting certain color oriented activities. To help the patient cope with problem related to color, a color vision deficiency aided device is designed. This paper focuses on developing a user interface that can detect colors and show it as text on the screen of the device using the concept of augmented reality. Currently there is no treatment for inherited color blindness. There is an urgent need to reduce the results of visual disabilities, which represents a high percentage of society and to create innovate solutions to improve their daily life conditions especially children. It is important to detect the problem as early as possible because color vision problems can affect children s growth and learning process. Firstly, human eyes see when light stimulates the photosensitive cells (photoreceptors) in the retina. Photoreceptors consist of rod (sensitive to light) and cone cells (pick-up color). This cones are sensitive to either red (long), green (medium) or blue (short) light. (In wavelength). The eye sees color when these cones sense different amount of 21

the basic colours. When one/more of these cone cell is absent/fails to function normally, the eye cannot see colours as normal. [1-2]. Currently there are many color detection device that are sold on market. However, the device only based on voice teller and colour sensor. The device will detect the colour and give the output of the colour by voice output only which tell the colour name. The device also need colour card as input for the colour sensor. The limitations of the device are short range color detection and don t have a text output. 2.0 COLOR RECOGNITION There are several AI color model algorithm. Firstly, device color characteristics method based on fuzzy control. Based on the fuzziness of description in color by natural language and the basic principle of fuzzy control 8 subsets to divide the three color components of input RGB color space, and 21 fuzzy subsets to divide the output color components. It builds the device color characteristics method of RGB color space by establishing the fuzzy rules and doing the fuzzy reasoning for getting the fuzzy quantity of output parameters which are clear disposal by weighted average method of area (centroid) method. This method can use less sampling space points to get high model conversion precision. Secondly, the device color characteristics method based on dynamic subspace divided BP neural network identification method is by means of calculating the distance between input spaces point and sample points, to choose a certain amount of sample points which has nearest space distance with input spaces point so as to divide dynamically the input space to innumerable subspace and use those sample points which is in the subspace to train the BP neural network, and output the input spaces point by the trained BP neural network. This method can effectively avoid phenomenon of training speed too slow, or even the network cannot correct regression. Lastly, device color characteristics method based on fuzzy and neural identification method. Device color characteristics method which based on fuzzy and neural identification method adopt in fuzzy control to divide the input space to corresponding subspace and train the BP neural network by sample points which are in the subspace, and output the chromatic value of input space point by the network [3-5]. Color recognition approaches have 2 methods either using real time camera or color sensor. In this project, the real time camera is used because can be functioning on long range color detection. Color recognition mode will run straight after the code is compiled. The application is able to detect 16 base colors as well as their correspond variation based on the HSV value such as dark green and light green. Table 1 shows the range of H value with their corresponded base color whereas the S value and V value determine the saturation level and the brightness respectively as shown in Table 2 and Table 3. 22

Table 1: The range of Hue (H) value with correspond color NO. Range of H values Colors 1 170-180 & 0-6 Red 2 7-11 Red-orange 3 12-20 Orange-brown 4 21-25 Orange-yellow 5 26-32 Yellow 6 33-40 Yellow-green 7 41-67 Green 8 68-85 Green-cyan 9 86-100 Cyan 10 101-110 Cyan-blue 11 111-121 Blue 12 122-140 Blue-purple 13 141-160 Purple 14 161-165 Purple-pink 15 166-173 Pink 16 174-177 Pink-red Table 2: The range of saturation (S) value Ranges of S value Saturation Level 0-85 Light 86-170 Medium 171-255 Solid Table 3: The range of brightness (V) value Ranges of V value Brightness Level 0-85 Dark 86-170 Medium 171-255 Bright 23

3.0 EXPERIMENTAL VERIFICATION The system basically consists of a mini computer, Raspberry PI and its own camera module as well as a LCD screen for display purposes. Raspberry PI is used due to its small and compact size and capability to carry out image processing. Programming using OpenCV library has been developed for optimal color detection, filtering and processing can be carried out easily. Various experiments have been carried out to test for the performance and functionality of the device. The result of the distance test for various benchmark shapes and colors show that the hue element is almost consistent whereas the saturation varies by roughly 49.3% and value by 30.5%. As for the range of detection, the minimum range is about 20 cm where the maximum range is up to 12 meter. The accuracy of the four base colors detection is about 68%. The image can be axtracted from the depth map according to the following approach. Firstly, assuming that the image detection algorithm returns the 2D position and dimension in pixels (w 2D, h 2D) of an image region, its 3D physical dimension in mm (w3d, h3d) can be estimated as follows: w 3D = w 2D d f x, h 3D = h 2D d f y (1) where f x and f y are the position of pointer camera focal lengths computed by the calibration algorithm and d is the length between image and color detection device [9]. The HSV stands for the Hue, Saturation and Value, provides the perception representation according with human visual feature. The quantization of the number of colours into several bins is done in order to decrease the number of colours used in image retrieval, J.R. Smith designs the scheme to quantize the color space into 166 colours. Li design the non-uniform scheme to quantize into 72 colours. We propose the scheme to produce 16 non-uniform colours. The formula that transfers from RGB to HSV is defined as [3] 1 [(R G)+ (R B)] H = cos 1 2 (R G) 2 + (R B)(G B) (2) S =1 3 R + G + B (min(r,g, B)) (3) V = 1 3 (R +G + B) (4) The R, G, B represent red, green and blue components respectively with value between 0-255. In order to obtain the value of H from 0o to 360 o, the value of S and V from 0 to 1, we do execute the following formula: H = ((H/255*360) mod 360 (5) 24

V = V/255 (6) S = S/255 (7) 4.0 RESULTS AND DISCUSSION The whole system is setup by connecting the PI camera module to the CSI port on the Raspberry PI board via ribbon cable while the LCD screen is connected to the board via HDMI cable. The wireless keyboard and mouse is connected to the board using wireless USB adapter. This is only needed when manipulation of code is required. The power is supplied to the board by connecting a micro USB to USB cable to a wall socket USB adapter or power bank. Table 4: The HSV range of lower and upper threshold Threshold H value S value V value Low H - 5 S - 30 V - 30 High H + 5 S + 30 V + 30 Figure 1: Color and shape benchmarks The second part of the application is highlighting the regions, which have the same HSV value as the centre of the circle. In coding aspect, two thresholds are used for the filtering process. The low threshold is an array which contains the minimum of the HSV value whereas the high threshold holds the maxima of HSV value. In Table 4, the minimum and maximum of the HSV value are listed. Figure 1 shows the color benchmark, which consists of 10 different colours such as black, yellow, orange, green, purple, pink, cyan, blue, grey and red. It also have different shapes according to the color and have different sizes of sphere for red color. The prototype color detection assistive device, for experimental purposes only detects 16 base colours and HSV within its range. Besides the HSV range, the result will display unknown or not detected. 25

Table 5: Accuracy test NO. Colors Accuracy out of 10 sample Percentage,% 1 Red 5 50 2 Red-orange 6 60 3 Orange-brown 7 70 4 Orange-yellow 6 60 5 Yellow 8 80 6 Yellow-green 7 70 7 Green 8 80 8 Green-cyan 8 80 9 Cyan 6 60 10 Cyan-blue 5 50 11 Blue 8 80 12 Blue-purple 7 70 13 Purple 8 80 14 Purple-pink 6 60 15 Pink 8 80 16 Pink-red 6 60 Standard Deviation 6.8 68 A range test is been carried out for each of the color to determine the deviation on the HSV value when the range of object changes. 10 samples of HSV value on the same test object (color paper) was recorded. The accuracy test between 10 centimeters to 12 meter with 10 samples for each color is tabulated in Table 5. The result shows the minimum percentage of color detection is 50 percent where the maximum percentage 80%. The average accuracy of the color recognition is 68%. Fig. 2-3 present the visual image of the accuracy test. These figures show that a boundary line is created and bounded around the region, which has similar color with the region inside the blue circle. In addition, the color of the boundary line is changed based on the color of the region, which is covered under the circle. Figure 2: Distance Test (4 meter) 26

Figure 3: Distance Test (50 centimeter) 5.0 CONCLUSION The characteristics and type of color blind has been studied and identified as well as the problem faced by individual that is color blind. A real-time optimal color recognizing system using image processing technique is successfully developed and tested. A different experimental test was performed to test the functionality of the developed application. One is the range test while another is the color deviation test. The results of the range test showed that the device could recognize color from a range of 20 cm up to 12 m. For the optimal color deviation test, the results showed the deviation on the HSV value of the tested color was small and within an acceptable range. In conclusion, the developed application is able to recognize up to four type of color that is red, blue, green and yellow as well as their respective variations such as light blue or dark blue. The region with similar HSV value to the designated region is also highlighted. The visual results which is text indicating the object color as well as the boundary line is successfully shown on the LCD monitor. ACKNOWLEDGMENT The authors would like to thank for the support given to this research by Ministry of Higher Education (MOHE) and Universiti Teknologi Malaysia (UTM), under GUP grant Vot: 06H04. REFERENCES [1] T. Ohkubo, K. Kobayashi, A color compensation vision system for colour-blind people, SICE Annual Conference, the University Electro Communications Japan, August 20-22, (2008). [2] S. Poret, R. D. Jony, and S. Gregory, Image Processing for colour blindness correction, Science and Technology for Humanity, 2009 IEEE Toronto International Conference, Toronto, Canada (2009) 26-27. [3] S. Kaur and V. K. Banga, Survey and comparism between RGB and HSV model, International Journal of Engineering Trends and technology 4 (2013) 575-579. 27

[4] K. Meskaldji, S. Boucherkha, S. Chikhi, Color Quantization and Its Impact on Color Histigram Based Image Retrieval, Networked Digital Technologie 1 (2009) 515-517 [5] Sheenam, A. Selwal, A. Sharma, Evolution of Contour Using deformable Model in RGB, HSV and Lab color space, International Journal of Emerging Trends & Technology in Computer Science 2 (2013) 290-295 [6] E. L. Broek van den, Human-Centered Content-Based Image Retrieval.PhD-thesis Nijmegen Institute for Cognition and Information (NICI), Radboud University Nijmegen, The Netherlands Nijmegen, (2005). [7] A. M. W. Smeulders, M. Worring, S. Santini, A. Gupta, and R. Jain, Contentbased image retrieval at the end of the early years, IEEE Trans. on Pattern Analysis and Machine Intelligence 22 (2000) 1349-1380. [8] A. Vailaya, M. A. G. Figueiredo, A. K. Jain, and H. J. Zhang, Image classification for content-based indexing, IEEE Transactions on Image Processing 10 (2001) 117-130 [9] D. Herrera, J. Kannala, J. Heikkilä, Joint depth and color camera calibration with distortion correction, Pattern Analysis and Machine 34 (2012) 2058-2782. [10] C. Rigden, The Eye of the Beholder Designing for Colour-blind Users, British Telecommunications Engineering 17 (1999) 291-295. [11] M. Neitz and J. Neitz, Molecular genetics of color vision and color vision defects, Archieves of Ophthalmology 63 (2000) 232-237. [12] G. Healy, S. Shafer and L. Wolff, Physics Based Vision: Principles and Practice, COLOR, Boston: Jones and Bartlett, (1992). [13] S. Young, Y. M. Ro, Visual contents adaptation for color vision deficiency, IEE xplore 1 (2003) 453-456. [14] H. Brettel, F.Vienot, J. Mollon, Computerized simulation of color appearance of dichromats, Journal of Optical Society of America 14 (1997) 2647-2655. [15] J. E. Solem, Programming Computer Vision with Python, Sebastopol: O Reilly Media, (2012). 28