KR20060018637A - Apparatus and method for adjusting color for display device - Google Patents

Apparatus and method for adjusting color for display device Download PDF

Info

Publication number
KR20060018637A
KR20060018637A KR1020040067115A KR20040067115A KR20060018637A KR 20060018637 A KR20060018637 A KR 20060018637A KR 1020040067115 A KR1020040067115 A KR 1020040067115A KR 20040067115 A KR20040067115 A KR 20040067115A KR 20060018637 A KR20060018637 A KR 20060018637A
Authority
KR
South Korea
Prior art keywords
color
image
range
saturation
hue
Prior art date
Application number
KR1020040067115A
Other languages
Korean (ko)
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 KR1020040067115A priority Critical patent/KR20060018637A/en
Publication of KR20060018637A publication Critical patent/KR20060018637A/en

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/77Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase

Abstract

여기에 개시된 컬러 조절 장치 및 방법은, 디스플레이로 제공되는 RGB 영상을 직접 이용하여 컬러를 조절하는 대신, RGB 영상을 HSV 영상으로 변환한 후, HSV 영상으로 부터 얻어질 수 있는 색상과 채도 정보를 복합적으로 이용하여 영상의 컬러를 조절한다. 그리고, 타깃이 되는 컬러는 물론, 타킷이 되는 컬러와 인접해 있는 컬러에 대해서도 보정을 해줌으로써, 단층 현상 없이 자연스러운 색상 조절을 수행할 수 있게 해 준다. The color adjusting apparatus and method disclosed herein converts an RGB image into an HSV image, instead of directly adjusting color using an RGB image provided to a display, and then combines the color and saturation information that can be obtained from the HSV image. To adjust the color of the image. In addition, by correcting not only the target color, but also the color adjacent to the target color, natural color adjustment can be performed without a tomography phenomenon.

Description

디스플레이를 위한 컬러 조절 장치 및 방법{Apparatus and method for adjusting color for display device}Apparatus and method for adjusting color for display device

도 1은 본 발명의 바람직한 실시예에 따른 컬러 조절 장치의 블록도;1 is a block diagram of a color adjusting device according to a preferred embodiment of the present invention;

도 2는 RGB 컬러 모델을 보여주는 도면;2 shows an RGB color model;

도 3은 HSV 컬러 모델을 보여주는 도면;3 shows an HSV color model;

도 4는 HSV 컬러 모델에서의 피부톤의 분포를 보여주는 도면;4 shows the distribution of skin tones in the HSV color model;

도 5는 본 발명에 따른 피부톤에 대한 컬러 조절 결과를 보여주는 도면;5 is a view showing a color adjustment result for the skin tone according to the present invention;

도 6은 본 발명의 바람직한 실시예에 따른 컬러 조절 방법을 보여주는 흐름도; 및6 is a flowchart showing a color adjusting method according to a preferred embodiment of the present invention; And

도 7은 도 6의 1700 단계에서 수행되는 컬러 변환 과정에 대한 상세 흐름도이다.FIG. 7 is a detailed flowchart of a color conversion process performed in operation 1700 of FIG. 6.

*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

100 : 컬러 조절 장치 110 : RGB-HSV 변환부100: color control device 110: RGB-HSV conversion unit

130 : 컬러 조절부 150 : 색상 및 채도 검출부;130: color adjustment unit 150: color and saturation detection unit;

170 : 컬러 매핑부 190 : HSV-RGB 변환부170: color mapping unit 190: HSV-RGB conversion unit

200 : 디스플레이200: display

본 발명은 영상처리에 관한 것으로, 좀 더 구체적으로는 디스플레이되는 영상의 컬러를 조절하는 장치 및 방법에 관한 것이다.TECHNICAL FIELD The present invention relates to image processing, and more particularly, to an apparatus and method for adjusting the color of a displayed image.

텔레비젼, 모니터 등과 같은 디스플레이 장치는 RGB(Red, Green, Blue) 컬러를 이용하여 영상을 표시한다. 디스플레이 장치에서 표시되는 컬러 중 가장 빈도가 높게 표시되는 컬러 중 하나로 피부 톤(skin tone 또는 skin color)을 들 수 있다. 피부 톤은 인간의 시각적으로 볼 때 가장 익숙한 색상 중 하나이고, 디스플레이 장치에서 표시되는 빈도 또한 높기 때문에, 피부 톤의 변화는 다른 색상의 변화에 비해 민감하게 느껴진다. Display devices such as televisions and monitors display images using RGB (Red, Green, Blue) colors. One of the colors most frequently displayed among the colors displayed on the display device may include a skin tone or a skin color. The skin tone is one of the most familiar colors visually seen by humans, and because the frequency of display on the display device is also high, the change in skin tone is more sensitive than the change in other colors.

현재 사용되고 있는 디스플레이 장치의 색상 조절 방법으로, 영상의 콘트라스트(contrast)를 증대시키는 방법이 있다. 이 방법에서는 영상의 히스토그램을 추출하여, 히스토그램 수치가 높은 값과 낮은 값들을 약화시켜 전체적으로 평활화된 영상을 제공한다. 그러나, 이 같은 방법에서는 영상 전체에 걸쳐 컬러의 왜곡 현상이 발생하게 되는 문제가 있다.As a method of controlling color of a display device currently being used, there is a method of increasing contrast of an image. In this method, the histogram of the image is extracted and the high and low values of the histogram are weakened to provide an overall smoothed image. However, this method has a problem that color distortion occurs throughout the image.

