KR20140008977A - Method and apparatus of converting color for color vision defectives - Google Patents

Method and apparatus of converting color for color vision defectives Download PDF

Info

Publication number
KR20140008977A
KR20140008977A KR1020120086746A KR20120086746A KR20140008977A KR 20140008977 A KR20140008977 A KR 20140008977A KR 1020120086746 A KR1020120086746 A KR 1020120086746A KR 20120086746 A KR20120086746 A KR 20120086746A KR 20140008977 A KR20140008977 A KR 20140008977A
Authority
KR
South Korea
Prior art keywords
color
value
brightness
hsv
converting
Prior art date
Application number
KR1020120086746A
Other languages
Korean (ko)
Other versions
KR101917776B1 (en
Inventor
안성주
고성제
박정훈
신항식
김현지
정재윤
유현국
Original Assignee
삼성전자주식회사
고려대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사, 고려대학교 산학협력단 filed Critical 삼성전자주식회사
Priority to US13/939,681 priority Critical patent/US20140015850A1/en
Publication of KR20140008977A publication Critical patent/KR20140008977A/en
Application granted granted Critical
Publication of KR101917776B1 publication Critical patent/KR101917776B1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/06Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed using colour palettes, e.g. look-up tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/643Hue control means, e.g. flesh tone control

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to an apparatus for converting color for color vision defectives which comprises: an input unit where a control command is entered from a user; an image display unit which displays an image; and a control unit which generally controls each of the functioning units and includes a color vision characteristic determination unit, which determines color vision characteristics of the user by being selected or get type and degree of color vision defectiveness from the user via the input unit by executing the previously set user color vision characteristic input menu, and an image color converter, which converts a basic hue table preset in a terminal according to the color vision characteristics of the user and then converts color of an image to be displayed in the image display unit by applying the converted basic hue table. [Reference numerals] (1) Control unit(process unit); (10) Color vision characteristic determination unit; (20) Image color converter; (3) Input unit; (6) Image display part; (9) Memory unit

Description

색각 이상자를 위한 색 변환 방법 및 장치{METHOD AND APPARATUS OF CONVERTING COLOR FOR COLOR VISION DEFECTIVES}METHOD AND APPARATUS OF CONVERTING COLOR FOR COLOR VISION DEFECTIVES}

본 발명은 휴대폰, 태블릿, 노트북, 카메라, TV, 피디에이(PDA; Personal Digital Assistants) 등과 같은 단말기에 사용되는 색 변환 기술로서, 단말기 영상의 색을 변환하는 색각 이상자를 위한 색 변환 방법 및 장치에 관한 것이다.The present invention relates to a color conversion technology used in a terminal such as a mobile phone, a tablet, a notebook, a camera, a TV, a personal digital assistant (PDA), etc., and to a color conversion method and apparatus for color blind persons for converting colors of terminal images. will be.

색각 이상은 망막 원추세포의 선천적 기능 이상 또는 후천적인 망막 원추세포의 손상이나 시각 경로의 이상으로 색을 정상적으로 구분하지 못하는 현상을 말한다. 정상인이 느끼는 색은 3가지 단색광인 적, 녹, 청의 혼합으로 표현되며 적, 녹, 청 세 개의 원추세포 중 하나의 기능이 불완전한 것을 색약, 2개의 원추 세포밖에 없는 것을 색맹이라고 한다.Color vision abnormality refers to a phenomenon in which colors cannot be normally distinguished due to congenital dysfunction of retinal cone cells or acquired damage to retinal cone cells or abnormal visual paths. The color that a normal person feels is expressed as a mixture of three monochromatic lights, red, green, and blue. Incomplete function of one of the three cone cells, red, green, and blue, is called color blindness.

단말기의 발전과 함께 단말기 내의 화면도 다양해지고 여러 색을 사용할 수 있게 되었다. 그러나 이러한 점이 상기 색각 이상 문제를 가진 색각 이상자들에게는 색을 구분하는 데 더 많은 불편함을 주기도 한다. 또한 색으로 내용을 인식해야 하는 경우에는 내용을 인식하지 못하는 경우도 발생한다. 따라서 상기와 같은 문제를 해결하기 위해서 기존의 영상 장치에서는 색각 이상자가 구분할 수 있는 색으로 색을 변환해주는 색 변환(Color Transformation) 기술을 이용하고 있다. 또한 색각 이상자가 구분할 수 있는 색으로 변환하는 다양한 색 변환 기술들이 연구되어왔다.With the development of the terminal, the screen in the terminal is also diversified and various colors can be used. However, this may give more inconvenience to the color discrimination to those with color vision problems having the color vision problem. In addition, when the contents need to be recognized by color, the contents may not be recognized. Therefore, in order to solve the above problem, the conventional imaging apparatus uses a color transformation technology that transforms colors into colors that can be distinguished by color vision impairment. In addition, a variety of color conversion techniques have been studied to convert colors into color that can be distinguished by the blind.

색 변환 기술의 예로서, Y.Ma, X.Gu와 Y.Wang은 " Color discrimination enhancement for dichromats using self-organizing color transformation, Information Sciences, 2009, vol.179, pages.830-843"에서 도 1과 같이, 자기 조직화 지도(SOM; Self Organizing Map)를 사용하여 미리 만들어진 코드 북(Code Book)을 사용하여 색을 변환하는 기술을 개시한다. 또한 S.L. Ching과 M. Sabudin은 "Website image colour transformation for the colour blind, 2nd International conference on Computer Technology and Development, Cairo, 2010, pages.255-259"에서 도 2와 같이, 픽셀의 RGB 성분을 분석하여 색을 바꿔주는 변환 기술을 개시한다. 도 2의 경우는 도 1과 같은 색 변환 기술을 적용하여 색 변환을 하면서도 자기 조직화 지도(SOM)의 과정을 RGB 색 공간과 HSV 색 공간에서 색 변환하는 방식으로 대체하여, 도 1보다는 빠르게 색을 변환 할 수 있다. 따라서 도 2의 색 변환 방식은 영상의 빠른 색 변환이 필요한 웹사이트에서도 사용할 수 있다. As examples of color conversion techniques, Y.Ma, X.Gu and Y.Wang, see FIG. 1 in "Color discrimination enhancement for dichromats using self-organizing color transformation, Information Sciences, 2009, vol. 179, pages. 830-843". As described above, a technique of converting colors using a pre-made Code Book using a Self Organizing Map (SOM) is disclosed. See also S.L. Ching and M. Sabudin, in “Website image color transformation for the color blind, 2nd International conference on Computer Technology and Development, Cairo, 2010, pages. Discuss a conversion technique that changes. In the case of FIG. 2, color conversion is performed by applying the same color conversion technique as that of FIG. 1, but the process of self-organizing map (SOM) is replaced by a method of color conversion in an RGB color space and an HSV color space. Can convert Therefore, the color conversion method of FIG. 2 can be used in a website that requires fast color conversion of an image.

상기 기존의 기술들은 알고리즘에서 색 변환 하는 색을 미리 정해 놓고 색 변환을 하기 때문에 색각 이상자 개개인의 특성에 맞춰 색 변환을 할 수 없는 문제를 가지고 있다. 또한 기존의 기술들을 사용한 색 변환 영상을 색약 장애를 가진 자가 볼 때는 색 변환 영상의 정도가 과한 영상이 만들어 지게 되는 문제점이 있다. 따라서 기존의 기술들은 색맹이 아닌 색을 구분하는 능력이 있고 그 능력이 개인마다 다른 색약 장애를 가진 자에게 적용하기에는 다소 문제가 있다. 또한 색 구분 능력에 관계없이 색을 동일하게 변환해 주는 기존의 방식을 모바일 기기와 같이 개인이 휴대하며 사용하는 단말기에 적용하는 것은 적합하지 않다.The existing technologies have a problem in that color conversion is not possible in accordance with the characteristics of individual with color vision deficiency because color conversion is performed after predetermined color conversion in an algorithm. In addition, when a person with color weakness sees a color conversion image using existing techniques, there is a problem in that an image with excessive degree of color conversion image is made. Therefore, existing technologies have the ability to distinguish colors, not color blindness, and their ability is somewhat problematic to apply to people with color impairment. In addition, it is not suitable to apply the existing method of converting colors equally regardless of the color discrimination ability to a terminal used by an individual such as a mobile device.

따라서 본 발명의 일 목적은 각각의 색각 이상자들이 개인의 색 구분 능력 특성에 맞춰 적절하게 변환된 영상을 볼 수 있도록 색을 변환하기 위한 색각 이상자를 위한 색 변환 방법 및 장치를 제공함에 있다.Accordingly, an object of the present invention is to provide a color conversion method and apparatus for color blind persons for converting colors so that each color blind person can see an image that is properly converted according to the characteristics of individual color discrimination ability.

본 발명의 다른 목적은 모바일 기기와 같이 개인이 휴대하며 사용하는 단말기에 적용하기 적합한 색각 이상자를 위한 색 변환 방법 및 장치를 제공함에 있다.Another object of the present invention is to provide a color conversion method and apparatus for color vision impairment suitable for application to a terminal used and carried by an individual such as a mobile device.

상기한 목적을 달성하기 위하여 본 발명의 일 견지에 따르면, 색각 이상자를 위한 색 변환 방법에 있어서; 미리 설정된 사용자 색각 특성 입력 메뉴의 실행을 통해, 사용자로부터 선택된 색각 이상 종류 및 색각 이상 정도를 입력 또는 선택 받아 사용자 색각 특성을 판단하는 과정과; 상기 사용자 색각 특성에 따라 단말기의 미리 설정된 기본 색상(Hue) 테이블을 변환하며, 상기 변환한 기본 색상 테이블을 적용하여 디스플레이 될 영상의 색을 변환하는 영상 색 변환 과정을 포함함을 특징으로 한다.According to an aspect of the present invention to achieve the above object, in the color conversion method for color vision impaired; Determining a user color vision characteristic by receiving or inputting a type of color vision abnormality and a degree of color vision abnormality selected from a user by executing a preset user color vision characteristic input menu; And converting a preset basic color (Hue) table of the terminal according to the user color vision characteristic, and converting a color of an image to be displayed by applying the converted basic color table.

상기 기본 색상 테이블을 변환하는 것은 HSV(Hue Saturation Value; 색상 채도 명도) 색 공간의 전체 색상 범위를 60 도씩 다수의 색상구간으로 구분하여 설정하는 단계와, 상기 판단한 사용자 색각 특성에 따라, 상기 색상구간의 축소 정도를 지정하는 색약 변수(CVD Parameter)와 상기 색상구간의 확대 정도를 지정하는 사용자 색상 변수(User Hue Parameter)를 결정하는 단계와, 상기 결정한 색약 변수와 사용자 색상 변수를 적용하여, 상기 HSV 색 공간에서 상기 기본 색상 테이블을 변환하고 저장하는 단계를 포함하며, 상기 색상 구간의 축소 또는 확대는, 초기 설정된 색상 범위를 축소 또는 확대 하는 것이며, 초기 색상구간의 색상 범위의 양 끝 지점 값에 대응하는 HSV 값을 축소 또는 확대한 색상 구간의 색상 범위의 양 끝 지점 값에 대응하게 변경하는 것임을 특징으로 한다.The converting of the basic color table may include setting the entire color range of a Hue Saturation Value (HSV) color space by dividing the entire color range into a plurality of color intervals by 60 degrees, and according to the determined user color vision characteristics. Determining a color weakness parameter (CVD parameter) for designating a reduction degree of the user and a user color parameter (User Hue Parameter) for designating a magnification of the color section, and applying the determined color weakness parameter and a user color variable to the HSV. And converting and storing the basic color table in a color space, wherein the reduction or enlargement of the color range is to reduce or enlarge an initially set color range, and corresponds to both end point values of the color range of the initial color range. It is characterized in that to change the HSV value corresponding to the end point value of the color range of the reduced or enlarged color section do.

상기 디스플레이 될 영상의 색을 변환하는 것은, 상기 디스플레이 될 영상의 영상 픽셀 RGB(Red Green Blue) 값을 HSV(Hue Saturation Value) 색 공간으로 변환하는 단계와, 상기 HSV 색 공간에서, 상기 변환한 기본 색상 테이블을 이용하여 상기 디스플레이 될 영상의 색상을 변환하는 단계와, 상기 HSV 색 공간을 다시 상기 영상 픽셀 RGB 값으로 변환하는 단계를 포함함을 특징으로 한다.The converting the color of the image to be displayed may include converting an image pixel RGB (Red Green Blue) value of the image to be displayed into a Hue Saturation Value (HSV) color space, and in the HSV color space, the converted basic Converting the color of the image to be displayed using a color table, and converting the HSV color space back to the image pixel RGB value.

본 발명의 다른 견지에 따르면, 색각 이상자를 위한 색 변환 장치에 있어서; 사용자로부터 제어 명령을 입력받는 입력부와; 영상을 디스플레이하는 영상 표시부와; 상기 각 기능부들을 총괄적으로 제어하며, 미리 설정된 사용자 색각 특성 입력 메뉴의 실행을 통해 사용자로부터 선택된 색각 이상 종류 및 색각 이상 정도를 상기 입력부를 통하여 입력 또는 선택 받아 사용자 색각 특성을 판단하는 색각 특성 판단부와, 상기 사용자 색각 특성에 따라 단말기의 미리 설정된 기본 색상(Hue) 테이블을 변환하며 상기 변환한 기본 색상 테이블을 적용하여 상기 영상 표시부에 디스플레이 될 영상의 색을 변환하는 영상 색 변환부를 구비하는 제어부를 포함함을 특징으로 한다.According to another aspect of the present invention, there is provided a color conversion device for color blind persons; An input unit for receiving a control command from a user; An image display unit which displays an image; A color gamut characteristic determination unit which collectively controls each of the functional units and determines a user color gamut characteristic by receiving or inputting a type of color gamut abnormality and a degree of color gamut abnormality selected from a user through execution of a preset user color gamut characteristic input menu; And a control unit including a video color converting unit converting a preset basic color table of the terminal according to the user color vision characteristic and converting a color of an image to be displayed on the video display unit by applying the converted basic color table. It is characterized by including.

상기 영상 색 변환부는, 상기 색각 특성 판단부의 상기 판단한 사용자의 색각 특성에 따라 단말기의 미리 설정된 색상 정보를 가진 기본 색상 테이블을 변환하여 저장하는 기본 색상 테이블 변환부와, 디스플레이 될 영상의 영상 픽셀 RGB(Red Green Blue) 값을 HSV(Hue Saturation Value) 색 공간으로 변환하는 RGB/HSV 변환부와, 상기 HSV 색 공간에서, 상기 변환한 기본 색상 테이블을 이용하여 상기 디스플레이될 영상의 영상 색상을 변환하는 색상 변환부와, 상기 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환하는 HSV/RGB 변환부를 포함함을 특징으로 한다.The image color converting unit may include a basic color table converting unit configured to convert and store a basic color table having preset color information of the terminal according to the determined color gamut characteristics of the user, and the image pixel RGB of the image to be displayed. RGB / HSV conversion unit for converting Red Green Blue (Hue Saturation Value) value into a Hue Saturation Value (HSV) color space, and a color for converting an image color of the image to be displayed using the converted basic color table in the HSV color space. And a HSV / RGB converter for converting the HSV color space into an image pixel RGB value.

