KR20160007319A - Electronic apparatus and Method for controlling the electronic apparatus thereof - Google Patents

Electronic apparatus and Method for controlling the electronic apparatus thereof Download PDF

Info

Publication number
KR20160007319A
KR20160007319A KR1020140120850A KR20140120850A KR20160007319A KR 20160007319 A KR20160007319 A KR 20160007319A KR 1020140120850 A KR1020140120850 A KR 1020140120850A KR 20140120850 A KR20140120850 A KR 20140120850A KR 20160007319 A KR20160007319 A KR 20160007319A
Authority
KR
South Korea
Prior art keywords
value
dynamic range
color
image frame
representative
Prior art date
Application number
KR1020140120850A
Other languages
Korean (ko)
Other versions
KR102160247B1 (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 US14/727,982 priority Critical patent/US9852531B2/en
Publication of KR20160007319A publication Critical patent/KR20160007319A/en
Application granted granted Critical
Publication of KR102160247B1 publication Critical patent/KR102160247B1/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
    • 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping

Abstract

Provided are an electronic apparatus for expanding a dynamic range, and a control method thereof. The method for controlling an electronic apparatus includes: determining representative colors of a plurality of pixels configuring an image frame by analyzing a received image frame; calculating an input dynamic range for the representative colors based on brightness information of the received image frame; expanding a dynamic range for the representative colors by calculating a gain value corresponding to the representative colors based on at least one of the brightness information of the received image frame and display characteristics of the electronic apparatus; and outputting an image frame having adjusted brightness based on the expanded dynamic range.

Description

전자 장치 및 이의 제어 방법{Electronic apparatus and Method for controlling the electronic apparatus thereof}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to an electronic apparatus and a control method thereof,

본 발명은 전자 장치 및 이의 제어 방법에 관한 것으로, 입력된 영상 프레임의 색상 분포와 출력 장치의 색역 표현 범위를 바탕으로 다이내믹 레인지를 확장하는 전자 장치 및 이의 제어 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic apparatus and a control method thereof, and more particularly, to an electronic apparatus and a control method thereof that extend a dynamic range based on a color distribution of an input image frame and a gamut representation range of an output apparatus.

선명한 화질을 요구하는 사용자들의 니즈에 따라 근래의 전자 장치는 영상을 출력할 때 다이내믹 레인지를 확장한다. 기존의 전자 장치는 영상의 밝기 정보에 따라 히스토그램의 최대, 최소 범위를 조절하는 방식으로 다이내믹 레인지를 확장한다. 구체적으로, 기존의 전자 장치는 입력된 영상을 분석하고, 분석 결과를 바탕으로 히스토그램을 생성하며, 밝기 정보에 따라 다이내믹 레인지의 확장 범위를 설명하며, 다이내믹 레인지의 확장 범위를 바탕으로 히스토그램을 확장함으로써, 사용자에게 더욱 선명한 화질을 제공하였다.Modern electronic devices expand the dynamic range when outputting images, depending on the needs of users who demand sharp image quality. Conventional electronic devices extend the dynamic range by adjusting the maximum and minimum range of the histogram according to the brightness information of the image. Specifically, an existing electronic device analyzes an inputted image, generates a histogram based on the analysis result, explains an extended range of the dynamic range according to brightness information, and extends the histogram based on the extended range of the dynamic range , Providing users with clearer picture quality.

즉, 종래에는 영상의 밝기 정보에 따라 히스토그램의 최소 및 최대값을 결정하는 방식으로 다이내믹 레인지를 확장하였다. 그러나, 영상 프레임 내에 블랙이나 화이트 성분이 포함된 레터 박스, 텍스트 등이 존재하는 경우, 영상 프레임의 다이내믹 레인지는 최대 다이내믹 레인지인 0~255(8비트의 시스템인 경우)에 가까운 값을 가지게 된다. 이에 따라, 실질적으로 다이내믹 레인지의 확장이 어려워 화질 개선폭이 크지 못하다는 문제점이 발생한다.That is, conventionally, the dynamic range is expanded by determining the minimum and maximum values of the histogram according to the brightness information of the image. However, when there are letterboxes, texts, or the like including black or white components in an image frame, the dynamic range of the image frame has a value close to the maximum dynamic range of 0 to 255 (in the case of a system of 8 bits). As a result, it is difficult to expand the dynamic range substantially, resulting in a problem that the improvement range of image quality is not large.

본 발명은 상술한 문제점을 해결하기 위해 안출된 것으로 본 발명의 목적은 입력된 영상에 대한 정보 및 전자 장치의 색상 표현 범위를 고려하여 색상별로 다이내믹 레인지를 확장함으로써, 사용자에게 더욱 선명한 화질을 제공할 수 있는 전자 장치 및 이의 제어 방법을 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a display device capable of providing a clearer image quality to a user by expanding a dynamic range by color in consideration of information about an input image and a color expression range of an electronic device And to provide a control method therefor.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른, 전자 장치의 제어 방법은, 입력된 영상 프레임을 분석하여 상기 영상 프레임을 구성하는 복수의 픽셀들의 대표 색상을 판단하는 단계; 상기 입력된 영상 프레임의 밝기 정보를 바탕으로 복수의 대표 색상에 대한 입력 다이내믹 레인지를 산출하는 단계; 상기 입력된 영상 프레임의 밝기 정보 및 상기 전자 장치의 디스플레이 특성 중 적어도 하나를 바탕으로 상기 대표 색상별로 다이내믹 레인지를 확장하는 단계; 및 상기 확장된 다이내믹 레인지를 바탕으로 밝기가 조절된 영상 프레임을 출력하는 단계;를 포함한다.According to another aspect of the present invention, there is provided a method of controlling an electronic device, comprising: analyzing an input image frame to determine a representative color of a plurality of pixels constituting the image frame; Calculating an input dynamic range for a plurality of representative colors based on the brightness information of the input image frame; Expanding a dynamic range for each representative color based on at least one of brightness information of the input image frame and display characteristics of the electronic device; And outputting an image frame whose brightness is adjusted based on the extended dynamic range.

그리고, 상기 대표 색상을 판단하는 단계는, 상기 복수의 픽셀들에 대한 색상값 및 채도값 중 적어도 하나를 판단하는 단계; 상기 색상값 및 채도값 중 적어도 하나를 바탕으로 상기 복수의 픽셀들이 유채색인지 무채색인지 여부를 판단하는 단계; 상기 복수의 픽셀들 중 유채색이라고 판단된 픽셀들 각각의 대표 색상을 판단하는 단계;를 포함할 수 있다.The determining of the representative color may include determining at least one of a hue value and a saturation value for the plurality of pixels; Determining whether the plurality of pixels are chromatic or achromatic based on at least one of the hue and saturation values; And determining a representative color of each of the pixels determined to be chromatic color among the plurality of pixels.

또한, 상기 유채색인지 무색색인지 여부를 판단하는 단계는, 상기 색상값이 정의되지 않거나 상기 채도값이 기설정된 값 이하인 픽셀을 무채색이라 판단하고, 상기 채도값이 기설정된 값 초과인 픽셀을 유채색이라 판단할 수 있다.The determining whether the chromatic color is a chromatic color or not may include determining a pixel whose color value is not defined or the chroma value is less than a preset value as an achromatic color, It can be judged.

그리고, 상기 입력 다이내믹 레인지를 산출하는 단계는, 상기 입력된 영상 프레임을 분석하여 상기 입력된 영상 프레임에 포함된 대표 색상들 각각에 대한 최대 밝기값 및 최소 밝기값을 판단하는 단계; 상기 대표 색상들에 대한 최소 밝기값들 중 최소값을 상기 영상 프레임의 최소 밝기값으로 판단하는 단계; 상기 영상 프레임 최소 밝기값을 상기 대표 색상들의 최소값으로 결정하고, 상기 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값을 상기 대표 색상들의 최대값으로 결정하여 상기 복수의 대표 색상의 입력 다이내믹 레인지를 산출하는 단계;를 포함할 수 있다.The step of calculating the input dynamic range may include analyzing the input image frame to determine a maximum brightness value and a minimum brightness value of representative colors included in the input image frame, Determining a minimum value among the minimum brightness values for the representative colors as a minimum brightness value of the image frame; Determining a minimum brightness value of the image frame as a minimum value of the representative colors and determining a maximum brightness value of each of the representative colors included in the image frame as a maximum value of the representative colors to determine an input dynamic range of the plurality of representative colors, And a step of calculating the number of steps.

또한, 상기 다이내믹 레인지를 확장하는 단계는, 상기 대표 색상별로 최대로 출력 가능한 밝기값과 상기 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값의 비율을 이용하여 상기 대표 색상별 최대 게인값을 산출하는 단계;를 포함할 수 있다.Also, the step of expanding the dynamic range may include calculating a maximum gain value for each representative color using a ratio of a maximum brightness value that can be output maximum for each representative color and a maximum brightness value of each representative color included in the image frame The method comprising the steps of:

그리고, 상기 다이내믹 레인지를 확장하는 단계는, 상기 전자 장치가 출력할 수 있는 컬러 특성 및 사용자 선호도를 바탕으로 상기 대표 색상별로 가중치를 판단하는 단계; 상기 산출된 최대 게인값에 가중치를 적용하여 상기 대표 색상별 최종 게인값을 산출하는 단계; 및 상기 대표 색상별 입력 다이내믹 레인지에 상기 최종 게인값을 적용하여 상기 대표 색상별로 다이내믹 레인지를 확장하는 단계;를 포함할 수 있다.The step of expanding the dynamic range may include: determining a weight for each representative color based on color characteristics and user preferences that the electronic device can output; Calculating a final gain value for each representative color by applying a weight to the calculated maximum gain value; And extending the dynamic range by the representative color by applying the final gain value to the input dynamic range for each representative color.

또한, 상기 가중치를 판단하는 단계는, 인접한 대표 색상의 최대 게인값을 고려하여 상기 대표 색상별로 가중치를 판단할 수 있다.In addition, the step of determining the weights may determine the weights by the representative colors in consideration of the maximum gain value of adjacent representative colors.

그리고, 상기 다이내믹 레인지를 확장하는 단계는, 상기 대표 색상에 대한 게인값들을 보간하여 상기 대표 색상 사이의 게인값을 산출하는 단계;를 더 포함할 수 있다.The step of expanding the dynamic range may further include calculating a gain value between the representative colors by interpolating gain values for the representative color.

또한, 상기 입력된 영상 프레임 중 다이내믹 레인지를 확장하기 위한 영역을 선택하는 단계;를 더 포함하고, 상기 복수의 픽셀들의 대표 색상을 판단하는 단계는, 상기 선택된 영역에 포함된 복수의 픽셀들의 대표 색상을 판단할 수 있다.The method of claim 1, further comprising: selecting an area for expanding a dynamic range of the input image frame, wherein the step of determining a representative color of the plurality of pixels comprises: Can be determined.

한편, 상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른, 전자 장치는, 영상 프레임을 입력받는 입력부; 상기 입력된 영상 프레임을 분석하여 상기 영상 프레임을 구성하는 복수의 픽셀들의 대표 색상을 판단하는 대표 색상 판단부; 상기 입력된 영상 프레임의 밝기 정보를 바탕으로 복수의 대표 색상에 대한 입력 다이내믹 레인지를 산출하는 입력 다이내믹 레인지 산출부; 상기 입력된 영상 프레임의 밝기 정보 및 상기 전자 장치의 디스플레이 특성 중 적어도 하나를 바탕으로 상기 대표 색상별로 다이내믹 레인지를 확장하는 다이내믹 레인지 확장부; 및 상기 확장된 다이내믹 레인지를 바탕으로 밝기가 조절된 영상 프레임을 출력하는 출력부;를 포함한다.According to another aspect of the present invention, there is provided an electronic device including: an input unit receiving an image frame; A representative color determining unit for analyzing the input image frame to determine a representative color of a plurality of pixels constituting the image frame; An input dynamic range calculation unit for calculating an input dynamic range for a plurality of representative colors based on the brightness information of the input image frame; A dynamic range extension unit for expanding the dynamic range by the representative color based on at least one of the brightness information of the input image frame and the display characteristic of the electronic device; And an output unit for outputting an image frame whose brightness is adjusted based on the extended dynamic range.

그리고, 상기 대표 색상 판단부는, 상기 복수의 픽셀들에 대한 색상값 및 채도값 중 적어도 하나를 판단하고, 상기 색상값 및 채도값 중 적어도 하나를 바탕으로 상기 복수의 픽셀들이 유채색인지 무채색인지 여부를 판단하며, 상기 복수의 픽셀들 중 유채색이라고 판단된 픽셀들 각각의 대표 색상을 판단할 수 있다.The representative color determining unit may determine at least one of a hue value and a saturation value for the plurality of pixels and determine whether the plurality of pixels are chromatic or achromatic based on at least one of the hue value and the saturation value And determine a representative color of each of the pixels determined to be chromatic color among the plurality of pixels.

또한, 상기 대표 색상 판단부는, 상기 색상값이 정의되지 않거나 상기 채도값이 기설정된 값 이하인 픽셀을 무채색이라 판단하고, 상기 채도값이 기설정된 값 초과인 픽셀을 유채색이라 판단할 수 있다.The representative color determining unit may determine that the pixel whose color value is not defined or whose saturation value is less than or equal to a preset value is an achromatic color, and the pixel whose saturation value exceeds a predetermined value is a chromatic color.

그리고, 상기 입력 다이내믹 레인지 산출부는, 상기 입력된 영상 프레임을 분석하여 상기 입력된 영상 프레임에 포함된 대표 색상들 각각에 대한 최대 밝기값 및 최소 밝기값을 판단하고, 상기 대표 색상들에 대한 최소 밝기값들 중 최소값을 상기 영상 프레임의 최소 밝기값으로 판단하며, 상기 영상 프레임 최소 밝기값을 상기 대표 색상들의 최소값으로 결정하고, 상기 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값을 상기 대표 색상들의 최대값으로 결정하여 상기 복수의 대표 색상의 입력 다이내믹 레인지를 산출할 수 있다.The input dynamic range calculator may analyze the input image frame to determine a maximum brightness value and a minimum brightness value for each representative color included in the input image frame, and determine a minimum brightness value Determining a minimum value of the image frame as a minimum brightness value of the image frame, determining the minimum brightness value of the image frame as a minimum value of the representative colors, and determining a maximum brightness value of each representative color included in the image frame as the representative color The input dynamic range of the plurality of representative colors can be calculated.

또한, 상기 다이내믹 레인지 확장부는, 상기 대표 색상별로 최대로 출력 가능한 밝기값과 상기 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값의 비율을 이용하여 상기 대표 색상별 최대 게인값을 산출할 수 있다.Also, the dynamic range extension unit may calculate the maximum gain value for each representative color using a ratio of a maximum brightness value that can be output maximum for each representative color and a maximum brightness value of each representative color included in the image frame .

그리고, 상기 다이내믹 레인지 확장부는, 상기 전자 장치가 출력할 수 있는 컬러 특성 및 사용자 선호도를 바탕으로 상기 대표 색상별로 가중치를 판단하고, 상기 산출된 최대 게인값에 가중치를 적용하여 상기 대표 색상별 최종 게인값을 산출하며, 상기 입력 다이내믹 레인지에 상기 최종 게인값을 적용하여 상기 대표 색상별로 다이내믹 레인지를 확장할 수 있다.The dynamic range extension unit may determine a weight for each representative color based on color characteristics and user preferences that can be output by the electronic device and apply a weight to the calculated maximum gain value to calculate a final gain And applying the final gain value to the input dynamic range to extend the dynamic range by the representative color.

또한, 상기 다이내믹 레인지 확장부는, 인접한 대표 색상의 최대 게인값을 고려하여 상기 대표 색상별로 가중치를 판단할 수 있다.In addition, the dynamic range extending unit may determine a weight for each representative color in consideration of the maximum gain value of adjacent representative colors.

그리고, 상기 다이내믹 레인지 확장부는, 상기 대표 색상에 대한 게인값들을 보간하여 상기 대표 색상 사이의 게인값을 산출할 수 있다.The dynamic range extension unit may calculate a gain value between the representative colors by interpolating gain values for the representative color.

또한, 상기 입력된 영상 프레임 중 다이내믹 레인지를 확장하기 위한 영역을 선택하는 영역 선택부;를 더 포함하고, 상기 대표 색상 판단부는, 상기 선택된 영역에 포함된 복수의 픽셀들의 대표 색상을 판단할 수 있다.The apparatus may further include an area selector for selecting an area for expanding the dynamic range of the input image frame, and the representative color determining unit may determine a representative color of a plurality of pixels included in the selected area .

상술한 바와 같은 본 발명의 다양한 실시예와 같이, 입력된 영상에 대한 정보 및 전자 장치의 색상 표현 범위를 고려하여 색상별로 다이내믹 레인지를 확장함으로써, 사용자에게 더욱 선명한 화질을 제공할 수 있게 된다. 또한, 색역 경계에서 확장되지 못하고 주변 색상으로 이동하는 현상을 개선하는 효과가 있다.As described above, according to various embodiments of the present invention, it is possible to provide a clearer image quality to the user by expanding the dynamic range according to color by considering the information about the input image and the color expression range of the electronic device. In addition, there is an effect of improving the phenomenon of being shifted to the surrounding color without being extended at the gamut boundary.

도 1은 본 발명의 일 실시예에 따른, 전자 장치의 구성을 나타내는 블럭도,
도 2a 및 도 2b는 본 발명의 일 실시예에 따른, 대표 색상별 입력 밝기 분포와 출력 밝기 분포를 설명하기 위한 그래프,
도 3은 본 발명의 일 실시예에 따른, 대표 색상별 게인값을 보간하여 게인값을 산출하는 방법을 설명하기 위한 도면,
도 4 및 도 5는 본 발명의 일 실시예에 따른, 3-D 큐브 보간 입력값 및 실제 적용 예를 설명하기 위한 도면,
도 6은 본 발명의 일 실시예에 따른, 3D 보간 작업을 설명하기 위한 도면,
도 7는 종래의 다이내믹 레인지 확장 방법에 따른 입력 영상과 출력 영상을 비교하기 위한 도면,
도 8은 본 발명의 레인지 확장 방법에 따른 입력 영상과 출력 영상을 비교하기 위한 도면,
도 9는 본 발명의 일 실시예에 따른, 대표 색상별 다이내믹 레인지를 확장하기 위한 방법을 설명하기 위한 흐름도,
도 10은 본 발명의 다른 실시예에 따른, 전자 장치의 구성을 나타내는 블럭도이다.
1 is a block diagram showing the configuration of an electronic device according to an embodiment of the present invention;
FIGS. 2A and 2B are graphs for explaining the input brightness distribution and the output brightness distribution for each representative color according to an exemplary embodiment of the present invention;
3 is a diagram for explaining a method of calculating a gain value by interpolating a gain value for each representative color according to an embodiment of the present invention;
FIGS. 4 and 5 are diagrams for explaining a 3-D cube interpolation input value and an actual application example according to an embodiment of the present invention;
6 is a diagram for explaining a 3D interpolation operation according to an embodiment of the present invention;
7 is a diagram for comparing an input image and an output image according to a conventional dynamic range expansion method,
8 is a diagram for comparing an input image and an output image according to a range extending method of the present invention,
FIG. 9 is a flowchart illustrating a method for expanding a dynamic range for each representative color according to an embodiment of the present invention; FIG.
10 is a block diagram showing the configuration of an electronic device according to another embodiment of the present invention.

본 실시예들은 다양한 변환을 가할 수 있고 여러 가지 실시 예를 가질 수 있는바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나 이는 특정한 실시 형태에 대해 범위를 한정하려는 것이 아니며, 개시된 사상 및 기술 범위에 포함되는 모든 변환, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 실시예들을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. These embodiments are capable of various modifications and various embodiments, and specific embodiments are illustrated in the drawings and described in detail in the description. It is to be understood, however, that it is not intended to limit the scope of the specific embodiments but includes all transformations, equivalents, and alternatives falling within the spirit and scope of the disclosure disclosed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In the following description of the embodiments of the present invention,

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 구성요소들은 용어들에 의해 한정되어서는 안 된다. 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. The terms first, second, etc. may be used to describe various elements, but the elements should not be limited by terms. Terms are used only for the purpose of distinguishing one component from another.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 권리범위를 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "구성되다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of the claims. The singular expressions include plural expressions unless the context clearly dictates otherwise. In this application, the terms "comprise", "comprising" and the like are used to specify that there is a stated feature, number, step, operation, element, component, or combination thereof, But do not preclude the presence or addition of features, numbers, steps, operations, components, parts, or combinations thereof.

실시예에 있어서 ‘모듈’ 혹은 ‘부’는 적어도 하나의 기능이나 동작을 수행하며, 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다. 또한, 복수의‘모듈’ 혹은 복수의‘부’는 특정한 하드웨어로 구현될 필요가 있는 ‘모듈’ 혹은 ‘부’를 제외하고는 적어도 하나의 모듈로 일체화되어 적어도 하나의 프로세서(미도시)로 구현될 수 있다.In the embodiment, 'module' or 'sub' performs at least one function or operation, and may be implemented in hardware or software, or a combination of hardware and software. In addition, a plurality of 'modules' or a plurality of 'parts' may be integrated into at least one module except for 'module' or 'module' which need to be implemented by specific hardware, and implemented by at least one processor (not shown) .

이하, 실시예를 첨부도면을 참조하여 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어, 동일하거나 대응하는 구성 요소는 동일한 도면번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Referring to the accompanying drawings, the same or corresponding elements are denoted by the same reference numerals, and a duplicate description thereof will be omitted.

도 1은 본 발명의 일 실시예에 따른, 전자 장치(100)의 구성을 나타내는 블럭도이다. 도 1에 도시된 바와 같이, 전자 장치(100)는 입력부(110), 대표 색상 판단부(120), 다이내믹 레인지 확장부(130), 게인값 산출부(140) 및 출력부(150)를 포함한다. 이때, 전자 장치(100)는 영상 프레임을 출력할 수 있는 디지털 TV, 데스크탑 PC, 노트북 PC, 태블릿 PC, 스마트 폰, 키오스크, 프린팅 장치 등과 같은 다양한 장치로 구현될 수 있다.1 is a block diagram showing the configuration of an electronic device 100 according to an embodiment of the present invention. 1, the electronic device 100 includes an input unit 110, a representative color determination unit 120, a dynamic range expansion unit 130, a gain value calculation unit 140, and an output unit 150 do. At this time, the electronic device 100 may be implemented by various devices such as a digital TV, a desktop PC, a notebook PC, a tablet PC, a smart phone, a kiosk, a printing device, and the like capable of outputting image frames.

입력부(110)는 영상 프레임을 입력받는다. 이때, 입력된 영상 프레임은 RGB 모델, YCbCr 모델 및 HSV 모델 중 하나로 표현될 수 있다.The input unit 110 receives an image frame. At this time, the input image frame can be represented by one of RGB model, YCbCr model, and HSV model.

이때, RGB 모델은 가장 기보적인 색상 모델로서, 색(color)을 Red, Green, Blue의 3가지 성분의 조합으로 표현하는 것이다. RGB 모델에서 검은색은 R=G=B=0, 흰색은 R=G=B=255, 빨강색은 R=255, G=B=0, 노란색은 R=G=255, B=0로 표현된다. R=G=B인 경우는 무채색인 Gray 색상이 된다. R, G, B 각각은 0 ~ 255 사이의 값을 가질 수 있기 때문에 RGB 색상 모델을 사용하면 총 256*256*256 = 16,777,216가지의 색을 표현할 수 있다. At this time, the RGB model is the most noble color model, and the color is represented by a combination of three components of Red, Green, and Blue. In the RGB model, R = G = B = 0 for black, R = G = B = 255 for white, R = 255, G = B = 0 for red, and R = G = 255 and B = 0 for yellow do. When R = G = B, it becomes an achromatic gray color. Since each of R, G, and B can have a value between 0 and 255, an RGB color model can represent a total of 256 * 256 * 256 = 16,777,216 colors.

YCbCr 모델은 RGB 색에서 밝기성분(Y)과 색차정보(Cb, Cr)를 분리하여 표현하는 색상 모델이다. YCbCr 모델에서 Y, Cb, Cr은 각각 0 ~ 255 사이의 값을 가지며 Y가 커지면 전체적으로 밝아지고 Y가 작아지면 전체적으로 어두워진다. YCbCr 모델은 MPEG에서 사용되는 색상모델로서, 인간의 눈이 밝기 차에는 민감하지만 색 차에는 상대적으로 둔감하다는 점을 이용해서 Y에는 많은 비트수(해상도)를 할당하고 Cb, Cr에는 낮은 비트수를 할당하는 방식으로 비디오를 압축한다. 따라서 비디오 데이터를 처리할 경우에 YCbCr 모델을 사용하면 별도의 색상변환을 하지 않아도 되는 장점을 갖는다. YCbCr 모델은 YUV 모델로도 불린다.The YCbCr model is a color model that separates and expresses the brightness component (Y) and the color difference information (Cb, Cr) in the RGB color. In the YCbCr model, Y, Cb, and Cr have values between 0 and 255, respectively. When Y becomes larger, it becomes brighter overall. When Y becomes smaller, it becomes darker overall. The YCbCr model is a color model used in MPEG. It uses a large number of bits (resolution) for Y and a low number of bits for Cb and Cr using the fact that human eyes are sensitive to brightness difference but relatively insensitive to color difference Compress video in a manner that allocates. Therefore, when YCbCr model is used for processing video data, there is no need to perform color conversion separately. The YCbCr model is also called the YUV model.

HSV 모델은 Hue(색조), Saturation(채도), Value(명도)의 3가지 성분으로 색을 표현한다. 색조(Hue)는 색이 어떠한 색상 계열인지 여부(예: 붉은색 계열, 푸른색 계열인지, .등)를 나타내고, 채도(Saturation)는 색이 얼마나 선명한(순수한) 색인지를 나타내고, 명도(Value)는 색의 밝기(intensity)를 나타낸다. HSV 모델의 경우, H, S, V 각각은 0 ~ 255 사이의 값으로 표현된다. H 값은 색의 종류를 나타내기 때문에 크기는 의미가 없으며 단순한 인덱스(index)를 나타낸다. S 값은 0이면 무채색(gray 색), 255면 가장 선명한(순수한) 색임을 나타낸다. V 값은 작을수록 어둡고 클수록 밝은 색임을 나타낸다. HSV 색상 모델은 그림과 같이 원뿔(conic) 형태, 원기둥(cylindric) 형태가 있다. The HSV model expresses color with three components: Hue, Saturation, and Value. Hue indicates what kind of color the color is (for example, red color, blue color, etc.), and saturation indicates how bright (pure) the color is, Represents the intensity of the color. For the HSV model, each of H, S, and V is expressed as a value between 0 and 255. The H value represents a kind of color, so the size is meaningless and represents a simple index. An S value of 0 indicates that the color is achromatic (gray color), and 255 indicates the sharpest (pure) color. The smaller the V value, the darker the color, the brighter the larger the color. The HSV color model has a conic shape and a cylindric shape as shown in the figure.

대표 색상 판단부(120)는 입력된 영상 프레임을 분석하여 영상 프레임을 구성하는 복수의 픽셀들의 대표 색상을 판단한다. The representative color determination unit 120 analyzes the input image frame to determine a representative color of a plurality of pixels constituting the image frame.

구체적으로, 대표 색상 판단부(120)는 입력된 영상 프레임에 포함된 복수의 픽셀들에 대한 색상값(H) 및 채도값(Chroma) 중 적어도 하나를 판단할 수 있다. 이때, 대표 색상 판단부(120)는 전자 장치(100)의 복잡도(Complexity) 허용도에 따라 아래의 수학식 1 내지 수학식 4 중 하나를 선택하여 복수의 픽셀들에 대한 색상값(H) 및 채도값(Chroma) 중 적어도 하나를 판단할 수 있다.Specifically, the representative color determination unit 120 may determine at least one of a hue value (H) and a chroma value (Chroma) for a plurality of pixels included in the input image frame. At this time, the representative color determining unit 120 selects one of the following Equation 1 to Equation 4 according to the complexity tolerance of the electronic device 100, And a saturation value (Chroma).

Figure pat00001
Figure pat00001

Figure pat00002
Figure pat00002

이때, Cb, Cr 값은 BT 601 이나 BT 709에서 정의된 것과 같을 수 있다. 예를 들어,BT 601 수식에 의할 경우, Cb는 -0.1482*R -0.2909*G + 0.4392*B이고, Cr는 0.4392*R -0.3678*G - 0.0714*B 이며, BT 709 수식에 의할 경우, Cb는 -0.1687*R -0.3313*G + 0.5*B이고, Cr는 0.5*R -0.4187*G - 0.0813*B이다.At this time, the Cb and Cr values may be the same as those defined in BT 601 or BT 709. For example, according to the BT 601 formula, Cb is -0.1482 * R -0.2909 * G + 0.4392 * B, Cr is 0.4392 * R -0.3678 * G-0.0714 * B And Cb is -0.1687 * R -0.3313 * G + 0.5 * B and Cr is 0.5 * R -0.4187 * G-0.0813 * B according to the BT 709 formula.

Figure pat00003
Figure pat00003

이때, α는 (2*R-G-B)/2이며, β는 sqrt(3)/2 *(G-B)이다.At this time,? Is (2 * R-G-B) / 2 and? Is sqrt (3) / 2 * (G-B).

Figure pat00004
Figure pat00004

Figure pat00005
Figure pat00005

Figure pat00006
Figure pat00006

Figure pat00007
Figure pat00007

Figure pat00008
Figure pat00008

그리고, 대표 색상 판단부(120)는 색상값(H) 및 채도값(Chroma)을 바탕으로 복수의 픽셀들이 유채색(chromatic color)인지 무채색(neutral color)인지 여부를 판단할 수 있다. 구체적으로, 대표 색상 판단부(120)는 색상값(H)이 정의되지 않거나(즉, R=G=B인 경우), 채도값이 기설정된 값 이하인 픽셀을 무채색이라 판단하고, 채도값이 기설정된 값 이상인 픽셀을 유채색이라고 판단할 수 있다.The representative color determination unit 120 may determine whether a plurality of pixels are chromatic color or neutral color based on the hue value and the chroma value. Specifically, the representative color determination unit 120 determines that the pixel whose chroma value is equal to or less than a predetermined value is achromatic color when the hue value H is not defined (i.e., when R = G = B) It can be determined that the pixel having the set value or more is a chromatic color.

그리고, 대표 색상 판단부(120)는 영상 프레임에 포함된 복수의 픽셀 중 유책색이라고 판단된 픽셀들에 대한 대표 색상을 판단할 수 있다. 구체적으로, 대표 색상 판단부(120)는 산출된 색상값(H)에 따라 아래와 같은 수학식 5에 의해 대표 색상을 분류될 수 있다. 한편, 본 발명의 일 실시예에 따른, 대표 색상은 적색(Red), 황색(Yellow), 녹색(Green), 청록색(Cyan), 청색(Blue) 및 자홍색(Magenta) 중 하나일 수 있다. 그러나, 상술한 바와 같이, 대표 색상이 6개일 수 있으나, 일 실시예에 불과할 뿐, 전자 장치(100)의 성능에 따라 대표 색상이 3개 내지 12개로 설정될 수 있다.The representative color determination unit 120 may determine a representative color for the pixels determined to be pseudo colors among a plurality of pixels included in the image frame. Specifically, the representative color determination unit 120 may classify representative colors according to the following Equation (5) according to the calculated color value (H). Meanwhile, the representative color may be one of Red, Yellow, Green, Cyan, Blue, and Magenta according to one embodiment of the present invention. However, as described above, the representative color may be six, but it is only one embodiment, and the representative color may be set to three to twelve according to the performance of the electronic device 100. [

Figure pat00009
Figure pat00009

Figure pat00010
Figure pat00010

Figure pat00011
Figure pat00011

Figure pat00012
Figure pat00012

Figure pat00013
Figure pat00013

Figure pat00014

Figure pat00014

이때, Th는 0 내지 30 사이의 값일 수 있다.At this time, Th may be a value between 0 and 30.

그리고, 대표 색상 판단부(120)는 수학식 6에 도시된 바와 같이 R,G,B값 및 가중치를 이용하여 입력된 영상 프레임에 포함된 복수의 픽셀에 대한 밝기값을 산출하고, 수학식 7과 같이, 무채색 및 대표 색상별로 저장할 수 있다.The representative color determining unit 120 calculates brightness values for a plurality of pixels included in the input image frame using the R, G, and B values and weight values as shown in Equation (6) As shown in FIG.

Figure pat00015
Figure pat00015

Figure pat00016
Figure pat00016

Figure pat00017
Figure pat00017

Figure pat00018
Figure pat00018

Figure pat00019
Figure pat00019

Figure pat00020
Figure pat00020

Figure pat00021
Figure pat00021

Figure pat00022
Figure pat00022

이때, Th는 0 내지 30 사이의 값일 수 있다.At this time, Th may be a value between 0 and 30.

입력 다이내믹 레인지 산출부(130)는 입력된 영상 프레임의 밝기 정보를 바탕으로 복수의 대표 색상에 대한 입력 다이내믹 레인지를 산출한다.The input dynamic range calculator 130 calculates an input dynamic range for a plurality of representative colors based on the brightness information of the input image frame.

구체적으로, 입력 다이내믹 레인지 산출부(130)는 입력된 영상 프레임을 분석하여 입력된 영상 프레임에 포함된 대표 색상들 각각에 대한 최대 밝기값 및 최소 밝기값을 판단할 수 있다. 이때, 입력 다이내믹 레인지 산출부(130)는 아래의 수학식 8에 의해 대표 색상별 최대 밝기값 및 최소 밝기값을 구할 수 있다.Specifically, the input dynamic range calculator 130 may analyze the input image frame and determine a maximum brightness value and a minimum brightness value of representative colors included in the input image frame. At this time, the input dynamic range calculating unit 130 can obtain the maximum brightness value and the minimum brightness value for each representative color by the following Equation (8).

Figure pat00023
Figure pat00023

Figure pat00024
Figure pat00024

Figure pat00025
Figure pat00025

Figure pat00026
Figure pat00026

Figure pat00027
Figure pat00027

Figure pat00028
Figure pat00028

Figure pat00029
Figure pat00029

그리고, 입력 다이내믹 레인지 산출부(130)는 아래의 수학식 9와 같이, 대표 색상들에 대한 최소 밝기값들 중 최소값을 영상 프레임의 최소 밝기값(Y_f_min)으로 판단할 수 있다.The input dynamic range calculator 130 may determine the minimum value among the minimum brightness values for the representative colors as the minimum brightness value Y_f_min of the image frame, as shown in Equation (9) below.

Figure pat00030
Figure pat00030

그리고, 입력 다이내믹 레인지 산출부(130)는 아래의 수학식 10과 같이, 영상 프레임 최소 밝기값을 대표 색상들의 최소값으로 결정하고, 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값을 상기 대표 색상들의 최대값으로 결정하여 복수의 대표 색상에 대한 입력 다이내믹 레인지를 판단할 수 있다.The input dynamic range calculator 130 determines the minimum brightness value of the image frame as a minimum value of the representative colors as shown in Equation (10) below, and sets the maximum brightness value of each representative color included in the image frame to the representative color The input dynamic range for a plurality of representative colors can be determined.

Figure pat00031
Figure pat00031

Figure pat00032
Figure pat00032

Figure pat00033
Figure pat00033

Figure pat00034
Figure pat00034

Figure pat00035
Figure pat00035

Figure pat00036
Figure pat00036

Figure pat00037
Figure pat00037

예를 들어, 입력 다이내믹 레인지 산출부(130)는 도 2a에 도시된 바와 같이, 무채색(neutral color)에 대한 입력 다이내믹 레인지(210-1), 적색(Red)에 대한 입력 다이내믹 레인지(210-2), 황색(Yellow)에 대한 입력 다이내믹 레인지(210-3), 녹색(Green)에 대한 입력 다이내믹 레인지(210-4), 청록색(Cyan)에 대한 입력 다이내믹 레인지(210-5), 청색(Blue)에 대한 입력 다이내믹 레인지(210-6) 및 자홍색(Magenta)에 대한 입력 다이내믹 레인지(210-7)를 산출할 수 있다. For example, the input dynamic range calculator 130 may calculate the input dynamic range 210-1 for the neutral color, the input dynamic range 210-2 for the red color, An input dynamic range 210-3 for yellow, an input dynamic range 210-4 for green, an input dynamic range 210-5 for cyan (Cyan), a blue (Blue) The input dynamic range 210-6 and the input dynamic range 210-7 for magenta can be calculated.

다이내믹 레인지 확장부(140)는 입력된 영상 프레임의 밝기 정보 및 전자 장치의 디스플레이 특성 중 적어도 하나를 바탕으로 대표 색상별로 다이내믹 레인지를 확장한다.The dynamic range expanding unit 140 expands the dynamic range for each representative color based on at least one of the brightness information of the input image frame and the display characteristics of the electronic device.

우선, 다이내믹 레인지 확장부(140)는 대표 색상별로 최대로 출력 가능한 밝기값과 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값의 비율을 이용하여 대표 색상별 최대 게인값을 산출할 수 있다. First, the dynamic range extension unit 140 can calculate the maximum gain value for each representative color by using the ratio of the maximum brightness value of representative colors included in the image frame to the maximum brightness value for each representative color.

구체적으로, 각 대표 색상별 풀 다이내믹 레인지(full dynamic range)는 각 대표 색상에 대해 최대로 표현 가능한 밝기값이다. 이때, 픽셀의 최대값을 1로 표현하는 경우, 대표 색상별 풀 다이내믹 레인지는 적색이 (1,0,0), 황색이 (1,1,0), 녹색이 (0,1,0), 청록색이 (0,1,1), 청색이 (0,0,1), 자홍색이 (1,0,1)로 정해지고, 각각 Y_R_Full, Y_Y_Full,Y_G_Full, Y_C_Full, Y_B_Full,Y_M_Full,Y_N_Full로 표현될 수 있다. 그리고, 다이내믹 레인지 확장부(140)는 입력 다이내믹 레인지에 대해 최대로 표현 가능한 다이내믹 레인지까지 컬러 밸런스를 유지하면서, 확장할 수 있도록 1차 최대 게인값(Gain_max)을 아래의 수학식 11을 통해 산출할 수 있다.Specifically, the full dynamic range of each representative color is a maximum brightness value for each representative color. In this case, when the maximum value of the pixel is expressed by 1, the full dynamic range per representative color is red (1,0,0), yellow (1,1,0), green (0,1,0) (0, 1, 1), blue (0, 0, 1), and magenta are defined as (1, 0, 1) and are represented by Y_R_Full, Y_Y_Full, Y_G_Full, Y_C_Full, Y_B_Full, Y_M_Full, Y_N_Full . The dynamic range expansion unit 140 calculates the first-order maximum gain value Gain_max through Equation (11) below so that the dynamic range expansion can be extended to the dynamic range that can be expressed to the maximum with respect to the input dynamic range .

Figure pat00038
Figure pat00038

Figure pat00039
Figure pat00039

Figure pat00040
Figure pat00040

Figure pat00041
Figure pat00041

Figure pat00042
Figure pat00042

Figure pat00043
Figure pat00043

Figure pat00044
Figure pat00044

이때, 다이내믹 레인지 확장부(140)는 전자 장치(100)가 출력할 수 있는 컬러 특성 및 사용자 선호도를 바탕으로 대표 색상별로 가중치를 판단할 수 있다. 그리고, 다이내믹 레인지 확장부(140)는 수학식 12와 같이, 산출된 최대 게인값에 가중치를 적용하여 대표 색상별 최종 게인값을 산출할 수 있다.At this time, the dynamic range extending unit 140 may determine a weight for each representative color based on color characteristics and user preferences that the electronic device 100 can output. The dynamic range extension unit 140 may calculate a final gain value for each representative color by applying a weight to the calculated maximum gain value as in Equation (12).

Figure pat00045
Figure pat00045

Figure pat00046
Figure pat00046

Figure pat00047
Figure pat00047

Figure pat00048
Figure pat00048

Figure pat00049
Figure pat00049

Figure pat00050
Figure pat00050

이때, 대표 색상별 가중치인 weight_R, weight_Y, weight_G, weight_C, weight_B, weight_M, weight_N 값은 전자 장치(100)가 출력할 수 있는 컬러 특성 및 사용자 선호도에 따라 0 내지 1 사이의 값 중 하나로 설정될 수 있다.The values of weight_R, weight_Y, weight_G, weight_C, weight_B, weight_M, and weight_N of representative colors may be set to one of values between 0 and 1 according to color characteristics and user preferences that can be output by the electronic device 100 have.

그리고, 다이내믹 레인지 확장부(140)는 대표 색상별 입력 다이내믹 레인지에 최종 게인값을 적용하여 대표 색상별로 다이내믹 레인지를 확장할 수 있다. 구체적으로, 다이내믹 레인지 확장부(140)는 대표 색상별 입력 다이내믹 레인지에 대표 색상별 최종 게인값을 곱하여 도 2b에 도시된 바와 같이, 무채색(neutral color)에 대한 출력 다이내믹 레인지(220-1), 적색(Red)에 대한 출력 다이내믹 레인지(220-2), 황색(Yellow)에 대한 출력 다이내믹 레인지(220-3), 녹색(Green)에 대한 출력 다이내믹 레인지(220-4), 청록색(Cyan)에 대한 출력 다이내믹 레인지(220-5), 청색(Blue)에 대한 출력 다이내믹 레인지(220-6) 및 자홍색(Magenta)에 대한 출력 다이내믹 레인지(220-7)를 산출할 수 있다. The dynamic range extending unit 140 may extend the dynamic range for each representative color by applying a final gain value to the input dynamic range for each representative color. Specifically, the dynamic range expansion unit 140 multiplies the input dynamic range for each representative color by the final gain value for each representative color to obtain an output dynamic range 220-1 for a neutral color, The output dynamic range 220-2 for red, the output dynamic range 220-3 for yellow, the output dynamic range 220-4 for green, and cyan The output dynamic range 220-6 for the output dynamic range 220-5, the output dynamic range 220-6 for the blue (Blue), and the output dynamic range 220-7 for the magenta (Magenta) can be calculated.

한편, 특정 대표 색상의 최종 게인값이 다른 대표 색상의 최종 게인값과 차이가 많은 경우, 특정 색역만 크게 확장되어 부자연스러운 결과가 발생할 수 있다. 따라서, 다이내믹 레인지 확장부(140)는 인접한 대표 색상의 최종 게인값을 참조하여 수학식 13에 나타난 바와 같이, 대표 색상별 게인값을 제한적으로 조정할 수 있다.On the other hand, when the final gain value of a specific representative color differs from the final gain value of another representative color, only a specific gamut may be greatly enlarged, resulting in an unnatural result. Accordingly, the dynamic range extending unit 140 can restrictively adjust the gain value for the representative color as shown in Equation (13) by referring to the final gain value of the adjacent representative color.

Figure pat00051
Figure pat00051

Figure pat00052
Figure pat00052

Figure pat00053
Figure pat00053

Figure pat00054
Figure pat00054

Figure pat00055
Figure pat00055

Figure pat00056
Figure pat00056

또한, 다이내믹 레인지 확장부(140)는 대표 색상에 대한 게인값들을 보간하여 대표 색상 사이의 게인값을 산출할 수 있다. 구체적으로, 도 3에 도시된 바와 같이, 각 대표 색상에 대한 게인이 산출되었을 때, 다이내믹 레인지 확장부(140)는 대표 색상 사이의 게인값(HGx)을 아래의 수학식 14와 같이 보간하여 산출할 수 있다.In addition, the dynamic range extending unit 140 may calculate the gain value between the representative colors by interpolating the gain values with respect to the representative color. 3, when the gain for each representative color is calculated, the dynamic range expanding unit 140 interpolates and calculates the gain value HGx between the representative colors as shown in the following equation (14) can do.

Figure pat00057
Figure pat00057

이때, HGx는 Hue = 0에 대한 Gain_R이다.At this time, HGx is Gain_R for Hue = 0.

추가로 밝아진 밝기에 대한 색역 확장 게인값은 Weight_gamut 으로 주어지고, Weight_gamut는 [1.0 ~ Hue_gain]을 가질 수 있다.The gamut enhancement gain value for additional brightness is given by Weight_gamut, and Weight_gamut can be [1.0 ~ Hue_gain].

그리고, 다이내믹 레인지 확장부(140)는 각 대표 색상에 대한 다이내믹 레인지 확장 게인이 주어졌을 때, 다이내믹 레인지를 확장하는 방법은 전자 장치(100)의 복잡도 및 색상 모델 중 적어도 하나를 고려하여 아래의 수학식 15 내지 수학식 17 중 하나로 결정될 수 있다.When the dynamic range expansion gain for each representative color is given, the dynamic range expanding unit 140 may calculate the dynamic range by using the following mathematical expression in consideration of at least one of the complexity and the color model of the electronic device 100: Can be determined as one of the equations (15) to (17).

Figure pat00058
Figure pat00058

Figure pat00059
Figure pat00059

Figure pat00060
Figure pat00060

다이내믹 레인지 확장부(140)는 도 6에 도시된 바와 같이, 3D 보간(interpolation)을 수행한다. 구체적으로, 다이내믹 레인지 확장부(140)는 대표 색상의 좌표들에 대해 사면체 보간 방법(Tetrahedral Interpolation)을 이용하여 타겟점들을 매핑하여 사이값들을 보간하게 된다. 도 4는 3D 보간을 수행한 경우, 입력값 및 출력값을 나타낸 도면이고, 도 5는 대표 색상별로 게인값이 정해진 경우, 실제 입력값 및 실제 출력값을 나타내는 도면이다.The dynamic range extension unit 140 performs 3D interpolation as shown in FIG. Specifically, the dynamic range expansion unit 140 maps the target points by using a tetrahedral interpolation method on the coordinates of representative colors, thereby interpolating the interim values. FIG. 4 is a diagram illustrating an input value and an output value when 3D interpolation is performed, and FIG. 5 is a diagram showing an actual input value and an actual output value when a gain value is determined for each representative color.

출력부(150)는 확장된 다이내믹 레인지를 바탕으로 밝기가 조절된 영상 프레임을 출력한다. 이때, 출력부(150)는 디스플레이 처리 동작을 수행하여 밝기가 조절된 영상 프레임을 디스플레이할 수 있고, 인쇄 처리 동작을 수행하여 밝기가 조절된 영상 프레임을 인쇄할 수도 있다.The output unit 150 outputs the image frame whose brightness is adjusted based on the extended dynamic range. At this time, the output unit 150 may perform a display processing operation to display an image frame whose brightness is adjusted, and may perform a print processing operation to print an image frame whose brightness is adjusted.

상술한 바와 같이 입력된 영상에 대한 정보 및 전자 장치(100)의 색상 표현 범위를 고려하여 색상별로 다이내믹 레인지를 확장함으로써, 사용자에게 더욱 선명한 화질을 제공할 수 있게 된다. 또한, 색역 경계에서 확장되지 못하고 주변 색상으로 이동하는 현상을 개선하는 효과가 있다.As described above, it is possible to provide a clearer image quality to a user by expanding the dynamic range by color in consideration of the information on the input image and the color expression range of the electronic device 100. In addition, there is an effect of improving the phenomenon of being shifted to the surrounding color without being extended at the gamut boundary.

도 7 및 도 8은 종래 및 본 발명의 다이내믹 레인지 확장 방법에 의해 영상 프레임을 처리한 결과를 나타내는 도면이다. 도 7에 도시된 바와 같이, 입력된 영상 프레임 내에 블랙이나 화이트 성분이 많이 포함된 경우, 실질적인 다이내믹 확장이 어려워 출력 영상 프레임의 화질 개선폭이 크지 못하다는 단점이 존재한다. 그러나, 본 발명의 일 실시예와 같이 대표 색상별로 다이내믹 레인지를 확장함으로써, 입력된 영상 프레임 내에 블랙이나 화이트 성분이 많이 포함되더라도 도 8에 도시된 바와 같이, 출력 영상 프레임의 화질 개선폭이 종래에 비해 향상됨을 확인할 수 있다.
FIGS. 7 and 8 are views showing the result of processing image frames by the conventional and dynamic range extending method of the present invention. As shown in FIG. 7, when a black or white component is included in the input image frame, there is a disadvantage that the image quality of the output image frame can not be improved because the dynamic expansion is difficult. However, by extending the dynamic range for each representative color as in the embodiment of the present invention, even if black or white components are included in the input image frame, as shown in FIG. 8, It can be confirmed that it is improved.

이하에서는 도 9를 참조하여 본 발명의 일 실시예에 따른, 다이내믹 레인지를 확장하기 위한 전자 장치의 제어 방법을 설명하기로 한다.Hereinafter, a method of controlling an electronic device for extending a dynamic range according to an embodiment of the present invention will be described with reference to FIG.

우선, 전자 장치(100)는 입력된 영상 프레임을 분석하여 영상 프레임을 구성하는 복수의 픽셀들의 대표 색상을 판단할 수 있다(S910). 구체적으로, 전자 장치(100)는 복수의 픽셀들에 대한 색상값 및 채도값 중 적어도 하나를 판단하고, 색상값 및 채도값 중 적어도 하나를 바탕으로 복수의 픽셀들이 유채색인지 무채색인지 여부를 판단하며, 복수의 픽셀들 중 유채색이라고 판단된 픽셀들에 대해 각각의 대표 색상을 판단할 수 있다.First, the electronic device 100 analyzes the input image frame to determine a representative color of a plurality of pixels constituting the image frame (S910). Specifically, the electronic device 100 determines at least one of a hue value and a saturation value for a plurality of pixels, and determines whether a plurality of pixels are chromatic or achromatic based on at least one of a hue value and a saturation value , It is possible to determine each representative color for pixels determined as chromatic colors among the plurality of pixels.

그리고, 전자 장치(100)는 입력된 영상 프레임의 밝기 정보를 바탕으로 복수의 대표 색상에 대한 입력 다이내믹 레인지를 산출한다(S920). 구체적으로, 전자 장치(100)는 입력된 영상 프레임을 분석하여 입력된 영상 프레임에 포함된 대표 색상들 각각에 대한 최대 밝기값 및 최소 밝기값을 판단하고, 대표 색상들에 대한 최소 밝기값들 중 최소값을 영상 프레임의 최소 밝기값으로 판단하며, 영상 프레임 최소 밝기값을 대표 색상들의 최소값으로 결정하고, 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값을 대표 색상들의 최대값으로 결정하여 복수의 대표 색상의 입력 다이내믹 레인지를 산출할 수 있다.Then, the electronic device 100 calculates an input dynamic range for a plurality of representative colors based on the brightness information of the input image frame (S920). Specifically, the electronic device 100 analyzes the input image frame, determines a maximum brightness value and a minimum brightness value for each of the representative colors included in the input image frame, and determines the minimum brightness value The minimum value of the image frame is determined as the minimum brightness value of the image frame, the minimum brightness value of the image frame is determined as the minimum value of the representative colors, the maximum brightness value of each representative color included in the image frame is determined as the maximum value of the representative colors, The input dynamic range of the representative color can be calculated.

그리고, 전자 장치(100)는 입력된 영상 프레임의 밝기 정보 및 전자 장치의 디스플레이 특성 중 적어도 하나를 바탕으로 대표 색상별로 다이내믹 레인지를 확장할 수 있다(S930). 구체적으로, 전자 장치(100)는 대표 색상별로 최대로 출력 가능한 밝기값과 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값의 비율을 이용하여 대표 색상별 최대 게인값을 산출할 수 있다. 그리고, 전자 장치(100)는 전자 장치(100)가 출력할 수 있는 컬러 특성 및 사용자 선호도를 바탕으로 대표 색상별로 가중치를 판단하고, 산출된 최대 게인값에 가중치를 적용하여 대표 색상별 최종 게인값을 산출하며, 입력 다이내믹 레인지에 최종 게인값을 적용하여 대표 색상별로 다이내믹 레인지를 확장할 수 있다.In addition, the electronic device 100 may expand the dynamic range for each representative color based on at least one of the brightness information of the input image frame and the display characteristics of the electronic device (S930). Specifically, the electronic device 100 can calculate the maximum gain value for each representative color by using the ratio of the maximum brightness value of representative colors included in the image frame to the maximum brightness value for each representative color. The electronic device 100 determines weights for representative colors based on color characteristics and user preferences that can be output by the electronic device 100 and applies a weight to the calculated maximum gain values to obtain a final gain value , And the dynamic range can be extended for each representative color by applying a final gain value to the input dynamic range.

그리고, 전자 장치(100)는 확장된 다이내믹 레인지를 바탕으로 밝기가 조절된 영상 프레임을 출력한다(S940).Then, the electronic device 100 outputs the image frame whose brightness is adjusted based on the extended dynamic range (S940).

상술한 바와 같이, 대표 색상별로 다이내믹 레인지를 확장함으로써, 전자 장치(100)는 사용자에게 더욱 선명한 화질을 제공할 수 있게 된다
As described above, by extending the dynamic range for each representative color, the electronic device 100 can provide a clearer image quality to the user

한편, 상술한 실시예에서는 입력된 영상 프레임에 포함된 전체 픽셀에 대해 다이내믹 레인지를 확장하는 것으로 설명하였으나, 이는 일 실시예에 불과할 뿐, 영상 프레임 중 일부 영역에 대한 픽셀의 다이내믹 레인지를 확장할 수 있다. 구체적으로, 도 10에 도시된 바와 같이, 전자 장치(100)는 영역 선택부(160)를 더 포함하여, 입력된 영상 프레임 중 다이내믹 레인지를 확장하고자 하는 영역을 선택할 수 있다. 이때, 영역 선택부(160)는 텍스트 영역이나 블랭크 영역을 제외한 나머지 영역을 선택할 수 있다.
Meanwhile, in the above-described embodiment, the dynamic range is expanded for all the pixels included in the input image frame. However, the dynamic range may be expanded only for one embodiment, have. Specifically, as shown in FIG. 10, the electronic device 100 may further include an area selection unit 160 to select an area of the input image frame to which the dynamic range is to be extended. At this time, the area selecting unit 160 can select the remaining area excluding the text area and the blank area.

본 실시예들에 따른 장치는 프로세서, 프로그램 데이터를 저장하고 실행하는 메모리, 디스크 드라이브와 같은 영구 저장부(permanent storage), 외부 장치와 통신하는 통신 포트, 터치 패널, 키(key), 버튼 등과 같은 사용자 인터페이스 장치 등을 포함할 수 있다. 소프트웨어 모듈 또는 알고리즘으로 구현되는 방법들은 상기 프로세서상에서 실행 가능한 컴퓨터가 읽을 수 있는 코드들 또는 프로그램 명령들로서 컴퓨터가 읽을 수 있는 기록 매체 상에 저장될 수 있다. 여기서 컴퓨터가 읽을 수 있는 기록 매체로 마그네틱 저장 매체(예컨대, ROM(read-only memory), RAM(random-access memory), 플로피 디스크, 하드 디스크 등) 및 광학적 판독 매체(예컨대, 시디롬(CD-ROM), 디브이디(DVD: Digital Versatile Disc)) 등이 있다. 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템들에 분산되어, 분산 방식으로 컴퓨터가 판독 가능한 코드가 저장되고 실행될 수 있다. 매체는 컴퓨터에 의해 판독가능하며, 메모리에 저장되고, 프로세서에서 실행될 수 있다. An apparatus according to the present embodiments may include a processor, a memory for storing and executing program data, a permanent storage such as a disk drive, a communication port for communicating with an external device, a touch panel, a key, User interface devices, and the like. Methods implemented with software modules or algorithms may be stored on a computer readable recording medium as computer readable codes or program instructions executable on the processor. Here, the computer-readable recording medium may be a magnetic storage medium such as a read-only memory (ROM), a random-access memory (RAM), a floppy disk, a hard disk, ), And a DVD (Digital Versatile Disc). The computer-readable recording medium may be distributed over networked computer systems so that computer readable code can be stored and executed in a distributed manner. The medium is readable by a computer, stored in a memory, and executable on a processor.

본 실시 예는 기능적인 블록 구성들 및 다양한 처리 단계들로 나타내어질 수 있다. 이러한 기능 블록들은 특정 기능들을 실행하는 다양한 개수의 하드웨어 또는/및 소프트웨어 구성들로 구현될 수 있다. 예를 들어, 실시 예는 하나 이상의 마이크로프로세서들의 제어 또는 다른 제어 장치들에 의해서 다양한 기능들을 실행할 수 있는, 메모리, 프로세싱, 로직(logic), 룩 업 테이블(look-up table) 등과 같은 직접 회로 구성들을 채용할 수 있다. 구성 요소들이 소프트웨어 프로그래밍 또는 소프트웨어 요소들로 실행될 수 있는 것과 유사하게, 본 실시 예는 데이터 구조, 프로세스들, 루틴들 또는 다른 프로그래밍 구성들의 조합으로 구현되는 다양한 알고리즘을 포함하여, C, C++, 자바(Java), 어셈블러(assembler) 등과 같은 프로그래밍 또는 스크립팅 언어로 구현될 수 있다. 기능적인 측면들은 하나 이상의 프로세서들에서 실행되는 알고리즘으로 구현될 수 있다. 또한, 본 실시 예는 전자적인 환경 설정, 신호 처리, 및/또는 데이터 처리 등을 위하여 종래 기술을 채용할 수 있다. "매커니즘”, “요소”, “수단”, “구성”과 같은 용어는 넓게 사용될 수 있으며, 기계적이고 물리적인 구성들로서 한정되는 것은 아니다. 상기 용어는 프로세서 등과 연계하여 소프트웨어의 일련의 처리들(routines)의 의미를 포함할 수 있다.This embodiment may be represented by functional block configurations and various processing steps. These functional blocks may be implemented in a wide variety of hardware and / or software configurations that perform particular functions. For example, embodiments may include integrated circuit components such as memory, processing, logic, look-up tables, etc., that may perform various functions by control of one or more microprocessors or other control devices Can be employed. Similar to how components may be implemented with software programming or software components, the present embodiments may be implemented in a variety of ways, including C, C ++, Java (" Java), an assembler, and the like. Functional aspects may be implemented with algorithms running on one or more processors. In addition, the present embodiment can employ conventional techniques for electronic environment setting, signal processing, and / or data processing. Terms such as "mechanism", "element", "means", "configuration" are broadly used and are not limited to mechanical and physical configurations. The term refers to a set of routines ). ≪ / RTI >