특히, 같은 영상 데이터가 입력된다 하더라도 디스플레이 장치에 따라 표시되는 컬러 톤에 약간씩의 차이가 있다는 점을 감안해 볼 때, 보다 정확하고 세밀하게 원하는 컬러를 조절할 수 있는 새로운 방안이 요구된다. In particular, even when the same image data is input, there is a need for a new method for more precisely and precisely adjusting the color, considering that there is a slight difference in the color tone displayed by the display device.

따라서, 본 발명의 목적은 상술한 제반 문제점을 해결하기 위해 제안된 것으 로, 보다 정확하고 세밀하게 원하는 컬러를 조절할 수 있는 장치 및 방법을 제공하는데 있다.Accordingly, it is an object of the present invention to provide a device and method capable of adjusting a desired color more accurately and precisely, which has been proposed to solve the above-mentioned problems.

상술한 바와 같은 본 발명의 목적을 달성하기 위한 본 발명의 특징에 의하면, 컬러 조절 장치는, 적색, 녹색, 및 청색을 기본으로 하는 정보로 구성된 제 1 타입의 영상을 색상, 채도, 및 명도를 기본으로 하는 정보로 구성된 제 2 타입의 영상으로 변환하는 제 1 영상변환부; 상기 제 2 타입의 영상으로부터 상기 색상 및 채도 정보를 검출하고, 검출된 상기 색상 및 채도 정보를 근거로 하여 조절하고자 하는 컬러의 디스플레이 레인지를 조절하는 컬러 조절부; 및 상기 컬러 조절부에 의해 조절된 상기 제 2 타입의 영상을 상기 제 1 타입으로 변환하여 디스플레이 장치로 출력하는 제 2 영상 변환부를 포함하는 것을 특징으로 한다.According to a feature of the present invention for achieving the object of the present invention as described above, the color adjusting device is characterized by the color, saturation, and brightness of the first type of image composed of information based on red, green, and blue. A first image converting unit converting the image into a second type of image composed of basic information; A color adjusting unit which detects the hue and saturation information from the second type of image and adjusts a display range of a color to be adjusted based on the detected hue and saturation information; And a second image converting unit converting the second type of image adjusted by the color adjusting unit into the first type and outputting the converted image to the display device.

상술한 바와 같은 본 발명의 목적을 달성하기 위한 본 발명의 특징에 의하면, 컬러 조절 방법은, (a) 적색, 녹색, 및 청색을 기본으로 하는 정보로 구성된 제 1 타입의 영상을 색상, 채도, 및 명도를 기본으로 하는 정보로 구성된 제 2 타입의 영상으로 변환하는 단계; (b) 상기 제 2 타입의 영상으로부터 상기 색상 및 채도 정보를 검출하고, 검출된 상기 색상 및 채도 정보를 근거로 하여 조절하고자 하는 컬러의 디스플레이 레인지를 조절하는 단계; 및 (c) 상기 (b) 단계에서 조절된 상기 제 2 타입의 영상을 상기 제 1 타입으로 변환하여 디스플레이 장치로 출력하는 단계를 포함하는 것을 특징으로 한다.According to a feature of the present invention for achieving the object of the present invention as described above, the color adjustment method comprises: (a) color, saturation, and the like of a first type of image composed of information based on red, green, and blue; And converting the image into a second type of image including information based on brightness. (b) detecting the hue and saturation information from the second type of image and adjusting a display range of a color to be adjusted based on the detected hue and saturation information; And (c) converting the second type of image adjusted in step (b) into the first type and outputting the image to the display device.

(실시예)(Example)

이하 본 발명에 따른 실시예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 신규한 컬러 조절 장치 및 방법은, RGB 영상을 HSV 영상으로 변환한 후, 영상의 색상과 채도 정보를 복합적으로 이용하여 영상의 컬러를 조절한다. 그리고, 타깃이 되는 컬러는 물론, 타킷이 되는 컬러와 인접해 있는 컬러에 대해서도 보정을 해줌으로써, 단층 현상 없이 자연스러운 색상 조절을 수행할 수 있게 해 준다. The novel color adjustment apparatus and method of the present invention, after converting an RGB image to an HSV image, adjusts the color of the image by using a combination of hue and chroma information of the image. In addition, by correcting not only the target color, but also the color adjacent to the target color, natural color adjustment can be performed without a tomography phenomenon.

도 1은 본 발명의 바람직한 실시예에 따른 컬러 조절 장치(100)의 블록도이다.1 is a block diagram of a color adjusting device 100 according to a preferred embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 컬러 조절 장치(100)는, RGB-HSV 변환부(110), 컬러 조절부(130), 및 HSV-RGB 변환부(190)를 포함한다. Referring to FIG. 1, the color control apparatus 100 according to the present invention includes an RGB-HSV converter 110, a color adjuster 130, and an HSV-RGB converter 190.