상기한 바와 같이, 본 발명에 따른 색각 이상자를 위한 색 변환 방법 및 장치를 사용함으로써, 색각 이상자들이 개인의 색 구분 능력 특성에 맞는 적절하게 변환된 영상을 볼 수 있으며, 이와 같은 특성을 기반으로 모바일 기기와 같이 개인이 휴대하여 사용하는 단말기에 본 발명을 적용하여 색각 이상자들이 어려움 없이 색을 인지 할 수 있는 효과가 있다.As described above, by using the color conversion method and apparatus for color vision deficiency according to the present invention, the color vision impaired can see the image properly converted according to the characteristics of the individual color discrimination ability, and based on such characteristics By applying the present invention to a terminal used by a person, such as a device, there is an effect that color-deviated people can perceive color without difficulty.

도 1은 종래 기술의 실시예에 따른 자기 조직화 지도(SOM)를 사용한 방식의 색 변환 순서도
도 2는 종래 기술의 실시예에 따른 RGB 분할 색 변환 순서도
도 3은 본 발명의 일 실시예에 따른 색각 이상자를 위한 색 변환 장치의 블록 구성도
도 4는 도 3 중 영상 색 변환부의 상세 블록 구성도
도 5는 본 발명의 일 실시예에 따른 색각 이상자를 위한 색 변환 동작 중 색각 특성을 판단하는 과정의 흐름도
도 6은 본 발명의 일 실시예에 따른 색각 이상자를 위한 색 변환 동작 중 영상 색을 변환하는 과정의 흐름도
도 7은 본 발명에 적용하는 기본 색상 테이블의 색상(Hue)을 RGB 값으로 나타낸 예시 그래프
도 8은 색각 이상자와 일반인의 색상(Hue) 인식 상태를 나타낸 예시 그래프
도 9는 본 발명의 일 실시예에 따른 기본 색상 테이블의 변환을 설명하기 위해 기준 색상 (HUE) 값을 HUE 값과 RGB 값으로 나타낸 예시 그래프
도 10은 일반인과 적록색맹자의 인식 생상(Hue)을 HSV 값으로 나타낸 예시 그래프
도 11은 본 발명의 일 실시예에 따른, 적록색맹의 경우, 색각 이상자가 같은 색으로 인식하여 구별하지 못하는 색상구간을 변환하는 것을 나타낸 예시 그래프
도 12는 본 발명의 일 실시예에 따른, 적록색맹의 경우, 색각 이상 종류에 따라 구분되지 않는 색상구간을 변환하는 것을 나타낸 예시 그래프
도 13은 본 발명의 일 실시예에 따른, 기본 색상 테이블의 색상과, 적록색맹의 변환한 기본 색상 테이블을 나타낸 예시 그래프
도 14는 색상 변환 전과 색상 변환 후의 영상 예시도
도 15는 본 발명의 다른 실시예에 따른, 일반인이 보는 색의 명도보다 적록 색맹자가 보는 색의 명도가 낮아지는 색상 구간을 나타낸 예시 그래프
도 16은 본 발명의 다른 실시예에 따른, 적록색맹의 경우, 색각 이상 정도에 따라 색상(Hue)에 대한 명도(Value)의 변화를 나타낸 예시 그래프
도 17은 본 발명의 다른 실시예에 따른, 적록 색각 이상의 경우, 영상 색 변환부의 상세 블록 구성도
도 18은 본 발명의 다른 실시예에 따른, 적록 색각 이상자를 위한 색 변환 동작 중 영상 색을 변환하는 과정의 흐름도
도 19는 본 발명의 또다른 실시예에 따른, 청 색각 이상의 경우, 영상 색 변환부의 상세 블록 구성도
도 20은 본 발명의 또다른 실시예에 따른, 청 색각 이상의 경우, 색각 이상자를 위한 색 변환 동작 중 영상 색을 변환하는 과정의 흐름도
1 is a color conversion flowchart of a method using a self-organizing map (SOM) according to an embodiment of the prior art
2 is a flowchart of RGB segmented color conversion according to an embodiment of the prior art.
3 is a block diagram illustrating a color conversion device for color blind persons according to an embodiment of the present invention.
4 is a detailed block diagram of an image color converter of FIG. 3.
5 is a flowchart illustrating a process of determining color vision characteristics during color conversion operations for color blindness according to an embodiment of the present invention.
6 is a flowchart illustrating a process of converting an image color during a color conversion operation for a color blind person according to an embodiment of the present invention.
7 is a graph illustrating RGB values of colors of a basic color table applied to the present invention.
8 is an exemplary graph showing a color recognition state of color vision abnormalities and the general public
9 is an exemplary graph showing a reference color (HUE) value as a HUE value and an RGB value to explain the conversion of a basic color table according to an embodiment of the present invention.
10 is an exemplary graph showing the recognition Hue of the public and red-green blind as HSV values.
11 is an exemplary graph showing that in the case of red-green blindness according to an embodiment of the present invention, a color blind person recognizes the same color and converts a color section that cannot be distinguished.
12 is an exemplary graph illustrating a case in which red-green color blindness converts a color section that is not distinguished according to types of color vision abnormalities according to an embodiment of the present invention.
FIG. 13 is an exemplary graph showing a color of a base color table and a converted base color table of reddish green blind according to an embodiment of the present invention. FIG.
14 is an exemplary view of images before and after color conversion
FIG. 15 is an exemplary graph illustrating a color section in which the brightness of a color viewed by a red-green color blinder is lower than the brightness of colors viewed by a general person according to another embodiment of the present invention.
FIG. 16 is an exemplary graph showing a change in brightness value for Hue according to a degree of color vision abnormality in case of red-green color blindness according to another embodiment of the present invention.
FIG. 17 is a detailed block diagram of an image color conversion unit in a case of red green color vision or higher according to another embodiment of the present invention.
18 is a flowchart illustrating a process of converting an image color during a color conversion operation for a red-green color blind person according to another embodiment of the present invention.
19 is a detailed block diagram of an image color conversion unit in a case of over blue color vision according to another embodiment of the present invention.
20 is a flowchart illustrating a process of converting an image color during a color conversion operation for a color blind person in a case of blue color blindness according to another embodiment of the present invention.

이하 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명에서는 구체적인 구성 소자, 명칭 등과 같은 특정 사항들이 나타나고 있는데 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐 이러한 특정 사항들이 본 발명의 범위 내에서 소정의 변형이나 혹은 변경이 이루어질 수 있음은 이 기술분야에서 통상의 지식을 가진 자에게는 자명하다 할 것이다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, specific details such as specific elements, names, and the like are provided, which are provided to help a more general understanding of the present invention. Such specific matters may be modified or changed within the scope of the present invention. It will be obvious to those skilled in the art.

본 발명의 실시예에서는 2가지 색의 구분이 불명확한 색약 및 색맹을 대상으로 하였으며, 본 발명에서는 색약 및 색맹을 통틀어 색각 이상이라고 한다. 색맹은 원추세포 중 하나가 없는 것이며, 색약은 원추세포 중 하나의 기능이 불완전한 것이다. 색맹의 종류에는 적록색맹과 황청색맹이 있으며, 적색 수용체가 없는 적색맹과, 녹색 수용체가 없는 녹색맹과, 청색 수용체가 없는 청색맹이 있다. 또한 색약의 종류에는 적록색약과 청색약이 있으며, 상기 적록색약은 적색약과 녹색약으로 구분할 수 있다. In the embodiment of the present invention, the color separation and the color blindness of which the distinction of the two colors is unclear are targeted, and in the present invention, the color weakness and the color blindness are referred to as color vision abnormalities. Color blindness is without one of the cones, and color pills are incomplete with one of the cones. There are two types of color blindness: red blind and cyan blind, red blind without red receptor, green blind without green receptor, and blue blind without blue receptor. In addition, there are red medicine and blue medicine in the kind of color medicine, the red medicine can be divided into red medicine and green medicine.

또한 색각 이상 정도는 색각 이상자의 색각 이상 심각성 정도에 따라 0에서 1.0 까지 수치화된다. 색맹의 경우에는 색각 이상 정도의 수치 값은 1.0이며, 색약의 경우에는 0.1에서 0.9까지의 범위 내의 값이 되며, 0과 가까운 숫자는 색각 이상의 심각성 정도가 약하며, 1.0과 가까운 숫자는 색각 이상의 심각성 정도가 크다.In addition, the degree of color vision abnormality is digitized from 0 to 1.0 according to the degree of color vision abnormality of the color blind. In the case of color blindness, the numerical value of the color vision abnormality is 1.0, and in the case of color weakness, the value is in the range of 0.1 to 0.9, and the number close to 0 is weak in color severity, and the number close to 1.0 is severity in color blindness. Is large.

도 3은 본 발명의 일 실시예에 따른 색각 이상자를 위한 색 변환 장치의 블록 구성도이다. 도 3을 참조하면, 본 발명의 색각 이상자를 위한 색 변환 장치는 입력부(3)와, 영상표시부(6)와, 메모리부(9)와, 제어부(1)를 포함한다. 3 is a block diagram illustrating a color conversion device for color blindness according to an embodiment of the present invention. Referring to FIG. 3, the color conversion apparatus for color blindness of the present invention includes an input unit 3, an image display unit 6, a memory unit 9, and a controller 1.

입력부(3)는 사용자로부터 제어 명령을 입력받는 장치로서, 터치스크린과 키보드, 버튼, 마우스, 입력 I/F 중 적어도 하나를 포함할 수 있다. The input unit 3 is a device that receives a control command from a user, and may include at least one of a touch screen, a keyboard, a button, a mouse, and an input I / F.

영상표시부(6)는 터치스크린, 모니터 등과 같은 영상을 디스플레이 하는 장치로서, 동영상, 사진, 미리 설정된 메뉴 화면 등의 영상을 디스플레이 할 수 있다.The image display unit 6 is an apparatus for displaying an image such as a touch screen or a monitor, and may display an image such as a video, a photo, a preset menu screen, or the like.

메모리부(9)는 각 기능부들의 동작을 기록 저장하는 것으로, 제어부(1)의 제어에 따라 입력부(3)와 영상표시부(6)의 동작에 대응되게 입력 및 출력되는 신호 또는 데이터를 저장할 수 있다. 또한 메모리부(6)는 장치 또는 제어부(1)의 제어를 위한 제어 프로그램 및 어플리케이션들을 저장할 수 있다.The memory unit 9 records and stores the operations of the respective functional units, and may store signals or data input and output corresponding to the operations of the input unit 3 and the image display unit 6 under the control of the controller 1. have. In addition, the memory unit 6 may store a control program and applications for controlling the device or the controller 1.

제어부(1)는 입력부(3)와, 영상표시부(6)와, 메모리부(9)의 각 기능부들을 총괄적으로 제어한다. 또한 제어부(1)는 미리 설정된 사용자 색각 특성 입력 메뉴의 실행을 통해 사용자로부터 선택된 색각 이상 종류 및 색각 이상 정도를 입력부(3)를 통하여 입력 또는 선택 받아 사용자 색각 특성을 판단하는 색각 특성 판단부(10)를 구비한다. 또한 제어부(1)는 사용자 색각 특성에 따라 단말기의 미리 설정된 기본 색상 테이블을 변환하며, 변환한 기본 색상 테이블을 적용하여 영상 표시부(6)에 디스플레이 될 영상의 색을 변환하는 영상 색 변환부(20)를 구비한다.The controller 1 collectively controls the input unit 3, the image display unit 6, and the respective functional units of the memory unit 9. In addition, the control unit 1 is a color gamut characteristic determination unit 10 for judging a user color gamut characteristic by receiving or inputting a type of color gamut abnormality and a degree of color gamut abnormality selected from a user through execution of a preset user color gamut characteristic input menu. ). In addition, the controller 1 converts a preset basic color table of the terminal according to the user color vision characteristics, and converts the color of the image to be displayed on the image display unit 6 by applying the converted basic color table. ).

색각 특성 판단부(10)를 상세히 설명하면, 적록색맹, 적록색약, 청색약 등의 모든 색각 이상 예시 종류들과 상기 색각 이상 예시 종류 별로 0에서 1.0까지 수치화한 색각 이상 정도가 미리 설정되어 있다. 색각 특성 판단부(10)는 디스플레이되는 미리 설정된 색각 이상 예시 종류들 중 사용자에 의해 선택된 색각 이상 종류를 저장한다.When the color vision characteristic determination unit 10 is described in detail, all kinds of color blindness example types, such as red-green blindness, red-green drug, and blue drug, and color vision abnormalities digitized from 0 to 1.0 for each of the color-error abnormality types are preset. The color vision characteristic determination unit 10 stores the color vision abnormality type selected by the user among the preset color vision abnormality types displayed.

또한 색각 이상 종류별로 색각 이상 정도에 따라 미리 설정된 다수의 예시 영상들을 디스플레이하며, 사용자에 의해 선택된 예시 영상에 따라 색각 이상 정도를 판단하여 저장한다. 이때, 미리 설정된 다수의 예시 영상들은 각각의 색각 이상의 심각성 정도 별로 해당 색각 이상자가 가장 잘 구분할 수 있도록 미리 설정된 영상이다. 즉, 사용자가 디스플레이한 미리 설정된 다수의 예시 영상들 중 색 구분이 가장 용이한 영상을 선택하면, 선택한 영상에 해당하는 미리 설정된 색각 이상 정도가 저장된다.Also, a plurality of example images preset according to the color vision abnormality are displayed for each type of color vision abnormality, and the degree of color vision abnormality is determined and stored according to the example image selected by the user. In this case, the preset plurality of example images are preset images so that the corresponding color blindness can be best distinguished by the severity of each color blindness. That is, when a user selects an image having the easiest color separation among a plurality of preset image images displayed by the user, a preset color vision degree corresponding to the selected image is stored.