본 실시 예에서 설명하는 특정 실행들은 예시들로서, 어떠한 방법으로도 기술적 범위를 한정하는 것은 아니다. 명세서의 간결함을 위하여, 종래 전자적인 구성들, 제어 시스템들, 소프트웨어, 상기 시스템들의 다른 기능적인 측면들의 기재는 생략될 수 있다. 또한, 도면에 도시된 구성 요소들 간의 선들의 연결 또는 연결 부재들은 기능적인 연결 및/또는 물리적 또는 회로적 연결들을 예시적으로 나타낸 것으로서, 실제 장치에서는 대체 가능하거나 추가의 다양한 기능적인 연결, 물리적인 연결, 또는 회로 연결들로서 나타내어질 수 있다. The specific implementations described in this embodiment are illustrative and do not in any way limit the scope of the invention. For brevity of description, descriptions of conventional electronic configurations, control systems, software, and other functional aspects of such systems may be omitted. Also, the connections or connecting members of the lines between the components shown in the figures are illustrative of functional connections and / or physical or circuit connections, which may be replaced or additionally provided by a variety of functional connections, physical Connection, or circuit connections.

본 명세서(특히 특허청구범위)에서 "상기"의 용어 및 이와 유사한 지시 용어의 사용은 단수 및 복수 모두에 해당하는 것일 수 있다. 또한, 범위(range)를 기재한 경우 상기 범위에 속하는 개별적인 값을 포함하는 것으로서(이에 반하는 기재가 없다면), 상세한 설명에 상기 범위를 구성하는 각 개별적인 값을 기재한 것과 같다. 마지막으로, 방법을 구성하는 단계들에 대하여 명백하게 순서를 기재하거나 반하는 기재가 없다면, 상기 단계들은 적당한 순서로 행해질 수 있다. 반드시 상기 단계들의 기재 순서에 한정되는 것은 아니다. 모든 예들 또는 예시적인 용어(예들 들어, 등등)의 사용은 단순히 기술적 사상을 상세히 설명하기 위한 것으로서 특허청구범위에 의해 한정되지 않는 이상 상기 예들 또는 예시적인 용어로 인해 범위가 한정되는 것은 아니다. 또한, 당업자는 다양한 수정, 조합 및 변경이 부가된 특허청구범위 또는 그 균등물의 범주 내에서 설계 조건 및 팩터에 따라 구성될 수 있음을 알 수 있다.In this specification (particularly in the claims), the use of the term "above " and similar indication words may refer to both singular and plural. In addition, when a range is described, it includes the individual values belonging to the above range (unless there is a description to the contrary), and the individual values constituting the above range are described in the detailed description. Finally, if there is no explicit description or contradiction to the steps constituting the method, the steps may be performed in an appropriate order. It is not necessarily limited to the description order of the above steps. The use of all examples or exemplary terms (e. G., The like) is merely intended to be illustrative of technical ideas and is not to be limited in scope by the examples or the illustrative terminology, except as by the appended claims. It will also be appreciated by those skilled in the art that various modifications, combinations, and alterations may be made depending on design criteria and factors within the scope of the appended claims or equivalents thereof.