RGB-HSV 변환부(110)는 RGB(Red, Green, Blue) 영상을 HSV(Hue, Saturation, Value) 영상으로 변환한다. RGB 영상은 적색(Red), 녹색(Green), 및 청색(Blue)을 기본으로 하는 구성을 가지는 반면, HSV 영상은 색상(Hue), 채도(Saturation), 및 명도(Value)를 기본으로 하는 구성을 가진다. 따라서, 본 발명에서는 RGB 영상을 HSV 영상으로 변환하여, RGB 영상에서 알 수 없었던 색상(Hue) 및 채도(Saturation) 채도 정보를 검출하고, 이를 이용하여 컬러 조절을 수행한다. The RGB-HSV converter 110 converts an RGB (Red, Green, Blue) image into an HSV (Hue, Saturation, Value) image. RGB images have configurations based on Red, Green, and Blue, while HSV images have configurations based on Hue, Saturation, and Value. Has Accordingly, the present invention converts an RGB image into an HSV image, detects unknown hue and saturation saturation information in the RGB image, and performs color adjustment using the same.

컬러 조절부(130)는 변환된 HSV 영상으로부터 색상 및 채도 정보를 검출하고, 검출된 색상 및 채도 정보를 근거로 하여 조절하고자 하는 컬러(예를 들면, 피부 톤 등과 같이 시각에 민감한 컬러)의 디스플레이 레인지를 조절한다. 그리고 HSV-RGB 변환부(190)는 컬러 레인지가 조절된 상기 HSV 영상을 다시 RGB 영상으로 변환하여 디스플레이(200)로 출력한다.The color adjuster 130 detects color and saturation information from the converted HSV image, and displays a color (for example, visually sensitive color such as skin tone) to be adjusted based on the detected color and saturation information. Adjust the range. The HSV-RGB converter 190 converts the HSV image having the color range adjusted to an RGB image and outputs the converted RGB image to the display 200.

도 2는 RGB 컬러 모델을 보여주는 도면이고, 도 3은 HSV 컬러 모델을 보여주는 도면이다.2 is a view showing an RGB color model, Figure 3 is a view showing an HSV color model.

도 2 및 도 3을 참조하면, 영상 데이터의 컬러를 분류하고, 색조, 밝기, 명암 등의 속성에 따라 영상의 특성을 구분하기 위해, RGB, CMY, HSV Munsell, CIE 등의 다양한 컬러 모델들이 사용되고 있다. 2 and 3, various color models such as RGB, CMY, HSV Munsell, CIE, etc. are used to classify the color of the image data and to distinguish the characteristics of the image according to attributes such as color tone, brightness, and contrast. have.

이들 중 RGB 모델은, 빛의 삼원색, 즉, 적색, 녹색, 청색이 기본이 되는 컬러 모델로서, 여러 색의 빛을 더하면 흰색이 되는 성질을 이용하여 색을 구성한다. 이는 기본 색을 더하여 새로운 컬러를 만들어 내기 때문에, 가산 모델(addirive model)이라 불리기도 한다. RGB 모델은 CRT(cathode-ray tube), LCD(liquid crystal display) 모니터와 같이 빛으로 컬러를 표현하는 데 사용된다. 그리고, HSV 모델은 인간의 시각 모델과 가장 흡사한 컬러 모델로서, 인간의 직관적인 시각에 기초를 둔다. HSV 모델은 적색, 녹색, 및 청색을 기본으로 하는 RGB 모델과 달리, 색상, 채도, 및 명도를 기본으로 한다. Among these, the RGB model is a color model based on three primary colors of light, that is, red, green, and blue, and constitutes color by using a property of adding white light to various colors. It is also called an additive model because it adds a base color to create a new color. RGB models are used to represent colors with light, such as cathode-ray tubes (CRTs) and liquid crystal display (LCD) monitors. The HSV model is the color model most similar to the human visual model, and is based on the intuitive visual view of the human. The HSV model is based on hue, saturation, and lightness, unlike the RGB model, which is based on red, green, and blue.

다시 도 1을 참조하면, 컬러 조절부(130)는 HSV 영상으로부터 색상 및 채도 정보를 검출하고, 검출된 색상 및 채도 정보를 근거로 하여 타킷이 되는 컬러를 조절하여 출력한다. 이를 위해 컬러 조절부(130)는 색상 및 채도 검출부(150)와, 컬러 매핑부(170)를 포함하는 구성을 갖는다. Referring back to FIG. 1, the color controller 130 detects hue and saturation information from the HSV image, and adjusts and outputs a target color based on the detected hue and saturation information. To this end, the color adjusting unit 130 has a configuration including a hue and saturation detector 150 and a color mapping unit 170.

색상 및 채도 검출부(150)는, HSV 영상으로부터 색상 및 채도 정보를 검출한다. 그리고, 컬러 매핑부(170)는, 색상 및 채도 검출부(150)에서 검출된 색상 및 채도 정보에 응답해서, 타깃이 되는 컬러의 레인지를 조절한다. 본 발명에 따른 컬러 레인지의 조절은 다음과 같다.The hue and saturation detector 150 detects hue and saturation information from the HSV image. The color mapping unit 170 adjusts the range of the target color in response to the hue and saturation information detected by the hue and saturation detection unit 150. Adjustment of the color range according to the present invention is as follows.

도 4는 HSV 컬러 모델에서의 피부톤의 분포를 보여주는 도면이고, 도 5는 본 발명에 따른 피부톤에 대한 컬러 조절 결과를 보여주는 도면이다. 아래에서는 설명의 편의를 위해, 피부 톤에 대한 컬러의 조절을 예를 들어 설명하기로 한다. 여기에서 설명되는 피부 톤의 조절은, 다양한 컬러 중 임의의 컬러에 대한 조절 예에 불과하며, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 다양한 변화 및 변경이 가능함은 물론이다.4 is a view showing the distribution of skin tone in the HSV color model, Figure 5 is a view showing the result of color adjustment for the skin tone according to the present invention. Hereinafter, for convenience of description, adjustment of the color for the skin tone will be described by way of example. The adjustment of the skin tone described herein is merely an example for adjusting any color among various colors, and various changes and modifications can be made without departing from the technical spirit of the present invention.