이외에도 색각 특성 판단부(10)는, 예를 들어, 사용자로부터 색각 이상 종류 및 색각 이상 정도를 입력받아 저장하는 구성을 가질 수도 있다. 즉, 사용자가 미리 설정된 색각 이상 예시 종류와 색각 이상 정도 중 자신의 색각 이상 종류와 색각 이상 정도를 알고 있는 경우, 자신의 색각 이상 종류 및 색각 이상 정도를 입력하여 저장할 수 있다. In addition, the color vision characteristic determination unit 10 may have, for example, a configuration for receiving and storing a color vision abnormality type and a color vision abnormality from a user. That is, when the user knows the type of color vision abnormality and the degree of color vision abnormality among the preset types of color vision abnormality and the degree of color vision abnormality, the user may input and store his color vision abnormality type and color vision abnormality.

도 4는 도 3 중 영상 색 변환부(20)의 상세 블록 구성도이다. 도 4를 참조하면, 영상 색 변환부(20)의 상세 구성은, 색각 특성 판단부(10)의 판단한 사용자의 색각 특성에 따라 단말기의 미리 설정된 색상 정보를 가진 기본 색상 테이블(211)을 변환하여 저장하는 기본 색상 테이블 변환부(210)를 포함한다. 4 is a detailed block diagram of the image color converter 20 of FIG. 3. Referring to FIG. 4, the detailed configuration of the image color converter 20 converts the basic color table 211 having preset color information of the terminal according to the color gamut characteristic of the user determined by the color gamut characteristic determiner 10. It includes a basic color table conversion unit 210 for storing.

이때, 기본 색상 테이블 변환부(210)는 사용자의 색각 특성에 따라, HSV 색 공간의 색상구간의 축소 정도를 지정하는 색약 변수와 색상구간의 확대 정도를 지정하는 사용자 색상 변수를 결정한다. 또한 결정한 색약 변수와 사용자 색상 변수를 적용하여 기본 색상 테이블을 변환하고 저장한다.At this time, the basic color table converting unit 210 determines the color weakness variable specifying the degree of reduction of the color period of the HSV color space and the user color variable specifying the degree of expansion of the color period according to the color vision characteristic of the user. In addition, it converts and saves the basic color table by applying the determined color variables and user color variables.

또한 영상 색 변환부(20)의 상세 구성은, 디스플레이 될 영상의 영상 픽셀 RGB 값을 HSV 색 공간으로 변환하는 RGB/HSV 변환부(240)와, HSV 색 공간에서 변환한 기본 색상 테이블을 이용하여 디스플레이 될 영상의 영상 색상을 변환하는 색상 변환부(260) 및 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환하는 HSV/RGB 변환부(280)를 포함한다.In addition, the detailed configuration of the image color converter 20 uses an RGB / HSV converter 240 for converting an image pixel RGB value of an image to be displayed into an HSV color space, and a basic color table converted from the HSV color space. And a color converter 260 for converting an image color of an image to be displayed, and an HSV / RGB converter 280 for converting an HSV color space into an image pixel RGB value.

상기와 같은 구성을 가지는 색각 이상자를 위한 색상 변환 장치의 동작을 아래에 보다 상세히 설명한다.The operation of the color conversion device for color blindness having the above configuration will be described in more detail below.

도 5는 본 발명의 일 실시예에 따른 색각 이상자를 위한 색 변환 동작 중 색각 특성을 판단하는 과정의 흐름도이다. 5 is a flowchart of a process of determining color vision characteristics during color conversion operations for color blindness according to an embodiment of the present invention.

도 5를 참조하면, 색각 특성을 판단하는 과정은, 먼저 11단계에서는 디스플레이되는 미리 설정된 색각 이상 예시 종류들 중 사용자에 의해 선택된 색각 이상 종류를 저장한다.Referring to FIG. 5, in the determining of the color vision characteristic, in operation 11, the color vision abnormality type selected by the user among the preset color vision abnormality examples displayed is stored.

즉, 사용자의 선택을 통해 본 발명의 색각 이상자를 위한 색을 변환 하는 프로그램이 실행되면, 단말기는 미리 설정된 색각 특성을 판단하는 메뉴를 디스플레이 한다. 또한 사용자의 색각 특성을 판단하는 메뉴의 선택을 통해 색각 특성을 판단하는 메뉴가 실행되면, 단말기는 색각 이상 종류를 판단하는 화면을 디스플레이 한다. 이때 디스플레이한 색각 이상 종류를 판단하는 화면은 적색맹, 황색맹, 녹색약 등의 모든 색각 이상 예시 종류들을 포함한 것으로서, 모든 색각 이상 예시 종류들 중 사용자에 의해 선택된 색각 이상 종류를 저장한다.That is, when a program for converting colors for color vision deficits of the present invention is executed through the user's selection, the terminal displays a menu for determining a predetermined color vision characteristic. In addition, when a menu for determining color vision characteristics is executed through selection of a menu for determining color vision characteristics of a user, the terminal displays a screen for determining types of color vision abnormalities. In this case, the displayed screen for determining the type of color blindness includes all the color blindness example types such as red blind, yellow blind, and green medicine, and stores the color blindness type selected by the user among all the color blindness example types.

이후, 13단계에서는 색각 이상 종류 별로 색각 이상 정도에 따라 미리 설정된 다수의 예시 영상들을 디스플레이하며, 사용자에 의해 선택된 예시 영상에 따라 색각 이상 정도를 판단하여 저장한다.Subsequently, in step 13, a plurality of example images preset according to the color vision abnormality are displayed for each type of color vision abnormality, and the degree of color vision abnormality is determined and stored according to the example image selected by the user.

11단계가 완료되면, 단말기는 미리 설정된 색각 이상 정도를 판단하는 화면을 디스플레이 한다. 이때, 색각 이상 정도를 판단하는 화면은 색각 이상 종류별로 색각 이상 정도에 따라 미리 설정된 다수의 예시 영상들이 디스플레이 된 것으로서, 사용자에 의해 선택된 예시 영상에 따라 색각 이상 정도를 판단하여 저장한다. 또한 미리 설정된 다수의 예시 영상들은 각각의 색각 이상의 심각성 정도 별로 해당 색각 이상자가 가장 잘 구분할 수 있도록 미리 설정된 영상이며, 색각 이상 정도는 0에서 1.0까지 수치화되어 설정되어 있다. When step 11 is completed, the terminal displays a screen for determining the degree of color vision abnormality in advance. In this case, the screen for determining the degree of color vision abnormality is displayed by displaying a plurality of example images preset according to the color vision abnormality for each type of color vision abnormality, and determining and storing the degree of color vision abnormality according to the example image selected by the user. Also, a plurality of preset images are preset images so that a person with color vision deficiency may be distinguished best by the severity of each color vision abnormality, and the color vision abnormality is numerically set from 0 to 1.0.

상기와 같이 색각 특성을 판단하는 동작이 수행될 수 있으며, 이외에도 색각 특성을 판단하는 과정은 예를 들어, 사용자로부터 색각 이상 종류 및 색각 이상 정도를 입력받아 저장하는 동작을 수행할 수 있다. 즉, 사용자가 미리 설정된 색각 이상 예시 종류와 색각 이상 정도 중 자신의 색각 이상 종류와 색각 이상 정도를 알고 있는 경우, 자신의 색각 이상 종류 및 색각 이상 정도를 입력하여 저장할 수 있다. As described above, the operation of determining the color vision characteristic may be performed. In addition, the process of determining the color vision characteristic may be performed by receiving and storing the type of color vision abnormality and the degree of color vision abnormality from a user. That is, when the user knows the type of color vision abnormality and the degree of color vision abnormality among the preset types of color vision abnormality and the degree of color vision abnormality, the user may input and store his color vision abnormality type and color vision abnormality.

도 6은 본 발명의 일 실시예에 따른 색각 이상자를 위한 색 변환 동작 중 영상 색을 변환하는 과정의 흐름도이며, HSV 색 공간의 색상(Hue)과, 채도(Saturation) 및 명도(Value) 중 색상을 변환하여 디스플레이 될 영상의 색을 변환한다. FIG. 6 is a flowchart illustrating a process of converting an image color during a color conversion operation for a color blind person, according to an embodiment of the present invention, and a color of Hue, Saturation, and Brightness of an HSV color space. Convert the color of the image to be displayed by converting it.

도 6을 참조하면, 영상 색 변환 과정은, 먼저 21 단계에서는, 판단한 색각 특성에 따라 단말기의 미리 설정된 기본 색상 테이블을 변환하는 단계로서, 상세한 설명은 아래에 후술하였다. 이후 23 단계에서는, 디스플레이 될 영상의 색을 HSV 색 공간에서 변환하기위해, 디스플레이 될 영상의 영상 픽셀 RGB 값을 HSV 색 공간으로 변환한다. 이후 25 단계에서는, 사용자가 인식하게 될 다양한 영상의 색을 HSV 색 공간에서 변환하는 단계로서, 변환한 기본 색상 테이블을 이용하여 디스플레이 될 영상의 색상을 변환한다. 이후 27단계에서는, 변환한 영상을 단말기의 화면에 표시하기 위해, 상기 HSV 색 공간을 다시 상기 영상 픽셀 RGB 값으로 변환한다.Referring to FIG. 6, in operation 21, the image color conversion process is a step of converting a preset basic color table of the terminal according to the determined color vision characteristic, which will be described in detail later. In the next step 23, in order to convert the color of the image to be displayed in the HSV color space, the image pixel RGB values of the image to be displayed are converted into the HSV color space. Thereafter, in step 25, the color of various images to be recognized by the user is converted in the HSV color space, and the color of the image to be displayed is converted using the converted basic color table. Thereafter, in step 27, the HSV color space is converted back to the image pixel RGB value in order to display the converted image on the screen of the terminal.

21단계는 단말기가 본 발명의 색각 이상자를 위한 색 변환을 적용할 때, 처음에 한 번만 수행되는 단계로서, 실제로 단말기가 영상을 디스플레이 할 때에는 21 단계에서 설정한 색상 테이블을 호출하여, 23단계부터 27단계까지의 과정을 통해 단말기에 디스플레이 될 영상의 색을 변환한다. Step 21 is a step that is performed only once when the terminal applies the color conversion for color blindness of the present invention.When the terminal actually displays an image, the step 21 calls the color table set in step 21. In step 27, the color of the image to be displayed on the terminal is converted.

도 7 내지 도 12를 참조하여, 21단계의 판단한 색각 특성에 따라 단말기의 미리 설정된 기본 색상 테이블을 변환하는 단계를 상세히 설명하겠다. 7 to 12, the step of converting the preset basic color table of the terminal according to the color vision characteristic determined in step 21 will be described in detail.

21단계는 먼저 HSV 색 공간의 전체 색상 범위를 60도씩 다수의 색상으로 구분하여 설정한다. In step 21, the entire color range of the HSV color space is divided into a plurality of colors by 60 degrees.

도 7은 본 발명에 적용하는 기본 색상 테이블의 색상(Hue)을 RGB 값으로 나타낸 예시 그래프로서, RGB 값에서의 HUE(색상) 값의 범위를 60도씩 6개의 색상으로 구분하여 설정한 그래프이다. 단, 도 7은 본 발명의 이해를 돕기 위해 기본 색상 테이블의 색상을 RGB 값으로 나타낸 것일 뿐, 21 단계는 실제로 RGB 값이 아닌 HSV 색 공간에서 동작한다.FIG. 7 is an exemplary graph illustrating RGB values of colors of a basic color table applied to the present invention, and sets a range of HUE (color) values in RGB values divided into six colors by 60 degrees. However, FIG. 7 shows only the colors of the basic color table as RGB values for better understanding of the present invention, and step 21 operates in the HSV color space rather than the RGB values.

그리고 판단한 사용자의 색각 특성에 따라, 색상구간의 축소 정도를 지정하는 색약 변수와 색상구간의 확대 정도를 지정하는 사용자 색상 변수를 결정한다. 이때 색약 변수와 사용자 색상 변수는 미리 설정된 각각의 색각 특성 별로 미리 설정되어 저장된 값들로서, 색약 변수와 사용자 색상 변수를 사용자 조작에 의해 설정 가능하도록 기능을 추가할 수 있다. 즉, 색약 변수와 사용자 색상 변수를 재설정 가능하도록 미리 설정하여, 사용자가 색을 구분하고 싶은 정도에 따라 각각의 수치를 변경할 수 있도록 기능을 추가할 수 있다. 또한 색상 구간의 축소 또는 확대는, 초기에 설정된 색상 범위를 축소 또는 확대 하는 것이며, 초기 색상구간의 색상 범위의 양 끝 지점 값에 대응하는 HSV 값을 축소 또는 확대한 색상 구간의 색상 범위의 양 끝 지점 값에 대응하게 변경하는 것이다. According to the determined color gamut characteristics of the user, a color weakness variable specifying the degree of reduction of the color section and a user color variable specifying the degree of expansion of the color section are determined. In this case, the color weakness variable and the user color variable are preset values stored for each of the preset color vision characteristics, and a function may be added to enable the color weakness variable and the user color variable to be set by a user operation. That is, by setting the color weakness variable and the user color variable in advance so as to be reset, a function may be added so that the user may change each numerical value according to the degree to which the color is to be distinguished. In addition, the reduction or enlargement of the color gamut is to reduce or enlarge the initially set color range, and to reduce or enlarge the HSV value corresponding to both end point values of the color range of the initial color gamut. To match the point value.

즉, 초기에 색상 범위를 60도씩 6개 구간으로 구분하여 설정함으로써, 각각의 구간의 특성을 판단하여 초기에 설정된 색상 구간의 확대 또는 축소를 통해 기본 색상 테이블을 변환할 수 있도록 한다. That is, by initially setting the color range divided into six sections at 60 degrees, the characteristics of each section are determined so that the basic color table can be converted by enlarging or reducing the initially set color section.

기본 색상 테이블 변환은, 먼저 기본 색상 테이블 변환에서 색상 변환이 없는 것으로 기준이 되는 기준 색상 값을 결정한다. 이때, 기준 색상 값은 HSV 색 공간의 색상 분포 중 색각 이상자가 일반 시각과 동일하게 볼 수 있는 것으로 미리 설정된 색상 값이다. The base color table transformation first determines the base color value upon which there is no color transformation in the base color table transformation. In this case, the reference color value is a color value which is previously set by the visually impaired person in the color distribution of the HSV color space as the normal time.