110: 입력부 120: 대표 색상 판단부
130: 다이내믹 레인지 확장부 140: 게인값 산출부
150: 출력부 160: 선택부
110: input unit 120: representative color determination unit
130: Dynamic Range Extension Unit 140: Gain Value Calculation Unit
150: output unit 160:

Claims (18)

전자 장치의 제어 방법에 있어서,
입력된 영상 프레임을 분석하여 상기 영상 프레임을 구성하는 복수의 픽셀들의 대표 색상을 판단하는 단계;
상기 입력된 영상 프레임의 밝기 정보를 바탕으로 복수의 대표 색상에 대한 입력 다이내믹 레인지를 산출하는 단계;
상기 입력된 영상 프레임의 밝기 정보 및 상기 전자 장치의 디스플레이 특성 중 적어도 하나를 바탕으로 상기 대표 색상별로 다이내믹 레인지를 확장하는 단계; 및
상기 확장된 다이내믹 레인지를 바탕으로 밝기가 조절된 영상 프레임을 출력하는 단계;를 포함하는 제어 방법.
A method of controlling an electronic device,
Analyzing an input image frame to determine a representative color of a plurality of pixels constituting the image frame;
Calculating an input dynamic range for a plurality of representative colors based on the brightness information of the input image frame;
Expanding a dynamic range for each representative color based on at least one of brightness information of the input image frame and display characteristics of the electronic device; And
And outputting an image frame whose brightness is adjusted based on the extended dynamic range.
제1항에 있어서,
상기 대표 색상을 판단하는 단계는,
상기 복수의 픽셀들에 대한 색상값 및 채도값 중 적어도 하나를 판단하는 단계;
상기 색상값 및 채도값 중 적어도 하나를 바탕으로 상기 복수의 픽셀들이 유채색인지 무채색인지 여부를 판단하는 단계;
상기 복수의 픽셀들 중 유채색이라고 판단된 픽셀들 각각의 대표 색상을 판단하는 단계;를 포함하는 제어 방법.
The method according to claim 1,
The method of claim 1,
Determining at least one of a hue value and a saturation value for the plurality of pixels;
Determining whether the plurality of pixels are chromatic or achromatic based on at least one of the hue and saturation values;
And determining a representative color of each of the pixels determined to be chromatic color among the plurality of pixels.
제2항에 있어서,
상기 유채색인지 무색색인지 여부를 판단하는 단계는,
상기 색상값이 정의되지 않거나 상기 채도값이 기설정된 값 이하인 픽셀을 무채색이라 판단하고, 상기 채도값이 기설정된 값 초과인 픽셀을 유채색이라 판단하는 것을 특징으로 하는 제어 방법.
3. The method of claim 2,
The step of determining whether the color is chromatic color or colorless color includes:
Wherein the pixel determining unit determines that the pixel whose color value is not defined or whose saturation value is less than or equal to a predetermined value is an achromatic color and that the pixel whose saturation value exceeds a predetermined value is a chromatic color.
제1항에 있어서,
상기 입력 다이내믹 레인지를 산출하는 단계는,
상기 입력된 영상 프레임을 분석하여 상기 입력된 영상 프레임에 포함된 대표 색상들 각각에 대한 최대 밝기값 및 최소 밝기값을 판단하는 단계;
상기 대표 색상들에 대한 최소 밝기값들 중 최소값을 상기 영상 프레임의 최소 밝기값으로 판단하는 단계;
상기 영상 프레임 최소 밝기값을 상기 대표 색상들의 최소값으로 결정하고, 상기 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값을 상기 대표 색상들의 최대값으로 결정하여 상기 복수의 대표 색상의 입력 다이내믹 레인지를 산출하는 단계;를 포함하는 제어 방법.
The method according to claim 1,
Wherein the step of calculating the input dynamic range comprises:
Analyzing the input image frame to determine a maximum brightness value and a minimum brightness value of representative colors included in the input image frame;
Determining a minimum value among the minimum brightness values for the representative colors as a minimum brightness value of the image frame;
Determining a minimum brightness value of the image frame as a minimum value of the representative colors and determining a maximum brightness value of each of the representative colors included in the image frame as a maximum value of the representative colors to determine an input dynamic range of the plurality of representative colors, And a control step of controlling the control method.
제1항에 있어서,
상기 다이내믹 레인지를 확장하는 단계는,
상기 대표 색상별로 최대로 출력 가능한 밝기값과 상기 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값의 비율을 이용하여 상기 대표 색상별 최대 게인값을 산출하는 단계;를 포함하는 제어 방법.
The method according to claim 1,
Wherein expanding the dynamic range comprises:
And calculating a maximum gain value for each representative color by using a ratio of a maximum brightness value that can be output maximum for each representative color and a maximum brightness value of each representative color included in the image frame.
제5항에 있어서,
상기 다이내믹 레인지를 확장하는 단계는,
상기 전자 장치가 출력할 수 있는 컬러 특성 및 사용자 선호도를 바탕으로 상기 대표 색상별로 가중치를 판단하는 단계;
상기 산출된 최대 게인값에 가중치를 적용하여 상기 대표 색상별 최종 게인값을 산출하는 단계; 및
상기 대표 색상별 입력 다이내믹 레인지에 상기 최종 게인값을 적용하여 상기 대표 색상별로 다이내믹 레인지를 확장하는 단계;를 포함하는 제어 방법.
6. The method of claim 5,
Wherein expanding the dynamic range comprises:
Determining a weight for each representative color based on color characteristics and user preferences that the electronic device can output;
Calculating a final gain value for each representative color by applying a weight to the calculated maximum gain value; And
And extending the dynamic range by the representative color by applying the final gain value to the input dynamic range for each representative color.
제6항에 있어서,
상기 가중치를 판단하는 단계는,
인접한 대표 색상의 최대 게인값을 고려하여 상기 대표 색상별로 가중치를 판단하는 것을 특징으로 하는 제어 방법.
The method according to claim 6,
The step of determining the weight includes:
Wherein a weight is determined for each of the representative colors by considering a maximum gain value of adjacent representative colors.
제1항에 있어서,
상기 다이내믹 레인지를 확장하는 단계는,
상기 대표 색상에 대한 게인값들을 보간하여 상기 대표 색상 사이의 게인값을 산출하는 단계;를 더 포함하는 제어 방법.
The method according to claim 1,
Wherein expanding the dynamic range comprises:
And interpolating gain values for the representative color to calculate a gain value between the representative colors.
제1항에 있어서,
상기 입력된 영상 프레임 중 다이내믹 레인지를 확장하기 위한 영역을 선택하는 단계;를 더 포함하고,
상기 복수의 픽셀들의 대표 색상을 판단하는 단계는,
상기 선택된 영역에 포함된 복수의 픽셀들의 대표 색상을 판단하는 것을 특징으로 하는 제어 방법.
The method according to claim 1,
And selecting an area for expanding a dynamic range of the input image frame,
Wherein the determining of the representative color of the plurality of pixels comprises:
Wherein a representative color of a plurality of pixels included in the selected region is determined.
전자 장치에 있어서,
영상 프레임을 입력받는 입력부;
상기 입력된 영상 프레임을 분석하여 상기 영상 프레임을 구성하는 복수의 픽셀들의 대표 색상을 판단하는 대표 색상 판단부;
상기 입력된 영상 프레임의 밝기 정보를 바탕으로 복수의 대표 색상에 대한 입력 다이내믹 레인지를 산출하는 입력 다이내믹 레인지 산출부;
상기 입력된 영상 프레임의 밝기 정보 및 상기 전자 장치의 디스플레이 특성 중 적어도 하나를 바탕으로 상기 대표 색상별로 다이내믹 레인지를 확장하는 다이내믹 레인지 확장부; 및
상기 확장된 다이내믹 레인지를 바탕으로 밝기가 조절된 영상 프레임을 출력하는 출력부;를 포함하는 전자 장치.
In an electronic device,
An input unit for receiving an image frame;
A representative color determining unit for analyzing the input image frame to determine a representative color of a plurality of pixels constituting the image frame;
An input dynamic range calculation unit for calculating an input dynamic range for a plurality of representative colors based on the brightness information of the input image frame;
A dynamic range extension unit for expanding the dynamic range by the representative color based on at least one of the brightness information of the input image frame and the display characteristic of the electronic device; And
And an output unit for outputting an image frame whose brightness is adjusted based on the extended dynamic range.
제10항에 있어서,
상기 대표 색상 판단부는,
상기 복수의 픽셀들에 대한 색상값 및 채도값 중 적어도 하나를 판단하고, 상기 색상값 및 채도값 중 적어도 하나를 바탕으로 상기 복수의 픽셀들이 유채색인지 무채색인지 여부를 판단하며, 상기 복수의 픽셀들 중 유채색이라고 판단된 픽셀들 각각의 대표 색상을 판단하는 것을 특징으로 하는 전자 장치.
11. The method of claim 10,
The representative color determining unit may determine,
Determining at least one of a hue value and a saturation value for the plurality of pixels, determining whether the plurality of pixels are chromatic or achromatic based on at least one of the hue value and the saturation value, And determines the representative color of each of the pixels judged to be among the chromatic colors.
제11항에 있어서,
상기 대표 색상 판단부는,
상기 색상값이 정의되지 않거나 상기 채도값이 기설정된 값 이하인 픽셀을 무채색이라 판단하고, 상기 채도값이 기설정된 값 초과인 픽셀을 유채색이라 판단하는 것을 특징으로 하는 전자 장치.
12. The method of claim 11,
The representative color determining unit may determine,
The pixel determining unit determines that the pixel whose color value is not defined or whose saturation value is less than or equal to a preset value is an achromatic color and that the pixel whose saturation value exceeds a predetermined value is a chromatic color.
제10항에 있어서,
상기 입력 다이내믹 레인지 산출부는,
상기 입력된 영상 프레임을 분석하여 상기 입력된 영상 프레임에 포함된 대표 색상들 각각에 대한 최대 밝기값 및 최소 밝기값을 판단하고, 상기 대표 색상들에 대한 최소 밝기값들 중 최소값을 상기 영상 프레임의 최소 밝기값으로 판단하며, 상기 영상 프레임 최소 밝기값을 상기 대표 색상들의 최소값으로 결정하고, 상기 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값을 상기 대표 색상들의 최대값으로 결정하여 상기 복수의 대표 색상의 입력 다이내믹 레인지를 산출하는 것을 특징으로 하는 전자 장치.
11. The method of claim 10,
Wherein the input dynamic range calculating section
Wherein the controller determines the maximum brightness value and the minimum brightness value of each representative color included in the input image frame by analyzing the input image frame, Determining the minimum brightness value of the image frame as the minimum brightness value, determining the minimum brightness value of the image frame as the minimum value of the representative colors, determining the maximum brightness value of each of the representative colors included in the image frame as the maximum value of the representative colors, And the input dynamic range of the representative color is calculated.
제10항에 있어서,
상기 다이내믹 레인지 확장부는,
상기 대표 색상별로 최대로 출력 가능한 밝기값과 상기 영상 프레임에 포함된 대표 색상들 각각의 최대 밝기값의 비율을 이용하여 상기 대표 색상별 최대 게인값을 산출하는 것을 특징으로 하는 전자 장치.
11. The method of claim 10,
The dynamic range expansion unit may include:
Wherein the maximum gain value for each representative color is calculated using a ratio of a maximum brightness value that can be output maximum for each representative color and a maximum brightness value of each representative color included in the image frame.
제14항에 있어서,
상기 다이내믹 레인지 확장부는,
상기 전자 장치가 출력할 수 있는 컬러 특성 및 사용자 선호도를 바탕으로 상기 대표 색상별로 가중치를 판단하고, 상기 산출된 최대 게인값에 가중치를 적용하여 상기 대표 색상별 최종 게인값을 산출하며, 상기 입력 다이내믹 레인지에 상기 최종 게인값을 적용하여 상기 대표 색상별로 다이내믹 레인지를 확장하는 것을 특징으로 하는 전자 장치.
15. The method of claim 14,
The dynamic range expansion unit may include:
Wherein the electronic device determines a weight for each representative color based on color characteristics and user preferences that can be output by the electronic device, calculates a final gain value for each representative color by applying a weight to the calculated maximum gain value, And applies the final gain value to the range to extend the dynamic range by the representative color.
제15항에 있어서,
상기 다이내믹 레인지 확장부는,
인접한 대표 색상의 최대 게인값을 고려하여 상기 대표 색상별로 가중치를 판단하는 것을 특징으로 하는 전자 장치.
16. The method of claim 15,
The dynamic range expansion unit may include:
Wherein the weights are determined for each of the representative colors in consideration of a maximum gain value of adjacent representative colors.
제10항에 있어서,
상기 다이내믹 레인지 확장부는,
상기 대표 색상에 대한 게인값들을 보간하여 상기 대표 색상 사이의 게인값을 산출하는 것을 특징으로 하는 전자 장치.
11. The method of claim 10,
The dynamic range expansion unit may include:
And calculates a gain value between the representative colors by interpolating gain values for the representative color.
제10항에 있어서,
상기 입력된 영상 프레임 중 다이내믹 레인지를 확장하기 위한 영역을 선택하는 영역 선택부;를 더 포함하고,
상기 대표 색상 판단부는,
상기 선택된 영역에 포함된 복수의 픽셀들의 대표 색상을 판단하는 것을 특징으로 하는 전자 장치.
11. The method of claim 10,
And an area selector for selecting an area for expanding the dynamic range of the input image frame,
The representative color determining unit may determine,
And determines a representative color of a plurality of pixels included in the selected region.
KR1020140120850A 2014-07-11 2014-09-12 Electronic apparatus and Method for controlling the electronic apparatus thereof KR102160247B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/727,982 US9852531B2 (en) 2014-07-11 2015-06-02 Electronic apparatus and method for controlling the same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201462023473P 2014-07-11 2014-07-11
US62/023,473 2014-07-11

