The present invention relates generally to a method and apparatus for clearly detecting color information outside a vehicle and, more particularly, to an external observation camera for a vehicle, which compensates for the colors of video data based on the color contents of the video data input by the camera and according to the degree of the driver's color blindness, and surrounding brightness and chromaticity.
Recently, with the development of semiconductor technology, inexpensive digital video cameras have appeared, and the video cameras are used as various types of observation cameras as Personal Computers (PCs) and the Internet have been popularized. From observation cameras in conventional buildings to web cameras in general homes, the use of observation cameras is increasing. In particular, digital cameras can store video frame data in a digital form, the image quality of the digital cameras is improved compared to that of conventional analog observation cameras, and the prices of disks, which are storage medium, are falling, thus accelerating the popularization of digital observation cameras.
Color blindness is a condition that occurs because cone cells in the retinas of eyes cannot perform the functions thereof. Most of color-blind people have difficulties in distinguishing or cannot distinguish the specific parts of the original color region visible to normal people. In the case where the color blindness is serious, there is the case where people cannot see colors at all.
About 8% or more of the population of the world is color-blind people. In particular, in the case of North America and Europe, the color blindness is so common a handicap that the population of color-blind people is more than about 10% of the total population. The color blindness is classified into complete color blindness and partial color blindness, and the partial color blindness is divided into dichromacy and anomalous trichromacy.
People with dichromacy do not have one of three cone cells (L, M and S cone cells). Accordingly, people with dichromacy sense all the colors of a visible wavelength region using only two chromaticities. According to the type of a cone cell that is absent, the dichromacy is divided into Protanopy in the case where an L cone cell is absent, Deuteranopy in the case where an M cone cell is absent, and Tritanopy in the case where an S cone cell is absent.
People with anomalous trichromacy have all three cone cells, but one of the three cone cells functions abnormally. The abnormal function of the cone cell occurs because the wavelength sensitivity of the cone cell moves or the amount of response to the sensitivity is reduced. Even though the cone cell is abnormal, three cone cells are present, so that the people with anomalous trichromacy can sense most colors in a visible wavelength region. The seriousness of the anomalous trichromacy is determined based on the degree of the movement of the wavelength sensitivity and the amount of the response, and the range of colors indistinguishable to the people with anomalous trichromacy becomes wider as the degree of the anomalous trichromacy is serious. Like the dichromacy, the anomalous trichromacy is also divided into Protanomaly, Deuteranomaly and Tritanomaly according to the type of the abnormal cone cell.
Most of color-blind people are people with Protanomaly/Deuteranomaly/Protanopy/Deuteranopy, and account for about 90% of all color-blind people. At present, a method of curing color blindness does not exist, and the Protanomaly, Deuteranomaly, Protanopy and Deuteranopy have hereditary characteristics in which the Protanomaly, Deuteranomaly, Protanopy and Deuteranopy are inherited by children from parents, so that a constant percentage of color-blind people exist.
In the case where the color-blind people drive, they have difficulties distinguishing colors due to the surrounding environment and color blindness characteristics. In particular, Red and Green-blind people (dichromacy/anomalous trichromacy) have considerable difficulties in distinguishing the colors of traffic lights. Red and Green-blind people are confused by the red, orange, yellow and green colors of the traffic lights. Since the current traffic lights system does not provide any means for distinguishing the colors of the traffic lights to the color-blind people, the development of a technology that can be practically applied is acutely required. Furthermore, there is the added inconvenience, in which the color-blind driver cannot distinguish the colors of other vehicles and buildings, so that the driver cannot receive various related pieces of information.
For a conventional technology that helps color-blind people to clearly distinguish colors, there is a method of wearing color glasses that filter out the colors of a specific wavelength region. When a color-blind person wears the color glasses and drives, the method enables the person to clearly distinguish colors. However, the method is problematic in that colors that are normally visible to the color-blind person can be differently sensed, and is disadvantageous in that it is difficult to consider various degrees of the seriousness of the anomalous trichromacy.
Furthermore, there is a technology that detects the locations of traffic lights through a satellite and servicing the colors of the traffic lights using characters. In this scheme, limitations in the detection of the accurate location of the traffic lights and operational accuracy in complicated areas, such as the central areas of towns, exist, and problems of costs and the complexity of the system occur. Furthermore, this scheme has a limitation in that it does not provide a measure in the case where the driver desires to detect the colors of preceding vehicles or surrounding buildings.
Accordingly, the present invention has been made to solve the above problems, and an object of the present invention is to provide a method and apparatus that enables color-blind people, who are vehicle drivers, to sense the external colors of traffic lights and objects.
Furthermore, another object of the present invention is to provide a color compensation method and apparatus based on the color blindness degree of the color-blind people, external brightness, external colors and contents related to the colors of external objects.
In order to accomplish the above object, the present invention allows a digital video camera to be mounted on a vehicle, and converts surrounding visual information into digital video data. Accordingly, it is possible to display not only traffic lights but also visual information on surrounding environment to which a color-blind driver must pay attention while driving. Color compensation, which is depending on the color blindness characteristics of the color-blind driver, external environment (external brightness and external colors) and the characteristics of a display device, is performed based on the colors of video data contents by analyzing the colors of the obtained digital video data into digital signals.
According to an aspect of the present invention, a method of receiving video frame data from the external camera of a vehicle and compensating for colors for a color-blind person includes the steps of extracting R, G and B, which are color information, from the digital video frame data input by the external camera, measuring external brightness and colors from the video frame data, selecting a color range preferred by a user, compensating for colors by inputting the measured external brightness and colors, the color range preferred by the user and the driver's color blindness degree, and displaying the color information based on user preference according to the result of the color compensation.
Furthermore, according to another aspect of the present invention, the step of selecting the user preference in the color compensation method is performed in view of the selection of the color range to be displayed, the magnification of interested object and the audibly displaying of the color information.
Furthermore, according to another aspect of the present invention, the step of compensating colors for the color-blind driver in the color compensation method is performed using the external brightness, the external colors, the color range preferred by the user and the driver's color blind degree as variables.
Furthermore, according to another aspect of the present invention, an apparatus for receiving video frame data from an external camera of the vehicle and automatically compensating for colors for a person with anomalous trichromacy in a vehicle includes a means for measuring external brightness and colors from digital video frame data input from the external camera, a means for selecting a color range preferred by a user, a means for compensating for colors according to the input or measured driver's color blindness degree, external brightness, external colors and preferred color range, and a means for displaying the color information based on user preference according to the result of the color compensation.
Furthermore, according to another aspect of the present invention, an external observation camera system for receiving video frame data from the external camera of a vehicle further includes a color compensation apparatus for color-blind people, which includes a means for measuring external brightness and colors from the digital video frame data input from the external camera, a means for selecting a color range preferred by a user, a means for compensating for colors according to the input or measured driver's color blindness degree, the external brightness, the external colors and the preferred color range, and a means for displaying the color information based on user preference according to the result of the color compensation.
As described above, color-blind drivers can accurately detect colors using the color compensation method and apparatus of the present invention when the color-blind drivers desire to sense color-related traffic signals, such as traffic lights, and objects outside the vehicle. Furthermore, according to the present invention, the color-blind drivers can accurately sense colors in spite of their various color blindness degrees and various external environments, such as external brightness and colors.
An embodiment of the present invention is described in detail with reference to the attached drawings below. In the drawings, the same reference numerals are used throughout the different drawings to designate the same or similar components.
where W|external brightness indicates external brightness specified on the image piece, and (x,y) indicates the location of a video pixel in a two-dimensional space. As shown in Equation 1, the external brightness is calculated by measuring the brightness on the reference image piece. Meanwhile, for consistent color compensation, reference external brightness W|reference brightness is selected and all of the color compensations are performed with respect to the reference brightness. The external reference brightness can be calculated from the external reference color.
The color compensation based on the external brightness W|external brightness and the reference brightness W|reference brightness is performed as described below at step 525. First, the brightness of the pixel of an input video is calculated using Equation 3,
where (x,y) indicates the location of the pixel of an observation video frame.
Thereafter, R1, G1 and B1 signals whose brightness is compensated for are expressed in a homogeneous matrix as shown in Equation 4,
Meanwhile, the external color is also calculated from the image piece at step 525. If it is assumed that the average value of the R, G and B colors of the image piece is the external color, the external color is expressed by Equation 5,
where Rexternal color, Gexternal color and Bexternal color indicate the R, G and B values of the external colors. For the reference, the brightness of the image piece is the W|external brightness defined in Equation 1.
For consistent color compensation with respect to the external colors, color compensation is performed to achieve the reference color shown in Equation 2. For color compensation according to the reference color, the difference values between the external colors and the reference colors are compared, and R, G and B difference values in pixels are calculated, so that Equation 6 is obtained.
Thereafter, R2, G2 and B2 signals whose external colors have been compensated for are expressed in a homogeneous matrix as shown in Equation 7,
Thereafter, the ranges of colors, which are set by a user, are selected and colors, which are used depending on the selection, are quantized as expressed by Equation 8 at step 530,
where
indicate quantization steps for R, G and B, respectively, and round( ) indicates a function for forming an integer. The ranges of colors finally used are determined by controlling the quantization steps for the colors. If the narrow ranges of the colors are used, different colors are clearly distinguished (color contour) from each other, thus helping color-blind people to distinguish the different colors. The color discrimination depending on the color blindness can be improved through the color contour through the process of controlling the ranges of colors.
Subsequently, driver's color blindness characteristic information is input at step 540. If the driver inputs new color blindness information at step 541, that information is used. If there is no input at step 542, the driver's previously used color blindness information is used.
The color blindness characteristic information is shown by Table 1. Numerical values, which indicate the degree of anomalous trichromacy for colors are defined as dR, dG and dB with relation to Protanomaly/Protanopy, Deuteranomaly/Deuteranopy and Tritanomaly/Tritanopy, respectively.
The final color sense characteristics of the color-blind driver respond in combination with not only the color blindness characteristics but also the display device characteristics of the driver. The sense of the wavelengths of the colors of humans is performed by three types of cone cells, and the characteristics of the colors can be shown in L, M and S spaces. If the colors are sensed from a display device such as a monitor, the R, G and B characteristics of the monitor must be considered. The amount of colors, which can be sensed by the L, M and S cone cells of humans, with respect to the characteristics of the wavelength of the display device is expressed by Equation 9,
LR=∫klL(λ)R(λ)dλ
LG=∫klL(λ)G(λ)dλ
LB=∫klL(λ)B(λ)dλ
MR=∫kmM(λ)R(λ)dλ
MG=∫kmM(λ)G(λ)dλ
MB=∫kmM(λ)B(λ)dλ
SR=∫ksS(λ)R(λ)dλ
SG=∫ksS(λ)G(λ)dλ
SB=∫ksS(λ)B(λ)dλ (9)
In this case, if the characteristics of a color-blind person other than a normal person are input at steps 541 and 542, the cone cells of the color-blind person respond differently from that of the normal person. If the color-blind person has Protanomaly and the degree of the Protanomaly is dR, the responses of the cone cells can be expressed using p(dR) and q(dR) functions. Equation 10 expresses the case of Red blindness and the abnormality of L cone cell. Meanwhile, the M and S cone cells are normal like in Equation 9,
LRcolor blindness=∫=p(dR)L(λ−q(dR))R(λ)dλ
LGcolor blindness=∫=p(dR)L(λ−q(dR))G(λ)dλ
LBcolor blindness=∫=p(dR)L(λ−q(dB))B(λ)dλ (10)
where p(dR) indicates the amount of the abnormal response of the L cone cell, and q(dR) indicates the abnormal response to the wavelength of the L cone cell.
Subsequently, in the case of Green blindness and the degree of thereof is dG, the response of the M cone cell is changed as expressed by Equation 11. The L and S cone cells are normal like in Equation 9,
MRcolor blindness=∫=p(dG)M(λ−q(dG))R(λ)dλ
MGcolor blindness=∫=p(dG)M(λ−q(dG))G(λ)dλ
MBcolor blindness=∫=p(dG)M(λ−q(dG))G(λ)dλ (11)
where p(dG) indicates the amount of the abnormal response of the M cone cell, and q(dG) indicates the abnormal response to the wavelength of the M cone cell.
Subsequently, in the case of Blue blindness and the degree of thereof is dB, the response of the S cone cell is changed as expressed by Equation 12. The L and M cone cells are normal like in Equation 9,
SRcolor blindness=∫=p(dB)S(λ−q(dB))R(λ)dλ
S Gcolor blindness=∫=p(dB)S(λ−q(dB))G(λ)dλ
SBcolor blindness=∫=p(dB)S(λ−q(dB))B(λ)dλ (12)
where p(dB) indicates the amount of the abnormal response of the S cone cell, and q(dB) indicates the abnormal response to the wavelength of the M cone cell.
In view of Equations 10 to 12, a process of compensating for indistinguishable colors is described below. First, color compensation for Red blindness, whose degree is dR, is performed using Equation 13,
where the first LMS response matrix indicates compensation for color blindness, and the second matrix is a matrix for changing a color space from RGB to LMS.
Subsequently, color compensation for Green blindness, whose degree is dG, is performed using Equation 14,
Thereafter, color compensation for Blue blindness, whose degree is dB, is performed using Equation 15,
Final color compensation in view of external brightness, external colors, a user selected color range, and driver's color blindness information is expressed by Equation 16 at step 545,
where R(x,y), G(x,y) and B(x,y) indicate color signals input by an external camera, and R4(x,y) , G4(x,y) and B4(x,y) indicate the final color values obtained by compensation for the color blindness of the driver. Equation 16 expresses compensation for Red blindness, and Equations 17 and 18 express compensation for Green blindness and Blue blindness, respectively.
In Equations 16 to 18, since the case of dichromacy corresponds to the case where the L, M and S cone cells are absent, corresponding values are zero. For this compensation, the L, M and S are set to small specific constant values other than zero, and the Equations are calculated.
Before the video, on which compensation for color blindness was performed as described above, is displayed, the preference of the driver related to display is considered at step 550. In particular, when the driver desires to sense the color of traffic lights or a specific preceding vehicle, a specific object magnification function of magnifying the traffic lights or preceding vehicle, and voice service for the selected color are included. The specific object magnification function is performed in such a way that a driver selects an object and the object is magnified in a software zoom manner or in a hardware zoom manner at step 600.
Furthermore, the voice service for colors is a service using a text-To-Speech (TTS) technology, and performed in such a way that the color of an object indicated by the driver is obtained from a frame screen, and the color is changed to characters using the TTS technology at step 600.
The above-described embodiment is set forth to enable those skilled in the art to easily understand the present invention, but is not set forth to limit the scope of the present invention. Accordingly, those skilled in the art must appreciate the possibilities of various modifications and alternations without departing from the scope of the present invention. In principle, the scope of the present invention is determined by claims that will be described later.
As described above, according to the present invention, a color-blind driver can accurately sense colors by the color compensation method and device of the present invention when the driver senses the colors of traffic signals, such as traffic lights, and objects outside a vehicle. Furthermore, according to the present invention, the driver can accurately determine the colors of external environments, such as various color blindness degrees, external brightness and color tone.
Number | Date | Country | Kind |
---|---|---|---|
1020030049969 | Jul 2003 | KR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR04/01811 | 7/21/2004 | WO | 1/20/2006 |