도 8은 색각 이상자와 일반인의 색상(Hue) 인식 상태를 나타낸 예시 그래프로서, 도 8의 (a)는 색맹은 일반 시각의 색상 값 중 두 가지 색상 값만을 일반 시각과 동일하게 인식하는 예시 그래프이며, 도 8의 (b)는 색약의 종류는 동일하지만 색각 이상 정도가 다른 두 색약은 일반 시각의 색상 값 중 세 가지 색상 값만을 일반 시각과 동일하게 인식하는 예시 그래프이다. 또한 도 8의 (c)는 색약의 정도에 상관없이 동일한 종류의 색약은 세 가지 색상 값을 일반 시각과 동일하게 볼 수 있으며, 색맹의 경우는 색상이 변하는 곳의 한 곳의 색상 값과 나머지 두 곳의 색상 값 또한 색약이 일반 시각과 동일하게 볼 수 있는 세 가지 색상 값과 일치하는 예시 그래프이다. FIG. 8 is an exemplary graph illustrating a color recognition state of a color blind person and a general person. FIG. 8A illustrates an example graph in which color blindness recognizes only two color values among color values of a general time. FIG. 8B illustrates an example graph in which two color drugs having the same kind of color drugs but different degrees of color vision abnormality recognize only three color values among the color values of the normal time. In addition, (c) of FIG. 8 shows three color values of the same type of color drug as the normal time regardless of the degree of color drugs, and in the case of color blindness, the color value of one place and the other two where the color is changed. The color value of the place is also an example graph that matches the three color values where the color drops look the same as normal time.

도 9는 본 발명의 일 실시예에 따른 기본 색상 테이블의 변환을 설명하기 위해 기준 색상(HUE) 값을 HUE 값과 RGB 값으로 나타낸 예시 그래프로서, 기본 색상 테이블 변환에서 색상 변환이 없는 것으로 기준이 되는 기준 색상 값을 결정하는 예시 그래프이다. 도 9를 참조하면, 적록색맹의 경우, 기준 색상 값은 색각 이상 장애가 없는 일반과, 색각 이상의 종류가 색맹인 색맹1.0과, 색각 이상의 종류가 색약이며 색약 이상 정도가 심각한 색약0.8과, 색약 이상 정도가 색약0.8보다 심각하지 않는 색약0.5의 색상 값이 일치하는 60 도, 180 도, 240 도의 색상(Hue) 값을 기준 색상 값으로 결정한다. FIG. 9 is an exemplary graph illustrating a reference color (HUE) value as a HUE value and an RGB value to explain the conversion of the base color table according to an embodiment of the present invention. An example graph for determining reference color values to be used. Referring to FIG. 9, in the case of red-green color blindness, the reference color values are general without color blindness disorder, color blindness 1.0 with color blindness type, color blindness type with color weakness, color weakness with severe color weakness, and serious color weakness 0.8, and color weakness degree. Hue values of 60 degrees, 180 degrees, and 240 degrees where color values of color weakness 0.5, which are not more serious than color weakness 0.8, match, are determined as reference color values.

이후 기본 색상 테이블 변환은, 색약변수와 기준 색상 값을 적용하여, 색상구간 중 색상과 채도와 명도가 변화 없이 일정한 색상구간을 변경한다. HSV 색 공간의 색상구간 중, 색상과 채도와 명도가 변화 없이 일정한 색상구간은 색각 이상자가 같은 색상으로 인식하여 구별하지 못하는 구간이므로 축소구간으로 결정한다. 축소 구간의 색상 범위의 기준색상 값과 차이가 큰 색상 값을 가지는 지점에서부터 색약변수만큼 축소 구간을 축소한다. 마지막으로 축소된 축소 구간의 기준색상 값과 차이가 큰 색상 값과 인접한 색상구간을 축소한 크기만큼 확대한다. Subsequently, the basic color table transformation applies color weakness variables and reference color values to change a constant color period without changing color, saturation, and brightness. Among the color sections of the HSV color space, the constant color section without changing the hue, saturation and brightness is determined as the reduced section because the color vision deficit cannot recognize and distinguish the same color. The reduction section is reduced by the color weakness variable from the point having a color value that is different from the reference color value of the color range of the reduction section. Finally, the color value that is largely different from the reference color value of the reduced reduction section and the adjacent color section are enlarged by the reduced size.

도 10은 일반인과 적록색맹자의 인식 색상(Hue)을 HSV 값으로 나타낸 예시 그래프로서, 도 10의 (a)는 일반 시각의 Hue 값에 따른 HSV 값으로 나타낸 예시 그래프이며, 도 10의 (b)는 색각 이상의 Hue 값에 따른 HSV 값으로 나타낸 예시 그래프이다. 일반 시각의 Hue 값에 따른 HSV 값은 구간 1에서 6까지 모두 다른 색상으로 구분한다. 또한 색각 이상의 Hue 값에 따른 HSV 값은 2가지의 색상만 나타나며, 일반 시각에서의 채도(Saturation)와 명도(Value)가 변한다.FIG. 10 is an exemplary graph showing the recognition color (Hue) of ordinary people and red-green blinds as HSV values, and FIG. 10 (a) is an exemplary graph showing HSV values according to Hue values at normal times, and FIG. ) Is an exemplary graph of HSV values according to Hue values of color vision or more. HSV values according to Hue values of normal time are all distinguished by different colors from intervals 1 to 6. In addition, HSV values according to Hue values of color vision or more appear only two colors, and saturation and brightness in the normal time are changed.

도 11은 본 발명의 일 실시예에 따른, 적록색맹의 경우, 색각 이상자가 같은 색으로 인식하여 구별하지 못하는 색상구간을 변환하는 것을 나타낸 예시 그래프이다. 도 11을 참조하면, 적록색맹의 경우, 색상과 채도와 명도가 모두 변화 없이 일정한 색상구간의 구간2와 구간5를 축소구간으로 결정한다. 이후 구간2는 구간2에서의 기준색상 값 60과 차이가 큰 값을 가지는 지점에서부터 색약변수만큼 축소한다. 이후 축소한 구간2의 기준색상 값 60과 차이가 큰 색상 값과 인접한 구간3을 축소한 크기만큼 확대한다. 또한 구간5는 구간5에서의 기준색상 값 240과 차이가 큰 값을 가지는 지점에서부터 색약변수만큼 축소한다. 이후 축소한 구간5의 기준색상 값 240과 차이가 큰 색상 값과 인접한 구간6을 축소한 크기만큼 확대한다.FIG. 11 is an exemplary graph illustrating a case in which red-green color blindness converts a color section in which a color-deviated person recognizes the same color and cannot distinguish it according to an embodiment of the present invention. Referring to FIG. 11, in the case of red-green color blindness, intervals 2 and 5 of a predetermined color section are determined as a reduced section without changing both hue, saturation, and lightness. Then, the interval 2 is reduced by the color weakness variable from the point having a large difference from the reference color value 60 in the interval 2. Then, the color value larger than the reference color value 60 of the reduced section 2 and the adjacent section 3 are enlarged by the reduced size. In addition, the interval 5 is reduced by the color weakness variable from the point having a large difference from the reference color value 240 in the interval 5. Then, the color value larger than the reference color value 240 of the reduced section 5 and the adjacent section 6 are enlarged by the reduced size.

그리고 기본 색상 테이블 변환은, 색상구간 중 명도가 일정한 비율로 감소 또는 증가하는 색상 구간을 변경한다. HSV 색 공간의 색상구간 중 명도가 일정한 비율로 감소 또는 증가하는 색상 구간을 변경 구간으로 결정한다. 또한 색각 이상의 종류에 따라, 변경 구간의 색상과 구분되지 않는 색상을 가진 구간을 비교 구간으로 결정한다. 비교 구간과 인접한 변경 구간 중 한 구간을 색약변수만큼 축소하고, 변경 구간 중 다른 한 구간을 사용자변수만큼 확대한다.The basic color table transformation changes a color section in which the brightness decreases or increases at a constant rate among the color sections. The color section in which the brightness decreases or increases at a constant rate among the color sections of the HSV color space is determined as the change section. In addition, according to the type of color vision or more, a section having a color that is not distinguished from the color of the change section is determined as a comparison section. One section of the change section adjacent to the comparison section is reduced by the color weakness variable, and the other section of the change section is enlarged by the user variable.

도 12는 본 발명의 일 실시예에 따른, 적록색맹의 경우, 색각 이상 종류에 따라 구분되지 않는 색상구간을 변환하는 것을 나타낸 예시 그래프이다. 도 12를 참조하면, 적록 색맹의 경우, 명도가 일정한 비율로 감소 또는 증가하는 적색의 색상구간인 구간1과 구간6을 변경 구간으로 결정한다. 또한 색각 이상 종류인 적록 색맹에 따라, 상기 적색과 구분되지 않는 녹색의 색상구간인 구간2와 구간3을 비교 구간으로 결정한다. 이때, 구간1과 구간6은 모두 적색이지만, 구간1은 녹색의 구간2와 구간3과 구분되지 않는 적색이며, 구간6은 녹색의 구간2와 구간3과 구분되는 적색이다. 따라서 비교구간인 구간2와 구간3과 가장 인접한 녹색과 구분되지 않는 적색의 구간1을 색약변수만큼 축소하고, 녹색과 구분되는 적색의 구간6을 사용자변수만큼 확대함으로써 적색과 녹색이 구분되도록 색상의 분포를 변환하였다.12 is an exemplary graph illustrating a case in which red-green color blindness is converted to a color section that is not distinguished according to types of color vision abnormalities according to an embodiment of the present invention. Referring to FIG. 12, in the case of red-green color blindness, intervals 1 and 6, which are red color intervals in which the brightness decreases or increases at a constant rate, are determined as change intervals. In addition, according to the red-green color blindness, which is a kind of color vision abnormality, intervals 2 and 3, which are the color sections of green that are not distinguished from red, are determined as the comparison intervals. At this time, both interval 1 and interval 6 are red, but interval 1 is a red color which is not distinguished from intervals 2 and 3 of the green, and interval 6 is red which is distinguished from intervals 2 and 3 of the green. Therefore, by reducing the interval 1 of red which is indistinguishable from the green closest to the interval 2 and interval 3 that are the comparison intervals by the color weakness variable, and expanding the interval 6 of red separated from green by the user variable, The distribution was converted.

기본 색상 테이블 변환에서 색상구간 또는 변경 구간을 확대하는 경우에는 추가적으로 히스토그램 평활화를 적용하여 기본 색상 테이블의 색상 값과 변환한 기본 색상 테이블의 색상 값이 비선형 관계를 갖도록 수식화 할 수 있다. 선형 관계의 경우 영상의 특성을 정확하게 반영하지 못하는데, 이를 해결하기 위하여 색상 테이블의 변환에서 색상구간 또는 변경 구간을 확대할 때 히스토그램 평활화를 적용하여 입력 색상 값과 출력 색상 값이 선형관계가 아닌 비선형 관계를 갖도록 수식화 할 수 있다. 인간은 영상의 밝기에 의해서보다는 밝고 어두움의 변화의 크기에 의해서 색을 인식하는 인지도가 증가하게 되는데, 히스토그램 평활화는 픽셀 값이 좁은 영역에 몰려 있는 영상을 전 영역에 분포하도록 함으로써 밝고 어두움의 변화의 크기를 증가시켜 영상의 색을 인식하는 인지도를 증가시킨다.When the color section or the change section is enlarged in the basic color table transformation, histogram smoothing can be applied to formulate a nonlinear relationship between the color values of the basic color table and the converted color table. In the case of the linear relationship, the characteristics of the image cannot be accurately reflected.To solve this problem, the histogram smoothing is applied when the color section or the change section is enlarged in the conversion of the color table so that the input color value and the output color value are non-linear relationship. It can be formulated to have The recognition of color is increased by the magnitude of the change of brightness and darkness rather than by the brightness of the image.Histogram smoothing is performed by distributing the image that is concentrated in a narrow area of pixels in the whole area. Increasing the size increases the recognition of the color of the image.

즉, 본 발명의 색각 이상자를 위한 색 변환은 색각 이상자가 구분하지 못하는 색상구간을 축소하며, 축소한 색상구간과 인접한, 색각 이상자가 구분 가능한 색상구간을 확대함으로서, 색각 이상자가 색상을 인식할 수 있도록 한다. That is, the color conversion for the color blind according to the present invention reduces the color section which the color blind person cannot distinguish, and expands the color section in which the color blind person is distinguishable from the reduced color section, thereby allowing the color blind person to recognize the color. Make sure

도 13은 본 발명의 일 실시예에 따른, 기본 색상 테이블의 색상과, 적록색맹의 변환한 기본 색상 테이블을 나타낸 예시 그래프로서, 도 13의 (a)는 본 발명의 일 실시예에 따른 영상 색 변환 방법에 있어서 변환하지 않은 기본 색상 테이블의 색상 그래프를 RGB와 HSV로 나타낸 그래프이다. 또한 도 13의 (b)는 본 발명의 일 실시예에 따른 영상 색 변환 방법에 있어서 적록색맹의 경우, 변환한 기본 색상 테이블의 색상 그래프를 RGB와 HSV로 변환하여 나타낸 그래프이다.FIG. 13 is an exemplary graph illustrating a color of a basic color table and a converted basic color table of red-green blindness according to an embodiment of the present invention, and FIG. 13A illustrates an image color according to an embodiment of the present invention. In the conversion method, a graph in which the color graph of the basic color table that is not converted is represented by RGB and HSV. FIG. 13B is a graph in which the color graph of the converted basic color table is converted to RGB and HSV in the case of red-green color blindness in the image color conversion method according to an embodiment of the present invention.

도 14는 색상 변환 전과 색상 변환 후의 영상 예시도로서, 도 14의 (a)는 원본 영상이며, 도 14의 (b)는 적록색맹이 보는 영상이며, 도 14의 (c)는 색상 변환 결과 영상이다. 또한 도 14의 (d)는 도 14의 (c)보다 큰 값의 사용자 색상 변수를 적용한 색상 변환 결과 영상이다.FIG. 14 is a diagram illustrating an image before and after color conversion, in which FIG. 14A is an original image, FIG. 14B is an image viewed by red-green blind, and FIG. 14C is a color conversion result image. to be. FIG. 14D is a color conversion result image to which a user color variable having a larger value than that of FIG. 14C is applied.

다른 실시예로, 적록 색각 이상의 경우, 색상 및 명도를 보정하여 색각 이상자를 위한 색 변환 동작을 수행할 수 있다. 이때의 명도 보정은 명도가 보정되지 않아 색이 어둡게 보이는 문제를 해결 할 수 있다.In another embodiment, in the case of red-green color vision or more, a color conversion operation for the color-deficient person may be performed by correcting color and brightness. Brightness correction at this time can solve the problem that the color looks dark because the brightness is not corrected.

도 15는 본 발명의 다른 실시예에 따른, 일반인이 보는 색의 명도보다 적록 색맹자가 보는 색의 명도가 낮아지는 색상 구간을 나타낸 예시 그래프이다. 도 15의 (a)는 일반인이 볼 수 있는 RGB 색상의 영상이며, 도 15의 (b)는 청록 색맹자가 볼 수 있는 RGB 색상의 영상으로, 도 15의 (b)의 색상구간의 구간1 및 구간6의 색의 명도는 일반인이 볼 수 있는 색의 명도보다 낮아진다. FIG. 15 is an exemplary graph illustrating a color section in which the brightness of the color viewed by the red-blind color blinder is lower than the brightness of the color viewed by the general person according to another embodiment of the present invention. 15 (a) is an image of the RGB color that can be seen by the general public, Figure 15 (b) is an image of the RGB color that can be seen by the cyan color blind, the interval 1 and the color section of (b) of FIG. The brightness of the color in interval 6 is lower than the brightness of the color visible to the general public.