먼저 도 4를 참조하면, HSV 영상에서 색상(Hue) 정보는 각도(angle)로 표시되고, 0°에서 360°의 범위를 갖는다(즉, 0°≤ H ≤360°). 그리고, 채도(Satuation)는 0 에서 1 사이의 범위를 갖는다(즉, 0≤ S ≤1). 이와 같은 색상 및 각도의 범위에 있어서, 피부 톤은 H1에서 H2 범위의 색상을 갖고(즉, H1<H<H2), 0 에서 M 범위의 채도를 갖는 것으로(즉, 0≤S<M) 정의된다. 이 때, 소오스(source)가 되는 피부 톤의 색상을 MH1라 하고, 목적(destination)으로 하는 피부 톤의 색상을 MH2라 한다. 본 발명에서, 소오스가 되는 피부 톤의 색상(MH1) 및 목적으로 하는 피부 톤의 색상(MH2)은 각각 사용자로부터 지정된 것을 사용한다. 사용자는 어플리케이션 프로그램 등을 통해 원하는 컬러를 지정하고, 지정된 컬러의 톤을 원하는 만큼 조절하게 된다. First, referring to FIG. 4, color information (Hue) in an HSV image is represented by an angle, and has a range of 0 ° to 360 ° (that is, 0 ° ≦ H ≦ 360 °). And, the saturation (Satuation) has a range of 0 to 1 (that is, 0≤S≤1). In this range of colors and angles, the skin tone is defined as having a color in the range H1 to H2 (ie H1 <H <H2) and having a saturation in the range 0 to M (ie 0≤S <M). do. At this time, the color of the skin tone serving as the source is called MH1, and the color of the skin tone serving as the destination is called MH2. In the present invention, the color MH1 of the skin tone to be the source and the color MH2 of the desired skin tone are respectively used by the user. The user designates a desired color through an application program and adjusts the tone of the designated color as desired.

도 5에는 피부 톤이 H1<H<H2의 색상 범위를 가지고, 0≤S<M의 채도 범위를 가질 때, 사용자가 MH1 색상을 MH2 색상으로 조절하고자 하는 경우, 피부 톤에 대 한 컬러 조절 결과가 도시되어 있다.FIG. 5 shows the result of color adjustment for skin tone when the user wants to adjust MH1 color to MH2 color when the skin tone has a color range of H1 <H <H2 and has a saturation range of 0≤S <M. Is shown.

먼저, 도 5의 (a)를 참조하면, 본 발명에 따른 컬러 조절 장치(100)는, 피부 톤 영역 중 색상의 범위가 H1<H<MH1의 범위에 속하고, 채도의 범위가 0≤S<M의 범위에 속하는 영역(이하, 제 1 영역이라 칭함)의 색상이 H1<H<MH2의 범위에 속하는 영역(이하, 제 3 영역이라 칭함)으로 넓게 매핑되도록 색상을 조절한다(빗금친 부분 참조). 이 때, 제 3 영역은 제 1 영역 보다 큰 레인지를 가지며, 상기 매핑 방식을 수학식으로 나타내면 다음과 같다.First, referring to FIG. 5A, in the color adjusting apparatus 100 according to the present invention, the color range of the skin tone region belongs to the range of H1 <H <MH1, and the saturation range is 0 ≦ S. The color is adjusted (hatched) so that the color of the region (hereinafter referred to as the first region) in the range of <M is broadly mapped to the region (hereinafter referred to as the third region) in the range of H1 <H <MH2. Reference). In this case, the third region has a larger range than that of the first region, and the mapping scheme is represented as follows.

Figure 112004038129225-PAT00001
Figure 112004038129225-PAT00001