Publications (2)

Publication Number Publication Date
KR20160007319A true KR20160007319A (en) 2016-01-20
KR102160247B1 KR102160247B1 (en) 2020-09-25

Family

ID=55308017

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140120850A KR102160247B1 (en) 2014-07-11 2014-09-12 Electronic apparatus and Method for controlling the electronic apparatus thereof

Country Status (1)

Country Link
KR (1) KR102160247B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017138672A1 (en) * 2016-02-12 2017-08-17 삼성전자 주식회사 Display device and display method therefor
KR20190017282A (en) * 2017-08-10 2019-02-20 엘지디스플레이 주식회사 Tone mapping method and display device using the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000099701A (en) * 1998-09-24 2000-04-07 Dainippon Screen Mfg Co Ltd Image color processor, image color processing method and recording medium
KR20090055816A (en) * 2007-11-29 2009-06-03 삼성전자주식회사 Method and apparatus for enhancing dynamic range
KR20100076455A (en) * 2008-12-26 2010-07-06 삼성전자주식회사 Apparatus for processing image based on region of interest and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000099701A (en) * 1998-09-24 2000-04-07 Dainippon Screen Mfg Co Ltd Image color processor, image color processing method and recording medium
KR20090055816A (en) * 2007-11-29 2009-06-03 삼성전자주식회사 Method and apparatus for enhancing dynamic range
KR20100076455A (en) * 2008-12-26 2010-07-06 삼성전자주식회사 Apparatus for processing image based on region of interest and method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017138672A1 (en) * 2016-02-12 2017-08-17 삼성전자 주식회사 Display device and display method therefor
KR20180109845A (en) * 2016-02-12 2018-10-08 삼성전자주식회사 Display device and display method thereof
US10621710B2 (en) 2016-02-12 2020-04-14 Samsung Electronics Co., Ltd. Display device and display method therefor
KR20190017282A (en) * 2017-08-10 2019-02-20 엘지디스플레이 주식회사 Tone mapping method and display device using the same