또한 도 16은 본 발명의 다른 실시예에 따른, 적록색맹의 경우, 색각 이상 정도에 따라 색상(Hue)에 대한 명도(Value)의 변화를 나타낸 예시 그래프이다. 그래프에서의 일반은 색각 이상 장애가 없는 것이며, 색맹1.0은 색각 이상 종류가 색맹이며, 색약0.8은 색각 이상의 종류가 색약이며 색약 이상 정도가 심각한 것이며, 색약0.5는 색약 이상 정도가 색약0.8보다 심각하지 않는 것이다. 명도가 일정한 비율로 감소하거나 증가하는 구간1 및 구간6에서의 색각 이상 정도에 따른 색상에 대한 명도의 변화는 색각 이상이 심각할수록 일반과 명도 차이가 많이 난다. In addition, FIG. 16 is an exemplary graph showing a change in the value for Hue according to the degree of color vision abnormality in the case of red-green color blindness according to another embodiment of the present invention. In the graph, there is no color blindness disorder, color blindness 1.0 is the color blindness type is color blindness, color weakness 0.8 is a kind of color blindness color weakness, color weakness is more serious, color weakness 0.5 is not more serious than color weakness 0.8 will be. The change in brightness with respect to color according to the degree of color vision abnormality in section 1 and section 6 in which the brightness decreases or increases at a constant rate is more severe than normal as the color vision abnormality becomes more severe.

도 17은 본 발명의 다른 실시예에 따른, 적록 색각 이상의 경우, 영상 색 변환부(20)의 상세 블록 구성도이다. 도 17을 참조하면, 영상 색 변환부(20)의 상세 구성은, 색각 특성 판단부(10)의 판단한 사용자의 색각 특성에 따라 단말기의 미리 설정된 색상 정보를 가진 기본 색상 테이블(311)을 변환하여 저장하는 기본 색상 테이블 변환부(310)를 포함한다. 이때, 기본 색상 테이블 변환부(310)는 사용자의 색각 특성에 따라, HSV 색 공간의 색상구간의 축소 정도를 지정하는 색약변수를 결정하며, 결정한 색약변수를 적용하여 일부 색상의 보정을 통해 기본 색상 테이블을 변환하고 저장한다.17 is a detailed block diagram of the image color conversion unit 20 in the case of red-green color vision or more according to another embodiment of the present invention. Referring to FIG. 17, the detailed configuration of the image color converter 20 converts the basic color table 311 having preset color information of the terminal according to the color gamut characteristic of the user determined by the color gamut characteristic determiner 10. It includes a basic color table conversion unit 310 for storing. At this time, the basic color table converting unit 310 determines a color weakness variable that designates the degree of reduction of the color section of the HSV color space according to the color vision characteristic of the user, and applies the determined color weakness variable to correct the basic color by correcting some colors. Convert and save the table.

또한 영상 색 변환부(20)의 상세 구성은, 디스플레이 될 영상의 영상 픽셀 RGB 값을 HSV 색 공간으로 변환하는 RGB/HSV 변환부(340)와, HSV 색 공간에서 변환한 기본 색상 테이블을 이용하여 디스플레이 될 영상의 영상 색상을 변환하는 색상 변환부(360) 및 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환하는 HSV/RGB 변환부(380)를 포함한다. In addition, the detailed configuration of the image color converter 20 uses an RGB / HSV converter 340 for converting an image pixel RGB value of an image to be displayed into an HSV color space, and a basic color table converted from the HSV color space. And a color converter 360 for converting an image color of an image to be displayed, and an HSV / RGB converter 380 for converting an HSV color space into an image pixel RGB value.

또한 영상 색 변환부(20)는 적록 색각 이상의 경우, HSV 색 공간에서 명도가 일정한 비율로 감소하거나 증가하는 구간의 명도를 보정하여 변환하기 위한 명도 변환부(390)를 포함한다. 이때, 명도 변환부(390)는 사용자의 색각 특성에 따라, HSV 색 공간에서의 색상 값에 대응하는 명도 값의 보정 정도를 지정하는 미리 설정된 사용자 명도 변수(User Value Parameter)를 결정하여 적용하며, RGB/HSV 변환부(340)에서의 색상(Hue) 값에 대응하는 명도 테이블에서의 명도 값들을 적용하며, HSV/RGB 변환부(380)에서의 변환한 RGB 픽셀의 B 값들을 적용하여, RGB/HSV 변환부(340)에서의 명도 값을 입력 받아 변환한다. 이때 명도 테이블은 기본 색상 테이블의 각각의 색상 값에 대응하는 명도 값이 저장된 것이다.In addition, the image color converter 20 includes a brightness converter 390 for correcting and converting the brightness of a section in which the brightness decreases or increases at a constant rate in the HSV color space when the color is higher than red green. In this case, the brightness converter 390 determines and applies a preset user value parameter that specifies a degree of correction of the brightness value corresponding to the color value in the HSV color space according to the color vision characteristic of the user. Apply the brightness values in the brightness table corresponding to the Hue value in the RGB / HSV converter 340, apply the B values of the converted RGB pixels in the HSV / RGB converter 380, The brightness value from the / HSV converter 340 is input and converted. In this case, the brightness table stores brightness values corresponding to respective color values of the basic color table.

상기와 같은 영상 색 변환부(20)의 색상 및 명도를 보정하여 변환하는 동작을 적용하는 다른 실시예를 상세히 설명하면 다음과 같다.Another embodiment of applying the operation of correcting and converting the color and brightness of the image color converter 20 as described above will now be described in detail.

도 18은 본 발명의 다른 실시예에 따른, 적록 색각 이상자를 위한 색 변환 동작 중 영상 색을 변환하는 과정의 흐름도이다. 도 18을 참조하면, 영상 색 변환 과정은, 먼저 31 단계에서는, 판단한 색각 특성에 따라 단말기의 미리 설정된 기본 색상 테이블을 변환하는 단계로서, 상세한 설명은 아래에 후술하였다. 이후 33 단계에서는 디스플레이 될 영상의 색을 HSV 색 공간에서 변환하기 위해, 디스플레이 될 영상의 영상 픽셀 RGB 값을 HSV 색 공간으로 변환한다. 이후 35 단계에서는, 사용자가 인식하게 될 다양한 영상의 색 일부를 HSV 색 공간에서 변환하는 단계로서, 변환한 기본 색상 테이블을 이용하여 디스플레이 될 영상의 색을 변환한다. 이후 37 단계에서는, HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환한다. 이후 39 단계에서는 사용자 명도 변수와, 명도 테이블 및 영상 픽셀 RGB 값 중 B의 값을 이용하여 디스플레이 될 영상의 일부 명도를 보정하여 변환하는 단계로서, 상세한 설명은 아래에 후술하였다.18 is a flowchart illustrating a process of converting an image color during a color conversion operation for a red-green color blind person according to another embodiment of the present invention. Referring to FIG. 18, in operation 31, the image color conversion process is a step of converting a preset basic color table of the terminal according to the determined color vision characteristic, which will be described in detail later. Thereafter, in step 33, the image pixel RGB values of the image to be displayed are converted to the HSV color space to convert the color of the image to be displayed in the HSV color space. Thereafter, in step 35, a part of colors of various images to be recognized by the user is converted in the HSV color space, and the color of the image to be displayed is converted using the converted basic color table. In step 37, the HSV color space is converted back into the image pixel RGB value. Subsequently, in step 39, a part of the brightness of the image to be displayed is corrected and converted by using a user brightness variable, a brightness table, and a value of B among the image pixel RGB values, which will be described below.

31단계는 단말기가 본 발명의 색각 이상자를 위한 색 변환을 적용할 때, 처음에 한 번만 수행되는 단계로서, 실제로 단말기가 영상을 디스플레이 할 때에는 31 단계에서 설정한 색상 테이블을 호출하여, 33 단계에서부터 39 단계까지의 과정을 통해 단말기에 디스플레이 될 영상의 색상을 변환한다.Step 31 is a step that is performed only once when the terminal applies the color conversion for color blindness of the present invention.When the terminal actually displays an image, step 31 calls the color table set in step 31. Through the process up to 39 steps, the color of the image to be displayed on the terminal is converted.

31 단계는 먼저 HSV 색 공간의 전체 색상 범위를 60도씩 다수의 색상으로 구분하여 설정한다.In step 31, the entire color range of the HSV color space is divided into a plurality of colors by 60 degrees.

또한 사용자의 색각 특성에 따라, 색상구간의 축소 정도를 지정하는 색약변수를 결정한다. 이때 색약변수는 미리 설정된 각각의 색각 특성 별로 미리 설정되어 저장된 값들로서, 색약변수를 사용자 조작에 의해 설정 가능하도록 기능을 추가할 수 있다. 즉, 색약변수를 재설정 가능하도록 미리 설정하여, 사용자가 색을 구분하고 싶은 정도에 따라 각각의 수치를 변경할 수 있도록 기능을 추가할 수 있다. 또한 색상 구간의 축소는, 초기에 설정된 색상 범위를 축소하는 것이며, 초기 색상구간의 색상 범위의 양 끝 지점 값에 대응하는 HSV 값을 축소한 색상 구간의 색상 범위의 양 끝 지점 값에 대응하게 변경하는 것이다.In addition, according to the color vision characteristics of the user, the color weakness variable that specifies the degree of reduction of the color section is determined. In this case, the color weakness variables are preset values for respective color vision characteristics, and may be added to enable the color weakness variable to be set by a user operation. That is, by setting the color weakness variable in advance so as to be reset, a function may be added so that the user can change each numerical value according to the degree to which the color is to be distinguished. In addition, the reduction of the color range is to reduce the initially set color range, and change the HSV value corresponding to the value of both end points of the color range of the initial color range to correspond to the value of both end points of the color range of the reduced color range. It is.

즉, 초기에 색상 범위를 60도씩 6개 구간으로 구분하여 설정함으로써, 각각의 구간의 특성을 판단하여 초기에 설정된 색상 구간의 축소를 통해 기본 색상 테이블을 변환할 수 있도록 한다.That is, the color range is initially divided into six sections at 60 degrees to determine the characteristics of each section, so that the basic color table can be converted by reducing the initially set color section.

이후, 결정한 색약변수를 적용하여, HSV 색 공간에서 기본 색상 테이블을 변환하고 저장한다.After that, the determined color weakness variable is applied to convert and store the base color table in the HSV color space.

기본 색상 테이블 변환은, 먼저 기본 색상 테이블 변환에서 색상 변환이 없는 것으로 기준이 되는 기준 색상 값을 결정한다. 이때, 기준 색상 값은 HSV 색 공간의 색상 분포 중 색각 이상자가 일반 시각과 동일하게 볼 수 있는 것으로 미리 설정된 색상 값이다.The base color table transformation first determines the base color value upon which there is no color transformation in the base color table transformation. In this case, the reference color value is a color value which is previously set by the visually impaired person in the color distribution of the HSV color space as the normal time.

이후 기본 색상 테이블 변환은, 색약변수와 기준 색상 값을 적용하여, 색상구간 중 색상과 채도와 명도가 변화 없이 일정한 색상구간을 변경한다. HSV 색 공간의 색상구간 중, 색상과 채도와 명도가 변화 없이 일정한 색상구간은 색각 이상자가 같은 색상으로 인식하여 구별하지 못하는 구간이므로 축소구간으로 결정한다. 축소구간의 색상 범위의 기준 색상 값과 차이가 큰 색상 값을 가지는 지점에서부터 색약변수만큼 축소 구간을 축소한다. 마지막으로 축소된 축소 구간의 기준색상 값과 차이가 큰 색상 값과 인접한 색상구간을 축소한 크기만큼 확대한다. 이때 색상 구간의 축소 또는 확대는, 초기에 설정된 색상 범위를 축소 또는 확대 하는 것이며, 초기 색상구간의 색상 범위의 양 끝 지점 값에 대응하는 HSV 값을 축소 또는 확대한 색상 구간의 색상 범위의 양 끝 지점 값에 대응하게 변경하는 것이다.Subsequently, the basic color table transformation applies color weakness variables and reference color values to change a constant color period without changing color, saturation, and brightness. Among the color sections of the HSV color space, the constant color section without changing the hue, saturation and brightness is determined as the reduced section because the color vision deficit cannot recognize and distinguish the same color. The reduction section is reduced by the color weakness variable from the point having a color value that is largely different from the reference color value of the color range of the reduction section. Finally, the color value that is largely different from the reference color value of the reduced reduction section and the adjacent color section are enlarged by the reduced size. At this time, the reduction or enlargement of the color range is to reduce or enlarge the initially set color range, and both ends of the color range of the color range in which the HSV value corresponding to the end point value of the color range of the initial color range is reduced or enlarged. To match the point value.

기본 색상 테이블 변환에서 색상구간을 확대하는 경우에는 추가적으로 히스토그램 평활화를 적용하여 기본 색상 테이블의 색상 값과 변환한 기본 색상 테이블의 색상 값이 비선형 관계를 갖도록 수식화 할 수 있다. In the case of enlarging the color section in the basic color table transformation, the histogram smoothing can be additionally applied to formulate a nonlinear relationship between the color values of the basic color table and the converted color table.

39 단계는 HSV 색 공간에서 색상 구간 중 명도가 일정한 비율로 감소 또는 증가하는 색상 구간을 변경 구간으로 결정하고, 변경 구간에서 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환하는 단계에서의 영상 픽셀 RGB 값 중 B 값을 하기의 수학식 1을 적용하여 명도 보정하여 변환한다.In step 39, the color gamut in which the brightness of the color gamut decreases or increases at a constant rate in the HSV color space is determined as the change period, and the video pixel RGB value in the step of converting the HSV color space back to the image pixel RGB value in the changed period. B value is converted by correcting the brightness by applying Equation 1 below.

Figure pat00001
Figure pat00001

상기 수학식 1에서 B'는 명도 보정된 B 값이며, B는 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환했을 때의 영상 픽셀 RGB 값 중 B 값이다. 또한 △V은 명도 테이블의 명도 값으로, 명도 테이블은 기본 색상 테이블의 각각의 색상 값에 대응하는 명도 값이 저장되어 미리 설정된 것이다. 또한 μ는 사용자 명도 변수로서 HSV 색 공간에서의 색상 값에 대응하는 명도 값의 보정 정도로서, 0에서 1 사이의 값으로 적용할 수 있으며 판단한 사용자 색각 특성에 따라 결정된다.In Equation 1, B 'is a brightness-corrected B value, and B is a B value of the image pixel RGB values when the HSV color space is converted back to the image pixel RGB values. ΔV is a brightness value of the brightness table, and the brightness table is set in advance by storing brightness values corresponding to respective color values of the basic color table. Μ is a degree of correction of brightness values corresponding to color values in the HSV color space as user brightness variables, and can be applied as a value between 0 and 1 and is determined according to the determined user color vision characteristics.