그리고, 도 5의 (b)를 참조하면, 본 발명에 따른 컬러 조절 장치(100)는, 피부 톤의 전체 영역 중 상기 제 1 영역을 제외한 영역, 즉 MH1≤H<H2의 범위에 속하는 영역(이하, 제 2 영역이라 칭함)의 색상은 MH2≤H<H2의 범위에 속하는 영역(이하, 제 4 영역이라 칭함)으로 좁게 매핑되도록 색상을 조절한다(점으로 표시된 부분 참조). 이 때, 제 4 영역은 제 2 영역 보다 작은 레인지를 가지며, 상기 매핑 방식을 수학식으로 나타내면 다음과 같다.Referring to FIG. 5B, the color adjusting apparatus 100 according to the present invention includes a region except for the first region, that is, a region belonging to a range of MH1 ≦ H <H2 among the entire regions of the skin tone ( Hereinafter, the color of the second region is adjusted so that the color is narrowly mapped to the region (hereinafter referred to as the fourth region) in the range of MH2 ≤ H <H2 (see a portion indicated by dots). In this case, the fourth region has a smaller range than that of the second region, and the mapping scheme is represented as follows.

Figure 112004038129225-PAT00002
Figure 112004038129225-PAT00002

여기서, 제 1 및 제 2 영역으로 구성된 변경 전의 전체 컬러 레인지와, [수학식 1] 및 [수학식 2]에 의해 상기 제 3 및 제 4 영역으로 변경된 상기 매핑 후의 전체 컬러 레인지는 모두 피부 톤의 컬러 레인지(H1<H<H2) 내에 속한다.Here, the entire color range before the change composed of the first and second regions, and the entire color range after the mapping changed to the third and fourth regions by Equation 1 and Equation 2, are all the skin tone. It belongs to the color range H1 <H <H2.

상기 컬러 조절 장치(100)는, 색상이 상기 변경하고자 하는 컬러의 색상 레인지에는 속하지만, 채도가 상기 변경하고자 하는 컬러의 채도의 레인지에 속하지 않는 인접 컬러에 대해, 임의의 조절 상수(α)와, 상기 제 3 및 제 4 영역에 대한 매핑 결과(즉, Hmid)를 근거로 하여, 컬러 매핑을 수행 한다. 이 때, 사용되는 주변 색상에 대한 매핑 방식은 다음과 같다.The color adjusting device 100 may include any adjustment constant α for an adjacent color whose color belongs to the color range of the color to be changed, but whose saturation does not belong to the range of saturation of the color to be changed. Based on the mapping result (ie, Hmid) for the third and fourth regions, color mapping is performed. At this time, the mapping method for the surrounding color used is as follows.

Figure 112004038129225-PAT00003
Figure 112004038129225-PAT00003

여기서, α는 조절하고자 하는 컬러와 근접한 컬러의 왜곡을 방지하는데 사용되는 조절 상수로서, 사용자로부터 입력된 상수를 사용할 수도 있고, 반복된 실험에 의해 결정된 임의의 값을 사용할 수도 있다. Here, α is an adjustment constant used to prevent distortion of a color close to the color to be adjusted, and may use a constant input from a user or an arbitrary value determined by repeated experiments.

[수학식 3]과 같은 주변 색에 대한 색상 조절에 의하면, 조절하고자 하는 컬러(즉, 피부 톤)와 주변 컬러 간의 색상(hue)의 변화는 점차적으로 감소하게 된다. 그 결과, 조절하고자 하는 색상과 주변 색상간에 단층 현상이 발생되지 않게 되어, 자연스러운 색상 조절이 가능해지고, 색상의 이동에 따른 주변 컬러의 왜곡이 방지된다. 이와 같은 색상의 조절은 [수학식 1]부터 [수학식 3]까지 순차적으로 수행된 다.According to the color adjustment for the ambient color as shown in [Equation 3], the change of the hue between the color to be adjusted (that is, the skin tone) and the ambient color is gradually reduced. As a result, tomography does not occur between the color to be adjusted and the surrounding color, thereby enabling natural color adjustment and preventing distortion of the surrounding color due to color shift. Such color adjustment is performed sequentially from [Equation 1] to [Equation 3].

도 6은 본 발명의 바람직한 실시예에 따른 컬러 조절 방법을 보여주는 흐름도이다.6 is a flowchart illustrating a color adjusting method according to a preferred embodiment of the present invention.

도 6을 참조하면, 본 발명에 따른 컬러 조절 방법은, 먼저 영상이 입력되면(1000 단계), 입력된 영상의 포맷을 RGB 타입에서 HSV 타입으로 변환한다(1100 단계). 이어서, 변환된 HSV 타입의 영상으로부터 색상(Hue) 및 채도(Saturation) 정보를 검출하고(1500 단계), 이를 이용하여 컬러 조절을 수행한다(1700 단계). 그리고, 상기 HSV 타입의 영상을 다시 RGB 타입의 영상으로 변환한 후(1900 단계), 변환된 영상을 디스플레이로 출력한다(2000 단계). 1700 단계에서 수행되는 컬러 변환 과정은 다음과 같다.Referring to FIG. 6, in the color adjusting method according to the present invention, when an image is first input (step 1000), the format of the input image is converted from an RGB type to an HSV type (step 1100). Subsequently, color and saturation information are detected from the converted HSV type image (step 1500), and color adjustment is performed using the same (step 1700). The HSV-type image is converted back to an RGB-type image (step 1900), and the converted image is output to the display (step 2000). The color conversion process performed in step 1700 is as follows.

도 7은 도 6의 1700 단계에서 수행되는 컬러 변환 과정에 대한 상세 흐름도이다. 도 7에서는 피부 톤이 H1<H<H2의 색상 범위를 가지고, 0≤S<M의 채도 범위를 가지는 것으로 가정한다. 이 때, 사용자가 MH1 색상을 MH2 색상으로 조절하고자 하는 경우, 본 발명에 따른 컬러 조절 방법은, 먼저 영상이 가지고 있는 색상 정보가 제 1 영역(즉, H1<H≤MH1, 0≤S<M)에 속하는지 여부를 판별한다(1710 단계).FIG. 7 is a detailed flowchart of a color conversion process performed in operation 1700 of FIG. 6. In FIG. 7, it is assumed that the skin tone has a color range of H1 <H <H2 and has a saturation range of 0 ≦ S <M. At this time, if the user wants to adjust the MH1 color to the MH2 color, the color adjustment method according to the present invention, the first color information that the image has a first region (that is, H1 <H≤MH1, 0≤S <M (Step 1710).

1710 단계에서의 판별 결과, 영상이 가지고 있는 색상 정보가 제 1 영역에 속하는 것으로 판별되면, [수학식 1]을 사용하여 해당 영상에 대한 컬러를 조절한다(1720 단계). 1720 단계에서 수행된 컬러 조절 결과는 도 5의 (a)와 같으며, 제 1 영역에 속하는 컬러는, 제 1 영역 보다 넓은 제 3 영역으로 매핑된다. 이어서, 1710 단계에서의 판별 결과, 영상이 가지고 있는 색상 정보가 제 1 영역에 속하지 않는 것으로 판별되면, 해당 영상이 제 2 영역(즉, MH1≤H<H2, 0≤S<M)에 속하는지 여부를 판별한다(1730 단계). If it is determined in operation 1710 that the color information of the image belongs to the first region, the color of the image is adjusted using Equation 1 (operation 1720). The result of color adjustment performed in operation 1720 is as shown in FIG. 5A, and colors belonging to the first area are mapped to a third area wider than the first area. Subsequently, when it is determined in operation 1710 that the color information of the image does not belong to the first region, whether the image belongs to the second region (that is, MH1 ≦ H <H2 and 0 ≦ S <M). It is determined whether or not (step 1730).

1730 단계에서의 판별 결과, 영상이 가지고 있는 색상 정보가 제 2 영역에 속하는 것으로 판별되면, [수학식 2]를 사용하여 해당 영상에 대한 컬러를 조절한다(1740 단계). 1740 단계에서 수행된 컬러 조절 결과는 도 5의 (b)와 같으며, 제 2 영역에 속하는 컬러는, 제 2 영역 보다 좁은 제 4 영역으로 매핑된다. 이어서, 1730 단계에서의 판별 결과, 영상이 가지고 있는 색상 정보가 제 2 영역에 속하지 않는 것으로 판별되면, 해당 영상이 제 3 영역(즉, H1<H<H2, M≤S≤1.0)에 속하는지 여부를 판별한다(1750 단계). As a result of the determination in operation 1730, if it is determined that the color information of the image belongs to the second region, the color of the image is adjusted using Equation 2 (operation 1740). The result of color adjustment performed in step 1740 is as shown in FIG. 5B, and colors belonging to the second area are mapped to a fourth area narrower than the second area. Subsequently, if it is determined in operation 1730 that the color information of the image does not belong to the second region, whether the image belongs to the third region (that is, H1 <H <H2, M≤S≤1.0). It is determined whether or not (step 1750).

1750 단계에서의 판별 결과, 영상이 가지고 있는 색상 정보가 제 3 영역에 속하는 것으로 판별되면, [수학식 3]을 사용하여 해당 영상에 대한 컬러를 조절한다(1760 단계). 1760 단계에서는 피부 톤과 동일한 색상 레인지를 가지지만, 채도가 피부 톤과는 다른 레인지에 속하지 않는 인접 컬러의 색상을 조절해 준다. If it is determined in operation 1750 that the color information of the image belongs to the third region, the color of the corresponding image is adjusted using Equation 3 (step 1760). Step 1760 adjusts the color of adjacent colors that have the same color range as the skin tone, but whose saturation is not in the range different from the skin tone.

앞에서 설명한 바와 같이, 본 발명에 따른 컬러 조절 장치 및 방법은 영상의 색상과 채도를 복합적으로 이용하여 영상의 컬러를 조절해 준다. 그리고, 타깃이 되는 컬러(즉, 피부 톤)는 물론, 타킷이 되는 컬러와 인접해 있는 컬러에 대해서도 보정을 해줌으로써, 조절하고자 하는 색상과 주변 색상간에 단층 현상이 발생되지 않게 되어, 자연스러운 색상 조절이 가능해진다.As described above, the color adjusting apparatus and method according to the present invention adjusts the color of the image by using a combination of the color and saturation of the image. In addition, by correcting not only the target color (that is, skin tone) but also the color adjacent to the target color, a fault is not generated between the color to be adjusted and the surrounding color. This becomes possible.

이상에서, 본 발명에 따른 회로의 구성 및 동작을 상기한 설명 및 도면에 따라 도시하였지만 이는 예를 들어 설명한 것에 불과하며 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 다양한 변화 및 변경이 가능함은 물론이다. In the above, the configuration and operation of the circuit according to the present invention are shown in accordance with the above description and drawings, but this is merely described, for example, and various changes and modifications are possible without departing from the spirit of the present invention. .

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드로 저장되고 실행될 수 있다.The invention can also be embodied as computer readable code on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

이상과 같은 본 발명에 의하면, 디스플레이 장치에서 보다 정확하고 세밀하한 컬러 조절을 수행할 수 있게 된다.According to the present invention as described above, it is possible to perform a more accurate and fine color adjustment in the display device.

Claims (13)

적색, 녹색, 및 청색을 기본으로 하는 정보로 구성된 제 1 타입의 영상을 색상, 채도, 및 명도를 기본으로 하는 정보로 구성된 제 2 타입의 영상으로 변환하는 제 1 영상변환부;A first image conversion unit converting a first type of image composed of red, green, and blue based information into a second type of image composed of information based on hue, saturation, and lightness; 상기 제 2 타입의 영상으로부터 상기 색상 및 채도 정보를 검출하고, 검출된 상기 색상 및 채도 정보를 근거로 하여 조절하고자 하는 컬러의 디스플레이 레인지를 조절하는 컬러 조절부; 및A color adjusting unit which detects the hue and saturation information from the second type of image and adjusts a display range of a color to be adjusted based on the detected hue and saturation information; And 상기 컬러 조절부에 의해 조절된 상기 제 2 타입의 영상을 상기 제 1 타입으로 변환하여 디스플레이 장치로 출력하는 제 2 영상 변환부를 포함하는 것을 특징으로 하는 컬러 조절 장치.And a second image converter configured to convert the image of the second type adjusted by the color controller into the first type and output the converted image to a display device. 제 1 항에 있어서, 상기 컬러 조절부는The method of claim 1, wherein the color control unit 상기 제 2 타입의 영상으로부터 상기 색상 및 채도 정보를 검출하는 색상 및 채도 검출부; 및A hue and saturation detector for detecting the hue and saturation information from the second type of image; And 상기 검출된 상기 색상 및 채도 정보에 응답해서, 상기 조절하고자 하는 컬러의 레인지를 제 1 및 제 2 영역으로 구분하고, 상기 제 1 영역에 속하는 컬러의 영상 데이터를 상기 제 1 영역 보다 큰 제 3 영역으로 매핑하고, 상기 제 2 영역에 속하는 컬러의 영상 데이터를 상기 제 2 영역 보다 작은 제 4 영역으로 매핑하는 컬러 매핑부를 포함하는 것을 특징으로 하는 컬러 조절 장치.In response to the detected hue and saturation information, the range of color to be adjusted is divided into first and second areas, and image data of a color belonging to the first area is larger than the first area. And a color mapping unit for mapping the image data of the color belonging to the second area to a fourth area smaller than the second area. 제 2 항에 있어서, The method of claim 2, 상기 제 1 및 제 2 영역으로 구성된 변경 전의 전체 컬러 레인지와, 상기 제 3 및 제 4 영역으로 구성된 상기 매핑 후의 전체 컬러 레인지는 서로 동일한 것을 특징으로 하는 컬러 조절 장치.And the entire color range before the change composed of the first and second regions and the entire color range after the mapping composed of the third and fourth regions are the same. 제 2 항에 있어서,The method of claim 2, 상기 컬러 매핑부는, 색상이 상기 변경하고자 하는 컬러의 색상 레인지에는 속하지만, 채도가 상기 변경하고자 하는 컬러의 채도의 레인지에 속하지 않는 인접 컬러에 대해, 임의의 조절 상수와, 상기 제 3 및 제 4 영역에 대한 매핑 결과를 근거로 하여, 컬러 매핑을 수행하는 것을 특징으로 하는 컬러 조절 장치.The color mapping unit may include an arbitrary adjustment constant and the third and fourth values for an adjacent color whose color belongs to the color range of the color to be changed, but whose saturation does not belong to the range of saturation of the color to be changed. And color mapping is performed based on the result of the mapping to the region. 제 1 항에 있어서,The method of claim 1, 상기 조절하고자 하는 컬러의 레인지는, 사용자 인터페이스를 통해 외부로부터 입력되는 것을 특징으로 하는 컬러 조절 장치.The range of color to be adjusted is input from the outside through a user interface. 제 4 항에 있어서,The method of claim 4, wherein 상기 조절 상수는, 상기 조절하고자 하는 컬러와 근접한 컬러의 왜곡을 방지하는 상수인 것을 특징으로 하는 컬러 조절 장치.The adjustment constant is a color control device, characterized in that the constant to prevent distortion of the color close to the color to be adjusted. (a) 적색, 녹색, 및 청색을 기본으로 하는 정보로 구성된 제 1 타입의 영상을 색상, 채도, 및 명도를 기본으로 하는 정보로 구성된 제 2 타입의 영상으로 변환하는 단계;(a) converting a first type of image composed of information based on red, green, and blue into a second type image composed of information based on hue, saturation, and lightness; (b) 상기 제 2 타입의 영상으로부터 상기 색상 및 채도 정보를 검출하고, 검출된 상기 색상 및 채도 정보를 근거로 하여 조절하고자 하는 컬러의 디스플레이 레인지를 조절하는 단계; 및(b) detecting the hue and saturation information from the second type of image and adjusting a display range of a color to be adjusted based on the detected hue and saturation information; And (c) 상기 (b) 단계에서 조절된 상기 제 2 타입의 영상을 상기 제 1 타입으로 변환하여 디스플레이 장치로 출력하는 단계를 포함하는 것을 특징으로 하는 컬러 조절 방법.(c) converting the second type of image adjusted in step (b) into the first type and outputting the image to a display device. 제 7 항에 있어서, 상기 (b) 단계는8. The method of claim 7, wherein step (b) (b-1) 상기 제 2 타입의 영상으로부터 상기 색상 및 채도 정보를 검출하는 단계; 및(b-1) detecting the hue and saturation information from the second type of image; And (b-2) 상기 검출된 상기 색상 및 채도 정보에 응답해서, 상기 조절하고자 하는 컬러의 레인지를 제 1 및 제 2 영역으로 구분하는 단계; 및(b-2) in response to the detected hue and saturation information, dividing the range of the color to be adjusted into first and second regions; And (b-3) 상기 제 1 영역에 속하는 컬러의 영상 데이터를 상기 제 1 영역 보다 큰 제 3 영역으로 매핑하고, 상기 제 2 영역에 속하는 컬러의 영상 데이터를 상기 제 2 영역 보다 작은 제 4 영역으로 각각 매핑하는 단계를 포함하는 것을 특징으로 하는 컬러 조절 방법.(b-3) Map image data of a color belonging to the first area to a third area larger than the first area, and map image data of a color belonging to the second area to a fourth area smaller than the second area. And a step of mapping each. 제 8 항에 있어서, The method of claim 8, 상기 제 1 및 제 2 영역으로 구성된 변경 전의 전체 컬러 레인지와, 상기 제 3 및 제 4 영역으로 구성된 상기 매핑 후의 전체 컬러 레인지는 서로 동일한 것을 특징으로 하는 컬러 조절 방법.And the entire color range before the change composed of the first and second regions and the entire color range after the mapping composed of the third and fourth regions are the same. 제 8 항에 있어서,The method of claim 8, 상기 (b) 단계는, 색상이 상기 변경하고자 하는 컬러의 색상 레인지에는 속하지만, 채도가 상기 변경하고자 하는 컬러의 채도의 레인지에 속하지 않는 인접 컬러에 대해, 임의의 조절 상수와, 상기 제 3 및 제 4 영역에 대한 매핑 결과를 근거로 하여, 컬러 매핑을 수행하는 단계를 더 포함하는 것을 특징으로 하는 컬러 조절 방법.The step (b) may include any adjustment constants for the adjacent colors whose colors belong to the color range of the color to be changed, but whose saturation does not belong to the range of saturation of the color to be changed; And performing color mapping on the basis of the mapping result for the fourth region. 제 7 항에 있어서,The method of claim 7, wherein 상기 조절하고자 하는 컬러의 레인지는, 사용자 인터페이스를 통해 외부로부터 입력되는 것을 특징으로 하는 컬러 조절 방법.The range of color to be adjusted is input from the outside through a user interface. 제 10 항에 있어서,The method of claim 10, 상기 조절 상수는, 상기 조절하고자 하는 컬러와 근접한 컬러의 왜곡을 방지하는 상수인 것을 특징으로 하는 컬러 조절 방법.The adjustment constant is a color adjustment method, characterized in that the constant to prevent distortion of the color close to the color to be adjusted. 제 7 항 내지 제 12 항 중 어느 한 항의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체.A computer-readable recording medium having recorded thereon a program for executing the method of any one of claims 7 to 12 on a computer.
KR1020040067115A 2004-08-25 2004-08-25 Apparatus and method for adjusting color for display device KR20060018637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040067115A KR20060018637A (en) 2004-08-25 2004-08-25 Apparatus and method for adjusting color for display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040067115A KR20060018637A (en) 2004-08-25 2004-08-25 Apparatus and method for adjusting color for display device

Publications (1)

Publication Number Publication Date
KR20060018637A true KR20060018637A (en) 2006-03-02

Family

ID=37126232

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040067115A KR20060018637A (en) 2004-08-25 2004-08-25 Apparatus and method for adjusting color for display device

Country Status (1)

Country Link
KR (1) KR20060018637A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100885880B1 (en) * 2007-03-06 2009-02-27 엠텍비젼 주식회사 Device and Method of Realtime Image Processing
US8953879B2 (en) 2006-09-18 2015-02-10 Samsung Electro-Mechanics Co., Ltd. System, method and medium performing color correction of display images

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8953879B2 (en) 2006-09-18 2015-02-10 Samsung Electro-Mechanics Co., Ltd. System, method and medium performing color correction of display images
KR100885880B1 (en) * 2007-03-06 2009-02-27 엠텍비젼 주식회사 Device and Method of Realtime Image Processing

Similar Documents

Publication Publication Date Title
US20190005919A1 (en) Display management methods and apparatus
JP5481021B2 (en) Heterogeneous color gamut mapping method and apparatus
US7116441B1 (en) Signal processing apparatus image processing apparatus and their methods
US6765585B2 (en) Image display system, image processing method, and program
CN109274985B (en) Video transcoding method and device, computer equipment and storage medium
JP2009527196A (en) Color gamut mapping with sunspot compensation
JP2005354711A (en) Color gamut mapping apparatus using vector stretching and method therefor
JP2005210370A (en) Image processor, photographic device, image processing method, image processing program
KR20120091578A (en) Method and apparatus for changing of brightness of an image
KR101393487B1 (en) Display apparatus and method for image enhancement
JP2008278465A (en) Method and apparatus for displaying image having wide hue range
EP2445191A1 (en) Image forming apparatus and image forming method capable of revising gray image obtained from a color image
US9111477B2 (en) Language-based color calibration of displays
US7071948B2 (en) Adjusting images based on previous modifications
KR20170102638A (en) Apparatus and method for adjusting color image in display device
JP5411433B2 (en) Video classification method, system and storage medium based on video attributes
KR101426242B1 (en) Method and apparatus for converting gray level of color image
US20100328343A1 (en) Image signal processing device and image signal processing program
WO2012099165A1 (en) Image processing device, and image processing program product
JP4150490B2 (en) Image processing system, image processing method, and recording medium
KR20060018637A (en) Apparatus and method for adjusting color for display device
JP4300780B2 (en) Color conversion coefficient creation method, color conversion coefficient creation apparatus, program, and storage medium
KR100463831B1 (en) Apparatus and method for optimizing image quality by using human visual characteristics
JP3642888B2 (en) Color information conversion processing method
JP2000105820A (en) Device and method for monotone conversion and medium where monotone converting program is recorded

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application