Also Published As

Publication number Publication date
KR102160247B1 (en) 2020-09-25

Similar Documents

Publication Publication Date Title
JP4117284B2 (en) Color space conversion method, color image color adjustment device, color adjustment method, and computer-readable recording medium recording the program
JP5032911B2 (en) Image processing apparatus and image processing method
US8363125B2 (en) Image processing apparatus, image processing method, and computer program product
KR101927968B1 (en) METHOD AND DEVICE FOR DISPLAYING IMAGE BASED ON METADATA, AND RECORDING MEDIUM THEREFOR
KR101348369B1 (en) Color conversion method and apparatus for display device
KR20110052207A (en) Image processing apparatus and method for enhancing of depth perception
JP2009038498A (en) Unit and method for processing image
US8194286B2 (en) Image forming apparatus and image forming method capable of revising gray image
KR100843088B1 (en) Apparatus and method for outputting wide color gamut space image
US20120057785A1 (en) Method and system to modify a color lookup table
JP2007215216A (en) Monotonization processing of color image
US8345967B2 (en) Apparatus and method of processing image, and record medium for the method
US11189064B2 (en) Information processing apparatus, information processing method, and non-transitory computer readable medium
JP5253047B2 (en) Color processing apparatus and method
US20050068587A1 (en) Monotone conversion process for color images
KR102160247B1 (en) Electronic apparatus and Method for controlling the electronic apparatus thereof
JP4910557B2 (en) Color conversion apparatus, color conversion method, color conversion program, color conversion coefficient creation apparatus, color conversion coefficient creation method, and color conversion coefficient creation program
US9852531B2 (en) Electronic apparatus and method for controlling the same
JP2009182415A (en) Video signal converter, video image display ,and video signal converting method
JP2003234916A (en) Image processing apparatus, image processing method, printer, image processing program and medium recording image processing program
CN105631812B (en) Control method and control device for color enhancement of display image
US10455125B2 (en) Image processing method and device
JP2020005136A (en) Image processing apparatus, image processing method, and program
JP7028062B2 (en) Image correction program, image correction method, and image correction device
JP2013114076A (en) Image adjustment method, image adjustment device and image adjustment program

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