또다른 실시예로, 청색각이상의 경우, 색상 변환 없이 명도만을 보정하여 변환하여, 색각 이상자를 위한 색 변환 동작을 수행할 수 있다.In another embodiment, in the case of the blue angle or more, only the brightness is corrected and converted without the color conversion, and the color conversion operation for the color blind person may be performed.

도 19는 본 발명의 또다른 실시예에 따른, 청 색각 이상의 경우, 영상 색 변환부의 상세 블록 구성도이다. 도 19를 참조하면, 영상 색 변환부(20)의 상세 구성은, 디스플레이 될 영상의 영상 픽셀 RGB 값을 HSV 색 공간으로 변환하는 RGB/HSV 변환부(440)와, HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환하는 HSV/RGB 변환부(480) 및 HSV 색 공간에서 명도가 일정한 비율로 감소하거나 증가하는 구간의 명도를 보정하여 변환하기 위한 명도 변환부(490)를 포함한다. 이때, 명도 변환부(490)는 사용자의 색각 특성에 따라, HSV 색 공간에서의 색상 값에 대응하는 명도 값의 보정 정도를 지정하는 미리 설정된 사용자 명도 변수(User Value Parameter)를 결정하여 적용하며, RGB/HSV 변환부(440)에서의 색상(Hue) 값에 대응하는 명도 테이블에서의 명도 값들을 적용하며, HSV/RGB 변환부(480)에서의 변환한 RGB 픽셀의 R 값들을 적용하여, RGB/HSV 변환부(440)에서의 명도 값을 입력 받아 변환한다. 이때 명도 테이블은 기본 색상 테이블의 각각의 색상 값에 대응하는 명도 값이 저장된 것이다.FIG. 19 is a detailed block diagram illustrating an image color conversion unit in a case of over blue color vision according to another embodiment of the present invention. Referring to FIG. 19, a detailed configuration of the image color converter 20 includes an RGB / HSV converter 440 for converting an image pixel RGB value of an image to be displayed into an HSV color space, and converting the HSV color space into an image pixel again. An HSV / RGB converter 480 for converting to an RGB value and a brightness converter 490 for correcting and converting the brightness of a section in which the brightness decreases or increases at a constant rate in the HSV color space are included. In this case, the brightness converter 490 determines and applies a preset user value parameter that specifies a degree of correction of the brightness value corresponding to the color value in the HSV color space according to the color vision characteristic of the user. Apply the brightness values in the brightness table corresponding to the Hue value in the RGB / HSV converter 440, and apply the R values of the converted RGB pixels in the HSV / RGB converter 480, The brightness value from the / HSV converter 440 is input and converted. In this case, the brightness table stores brightness values corresponding to respective color values of the basic color table.

상기와 같은 청색각이상의 경우, 영상 색 변환부(20)의 명도를 보정하여 변환하는 동작을 적용하는 또다른 실시예를 상세히 설명하면 다음과 같다. In the case of the blue angle or more as described above, another embodiment of applying the operation of correcting and converting the brightness of the image color converter 20 will be described in detail as follows.

도 20은 본 발명의 또다른 실시예에 따른, 청 색각 이상의 경우, 색각 이상자를 위한 색 변환 동작 중 영상 색을 변환하는 과정의 흐름도이다. 도 20을 참조하면, 영상 색 변환 과정은, 먼저 41 단계에서는, HSV 색 공간에서의 색상 및 명도를 후술하는 명도 변환에 이용하기 위해, 디스플레이 될 영상의 영상 픽셀 RGB 값을 HSV 색 공간으로 변환한다. 이후 43 단계에서는, 영상 픽셀 RGB 값 중 R 값을 후술하는 명도 변환에 이용하기 위해, HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환한다. 이후 45 단계에서는 사용자 명도 변수와, 명도 테이블 및 영상 픽셀 RGB 값 중 B의 값을 이용하여 디스플레이 될 영상의 일부 명도를 보정하여 변환하는 단계로서, 상세한 설명은 다음과 같다.20 is a flowchart illustrating a process of converting an image color during a color conversion operation for a color blind person, in the case of a blue color error according to another embodiment of the present invention. Referring to FIG. 20, in operation 41, first, in operation 41, image pixel RGB values of an image to be displayed are converted to an HSV color space in order to use colors and brightness in the HSV color space for brightness conversion described later. . Subsequently, in step 43, the HSV color space is converted back to the image pixel RGB value in order to use the R value among the image pixel RGB values for the brightness conversion described later. Subsequently, in step 45, a part of the brightness of the image to be displayed is corrected and converted by using a user brightness variable, a brightness table, and a value of B among the image pixel RGB values.

45 단계는, HSV 색 공간의 전체 색상 범위를 60도씩 다수의 색상으로 구분하여 설정한 후, HSV 색 공간의 색상 구간 중 명도가 일정한 비율로 감소 또는 증가하는 색상 구간을 변경 구간으로 결정한다. 그리고 변경 구간에서 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환하는 단계에서의 영상 픽셀 RGB 값 중 R 값을 하기의 수학식 2를 적용하여 명도 보정하여 변환한다.In step 45, the entire color range of the HSV color space is set to be divided into a plurality of colors by 60 degrees, and then a color section in which the brightness decreases or increases at a constant rate among the color sections of the HSV color space is determined as the change section. The R value of the image pixel RGB values in the step of converting the HSV color space to the image pixel RGB values in the changed section is corrected and converted by applying the following Equation 2 below.

Figure pat00002
Figure pat00002

상기 수학식 2에서 R'는 명도 보정된 R 값이며, R은 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환했을 때의 영상 픽셀 RGB 값 중 R 값이다. 또한 △V은 명도 테이블의 명도 값으로, 명도 테이블은 기본 색상 테이블의 각각의 색상 값에 대응하는 명도 값이 저장되어 미리 설정된 것이다. 또한 μ 는 사용자 명도 변수로서 HSV 색 공간에서의 색상 값에 대응하는 명도 값의 보정 정도로서, 0에서 1 사이의 값으로 적용할 수 있으며 판단한 사용자 색각 특성에 따라 결정된다. In Equation 2, R 'is a brightness value corrected R value, and R is an R value of the image pixel RGB values when the HSV color space is converted back to the image pixel RGB values. ΔV is a brightness value of the brightness table, and the brightness table is set in advance by storing brightness values corresponding to respective color values of the basic color table. Μ is a degree of correction of brightness values corresponding to color values in the HSV color space as user brightness variables, and can be applied as a value between 0 and 1 and is determined according to the determined user color vision characteristics.

본 발명은 프로그램 등의 실행으로 사용자의 색각 특성을 판단하며, 색 변환을 실행하여 색각 이상자들이 어려움 없이 색을 구분 할 수 있도록 하는 것으로, 휴대폰, 태블릿, 노트북, 카메라, TV, 피디에이(PDA; Personal Digital Assistants) 등과 같은 다양한 단말기에 적용 가능하다.The present invention is to determine the color vision characteristics of the user by executing a program, and to perform color conversion so that those with color vision can be distinguished colors without difficulty, mobile phones, tablets, notebooks, cameras, TV, PDA (PDA; Personal) Applicable to various terminals such as Digital Assistants).

본 발명에 따른 일실시예에서는 색각 이상의 한 종류인 적록색맹에 적용하여 색상을 변환하는 방법을 기술하였지만, 색각 이상 중 3가지 원추 세포가 모두 없는 전색맹을 제외한 모든 색각이상에 적용될 수 있다. In one embodiment according to the present invention has been described a method for converting color by applying to one type of color vision or more red-green color blindness, it can be applied to all color vision abnormalities except color blindness without all three cone cells of color vision abnormalities.

본 발명의 실시 예들은 하드웨어, 소프트웨어 또는 하드웨어 및 소프트웨어의 조합의 형태로 실현 가능하다는 것을 알 수 있을 것이다. 이러한 임의의 소프트웨어는 예를 들어, 삭제 가능 또는 재기록 가능 여부와 상관없이, ROM 등의 저장 장치와 같은 휘발성 또는 비휘발성 저장 장치, 또는 예를 들어, RAM, 메모리 칩, 장치 또는 집적 회로와 같은 메모리, 또는 예를 들어 CD, DVD, 자기 디스크 또는 자기 테이프 등과 같은 광학 또는 자기적으로 기록 가능함과 동시에 기계(예를 들어, 컴퓨터)로 읽을 수 있는 저장 매체에 저장될 수 있다. 휴대 단말 내에 포함될 수 있는 메모리는 본 발명의 실시 예들을 구현하는 지시들을 포함하는 프로그램 또는 프로그램들을 저장하기에 적합한 기계로 읽을 수 있는 저장 매체의 한 예임을 알 수 있을 것이다. 따라서, 본 발명은 본 명세서의 임의의 청구항에 기재된 장치 또는 방법을 구현하기 위한 코드를 포함하는 프로그램 및 이러한 프로그램을 저장하는 기계로 읽을 수 있는 저장 매체를 포함한다. 또한, 이러한 프로그램은 유선 또는 무선 연결을 통해 전달되는 통신 신호와 같은 임의의 매체를 통해 전자적으로 이송될 수 있고, 본 발명은 이와 균등한 것을 적절하게 포함한다.It will be appreciated that embodiments of the present invention may be implemented in hardware, software, or a combination of hardware and software. Such arbitrary software may be stored in a memory such as, for example, a volatile or non-volatile storage device such as a storage device such as ROM or the like, or a memory such as a RAM, a memory chip, a device or an integrated circuit, , Or a storage medium readable by a machine (e.g., a computer), such as a CD, a DVD, a magnetic disk, or a magnetic tape, as well as being optically or magnetically recordable. It will be appreciated that the memory that can be included in the portable terminal is an example of a machine-readable storage medium suitable for storing a program or programs containing instructions for implementing embodiments of the present invention. Accordingly, the present invention includes a program comprising code for implementing the apparatus or method described in any claim herein and a machine-readable storage medium storing such a program. In addition, such a program may be electronically transported through any medium such as a communication signal transmitted via a wired or wireless connection, and the present invention appropriately includes the same.

상기와 같이 본 발명의 일 실시예에 따른 색각 이상자를 위한 색상 변환 방법 및 장치의 구성 및 동작이 이루어질 수 있으며, 한편 상기한 본 발명의 설명에서는 구체적인 실시예에 관해 설명하였으나 여러 가지 변형이 본 발명의 범위를 벗어나지 않고 실시될 수 있다. 따라서 본 발명의 범위는 설명된 실시예에 의하여 정할 것이 아니고 청구범위와 청구범위의 균등한 것에 의하여 정하여져야 할 것이다.As described above, the configuration and operation of a color conversion method and apparatus for color blindness according to an embodiment of the present invention can be made. Meanwhile, in the above description of the present invention, specific embodiments have been described. It can be carried out without departing from the scope of. Therefore, the scope of the present invention should not be defined by the described embodiments, but by the claims and equivalents of the claims.

Claims (24)

색각 이상자를 위한 색 변환 방법에 있어서,
미리 설정된 사용자 색각 특성 입력 메뉴의 실행을 통해, 사용자로부터 선택된 색각 이상 종류 및 색각 이상 정도를 입력 또는 선택 받아 사용자 색각 특성을 판단하는 과정과;
상기 사용자 색각 특성에 따라 단말기의 미리 설정된 기본 색상(Hue) 테이블을 변환하며, 상기 변환한 기본 색상 테이블을 적용하여 디스플레이 될 영상의 색을 변환하는 영상 색 변환 과정을 포함함을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
In the color conversion method for color blindness,
Determining a user color vision characteristic by receiving or inputting a type of color vision abnormality and a degree of color vision abnormality selected from a user by executing a preset user color vision characteristic input menu;
A color gamut abnormality converting a preset basic color (Hue) table of the terminal according to the user color vision characteristic, and converting a color of an image to be displayed by applying the converted basic color table. Color conversion method for.
제1항에 있어서, 상기 사용자 색각 특성 판단 과정은,
디스플레이되는, 미리 설정된 색각 이상 예시 종류들 중 사용자에 의해 선택된 색각 이상 종류를 저장하는 단계와,
상기 색각 이상 종류 별로 상기 색각 이상 정도에 따라 미리 설정된 다수의 예시 영상들을 디스플레이하며, 사용자에 의해 선택된 예시 영상에 따라 상기 색각 이상 정도를 판단하여 저장하는 단계를 포함함을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 1, wherein the determining of the color gamut characteristics of the user comprises:
Storing the color vision abnormality type selected by the user among the preset color vision abnormality types displayed;
And displaying a plurality of example images preset according to the degree of color vision abnormality for each kind of color vision abnormality, and determining and storing the degree of color vision abnormality according to the example image selected by a user. Color conversion method.
제1항에 있어서, 상기 기본 색상 테이블을 변환하는 것은,
HSV(Hue Saturation Value; 색상 채도 명도) 색 공간의 전체 색상 범위를 60도씩 다수의 색상구간으로 구분하여 설정하는 단계와,
상기 판단한 사용자 색각 특성에 따라, 상기 색상구간의 축소 정도를 지정하는 색약 변수(CVD Parameter)와 상기 색상구간의 확대 정도를 지정하는 사용자 색상 변수(User Hue Parameter)를 결정하는 단계와,
상기 결정한 색약 변수와 사용자 색상 변수를 적용하여, 상기 HSV 색 공간에서 상기 기본 색상 테이블을 변환하고 저장하는 단계를 포함하며,
상기 색상 구간의 축소 또는 확대는, 초기 설정된 색상 범위를 축소 또는 확대 하는 것이며, 초기 색상구간의 색상 범위의 양 끝 지점 값에 대응하는 HSV 값을 축소 또는 확대한 색상 구간의 색상 범위의 양 끝 지점 값에 대응하게 변경하는 것임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 1, wherein converting the basic color table,
Setting the Hue Saturation Value (HSV) color gamut by dividing the entire color range of the color space into a plurality of color intervals, each 60 degrees;
Determining, according to the determined user color vision characteristics, a color weakness parameter (CVD parameter) for designating a reduction degree of the color section and a user color parameter (User Hue Parameter) for designating an expansion degree of the color section;
Converting and storing the base color table in the HSV color space by applying the determined color weakness parameter and the user color variable,
The reduction or enlargement of the color range is to reduce or enlarge the initially set color range, and to both end points of the color range of the color range in which the HSV value corresponding to both end point values of the color range of the initial color range is reduced or enlarged. A color conversion method for color blindness, characterized in that for changing according to the value.
제3항에 있어서, 상기 색약 변수와 사용자 색상 변수는,
사용자 조작에 의해 설정 가능함을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 3, wherein the color weakness variable and the user color variable,
A color conversion method for color blindness, characterized in that can be set by a user operation.
제3항에 있어서, 상기 HSV 색 공간에서 상기 기본 색상 테이블을 변환하고 저장하는 단계는,
상기 HSV 색 공간에 따라, 상기 기본 색상 테이블을 변환할 때 색상 변환이 없는 것으로 기준이 되는 기준 색상 값을 결정하며,
상기 색약 변수와 상기 기준 색상 값을 적용하여, 상기 색상구간 중 색상과 채도와 명도가 변화 없이 일정한 색상구간을 변경하며,
상기 색약 변수와, 상기 사용자 색상 변수 및 상기 기준 색상 값을 적용하여, 상기 색상구간 중 명도가 일정한 비율로 감소 또는 증가하는 색상 구간을 변경하는 것임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 3, wherein converting and storing the base color table in the HSV color space comprises:
Determine, according to the HSV color space, a reference color value upon which there is no color conversion when converting the base color table;
By applying the color weakness variable and the reference color value, and changes the constant color period without changing the color, saturation and brightness of the color period,
The color conversion method for color blindness, characterized in that for changing the color gamut decreases or increases the brightness of the color period by a constant ratio by applying the color weakness variable, the user color variable and the reference color value.
제5항에 있어서, 상기 색상 구간 중 명도가 일정한 비율로 감소 또는 증가하는 색상구간을 변경하는 것은,
상기 명도가 일정한 비율로 감소 또는 증가하는 색상 구간을 변경 구간으로 결정하고,
상기 색각 이상의 종류에 따라, 상기 변경 구간의 색상과 구분되지 않는 색상을 가진 구간을 비교 구간으로 결정하고,
상기 비교 구간과 인접한 상기 변경 구간 중 한 구간을 상기 색약 변수만큼 축소하고, 상기 변경 구간 중 다른 한 구간을 상기 사용자 색상 변수만큼 확대하는 것임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 5, wherein the changing of the color section in which the brightness of the color section decreases or increases at a constant rate is performed.
Determine a color section in which the brightness decreases or increases at a constant rate as a change section,
According to the type of color vision or more, a section having a color that is not distinguished from the color of the change section is determined as a comparison section,
And reducing one section of the change section adjacent to the comparison section by the color weakness variable, and expanding the other section of the change section by the user color parameter.
제6항에 있어서, 상기 변경 구간 중 다른 한 구간을 상기 사용자 색상 변수만큼 확대하는 경우에,
히스토그램 평활화(Histogram Equalization)를 적용하여 상기 기본 색상 테이블의 색상 값과 상기 변환된 기본 색상 테이블의 색상 값이 비선형 관계를 갖도록 수식화 하는 것임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 6, wherein when one of the change intervals is enlarged by the user color variable,
A color conversion method for color blindness, characterized in that to apply a histogram equalization (Histogram Equalization) to the non-linear relationship between the color value of the base color table and the color value of the converted base color table.
제1항 또는 제3항에 있어서, 상기 디스플레이 될 영상의 색을 변환하는 것은,
상기 디스플레이 될 영상의 영상 픽셀 RGB(Red Green Blue) 값을 HSV 색 공간으로 변환하는 단계와,
상기 HSV 색 공간에서, 상기 변환한 기본 색상 테이블을 이용하여 상기 디스플레이 될 영상의 색상을 변환하는 단계와,
상기 HSV 색 공간을 다시 상기 영상 픽셀 RGB 값으로 변환하는 단계를 포함함을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 1 or 3, wherein converting the color of the image to be displayed,
Converting an image pixel RGB (Red Green Blue) value of the image to be displayed into an HSV color space;
Converting a color of the image to be displayed using the converted base color table in the HSV color space;
And converting the HSV color space back into the image pixel RGB values.
제1항에 있어서, 상기 기본 색상 테이블을 변환하는 것은,
HSV 색 공간의 전체 색상 범위를 60도씩 다수의 색상구간으로 구분하여 설정하는 단계와,
상기 판단한 사용자 색각 특성에 따라, 상기 색상구간의 축소 정도를 지정하는 색약 변수를 결정하는 단계와,
상기 결정한 색약 변수를 적용하여, 상기 HSV 색 공간에서 상기 기본 색상 테이블을 변환하고 저장하는 단계를 포함하며,
상기 색상 구간의 축소는, 초기 설정된 색상 범위를 축소하는 것이며, 초기 색상구간의 색상 범위의 양 끝 지점 값에 대응하는 HSV 값을 축소한 색상 구간의 색상 범위의 양 끝 지점 값에 대응하게 변경하는 것임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 1, wherein converting the basic color table,
Setting the entire color range of the HSV color space by dividing it into multiple color intervals by 60 degrees;
Determining a color weakness variable that designates a reduction degree of the color section according to the determined user color vision characteristic;
Converting and storing the base color table in the HSV color space by applying the determined color weakness parameter,
The reduction of the color range is to reduce the initially set color range, and to change the HSV value corresponding to both end point values of the color range of the initial color period to correspond to the end point values of the color range of the reduced color period. Color conversion method for color vision impaired, characterized in that.
제 9항에 있어서, 상기 색약 변수는,
사용자 조작에 의해 설정 가능함을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 9, wherein the color weakness variable,
A color conversion method for color blindness, characterized in that can be set by a user operation.
제 9항에 있어서, 상기 HSV 색 공간에서 상기 기본 색상 테이블을 변환하고 저장하는 단계는,
상기 HSV 색 공간에 따라, 상기 기본 색상 테이블을 변환할 때 색상 변환이 없는 것으로 기준이 되는 기준 색상 값을 결정하며,
상기 색약 변수와 상기 기준 색상 값을 적용하여, 상기 색상구간 중 색상과 채도와 명도가 변화 없이 일정한 색상구간을 변경하는 것임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 9, wherein converting and storing the base color table in the HSV color space,
Determine, according to the HSV color space, a reference color value upon which there is no color conversion when converting the base color table;
The color conversion method for color blindness, characterized in that for changing the constant color period without changing the color, saturation and brightness of the color period by applying the color weakness variable and the reference color value.
제5항 또는 11항에 있어서, 상기 기준 색상 값은, 상기 HSV 색 공간의 색상(HUE) 분포 중 색각 이상자가 일반 시각과 동일하게 볼 수 있는 것으로 미리 설정된 색상 값임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.12. The method of claim 5 or 11, wherein the reference color value is for a color blind person, characterized in that the color blind person in the color distribution (HUE) of the HSV color space can be seen to be the same as the normal time is a preset color value. Color conversion method. 제5항 또는 11항에 있어서, 상기 색상과 채도와 명도가 변화 없이 일정한 색상구간을 변경하는 것은,
상기 색상과 채도와 명도가 변화 없이 일정한 색상구간을 축소 구간으로 결정하고,
상기 축소 구간의 색상 범위의 상기 기준색상 값과 차이가 큰 색상 값을 가지는 지점에서부터 상기 색약변수만큼 상기 축소 구간을 축소하고,
상기 축소한 축소 구간의 상기 기준색상 값과 차이가 큰 색상 값과 인접한 색상구간을 상기 축소한 크기만큼 확대하는 것이며,
상기 색상 구간을 상기 축소한 크기만큼 확대하는 것은, 초기 설정된 색상 범위를 확대 하는 것이며, 초기 색상구간의 색상 범위의 양 끝 지점 값에 대응하는 HSV 값을 확대한 색상 구간의 색상 범위의 양 끝 지점 값에 대응하게 변경하는 것임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 5 or 11, wherein the changing of the constant color period without changing the hue and saturation and brightness,
The color, saturation and brightness are determined without changing a constant color section as a reduction section,
Reduce the reduction section by the color weakness variable from a point having a color value different from the reference color value of the color range of the reduction section;
A color value and an adjacent color section having a large difference from the reference color value of the reduced reduction section are enlarged by the reduced size,
The enlargement of the color section by the reduced size is to enlarge the initially set color range, and both end points of the color range of the color section in which the HSV values corresponding to the end point values of the color range of the initial color section are enlarged. A color conversion method for color blindness, characterized in that for changing according to the value.
제13항에 있어서, 상기 축소한 축소 구간의 상기 기준색상 값과 차이가 큰 색상 값과 인접한 색상구간을 상기 축소한 크기만큼 확대하는 경우에,
히스토그램 평활화(Histogram Equalization)를 적용하여 상기 기본 색상 테이블의 색상 값과 상기 변환된 기본 색상 테이블의 색상 값이 비선형 관계를 갖도록 수식화 하는 것임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 13, wherein when the color value and the adjacent color section having a large difference from the reference color value of the reduced reduction section are enlarged by the reduced size,
A color conversion method for color blindness, characterized in that to apply a histogram equalization (Histogram Equalization) to the non-linear relationship between the color value of the base color table and the color value of the converted base color table.
제1항 또는 제9항에 있어서, 상기 디스플레이 될 영상의 색을 변환하는 것은,
상기 디스플레이 될 영상의 영상 픽셀 RGB 값을 HSV 색 공간으로 변환하는 단계와,
상기 HSV 색 공간에서, 상기 변환한 기본 색상 테이블을 이용하여 상기 디스플레이 될 영상의 색상을 변환하는 단계와,
상기 HSV 색 공간을 다시 상기 영상 픽셀 RGB 값으로 변환하는 단계와,
상기 판단한 사용자 색각 특성에 따라, 상기 HSV 색 공간에서의 색상 값에 대응하는 명도 값의 보정 정도를 지정하는 미리 설정된 사용자 명도 변수(User Value Parameter)를 결정하여 적용하며, 상기 영상 픽셀 RGB 값을 HSV 색 공간으로 변환하는 단계에서의 색상 값에 대응하는 미리 설정된 명도 테이블에서의 명도 값들을 적용하며, 상기 HSV 색 공간을 다시 상기 영상 픽셀 RGB 값으로 변환하는 단계에서의 변환한 영상 픽셀 RGB 값 중 B 값을 적용하여, 상기 영상 픽셀 RGB 값을 HSV 색 공간으로 변환하는 단계에서의 명도 값을 입력 받아 상기 명도 값을 변환하는 단계를 포함하며,
상기 명도 테이블은 상기 기본 색상 테이블의 각각의 색상 값에 대응하는 명도 값이 저장된 것임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 1 or 9, wherein converting the color of the image to be displayed,
Converting an image pixel RGB value of the image to be displayed into an HSV color space;
Converting a color of the image to be displayed using the converted base color table in the HSV color space;
Converting the HSV color space back to the image pixel RGB value;
According to the determined user color vision characteristics, a predetermined user value parameter for designating a degree of correction of brightness values corresponding to color values in the HSV color space is determined and applied, and the image pixel RGB values are applied to HSV. B of the converted image pixel RGB values in the step of converting the HSV color space back to the image pixel RGB values by applying the brightness values in the preset brightness table corresponding to the color values in the color space conversion step. Applying a value to receive a brightness value in the step of converting the image pixel RGB value into an HSV color space, and converting the brightness value;
The brightness table is a color conversion method for color blindness, characterized in that the brightness value corresponding to each color value of the basic color table is stored.
제 15항에 있어서, 상기 명도 값을 변환하는 단계는,
상기 HSV 색 공간에서 상기 색상 구간 중 명도가 일정한 비율로 감소 또는 증가하는 색상 구간을 변경 구간으로 결정하고,
상기 변경 구간에서 상기 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환하는 단계에서의 영상 픽셀 RGB 값 중 B 값을 하기의 수학식 1을 적용하여 명도 보정을 하는 것을 포함하며,
(수학식 1)
Figure pat00003

상기 수학식 1에서 B'는 명도 보정된 B 값이며, 상기 B는 상기 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환했을 때의 상기 영상 픽셀 RGB 값 중 B 값이며, 상기 △V은 명도 테이블의 명도 값으로, 상기 명도 테이블은 상기 기본 색상 테이블의 각각의 색상 값에 대응하는 명도 값이 저장되어 미리 설정된 것이며, 상기 μ 는 사용자 명도 변수로서 상기 HSV 색 공간에서의 색상 값에 대응하는 명도 값의 보정 정도로서, 상기 사용자 색각 특성에 따라 결정되는 것을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 15, wherein converting the brightness value comprises:
In the HSV color space, the color section in which the brightness decreases or increases at a constant rate is determined as the change section.
Comprising the brightness correction by applying the B value of the image pixel RGB value in the step of converting the HSV color space back to the image pixel RGB value in the change interval,
(1)
Figure pat00003

In Equation 1, B 'is a brightness-corrected B value, B is a B value of the image pixel RGB values when the HSV color space is converted back to an image pixel RGB value, and ΔV is a value of the brightness table. As the brightness value, the brightness table is a preset brightness value corresponding to each color value of the basic color table is stored, and μ is a user brightness variable and the brightness value corresponds to the brightness value corresponding to the color value in the HSV color space. A color conversion method for color blindness, characterized in that the degree of correction, depending on the user color vision characteristics.
제1항에 있어서,
상기 사용자 색각 특성 판단 과정 이후에,
디스플레이 될 영상의 영상 픽셀 RGB 값을 HSV 색 공간으로 변환하는 단계와,
상기 HSV 색 공간을 다시 상기 영상 픽셀 RGB 값으로 변환하는 단계와,
상기 판단한 사용자 색각 특성에 따라, 상기 HSV 색 공간에서의 색상 값에 대응하는 명도 값의 보정 정도를 지정하는 미리 설정된 사용자 명도 변수를 결정하여 적용하며 상기 영상 픽셀 RGB 값을 HSV 색 공간으로 변환하는 것에서의 색상 값에 대응하는 미리 설정된 명도 테이블에서의 명도 값들을 적용하며 상기 HSV 색 공간을 다시 상기 영상 픽셀 RGB 값으로 변환하는 단계에서의 변환한 영상 픽셀 RGB 값 중 R 값을 적용하여, 상기 영상 픽셀 RGB 값을 HSV 색 공간으로 변환하는 것에서의 명도 값을 입력 받아 상기 명도 값을 변환하는 단계를 포함하는 영상 색 변환 과정을 포함하며,
상기 명도 테이블은 상기 기본 색상 테이블의 각각의 색상 값에 대응하는 명도 값이 저장된 것임을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 1,
After the user color vision characteristic determination process,
Converting an image pixel RGB value of an image to be displayed into an HSV color space;
Converting the HSV color space back to the image pixel RGB value;
In accordance with the determined user color vision characteristics, determining and applying a predetermined user brightness variable that specifies the degree of correction of the brightness value corresponding to the color value in the HSV color space, and converting the image pixel RGB value to the HSV color space Applying the brightness values in a preset brightness table corresponding to the color value of and applying the R value from the converted image pixel RGB values in the step of converting the HSV color space back to the image pixel RGB values, And converting the brightness value by receiving the brightness value in converting the RGB value into the HSV color space.
The brightness table is a color conversion method for color blindness, characterized in that the brightness value corresponding to each color value of the basic color table is stored.
제 17항에 있어서, 상기 명도 값을 변환하는 단계는,
상기 HSV 색 공간의 전체 색상 범위를 60도씩 다수의 색상구간으로 구분하여 설정하며, 상기 HSV 색 공간에서의 상기 색상 구간 중 명도가 일정한 비율로 감소 또는 증가하는 색상 구간을 변경 구간으로 결정하고, 상기 변경구간에서 상기 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환하는 단계에서의 영상 픽셀 RGB값 중 R값을 하기의 수학식 2를 적용하여 명도 보정을 하는 것을 포함하며,
(수학식 2)
Figure pat00004

상기 수학식 2에서 R′는 명도 보정된 R 값이며, 상기 R은 상기 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환했을 때의 상기 영상 픽셀 RGB 값 중 R 값이며, 상기 △V은 명도 테이블의 명도 값으로, 상기 명도 테이블은 상기 기본 색상 테이블의 각각의 색상 값에 대응하는 명도 값이 저장되어 미리 설정된 것이며, 상기 μ 는 사용자 명도 변수로서 상기 HSV 색 공간에서의 색상 값에 대응하는 명도 값의 보정 정도로서, 상기 사용자 색각 특성에 따라 결정되는 것을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 17, wherein converting the brightness value comprises:
The entire color range of the HSV color space is set by dividing a plurality of color sections by 60 degrees, and a color section in which the brightness decreases or increases at a constant rate in the color sections in the HSV color space is determined as a change section. Compensating brightness by applying the following Equation 2 to the R value of the image pixel RGB value in the step of converting the HSV color space back to the image pixel RGB value in the change section,
(2)
Figure pat00004

In Equation 2, R 'is a brightness value corrected R value, R is an R value among the image pixel RGB values when the HSV color space is converted back to the image pixel RGB value, and ΔV is the brightness table. As the brightness value, the brightness table is a preset brightness value corresponding to each color value of the basic color table is stored, and μ is a user brightness variable and the brightness value corresponds to the brightness value corresponding to the color value in the HSV color space. A color conversion method for color blindness, characterized in that the degree of correction, depending on the user color vision characteristics.
제 15항 또는 17항에 있어서, 상기 사용자 명도 변수는,
사용자 조작에 의해 설정 가능함을 특징으로 하는 색각 이상자를 위한 색 변환 방법.
The method of claim 15 or 17, wherein the user brightness variable,
A color conversion method for color blindness, characterized in that can be set by a user operation.
제1항 내지 제 19항 중 어느 한 항에 따른 색각 이상자를 위한 색 변환 방법을 실행하기 위한 프로그램을 기록한 기계로 읽을 수 있는 저장 매체.20. A machine-readable storage medium having recorded thereon a program for executing a color conversion method for color blindness according to any one of claims 1 to 19. 색각 이상자를 위한 색상 변환 장치에 있어서,
사용자로부터 제어 명령을 입력받는 입력부와;
영상을 디스플레이하는 영상 표시부와;
상기 각 기능부들을 총괄적으로 제어하며, 미리 설정된 사용자 색각 특성 입력 메뉴의 실행을 통해 사용자로부터 선택된 색각 이상 종류 및 색각 이상 정도를 상기 입력부를 통하여 입력 또는 선택 받아 사용자 색각 특성을 판단하는 색각 특성 판단부와, 상기 사용자 색각 특성에 따라 단말기의 미리 설정된 기본 색상(Hue) 테이블을 변환하며 상기 변환한 기본 색상 테이블을 적용하여 상기 영상 표시부에 디스플레이 될 영상의 색을 변환하는 영상 색 변환부를 구비하는 제어부를 포함함을 특징으로 하는 색각 이상자를 위한 색 변환 장치.
In the color conversion device for color blindness,
An input unit for receiving a control command from a user;
An image display unit which displays an image;
A color gamut characteristic determination unit which collectively controls each of the functional units and determines a user color gamut characteristic by receiving or inputting a type of color gamut abnormality and a degree of color gamut abnormality selected from a user through execution of a preset user color gamut characteristic input menu; And a control unit including a video color converting unit converting a preset basic color table of the terminal according to the user color vision characteristic and converting a color of an image to be displayed on the video display unit by applying the converted basic color table. Color converting device for color blindness, characterized in that it comprises a.
제21항에 있어서, 상기 색각 특성 판단부는,
디스플레이되는 미리 설정된, 색각 이상 예시 종류들 중 사용자에 의해 선택된 색각 이상 종류를 저장하며,
상기 색각 이상 종류 별로 상기 색각 이상 정도에 따라 미리 설정된 다수의 예시 영상들을 디스플레이하며, 사용자에 의해 선택된 예시 영상에 따라 상기 색각 이상 정도를 판단하여 저장함을 특징으로 하는 색각 이상자를 위한 색 변환 장치.
The method of claim 21, wherein the color vision characteristic determination unit,
Saves the color gamut abnormality type selected by the user among the preset types of color gamut abnormality displayed;
And displaying a plurality of example images preset according to the color vision abnormality for each type of color vision abnormality, and determining and storing the color vision abnormality according to the exemplary image selected by a user.
제21항에 있어서, 상기 영상 색 변환부는,
상기 색각 특성 판단부의 상기 판단한 사용자의 색각 특성에 따라 단말기의 미리 설정된 색상 정보를 가진 기본 색상 테이블을 변환하여 저장하는 기본 색상 테이블 변환부와,
디스플레이 될 영상의 영상 픽셀 RGB(Red Green Blue) 값을 HSV(Hue Saturation Value) 색 공간으로 변환하는 RGB/HSV 변환부와,
상기 HSV 색 공간에서, 상기 변환한 기본 색상 테이블을 이용하여 상기 디스플레이 될 영상의 영상 색상을 변환하는 색상 변환부와,
상기 HSV 색 공간을 다시 영상 픽셀 RGB 값으로 변환하는 HSV/RGB 변환부를 포함함을 특징으로 하는 색각 이상자를 위한 색 변환 장치.
The method of claim 21, wherein the image color conversion unit,
A basic color table converter for converting and storing a basic color table having preset color information of the terminal according to the determined color gamut characteristics of the user;
An RGB / HSV conversion unit for converting an image pixel RGB (Red Green Blue) value of an image to be displayed into a Hue Saturation Value (HSV) color space;
A color conversion unit for converting an image color of the image to be displayed using the converted basic color table in the HSV color space;
And an HSV / RGB converter for converting the HSV color space back to an image pixel RGB value.
제23항에 있어서, 상기 영상 색 변환부는
상기 HSV 색 공간에서의 색상 값에 대응하는 명도 값의 보정 정도를 지정하는 미리 설정된 사용자 명도 변수(User Value Parameter)와, 상기 색상 테이블의 각각의 색상 값에 대응하는 명도 값이 저장된 미리 설정된 명도 테이블, 및 상기 변환한 RGB 픽셀의 B 값 또는 R 값을 적용하여 상기 영상 픽셀 RGB 값을 HSV 색 공간으로 변환하였을 때의 명도 값을 입력 받아 명도 값을 변환하는 명도 변환부를 포함함을 특징으로 하는 색각 이상자를 위한 색 변환 방법.







The method of claim 23, wherein the image color converter
A preset user value parameter specifying a degree of correction of brightness values corresponding to color values in the HSV color space, and a preset brightness table storing brightness values corresponding to respective color values of the color table And a brightness converter which converts the brightness value by receiving the brightness value when the image pixel RGB value is converted into an HSV color space by applying the B value or the R value of the converted RGB pixel. Color conversion method for the ideal.







KR1020120086746A 2012-07-11 2012-08-08 Method and apparatus of converting color for color vision defectives KR101917776B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/939,681 US20140015850A1 (en) 2012-07-11 2013-07-11 Color transformation method and apparatus for person with color vision defect

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20120075532 2012-07-11
KR1020120075532 2012-07-11

Publications (2)

Publication Number Publication Date
KR20140008977A true KR20140008977A (en) 2014-01-22
KR101917776B1 KR101917776B1 (en) 2018-11-13

Family

ID=50142614

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120086746A KR101917776B1 (en) 2012-07-11 2012-08-08 Method and apparatus of converting color for color vision defectives

Country Status (1)

Country Link
KR (1) KR101917776B1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150136989A (en) * 2014-05-28 2015-12-08 한국과학기술원 Apparatus and method for adjusting the color sense
KR20160092129A (en) * 2015-01-26 2016-08-04 삼성디스플레이 주식회사 A display apparatus
US9548040B2 (en) 2014-12-18 2017-01-17 Samsung Display Co., Ltd. Image processing method and display device using the same
US20170047000A1 (en) * 2015-08-13 2017-02-16 Samsung Display Co., Ltd. Display device and driving method thereof
KR20170050416A (en) * 2015-10-30 2017-05-11 현대엠엔소프트 주식회사 Color Vision Correction Methods for Providing Digital Maps of Car Navigation
US9799254B2 (en) 2015-06-12 2017-10-24 Samsung Display Co., Ltd. Display apparatus and method of driving the same
US9966013B2 (en) 2015-12-31 2018-05-08 Samsung Display Co., Ltd. Display apparatus including a backlight and method of the driving display apparatus
US10078988B2 (en) 2014-09-05 2018-09-18 Samsung Display Co., Ltd. Display apparatus, display control method, and display method
US10319280B2 (en) 2015-06-10 2019-06-11 Samsung Display Co., Ltd. Display device and driving method thereof
CN113031819A (en) * 2021-03-24 2021-06-25 深圳市蔚来芯科技有限公司 Module display structure for image processing
CN115345788A (en) * 2022-07-22 2022-11-15 内蒙古工业大学 Method and device for improving image color contrast under vision of abnormal color vision person
WO2023146326A1 (en) * 2022-01-28 2023-08-03 주식회사 써니웨이브텍 Display device for dog

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102010360B1 (en) 2018-10-08 2019-08-14 넷마블 주식회사 Apparatus and method for deciding dyschromatopsia
KR102210389B1 (en) 2019-06-24 2021-02-02 넷마블 주식회사 Method and apparatus for authenticating user
KR20210013744A (en) 2021-01-22 2021-02-05 넷마블 주식회사 Method and apparatus for authenticating user
KR102636570B1 (en) 2023-09-27 2024-02-13 진기웅 The Method that Provide A Visually Assistive Interface for Color Blind People

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6309117B1 (en) 2000-08-17 2001-10-30 Nortel Networks Limited System and method for adjustment of color presentation in networked media
JP2009065532A (en) 2007-09-07 2009-03-26 Ricoh Co Ltd Image processor, image processing method, and computer-readable storage medium stored with image processing program
JP2009071541A (en) * 2007-09-12 2009-04-02 Ricoh Co Ltd Image processor, image processing method, program, and recording medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150136989A (en) * 2014-05-28 2015-12-08 한국과학기술원 Apparatus and method for adjusting the color sense
US10078988B2 (en) 2014-09-05 2018-09-18 Samsung Display Co., Ltd. Display apparatus, display control method, and display method
US9548040B2 (en) 2014-12-18 2017-01-17 Samsung Display Co., Ltd. Image processing method and display device using the same
KR20160092129A (en) * 2015-01-26 2016-08-04 삼성디스플레이 주식회사 A display apparatus
US10319280B2 (en) 2015-06-10 2019-06-11 Samsung Display Co., Ltd. Display device and driving method thereof
US9799254B2 (en) 2015-06-12 2017-10-24 Samsung Display Co., Ltd. Display apparatus and method of driving the same
US20170047000A1 (en) * 2015-08-13 2017-02-16 Samsung Display Co., Ltd. Display device and driving method thereof
KR20170050416A (en) * 2015-10-30 2017-05-11 현대엠엔소프트 주식회사 Color Vision Correction Methods for Providing Digital Maps of Car Navigation
US9966013B2 (en) 2015-12-31 2018-05-08 Samsung Display Co., Ltd. Display apparatus including a backlight and method of the driving display apparatus
CN113031819A (en) * 2021-03-24 2021-06-25 深圳市蔚来芯科技有限公司 Module display structure for image processing
WO2023146326A1 (en) * 2022-01-28 2023-08-03 주식회사 써니웨이브텍 Display device for dog
CN115345788A (en) * 2022-07-22 2022-11-15 内蒙古工业大学 Method and device for improving image color contrast under vision of abnormal color vision person
CN115345788B (en) * 2022-07-22 2024-02-20 内蒙古工业大学 Method and device for improving image color contrast under vision of person with color vision abnormality

Also Published As

Publication number Publication date
KR101917776B1 (en) 2018-11-13

Similar Documents

Publication Publication Date Title
KR20140008977A (en) Method and apparatus of converting color for color vision defectives
US20140015850A1 (en) Color transformation method and apparatus for person with color vision defect
EP2151819B1 (en) Apparatus and method for displaying screen according to intensity of brightness of ambient light
KR100587333B1 (en) Method and apparatus of color display for incomplete color blindness
US8279238B2 (en) Image display device and image display method
CN101964874B (en) Image processing apparatus and image processing method
KR100707952B1 (en) Display apparatus and control method thereof
EP3264758A1 (en) Image processing apparatus, display apparatus, image processing method, and image processing program
CN107945766A (en) Display device
US9025224B2 (en) Image-color-correcting method using a multitouch screen
JP2002064842A (en) Method and apparatus for adjusting color
JPH1196369A (en) Color characteristic extracting device, color characteristic extracting method and program storage medium
EP2541891B1 (en) Data-generating device, data-generating method, data-generating program, and recording medium
WO2017121207A1 (en) Display device and display control method therefor
JP2007142983A (en) Image processor
CN112801858A (en) Color conversion method, device, equipment and storage medium
CN106488219A (en) Method for displaying image and device
JP2003122336A (en) Image display device and adjusting method for color and gamma value of display image
US7177468B2 (en) Image processing system, imaging device, and parameter-determining program
CN112053650A (en) Multi-screen color correction method and electronic device thereof
US11715404B2 (en) Color modification based on perception tolerance
EP3296957B1 (en) Method and apparatus for judging image brightness background, and display apparatus
JP2021113847A (en) Display device and control method of display device
EP3754977A1 (en) Video projector and video display method
CN111613168A (en) Image display processing method and device and computer readable storage medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant