JP2001016605A - Digital color correction circuit - Google Patents

Digital color correction circuit

Info

Publication number
JP2001016605A
JP2001016605A JP11188115A JP18811599A JP2001016605A JP 2001016605 A JP2001016605 A JP 2001016605A JP 11188115 A JP11188115 A JP 11188115A JP 18811599 A JP18811599 A JP 18811599A JP 2001016605 A JP2001016605 A JP 2001016605A
Authority
JP
Japan
Prior art keywords
circuit
color
correction
lut
color correction
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP11188115A
Other languages
Japanese (ja)
Inventor
Naohiro Shibata
直寛 柴田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu General Ltd
Original Assignee
Fujitsu General Ltd
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 Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP11188115A priority Critical patent/JP2001016605A/en
Publication of JP2001016605A publication Critical patent/JP2001016605A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To conduct color correction without being affected by a noise or a quantization error. SOLUTION: The digital color correction circuit is provided with a Y calculation circuit 10, color difference signal calculation circuits 12, 14, a C calculation circuit 16, a θ calculation circuit 18, a discrimination circuit 20, a LUT group 30, a LUT selection circuit 42, a correction method selection circuit 44 and an arithmetic circuit 46. Then the discrimination circuit 20 discriminates to which of a plurality of preset stages a luminance level Y, a chrominance level C and a hue θ belong, the discrimination circuit 40 discriminates whether or not color correction is applied, a corresponding LUT in the LUT group 30 is selected on the basis of a discrimination output, using the selected LUT to apply color correction to the color difference signals R-Y, B-Y, the correction method selection circuit 44 selects the correction method selection circuit 44 after the color correction or the correction method selection circuit 44 before the color correction, and the arithmetic circuit 46 calculates R, G, B, signals to obtain a color correction output. Since the digital system is adopted for the color correction, the digital color correction circuit applies the color correction to the color difference signals R-Y, B-Y without being affected by a noise or a quantization error.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、カラーテレビジョ
ン受像機やビデオテープレコーダ等で用いられる回路
で、映像信号の色補正を行う回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit used in a color television receiver, a video tape recorder, and the like, and relates to a circuit for correcting the color of a video signal.

【0002】[0002]

【従来の技術】従来、この種の色補正回路はアナログ方
式で行われ、入力したコンポジットビデオ信号(複合映
像信号)の輝度レベル、色レベル、色相を判別し、入力
コンポジットビデオ信号が補正対象の色に相当した信号
であると判別されたときに色補正を行っていた。一般
に、この種の色補正は色差信号の形で行われるが、これ
は色レベルと色相を同時に変化し易いことによる。従来
のアナログ方式による色補正回路は、例えば図7又は図
8に示すようにして使用されていた。図7は表示デバイ
ス1がCRT(陰極線管)の場合を示すもので、Y/C
分離回路2で入力コンポジットビデオ信号から輝度レベ
ル(輝度信号)Yと色レベル(色信号)Cを分離し、ク
ロマデコーダ3で色レベルCから色差信号R−Y、B−
Yをデコードし、色補正回路4でアナログ方式の色補正
を行い、マトリックス回路5でアナログのR、G、B信
号を作成し、アナログ信号のまま表示デバイス1に供給
していた。図8は表示デバイス6がPDP(プラズマデ
ィスプレイパネル)やLCD(液晶ディスプレイパネ
ル)などのディジタル信号を要する場合を示すもので、
Y/C分離回路2で入力コンポジットビデオ信号から輝
度レベル(輝度信号)Yと色レベル(色信号)Cを分離
し、クロマデコーダ3で色レベルCから色差信号R−
Y、B−Yをデコードし、色補正回路4でアナログ方式
の色補正を行い、マトリックス回路5でアナログのR
1、G1、B1信号を作成し、A/D(アナログ/ディ
ジタル)変換器7でディジタルのR2、G2、B2信号
に変換して表示デバイス6に供給していた。
2. Description of the Related Art Conventionally, this type of color correction circuit is performed in an analog system, and determines the luminance level, color level, and hue of an input composite video signal (composite video signal). When it is determined that the signal corresponds to a color, color correction is performed. Generally, this type of color correction is performed in the form of a color difference signal, because the color level and the hue are easily changed at the same time. A conventional analog color correction circuit has been used, for example, as shown in FIG. 7 or FIG. FIG. 7 shows a case where the display device 1 is a CRT (cathode ray tube), and Y / C
The separation circuit 2 separates the luminance level (luminance signal) Y and the color level (color signal) C from the input composite video signal, and the chroma decoder 3 separates the color difference signals RY, B-
The Y signal is decoded, the color correction circuit 4 performs analog color correction, the matrix circuit 5 creates analog R, G, and B signals, and supplies the analog signals to the display device 1 as they are. FIG. 8 shows a case where the display device 6 requires a digital signal such as a PDP (plasma display panel) or an LCD (liquid crystal display panel).
A luminance level (luminance signal) Y and a color level (color signal) C are separated from the input composite video signal by a Y / C separation circuit 2, and a color difference signal R−
Y and BY are decoded, the color correction circuit 4 performs analog color correction, and the matrix circuit 5 performs analog R correction.
The A, D (analog / digital) converter 7 converts the G1, B1, and B1 signals into digital R2, G2, and B2 signals and supplies them to the display device 6.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、図7に
示したような表示デバイス1がCRTの場合には、最終
出力信号が主にアナログ信号であるためアナログ方式で
色補正を行っても特に問題はないが、図8に示したよう
な表示デバイス6がPDPやLCDなどのディジタル信
号を要する場合にはアナログ方式で色補正を行う利点は
少なく、逆につぎのような不利な点があった。 (1)色補正は非常に微小量の信号変化で行われるため
ノイズによる影響が大きく、アナログ方式の場合ノイズ
に弱いという問題点があった。 (2)アナログ方式で色補正された映像信号をA/D変
換器7でディジタル信号に変換してからPDPやLCD
へ供給していたので、このA/D変換の際の量子化誤差
も微妙な色補正では無視できないという問題点があっ
た。
However, in the case where the display device 1 as shown in FIG. 7 is a CRT, since the final output signal is mainly an analog signal, there is a particular problem even if color correction is performed in an analog system. However, when the display device 6 as shown in FIG. 8 requires a digital signal such as a PDP or LCD, there is little advantage in performing the color correction by the analog method, and conversely, there are the following disadvantages. . (1) Since color correction is performed with a very small amount of signal change, the effect of noise is large, and the analog method has a problem that it is weak to noise. (2) An A / D converter 7 converts a video signal color-corrected by an analog method into a digital signal, and then converts the signal into a PDP or an LCD.
Therefore, there is a problem that the quantization error at the time of the A / D conversion cannot be ignored by delicate color correction.

【0004】本発明は、上述の問題点に鑑みなされたも
ので、ノイズや量子化誤差の影響のない色補正を行うこ
とのできる色補正回路を提供することを目的とする。
The present invention has been made in view of the above problems, and has as its object to provide a color correction circuit capable of performing color correction without being affected by noise or quantization errors.

【0005】[0005]

【課題を解決するための手段】本発明は、入力したディ
ジタルのR、G、B信号から輝度レベルYを算出するY
算出回路と、R、B信号と輝度レベルYから色差信号R
−Y、B−Yを算出する色差信号算出回路と、色差信号
R−Y、B−Yから色レベルCを算出するC算出回路
と、色差信号R−Y、B−Yから色相θを算出するθ算
出回路と、輝度レベルY、色レベルC、色相θのそれぞ
れが予め設定された複数段階のいずれの段階に属するか
を判別する判別回路と、この判別回路の判別出力に基づ
き色補正をするか否かを判定する判定回路と、色差信号
R−Y、B−Yのそれぞれの入力に対して複数種類の色
補正特性を満たす入出力変換データが記憶されたLUT
(ルックアップテーブル)群と、判定回路で色補正をす
ると判定されたときに判別回路の判別出力に基づいてL
UT群のうちの対応したLUTを選択するLUT選択回
路と、判定回路からの判定信号に基づいて、LUT選択
回路で選択されたLUTによる色補正後の色差信号R−
Y、B−Yと色差信号算出回路で算出された色補正前の
色差信号R−Y、B−Yの一方を選択する補正方法選択
回路と、この補正方法選択回路で選択された色差信号R
−Y、B−Yと輝度レベルYに基づいてディジタルの
R、G、B信号を演算して出力とする演算回路とを具備
してなることを特徴とする。
According to the present invention, a luminance level Y is calculated from input digital R, G, B signals.
A calculating circuit for calculating a color difference signal R from the R and B signals and the luminance level Y;
A color difference signal calculation circuit for calculating -Y and BY, a C calculation circuit for calculating a color level C from the color difference signals RY and BY, and a hue θ from the color difference signals RY and BY Calculation circuit, a discrimination circuit for discriminating to which of a plurality of preset levels each of the luminance level Y, the color level C and the hue θ belongs, and a color correction based on the discrimination output of the discrimination circuit. And a LUT storing input / output conversion data that satisfies a plurality of types of color correction characteristics for each input of the color difference signals RY and BY.
(Look-up table) and L based on the discrimination output of the discrimination circuit when the discrimination circuit determines that color correction is to be performed.
An LUT selection circuit for selecting a corresponding LUT from the UT group; and a color difference signal R- after color correction by the LUT selected by the LUT selection circuit, based on a determination signal from the determination circuit.
A correction method selection circuit for selecting one of the color difference signals RY and BY before color correction calculated by the color difference signal calculation circuit, and a color difference signal R selected by the correction method selection circuit;
An arithmetic circuit for calculating and outputting digital R, G, and B signals based on -Y, BY, and the luminance level Y;

【0006】入力したR、G、B信号に基づいて輝度レ
ベルY、色差信号R−Y、B−Y、色レベルC及び色相
θが算出され、この輝度レベルY、色レベルC、色相θ
が予め設定された複数段階のうちのいずれに属するかが
判別され、判別信号に基づいて色補正をするか否かが判
定される。色補正をすると判定されたときの判別出力に
基づいてLUT群のうちから対応したLUTが選択さ
れ、この選択されたLUTを用いて色差信号R−Y、B
−Yの色補正が行われる。色補正された色差信号R−
Y、B−Yと色補正前の色差信号R−Y、B−Yの一方
が、色補正をするか否かの判定信号に基づいて選択さ
れ、この選択された色差信号R−Y、B−Yと輝度レベ
ルYに基づいてR、G、B信号が演算され出力となる。
上述のようにディジタル方式で色補正が行われるので、
ノイズや量子化誤差の影響のない色補正が行われる。
A luminance level Y, color difference signals RY, BY, a color level C, and a hue θ are calculated based on the inputted R, G, B signals, and the luminance level Y, the color level C, the hue θ are calculated.
Is determined to which of a plurality of preset stages belongs, and it is determined whether or not to perform color correction based on the determination signal. A corresponding LUT is selected from the LUT group based on the determination output when it is determined that the color correction is performed, and the color difference signals RY, B are selected using the selected LUT.
-Y color correction is performed. Color-corrected color difference signal R-
One of Y, BY and the color difference signals RY, BY before color correction is selected based on a determination signal as to whether or not to perform color correction, and the selected color difference signals RY, B are selected. R, G, and B signals are calculated based on −Y and the luminance level Y and output.
As described above, color correction is performed digitally,
Color correction without the influence of noise or quantization error is performed.

【0007】肌色補正、緑色強調及び青色補正を可能と
するために、LUT群を肌色補正用、緑色強調用及び青
色補正用の3種類のLUTとし、判定回路で色補正をす
ると判定されたときに、判別回路の判別出力に基づいて
LUT選択回路が3種類のLUTのうちの対応したLU
Tを選択する。
In order to enable skin color correction, green color enhancement and blue color correction, the LUT group is composed of three types of LUTs for skin color correction, green color enhancement and blue color correction, and when it is determined that the color correction is performed by the determination circuit. In addition, the LUT selection circuit, based on the discrimination output of the discrimination circuit, makes the corresponding LU
Select T.

【0008】色補正をするか否かを外部から制御できる
ようにするために、補正方法選択回路に、色補正をする
か否かを制御するための外部制御信号1を判定回路の判
定信号より優先させて補正方法を選択する機能を付加す
る。
In order to enable external control of whether or not to perform color correction, an external control signal 1 for controlling whether or not to perform color correction is supplied to a correction method selection circuit from a determination signal of a determination circuit. A function to prioritize and select a correction method is added.

【0009】複数種類の色補正のうちの一部を外部から
中止できるようにするために、LUT選択回路に、複数
種類の色補正のうちの一部を中止するための外部制御信
号2で判別回路の判別出力の一部を遮断する機能を付加
する。
In order to allow a part of the plurality of types of color correction to be stopped from the outside, the LUT selection circuit determines the external control signal 2 for stopping a part of the plurality of types of color correction. A function to cut off a part of the judgment output of the circuit is added.

【0010】[0010]

【発明の実施の形態】以下、本発明によるディジタル色
補正回路の一実施形態例を図1を用いて説明する。図1
において10はY算出回路、12は第1色差信号算出回
路、14は第2色差信号算出回路、16はC算出回路、
18はθ算出回路である。前記Y算出回路10は、次式
(1)を用いて入力したディジタルの3原色信号である
R(赤)、G(緑)、B(青)信号から輝度レベルYを
算出する。 Y=0.3R+0.59G+0.11B…(1) 前記第1色差信号算出回路12はR信号と輝度レベルY
から色差信号R−Yを算出し、前記第2色差信号算出回
路14はB信号と輝度レベルYから色差信号B−Yを算
出する。前記C算出回路16は、次式(2)を用いて入
力した色差信号R−Y、B−Yから色レベルCを算出す
る。 C=√{(R−Y)2+(B−Y)2}…(2) 前記θ算出回路18は、次式(3)を用いて入力した色
差信号R−Y、B−Yから色相θを算出する。 θ=tan−1{(R−Y)/(B−Y)}…(3)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a digital color correction circuit according to the present invention will be described below with reference to FIG. FIG.
10 is a Y calculation circuit, 12 is a first color difference signal calculation circuit, 14 is a second color difference signal calculation circuit, 16 is a C calculation circuit,
18 is a θ calculation circuit. The Y calculation circuit 10 calculates the luminance level Y from the digital three primary color signals R (red), G (green), and B (blue) signals using the following equation (1). Y = 0.3R + 0.59G + 0.11B (1) The first color difference signal calculation circuit 12 calculates the R signal and the luminance level Y
The second color difference signal calculation circuit 14 calculates a color difference signal BY from the B signal and the luminance level Y. The C calculation circuit 16 calculates the color level C from the input color difference signals RY and BY using the following equation (2). C = {(RY) 2 + (BY) 2} (2) The θ calculation circuit 18 calculates the hue θ from the color difference signals RY and BY input using the following equation (3). Is calculated. θ = tan-1 {(RY) / (BY)} (3)

【0011】20は判別回路で、この判別回路20はY
判別回路22、C判別回路24及びθ判別回路26で構
成されている。前記Y判別回路22は前記Y算出回路1
0で算出された輝度レベルYが予め設定された複数段階
の輝度レベルのいずれに属するかを判別し、前記C判別
回路24は前記C算出回路16で算出された色レベルC
が予め設定された複数段階の色レベルのいずれに属する
かを判別し、前記θ判別回路26は前記θ算出回路18
で算出された色相θが予め設定された複数段階の色相の
いずれに属するかを判別する。例えば、Y判別回路22
は、算出された輝度レベルYの値が0〜19IREのと
きはDATA=1、20〜39IREのときはDATA
=2、…、80〜100IREのときはDATA=5と
判別する。0IREは黒レベルに相当し、100IRE
は白レベルに相当する。また、色差信号R−Y、B−Y
を直交軸とし、交点を中心とするベクトルで色を表す
と、色レベルCはベクトルの長さに相当し、色相θはベ
クトルのB−Y軸に対する位相角に相当するするので、
C判別回路24は、算出された色レベルCの値が0〜9
IREのときはDATA=1、10〜19IREのとき
はDATA=2、…、40〜49IREのときはDAT
A=5と判別する。θ判別回路26は、算出された色相
θの値が複数段階の位相角のいずれに属するかを判別す
る。
Reference numeral 20 denotes a discrimination circuit.
It comprises a discrimination circuit 22, a C discrimination circuit 24, and a θ discrimination circuit 26. The Y discriminating circuit 22 includes the Y calculating circuit 1
0, it is determined to which of a plurality of preset brightness levels the brightness level Y calculated belongs to, and the C determination circuit 24 determines the color level C calculated by the C calculation circuit 16.
Belongs to any of a plurality of preset color levels, and the θ determination circuit 26 determines whether the θ calculation circuit 18
It is determined to which of a plurality of preset hues the hue θ calculated in the above belongs. For example, the Y determination circuit 22
Is DATA = 1 when the calculated luminance level Y value is 0-19 IRE, and DATA when the calculated luminance level Y is 20-39 IRE.
= 2,..., 80 to 100 IRE, it is determined that DATA = 5. 0IRE corresponds to the black level, and 100IRE
Corresponds to the white level. Also, the color difference signals RY, BY
Is the orthogonal axis, and the color is represented by a vector centered at the intersection, the color level C corresponds to the length of the vector, and the hue θ corresponds to the phase angle of the vector with respect to the BY axis.
The C determination circuit 24 determines that the value of the calculated color level C is 0 to 9
DATA = 1 for IRE, DATA = 2 for 10-19 IRE,..., DAT for 40-49 IRE
It is determined that A = 5. The θ determination circuit 26 determines which of a plurality of levels of the phase angle the value of the calculated hue θ belongs to.

【0012】30はLUT群で、このLUT群30は、
色差信号R−Y用の複数のLUT群321、322、
…、32n(nは2以上の整数)と、色差信号B−Y用
の複数のLUT群341、342、…、34nとからな
っている。前記LUT群321〜32n、341〜34
nには、前記第1、第2色差信号算出回路12、14で
算出された色差信号R−Y、B−Yのそれぞれの入力に
対して、肌色補正用、緑色強調用、青色補正用の3種類
の色補正特性を満たす入出力変換データが記憶されてい
る。
Reference numeral 30 denotes a group of LUTs.
A plurality of LUT groups 321 and 322 for the color difference signal RY;
, 32n (n is an integer of 2 or more), and a plurality of LUT groups 341, 342, ..., 34n for the color difference signal BY. The LUT groups 321-32n, 341-34
n indicates the input of each of the color difference signals RY and BY calculated by the first and second color difference signal calculation circuits 12 and 14 for skin color correction, green enhancement, and blue correction. Input / output conversion data that satisfies three types of color correction characteristics is stored.

【0013】40は判定回路で、この判定回路40は前
記判別回路20の判別出力に基づいて色補正をするか否
かの判定信号「1」(色補正をする場合)、「0」(色
補正をしない場合)を出力する。42はLUT選択回路
で、このLUT選択回路42は、前記判定回路40の判
定信号が「1」のときに、前記判別回路20の判別出力
に基づいて前記LUT群321〜32n、341〜34
nのうちの対応したLUTを選択する。例えば、判別回
路20によって、輝度レベルYがY≧Yh(設定値)の
条件を満たす80IRE、色レベルCがC≧Ch(設定
値)の条件を満たす15IRE、色相θが90≦θ≦1
50の条件を満たす117°であって入力R、G、B信
号が肌色であると判別されたときには、判定回路40の
判定信号が「1」となり、LUT選択回路42によって
LUT群321〜32n、341〜34nの中から肌色
補正用のLUT(例えば321と341)が選択され
る。前記LUT選択回路42は、さらに、外部制御信号
2によって判別回路20の判別出力の一部を遮断する機
能を具備している。例えば、2ビットの外部制御信号2
によって、3種類の色補正のうちの一部(例えば緑色強
調又は緑色強調及び青色補正)を補正するための判別出
力を遮断する機能を具備している。
Reference numeral 40 denotes a judgment circuit. The judgment circuit 40 judges whether or not to perform color correction based on the discrimination output of the discrimination circuit 20 (in the case of performing color correction) and "0" (in case of color correction). (When no correction is made). Reference numeral 42 denotes an LUT selection circuit. When the determination signal of the determination circuit 40 is “1”, the LUT selection circuit 42 is configured to output the LUT groups 321 to 32n and 341 to 34 based on the determination output of the determination circuit 20.
Select the corresponding LUT from n. For example, the discrimination circuit 20 determines that the luminance level Y satisfies the condition of Y ≧ Yh (set value), the color level C satisfies the condition of C ≧ Ch (set value), and the hue θ is 90 ≦ θ ≦ 1.
When 117 ° which satisfies the condition 50 and the input R, G, B signals are determined to be flesh color, the determination signal of the determination circuit 40 becomes “1”, and the LUT selection circuit 42 causes the LUT groups 321 to 32n, LUTs (for example, 321 and 341) for skin color correction are selected from 341 to 34n. The LUT selection circuit 42 further has a function of cutting off a part of the determination output of the determination circuit 20 by the external control signal 2. For example, a 2-bit external control signal 2
Accordingly, a function of interrupting a determination output for correcting a part of the three types of color correction (for example, green emphasis or green emphasis and blue correction) is provided.

【0014】44は補正方法選択回路で、この補正方法
選択回路44は、前記判定回路40の判定信号が「1」
のときには、前記LUT群30から出力する色差信号R
−Y、B−Y(色補正後の信号)を出力し、前記判定回
路40の判定信号が「0」のときには、前記第1、第2
色差信号算出回路12、14で算出された色差信号R−
Y、B−Y(色補正前の信号)を出力する。前記補正方
法選択回路44は、さらに、色補正をするか否かを制御
するための外部制御信号1(例えば1ビットの信号)
を、前記判定回路40の判定信号に優先させる機能を具
備している。46は演算回路で、この演算回路46は、
前記補正方法選択回路44で選択された色差信号R−
Y、B−Yと、前記Y算出回路10で算出された輝度レ
ベルYに基づき、次式(4)(5)(6)を用いた演算
によりR、G、B信号を算出して出力する。 R=(R−Y)+Y…(4) G=(Y−0.3R−0.11B)/0.59…(5) B=(B−Y)+Y…(6)
Reference numeral 44 denotes a correction method selection circuit. The correction method selection circuit 44 determines that the determination signal of the determination circuit 40 is "1".
, The color difference signal R output from the LUT group 30
-Y and BY (signal after color correction) are output, and when the determination signal of the determination circuit 40 is "0", the first and second signals are output.
The color difference signal R− calculated by the color difference signal calculation circuits 12 and 14
Y and BY (signals before color correction) are output. The correction method selection circuit 44 further includes an external control signal 1 (for example, a 1-bit signal) for controlling whether or not to perform color correction.
Is given priority over the determination signal of the determination circuit 40. 46 is an arithmetic circuit, and this arithmetic circuit 46
The color difference signal R-
Based on Y, BY, and the luminance level Y calculated by the Y calculation circuit 10, R, G, and B signals are calculated and output by calculations using the following equations (4), (5), and (6). . R = (R−Y) + Y (4) G = (Y−0.3R−0.11B) /0.59 (5) B = (B−Y) + Y (6)

【0015】以上のようにして構成されたディジタル色
補正回路を、表示デバイスがPDPやLCDの場合に使
用した一実施形態例を図2を用いて説明する。図2にお
いて図8と同一部分は同一符号とする。図2において、
2はY/C分離回路、3はクロマデコーダ、5はマトリ
ックス回路、6はPDPやLCDで構成された表示デバ
イス、7はA/D変換器、9は本発明によるディジタル
色補正回路を示し、Y/C分離回路2で入力したコンポ
ジットビデオ信号から輝度レベルYと色レベルCを分離
し、クロマデコーダ3で色レベルCから色差信号R−
Y、B−Yをデコードし、マトリックス回路5でアナロ
グのR3、G3、B3信号を作成し、A/D変換器7で
ディジタルのR4、G4、B4信号に変換し、ディジタ
ル色補正回路9でディジタル方式による色補正処理を行
って得られたディジタルのR5、G5、B5信号を表示
デバイス6に供給する。このように、ディジタル色補正
回路9では、ディジタル方式による色補正処理が行われ
ているので、ノイズや量子化誤差の影響のない色補正を
行うことのできる。以下に詳述する。
An embodiment in which the digital color correction circuit configured as described above is used when the display device is a PDP or LCD will be described with reference to FIG. In FIG. 2, the same parts as those in FIG. In FIG.
2 is a Y / C separation circuit, 3 is a chroma decoder, 5 is a matrix circuit, 6 is a display device composed of a PDP or LCD, 7 is an A / D converter, 9 is a digital color correction circuit according to the present invention, The Y / C separation circuit 2 separates the luminance level Y and the color level C from the input composite video signal, and the chroma decoder 3 converts the color level C into the color difference signal R-
Y and BY are decoded, analog R3, G3, and B3 signals are created by a matrix circuit 5, converted into digital R4, G4, and B4 signals by an A / D converter 7, and converted by a digital color correction circuit 9. The digital R5, G5, and B5 signals obtained by performing the color correction processing by the digital method are supplied to the display device 6. As described above, since the digital color correction circuit 9 performs the color correction processing by the digital method, it is possible to perform the color correction without the influence of the noise and the quantization error. Details will be described below.

【0016】つぎに、図1のディジタル色補正回路9自
体の作用を図3〜図6を併用して説明する。まず、輝度
レベルY、色レベルC及び色相θが算出され、算出値が
どのような段階に属するかを判別するまでについて説明
する。Y算出回路10によって入力R、G、B信号から
輝度レベルYが算出され、判別回路20内のY判別回路
22によって輝度レベルYがどのような段階に属するか
が判別される。第1、第2色差信号算出回路12、14
によって入力R、B信号と輝度レベルYから色差信号R
−Y、B−Yが算出され、C算出回路16とθ算出回路
18によって色差信号R−Y、B−Yから色レベルCと
色相θが算出され、判別回路20内のC判別回路24と
θ判別回路26によって色レベルCと色相θがどのよう
な段階に属するかが判別される。
Next, the operation of the digital color correction circuit 9 of FIG. 1 will be described with reference to FIGS. First, the process of calculating the luminance level Y, the color level C, and the hue θ and determining to which stage the calculated value belongs will be described. The luminance level Y is calculated from the input R, G, and B signals by the Y calculating circuit 10, and to which stage the luminance level Y belongs is determined by the Y determining circuit 22 in the determining circuit 20. First and second color difference signal calculation circuits 12 and 14
From the input R and B signals and the luminance level Y
−Y and BY are calculated, the color level C and the hue θ are calculated from the color difference signals RY and BY by the C calculation circuit 16 and the θ calculation circuit 18, and the C determination circuit 24 in the determination circuit 20 The .theta. determination circuit 26 determines to which stage the color level C and the hue .theta. belong.

【0017】つぎに、判別回路20の判別信号に基づい
て(A)肌色補正をする場合、(B)緑色強調をする場
合、(C)青色補正をする場合、(D)色補正をしない
場合、(E)外部制御信号1で色補正を制御する場合、
(F)外部制御信号2で色補正を制御する場合に分けて
説明する。
Next, based on the discrimination signal of the discrimination circuit 20, (A) the case where the skin color is corrected, (B) the case where the green color is emphasized, (C) the case where the blue color is corrected, and (D) the case where the color correction is not performed. , (E) when the color correction is controlled by the external control signal 1,
(F) The case where color correction is controlled by the external control signal 2 will be described separately.

【0018】(A)肌色補正の場合 この補正は、人の目が敏感である肌色付近の色を最適な
色に見せるために行うもので、図4に示すように、色差
信号R−Y、B−Yを直交軸とし交点を中心とするベク
トルで色を表したときに、B−Y軸に対する位相角θが
123°の肌色の色相(I軸)に色を寄せる色補正が行
われる。各回路で処理されるデータはディジタル量であ
るが、説明の便宜上アナログ量で説明し、各判別回路2
2、24、26で算出された輝度レベルY、色レベル
C、色相θのそれぞれが図3のに示す設定条件(Y≧
Yh、C≧Ch、90°≦θ≦150°)を満たしてい
ると判別されたときに、肌色補正が行われるものと仮定
する。上述のアナログ量に対応するディジタル量は、例
えば次のようになる。図3のに示すY≧Yh、C≧C
h、90°≦θ≦150°の条件は、それぞれ判別回路
22のDATA=3〜5、判別回路24のDATA=2
〜4、判別回路26のDATA=3〜5の条件に対応す
る。
(A) In the case of skin color correction This correction is performed to make the color near the skin color, to which the human eye is sensitive, look like an optimal color. As shown in FIG. 4, the color difference signals RY, When the color is represented by a vector centered on the intersection with BY being the orthogonal axis, color correction is performed to shift the color to the hue (I axis) of the flesh color whose phase angle θ with respect to the BY axis is 123 °. The data processed by each circuit is a digital amount, but for convenience of explanation, the data will be described in an analog amount.
Each of the luminance level Y, the color level C, and the hue θ calculated in 2, 2, and 26 is the setting condition (Y ≧
(Yh, C ≧ Ch, 90 ° ≦ θ ≦ 150 °), it is assumed that skin color correction is performed. A digital quantity corresponding to the above-mentioned analog quantity is, for example, as follows. Y ≧ Yh, C ≧ C shown in FIG.
h, the condition of 90 ° ≦ θ ≦ 150 ° is that DATA = 3 to 5 of the discrimination circuit 22 and DATA = 2 of the discrimination circuit 24, respectively.
-4, DATA = 3-5 of the discrimination circuit 26.

【0019】図3のに示す条件が満たされているとき
には、判定回路40から判定信号「1」が出力し、LU
T選択回路42及び補正方法選択回路44に入力する。
θ判別回路26によってθが90°≦θ<123°の範
囲に属すると判別されたときには、色補正特性1a、1
b、1cを満たす入出力変換データが記憶されたLUT
(例えば321と341、321と342、322と3
41)を選択するための信号が、LUT選択回路42か
らLUT群30へ供給される。また、θ判別回路26に
よってθが123°≦θ≦150°の範囲に属すると判
別されたときには、色補正特性2a、2b、2cを満た
す入出力変換データが記憶されたLUTを選択するため
の信号が、LUT選択回路42からLUT群30へ供給
される。
When the condition shown in FIG. 3 is satisfied, a judgment signal "1" is output from the judgment circuit 40 and LU
The signals are input to the T selection circuit 42 and the correction method selection circuit 44.
When the θ determination circuit 26 determines that θ belongs to the range of 90 ° ≦ θ <123 °, the color correction characteristics 1a, 1
LUT storing input / output conversion data satisfying b and 1c
(For example, 321 and 341, 321 and 342, 322 and 3
A signal for selecting 41) is supplied from the LUT selection circuit 42 to the LUT group 30. When the θ determination circuit 26 determines that θ belongs to the range of 123 ° ≦ θ ≦ 150 °, the LUT storing the input / output conversion data satisfying the color correction characteristics 2a, 2b, and 2c is selected. The signal is supplied from the LUT selection circuit 42 to the LUT group 30.

【0020】このため、LUT群30では次のような入
出力変換が行われる。算出されたθが90°≦θ<12
3°の範囲内の中心部分に属しているときには、その色
補正特性1bでは、図4に矢印1bで示すように、12
3°に近づける補正量が最大となるように色差信号R−
Yを少し減少するとともに色差信号B−Yを大きく減少
させる入出力変換が行われる。また、算出されたθが9
0°≦θ<123°の範囲内の両側部分に属していると
きには、その色補正特性1a、1cでは、図4に矢印1
a、1cで示すように、中心部分から離れているほど1
23°に近づける補正量が少なくなる入出力変換が行わ
れる。。また、算出されたθが123°≦θ≦150°
の範囲内の中心部分に属しているときには、その色補正
特性2bでは、図4に矢印2bで示すように、123°
に近づける補正量が最大となるように色差信号R−Yを
少し増加するとともに色差信号B−Yを大きく増加させ
る入出力変換が行われる。また、算出されたθが123
°≦θ≦150°の範囲内の両側部分に属しているとき
には、その色補正特性2a、2cでは、図4に矢印2
a、2cで示すように、中心部分から離れているほど1
23°に近づける補正量が少なくなる入出力変換が行わ
れる。したがって、LUT群30から肌色補正された色
差信号R−Y、B−Yが出力する。
For this reason, the LUT group 30 performs the following input / output conversion. The calculated θ is 90 ° ≦ θ <12
When it belongs to the central portion within the range of 3 °, its color correction characteristic 1b has 12 points as shown by the arrow 1b in FIG.
The color difference signal R- is adjusted so that the correction amount approaching 3 ° is maximized.
Input / output conversion is performed to slightly reduce Y and greatly reduce the color difference signal BY. In addition, the calculated θ is 9
When it belongs to both sides within the range of 0 ° ≦ θ <123 °, the color correction characteristics 1a and 1c indicate the arrow 1 in FIG.
a, as shown by 1c, 1
Input / output conversion is performed to reduce the correction amount approaching 23 °. . The calculated θ is 123 ° ≦ θ ≦ 150 °
, The color correction characteristic 2b indicates that the color correction characteristic 2b is 123 ° as shown by the arrow 2b in FIG.
The input / output conversion is performed to slightly increase the color difference signal RY and greatly increase the color difference signal BY so that the correction amount approaching to the maximum becomes maximum. In addition, the calculated θ is 123
When it belongs to both side portions within the range of ° ≦ θ ≦ 150 °, the color correction characteristics 2a and 2c show arrows 2 in FIG.
a, as shown by 2c, 1
Input / output conversion is performed to reduce the correction amount approaching 23 °. Therefore, the LUT group 30 outputs the color difference signals RY and BY that have undergone skin color correction.

【0021】判定回路40の判定信号「1」は補正方法
選択回路44にも入力しているので、この補正方法選択
回路44によってLUT群30からの肌色補正された色
差信号R−Y、B−Yが選択され演算回路46に入力す
る。演算回路46では、この肌色補正された色差信号R
−Y、B−Yと輝度レベルYに基づいてR、G、B信号
が演算され、肌色補正されたR、G、B信号が出力す
る。
Since the judgment signal "1" of the judgment circuit 40 is also inputted to the correction method selection circuit 44, the color difference signals RY and B- from the LUT group 30 whose skin color has been corrected by the correction method selection circuit 44. Y is selected and input to the arithmetic circuit 46. In the arithmetic circuit 46, the color difference signal R obtained by correcting the skin color
The R, G, and B signals are calculated based on -Y, BY, and the luminance level Y, and the R, G, and B signals that have undergone skin color correction are output.

【0022】(B)緑色強調の場合 この補正は、木の葉の緑の色付きを濃くすることにより
画像を色鮮やかに見せるために行うもので、単純に緑色
を強調するのではなく、図5に示すように木の葉の黄緑
色(色相θ≒210°)に強調のピークをもってくるよ
うに色相θによって強調量を変化させるとともに、補正
方向が入力R、G、B信号の色相方向と一致するように
各補正毎の色差信号R−Y、B−Yの比率を一定とす
る。説明の便宜上、判別回路20の各判別回路22、2
4、26によって、算出された輝度レベルY、色レベル
C、色相θのそれぞれが図3のに示す設定条件(Yg
1≦Y≦Yg2、Cg1≦C≦Cg2、170°≦θ≦
245°)を満たしていると判別されたときに、緑色強
調が行われるものと仮定する。
(B) Case of Green Emphasis This correction is performed to make the image look vivid by making the green color of the leaves of the tree darker. Rather than simply enhancing green, the correction is shown in FIG. The emphasis amount is changed by the hue θ so that the peak of the emphasis is brought to the yellow-green color (hue θ ° 210 °) of the leaves of the tree, and the correction direction matches the hue direction of the input R, G, and B signals. The ratio of the color difference signals RY and BY for each correction is fixed. For convenience of explanation, each of the discriminating circuits 22 and 2 of the discriminating circuit 20
4 and 26, the calculated luminance level Y, color level C, and hue θ are respectively set to the setting conditions (Yg
1 ≦ Y ≦ Yg2, Cg1 ≦ C ≦ Cg2, 170 ° ≦ θ ≦
245 °), it is assumed that green enhancement is performed.

【0023】図3のに示す条件が満たされているとき
には、判定回路40から判別信号「1」が出力し、LU
T選択回路42及び補正方法選択回路44に入力する。
図3のに示すように、θ判別回路26によってθが1
70°≦θ<185°、185°≦θ<200°、…、
230°≦θ≦245°のそれぞれの範囲に属すると判
別されたときには、色補正特性3a、3b、…、3eを
満たす入出力変換データが記憶されたLUTを選択する
ための信号が、LUT選択回路42からLUT群30へ
供給される。
When the condition shown in FIG. 3 is satisfied, a determination signal "1" is output from the determination circuit 40 and the LU
The signals are input to the T selection circuit 42 and the correction method selection circuit 44.
As shown in FIG.
70 ° ≦ θ <185 °, 185 ° ≦ θ <200 °, ...,
When it is determined that the input / output conversion data satisfies the respective ranges of 230 ° ≦ θ ≦ 245 °, a signal for selecting the LUT storing the input / output conversion data satisfying the color correction characteristics 3a, 3b,. The data is supplied from the circuit 42 to the LUT group 30.

【0024】このため、LUT群30では次のような入
出力変換が行われる。算出されたθが黄緑色(色相θ≒
210°)を含む200°≦θ<215°の範囲に属し
ているときには、その色補正特性3cでは、図5に矢印
3cで示すように色レベルの補正量が最大となるように
色差信号R−Y、B−Yを減少させる入出力変換が行わ
れる。また、算出されたθが黄緑色から離れた185°
≦θ<200°、215°≦θ<230°の範囲に属し
ているときには、その色補正特性3b、3dでは、図5
に矢印3b、3dで示すように色レベルの補正量が矢印
3cの場合より小さくなるように色差信号R−Y、B−
Yを減少させる入出力変換が行われる。また、算出され
たθが黄緑色からさらに離れた170°≦θ<185°
の範囲に属しているときには、その色補正特性3aで
は、図5に矢印3aで示すように色レベルの補正量が矢
印3bの場合より小さくなるように色差信号B−Yのみ
を減少させる入出力変換が行われる。また、算出された
θが黄緑色からさらに離れた230°≦θ≦245°の
範囲に属しているときには、その色補正特性3eでは、
図5に矢印3eで示すように色レベルの補正量が矢印3
dの場合より小さくなるように色差信号R−Y、B−Y
を減少させる入出力変換が行われる。したがって、LU
T群30から緑色強調された色差信号R−Y、B−Yが
出力する。
For this reason, in the LUT group 30, the following input / output conversion is performed. The calculated θ is yellow-green (hue θ ≒
210 °), the color difference signal R has a color correction characteristic 3c such that the correction amount of the color level becomes maximum as shown by an arrow 3c in FIG. Input / output conversion for reducing -Y and BY is performed. Also, the calculated θ is 185 ° away from yellow-green.
≤θ <200 °, 215 ° ≦ θ <230 °, the color correction characteristics 3b, 3d
As shown by arrows 3b and 3d, the color difference signals RY and B- so that the correction amount of the color level becomes smaller than that in the case of arrow 3c.
An input / output conversion that reduces Y is performed. Also, the calculated θ is 170 ° ≦ θ <185 ° which is further away from the yellowish green.
In the color correction characteristic 3a, the input / output for reducing only the color difference signal BY so that the correction amount of the color level becomes smaller than the case of the arrow 3b as shown by the arrow 3a in FIG. Conversion is performed. Further, when the calculated θ belongs to the range of 230 ° ≦ θ ≦ 245 ° that is further away from the yellowish green, the color correction characteristic 3e indicates that
As shown by an arrow 3e in FIG.
The color difference signals RY and BY are set to be smaller than in the case of d.
Is performed. Therefore, LU
The T group 30 outputs color difference signals RY and BY with green emphasis.

【0025】判定回路40の判定信号「1」は補正方法
選択回路44にも入力しているので、この補正方法選択
回路44によってLUT群30からの緑色強調された色
差信号R−Y、B−Yが選択されて演算回路46に入力
する。演算回路46では、この緑色強調された色差信号
R−Y、B−Yと輝度レベルYに基づいてR、G、B信
号が演算され、緑色強調されたR、G、B信号が出力す
る。
Since the judgment signal "1" of the judgment circuit 40 is also inputted to the correction method selection circuit 44, the color difference signals RY, B- Y is selected and input to the arithmetic circuit 46. The arithmetic circuit 46 calculates the R, G, and B signals based on the green-enhanced color difference signals RY and BY and the luminance level Y, and outputs green-enhanced R, G, and B signals.

【0026】(C)青色補正の場合 この補正は、白を青みがからせることにより画像全体を
明るい感じにするために行うもので、図6に示すよう
に、入力R、G、B信号を少し青方向(色相θ=34
7.6°)へシフトさせる補正である。補正する色レベ
ルCの範囲は色がないと見做せる範囲とし、そのなかで
も色レベルCが高くなるほど補正量を少なくする。さら
に、補正方向が青方向(色相θ=347.6)で一定と
なるように、色差信号R−Y、B−Yの比率を一定とす
る。説明の便宜上、判別回路20のY判別回路22、C
判別回路24によって、算出された輝度レベルY、色レ
ベルCのそれぞれが図3のに示す設定条件(Y≧Y
b、Cb1≦C≦Cb4)を満たしていると判別された
ときに、青色補正が行われるものと仮定する。
(C) In the case of blue correction This correction is performed to make the whole image bright by making white bluish. As shown in FIG. 6, the input R, G and B signals are Slightly blue direction (hue θ = 34
(7.6 °). The range of the color level C to be corrected is a range in which there is no color, and the higher the color level C is, the smaller the correction amount is. Further, the ratio of the color difference signals RY and BY is fixed so that the correction direction is constant in the blue direction (hue θ = 347.6). For convenience of explanation, Y discriminating circuit 22 of discriminating circuit 20, C
Each of the luminance level Y and the color level C calculated by the discrimination circuit 24 is determined by the setting condition (Y ≧ Y) shown in FIG.
b, when it is determined that Cb1 ≦ C ≦ Cb4) is satisfied, it is assumed that blue correction is performed.

【0027】図3のに示す条件が満たされているとき
には、判定回路40の判定信号「1」が出力し、LUT
選択回路42及び補正方法選択回路44に入力する。図
3のに示すように、C判別回路24によって色レベル
CがCb1≦C<Cb2、Cb2≦C<Cb3、Cb3
≦C≦Cb4のそれぞれの範囲に属すると判別されたと
きには、色補正特性4a、4b、4cを満たす入出力変
換データが記憶されたLUTを選択するための信号が、
LUT選択回路42からLUT群30へ供給される。
When the condition shown in FIG. 3 is satisfied, the judgment signal "1" of the judgment circuit 40 is output, and the LUT
The signals are input to the selection circuit 42 and the correction method selection circuit 44. As shown in FIG. 3, the C determination circuit 24 determines that the color level C is Cb1 ≦ C <Cb2, Cb2 ≦ C <Cb3, Cb3.
When it is determined that the input / output conversion data satisfies the respective ranges of ≦ C ≦ Cb4, a signal for selecting an LUT in which input / output conversion data satisfying the color correction characteristics 4a, 4b, and 4c is stored is:
The data is supplied from the LUT selection circuit 42 to the LUT group 30.

【0028】このため、LUT群30では次のような入
出力変換が行われる。算出された色レベルCが比較的小
さくてCb1≦C<Cb2の範囲に属しているとき(白
っぽい画像で色の濃さが薄いとき)には、その色補正特
性4aでは、図6に矢印4aで示すように色レベルの補
正量が最大となるように色差信号R−Yを減少させると
ともにB−Yを増加させる入出力変換が行われる。ま
た、算出された色レベルCが中ぐらいでCb2≦C<C
b3の範囲に属しているときには、その色補正特性4b
では、図6に矢印4bで示すように色レベルの補正量が
中ぐらいとなるように色差信号R−Yを減少するととも
にB−Yを増加させる入出力変換が行われる。また、算
出された色レベルCが大きくてCb3≦C≦Cb4の範
囲に属しているとき(白っぽい画像で色の濃さが濃いと
き)には、その色補正特性4cでは、図6に矢印4cで
示すように色レベルの補正量が最小となるように色差信
号R−Yを減少、B−Yを増加させる入出力変換が行わ
れる。したがって、LUT群30から青色補正された色
差信号R−Y、B−Yが出力する。
For this reason, the LUT group 30 performs the following input / output conversion. When the calculated color level C is relatively small and belongs to the range of Cb1 ≦ C <Cb2 (when the color density is low in a whitish image), the arrow 4a in FIG. The input / output conversion for decreasing the color difference signal RY and increasing BY is performed so that the correction amount of the color level is maximized as shown by. The calculated color level C is medium and Cb2 ≦ C <C
b3, the color correction characteristic 4b
Then, as shown by an arrow 4b in FIG. 6, input / output conversion is performed to decrease the color difference signal RY and increase BY so that the correction amount of the color level becomes medium. When the calculated color level C is large and belongs to the range of Cb3 ≦ C ≦ Cb4 (when the color is deep in a whitish image), the color correction characteristic 4c is indicated by an arrow 4c in FIG. The input / output conversion for decreasing the color difference signal RY and increasing the BY is performed so that the correction amount of the color level is minimized as shown by. Accordingly, the LUT group 30 outputs the color difference signals RY and BY corrected for blue.

【0029】判定回路40の判定信号「1」は補正方法
選択回路44にも入力しているので、この補正方法選択
回路44によってLUT群30からの青色補正された色
差信号R−Y、B−Yが選択されて演算回路46に入力
する。演算回路46では、この青色補正された色差信号
R−Y、B−Yと輝度レベルYに基づいてR、G、B信
号が演算され、青色補正されたR、G、B信号が出力す
る。
Since the judgment signal "1" of the judgment circuit 40 is also inputted to the correction method selection circuit 44, the color difference signals RY, B- Y is selected and input to the arithmetic circuit 46. The arithmetic circuit 46 calculates R, G, and B signals based on the blue-corrected color difference signals RY and BY and the luminance level Y, and outputs blue-corrected R, G, and B signals.

【0030】(D)色補正をしない場合 判別回路20によって図3のに示す設定条件の何
れも満たされていないと判別されたときには、判定回路
40から判定信号「0」が出力して補正方法選択回路4
4に入力し、第1、第2色差信号算出回路12、14で
算出された色差信号R−Y、B−Y(補正前の信号)を
選択して演算回路46へ出力する。演算回路46では、
この補正前の色差信号R−Y、B−Yと輝度レベルYに
基づいてR、G、B信号が演算され、色補正をしない
R、G、B信号が出力する。
(D) When Color Correction is Not Performed When the determination circuit 20 determines that none of the setting conditions shown in FIG. 3 is satisfied, the determination signal 40 is output from the determination circuit 40 to perform the correction method. Selection circuit 4
4 to select the color difference signals RY and BY (signals before correction) calculated by the first and second color difference signal calculation circuits 12 and 14 and output them to the arithmetic circuit 46. In the arithmetic circuit 46,
The R, G, B signals are calculated based on the color difference signals RY, BY before correction and the luminance level Y, and R, G, B signals without color correction are output.

【0031】(E)外部制御信号1で色補正を制御する
場合 外部制御信号1が「0」のときには、この外部制御信号
1が無視され、前記(A)〜(D)で説明した場合と同
様にして、補正方法選択回路44は判定回路40の判定
信号「1」、「0」によって、補正後の色差信号R−
Y、B−Y、補正前の色差信号R−Y、B−Yを選択し
て出力する。外部制御信号1が「1」のときには、補正
方法選択回路44は、判定回路40の判定信号を無視し
て第1、第2色差信号算出回路12、14で算出された
色差信号R−Y、B−Y(補正前の信号)を選択して出
力する。このため、色補正をしたくないときに自動的な
色補正を中止できる。
(E) When Color Correction is Controlled by External Control Signal 1 When the external control signal 1 is "0", the external control signal 1 is ignored, and the case described in (A) to (D) above is applied. Similarly, the correction method selection circuit 44 uses the determination signals “1” and “0” of the determination circuit 40 to correct the color difference signal R−
Y, BY, and the color difference signals RY, BY before correction are selected and output. When the external control signal 1 is “1”, the correction method selection circuit 44 ignores the determination signal of the determination circuit 40 and ignores the determination signals of the first and second color difference signal calculation circuits 12 and 14, BY (signal before correction) is selected and output. Therefore, the automatic color correction can be stopped when the color correction is not desired.

【0032】(F)外部制御信号2で色補正を制御する
場合 外部制御信号2が「00」のときには、LUT選択回路
42は判別回路20の判別出力に対応したLUT選択信
号をLUT群30へ供給し、前記(A)〜(D)で説明
した場合と同様の色補正が行われる。また、外部制御信
号2が「01」のときには、判別回路20の肌色補正に
対応した判別出力(前記(A))が遮断され、外部制御
信号2が「10」のときには、判別回路20の緑色強調
に対応した判別出力(前記(B))が遮断され、外部制
御信号2が「11」のときには、判別回路20の青色補
正に対応した判別出力(前記(C))が遮断される。こ
のため、外部制御信号2によって肌色補正、緑色強調、
青色補正のうちの任意の1つをオフにすることができ
る。例えば、緑色強調をしたくないときには、外部制御
信号2を「10」とすることによって、入力したR、
G、B信号が図3のに示す緑色強調の条件(Yg1≦
Y≦Yg2、Cg1≦C≦Cg2、170°≦θ≦24
5°)を満たしていても、判別回路20からの対応した
判別出力が遮断され、緑色強調が行われない。この外部
制御信号2を「10」とした場合において、入力R、
G、B信号が図3の及び/又はに示す設定条件を満
たしていれば、肌色補正及び/又は青色強調が行われ
る。
(F) When Color Correction is Controlled by External Control Signal 2 When the external control signal 2 is “00”, the LUT selection circuit 42 sends an LUT selection signal corresponding to the discrimination output of the discrimination circuit 20 to the LUT group 30. And color correction similar to that described in (A) to (D) above is performed. When the external control signal 2 is "01", the discrimination output ((A)) corresponding to the skin color correction of the discrimination circuit 20 is cut off, and when the external control signal 2 is "10", the green of the discrimination circuit 20 is turned off. The discrimination output ((B)) corresponding to emphasis is cut off, and when the external control signal 2 is “11”, the discrimination output ((C)) corresponding to blue correction of the discrimination circuit 20 is cut off. Therefore, skin color correction, green enhancement,
Any one of the blue corrections can be turned off. For example, when the user does not want to emphasize green, by setting the external control signal 2 to “10”, the inputted R,
The G and B signals are in the green emphasis condition (Yg1 ≦
Y ≦ Yg2, Cg1 ≦ C ≦ Cg2, 170 ° ≦ θ ≦ 24
5 °), the corresponding discrimination output from the discrimination circuit 20 is cut off, and green emphasis is not performed. When the external control signal 2 is "10", the input R,
If the G and B signals satisfy the setting conditions shown in and / or in FIG. 3, flesh color correction and / or blue enhancement are performed.

【0033】図1の実施形態例では、色補正をするか否
かを外部から制御することができるようにするために
(例えば自動的な色補正で不都合なときに色補正しない
ようにするために)、補正方法選択回路に、外部制御信
号1を判定回路の判定信号より優先させて補正方法を選
択する機能を付加した場合について説明したが、本発明
はこれに限るものでなく、外部制御信号1による色補正
をするか否かの制御を省略した場合についても利用する
ことができる。
In the embodiment of FIG. 1, it is possible to externally control whether or not to perform color correction (for example, to prevent color correction when it is inconvenient in automatic color correction). 2), the case where a function of selecting a correction method by giving priority to the external control signal 1 over the determination signal of the determination circuit is added to the correction method selection circuit has been described. However, the present invention is not limited to this. The present invention can also be used when the control of whether or not to perform the color correction based on the signal 1 is omitted.

【0034】図1の実施形態例では、LUT選択回路
に、外部制御信号2に基づいて判別出力の一部を遮断す
る機能を付加することによって、肌色補正、緑色強調、
青色補正の3種類の色補正のうちの1種類を中止できる
ようにしたが、本発明はこれに限るものでなく、3ビッ
トの外部制御信号2で肌色補正、緑色強調、青色補正の
3種類の色補正のうちの任意の2種類を中止できるよう
にしたものについても利用することができ、又は外部制
御信号2で判別出力の一部を遮断する機能を付加しない
ものについても利用することができる。
In the embodiment of FIG. 1, a function of cutting off a part of the discrimination output based on the external control signal 2 is added to the LUT selection circuit, so that skin color correction, green emphasis,
Although one of the three types of color correction of blue correction can be stopped, the present invention is not limited to this, and three types of skin color correction, green enhancement, and blue correction can be performed using a 3-bit external control signal 2. Any of the two types of color correction that can be stopped can be used, or those that do not have a function of cutting off a part of the determination output by the external control signal 2 can be used. it can.

【0035】図1の実施形態例では、LUT群を肌色補
正用、緑色強調用、及び青色補正用の3種類のLUTで
構成した場合について説明したが、本発明はこれに限る
ものでなく、肌色補正用、緑色強調用、青色補正用のう
ちの任意の1つ又は2つに対応させた複数のLUTで構
成した場合や、これらのLUTにその他の色補正用のL
UTを付加した構成の場合についても利用することがで
きる。
In the embodiment shown in FIG. 1, the case where the LUT group is composed of three types of LUTs for skin color correction, green enhancement and blue correction has been described. However, the present invention is not limited to this. A case in which a plurality of LUTs corresponding to any one or two of skin color correction, green enhancement, and blue correction are used, and LUTs for other color correction are added to these LUTs
It can also be used in the case of a configuration with a UT added.

【0036】[0036]

【発明の効果】本発明によるディジタル色補正回路は、
Y算出回路、色差信号算出回路、C算出回路、θ算出回
路、判別回路、判定回路、LUT群、LUT選択回路、
補正方法選択回路及び演算回路を具備し、算出した輝度
レベルY、色レベルC、色相θが予め設定された複数段
階のうちのいずれに属するかを判別し、判別信号に基づ
いて色補正をするか否かを判定し、色補正をすると判定
されたときの判別出力に基づいてLUT群のうちから対
応したLUTを選択し、選択したLUTを用いて色差信
号R−Y、B−Yの色補正を行い、色補正をするか否か
の判定信号で色補正後の色差信号R−Y、B−Yと色補
正前の色差信号R−Y、B−Yの一方を選択し、選択し
た色差信号R−Y、B−Yと輝度レベルYに基づいて
R、G、B信号を演算して色補正出力とした。このよう
に本発明ではディジタル方式で色補正を行っているの
で、ノイズや量子化誤差の影響のない色補正を行うこと
ができる。
The digital color correction circuit according to the present invention has
Y calculation circuit, color difference signal calculation circuit, C calculation circuit, θ calculation circuit, determination circuit, determination circuit, LUT group, LUT selection circuit,
A correction method selection circuit and an arithmetic circuit, which determines whether the calculated luminance level Y, color level C, and hue θ belong to any of a plurality of preset levels, and performs color correction based on the determination signal And selecting a corresponding LUT from the LUT group based on the determination output when it is determined that the color correction is to be performed, and using the selected LUT to determine the color of the color difference signals RY and BY. After performing the correction, one of the color difference signals RY and BY after the color correction and the color difference signals RY and BY before the color correction is selected based on a determination signal as to whether or not to perform the color correction. The R, G, and B signals were calculated based on the color difference signals RY, BY and the luminance level Y to obtain a color correction output. As described above, in the present invention, since the color correction is performed by the digital method, it is possible to perform the color correction free from the influence of the noise and the quantization error.

【0037】LUT群を肌色補正用、緑色強調用及び青
色補正用の3種類のLUTとし、LUT選択回路が判定
回路で色補正をすると判定されたときに判別回路の判別
出力に基づいて3種類のLUTのうちの対応したLUT
を選択するようにした場合には、肌色補正、緑色強調及
び青色補正が可能となる。
The LUT group includes three types of LUTs for skin color correction, green color enhancement, and blue color correction. When the LUT selection circuit determines that the color correction is performed by the determination circuit, three types of LUTs are provided based on the determination output of the determination circuit. Corresponding LUT of LUT
Is selected, skin color correction, green enhancement, and blue correction can be performed.

【0038】補正方法選択回路に、色補正をするか否か
を制御するための外部制御信号1を、判定回路の判定信
号より優先させて補正方法を選択する機能を付加した場
合には、色補正するか否かを外部から制御することがで
きる。例えば、自動的な色補正で不都合なときに色補正
をしないように外部から制御することができる。
If the correction method selection circuit is provided with a function of selecting the correction method by giving priority to the external control signal 1 for controlling whether or not to perform color correction over the determination signal of the determination circuit, Whether or not to perform the correction can be externally controlled. For example, it can be controlled from outside so that the color correction is not performed when the automatic color correction is inconvenient.

【0039】LUT選択回路に、複数種類の色補正のう
ちの一部を中止するための外部制御信号2で判別出力の
一部を遮断する機能を付加した場合には、複数種類の色
補正のうちの一部を中止することができる。例えば、緑
色強調をしたくないときには、外部制御信号2を緑色強
調をオフする信号とすることによって、緑色強調を中止
した色補正(例えば、肌色補正)を行うことができる。
また、緑色強調及び青色補正をしたくないときには、外
部制御信号2を緑色強調及び青色補正をオフする信号と
することによって、緑色強調及び青色補正を中止した色
補正(肌色補正のみ)を行うことができる。
If the LUT selection circuit is provided with a function of cutting off a part of the discrimination output with the external control signal 2 for stopping a part of the plurality of types of color correction, Some of them can be stopped. For example, if the user does not want to emphasize green, the external control signal 2 may be a signal for turning off green emphasis, thereby performing color correction (for example, skin color correction) in which green emphasis is stopped.
When it is not desired to perform green enhancement and blue correction, the external control signal 2 is a signal for turning off green enhancement and blue correction, thereby performing color correction (only skin color correction) in which green enhancement and blue correction are stopped. Can be.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明によるディジタル色補正回路の一実施形
態例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a digital color correction circuit according to the present invention.

【図2】図1のディジタル色補正回路を、表示デバイス
がPDPやLCDの場合に使用した一実施形態例を示す
ブロック図である。
FIG. 2 is a block diagram showing an embodiment in which the digital color correction circuit of FIG. 1 is used when the display device is a PDP or LCD.

【図3】図1の作用を説明する図である。FIG. 3 is a diagram for explaining the operation of FIG. 1;

【図4】図1の肌色補正の作用を説明する図である。FIG. 4 is a diagram for explaining the operation of the skin color correction of FIG. 1;

【図5】図1の緑色強調の作用を説明する図である。FIG. 5 is a diagram for explaining the effect of green emphasis in FIG. 1;

【図6】図1の青色補正の作用を説明する図である。FIG. 6 is a diagram for explaining the operation of the blue color correction of FIG. 1;

【図7】アナログ方式の色補正回路を、表示デバイスが
CRTの場合に使用した従来例を示すブロック図であ
る。
FIG. 7 is a block diagram showing a conventional example in which an analog color correction circuit is used when a display device is a CRT.

【図8】アナログ方式の色補正回路を、表示デバイスが
PDPやLCDの場合に使用した従来例を示すブロック
図である。
FIG. 8 is a block diagram showing a conventional example in which an analog color correction circuit is used when a display device is a PDP or LCD.

【符号の説明】[Explanation of symbols]

6…PDPやLCDで構成された表示デバイス、 7…
A/D変換器、 9…本発明の一実施形態例におけるデ
ィジタル色補正回路、 10…Y算出回路、12…第1
色差信号算出回路、 14…第2色差信号算出回路、
16…C算出回路、 18…θ算出回路、 20…判別
回路、 22…Y判別回路、 24…C判別回路、 2
6……θ判別回路、 30…LUT群、 321〜32
n…R−Y用のLUT群、 341〜34n…B−Y用
のLUT群、 40…判定回路、 42…LUT選択回
路、 44…補正方法選択回路、 46…演算回路、C
…色レベル、 Y…輝度レベル、 θ…色相、 R−
Y、B−Y…色差信号。
6 ... Display device composed of PDP or LCD 7 ...
A / D converter, 9 ... Digital color correction circuit in one embodiment of the present invention, 10 ... Y calculation circuit, 12 ... First
A color difference signal calculation circuit, 14... A second color difference signal calculation circuit,
16 ... C calculating circuit, 18 ... θ calculating circuit, 20 ... discriminating circuit, 22 ... Y discriminating circuit, 24 ... C discriminating circuit, 2
6 ... θ discriminating circuit, 30 ... LUT group, 321-32
n: RUT group for RY, 341 to 34n ... LUT group for BY, 40 ... Judgment circuit, 42 ... LUT selection circuit, 44 ... Correction method selection circuit, 46 ... Operation circuit, C
... Color level, Y ... Luminance level, θ ... Hue, R-
Y, BY: a color difference signal.

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成12年9月1日(2000.9.1)[Submission date] September 1, 2000 (2009.1)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0010[Correction target item name] 0010

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0010】[0010]

【発明の実施の形態】以下、本発明によるディジタル色
補正回路の一実施形態例を図1を用いて説明する。図1
において10はY算出回路、12は第1色差信号算出回
路、14は第2色差信号算出回路、16はC算出回路、
18はθ算出回路である。前記Y算出回路10は、次式
(1)を用いて入力したディジタルの3原色信号である
R(赤)、G(緑)、B(青)信号から輝度レベルYを
算出する。 Y=0.3R+0.59G+0.11B…(1) 前記第1色差信号算出回路12はR信号と輝度レベルY
から色差信号R−Yを算出し、前記第2色差信号算出回
路14はB信号と輝度レベルYから色差信号B−Yを算
出する。前記C算出回路16は、次式(2)を用いて入
力した色差信号R−Y、B−Yから色レベルCを算出す
る。 C=√{(R−Y) +(B−Y) }…(2) 前記θ算出回路18は、次式(3)を用いて入力した色
差信号R−Y、B−Yから色相θを算出する。 θ=tan −1 {(R−Y)/(B−Y)}…(3)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a digital color correction circuit according to the present invention will be described below with reference to FIG. FIG.
10 is a Y calculation circuit, 12 is a first color difference signal calculation circuit, 14 is a second color difference signal calculation circuit, 16 is a C calculation circuit,
18 is a θ calculation circuit. The Y calculation circuit 10 calculates the luminance level Y from the digital three primary color signals R (red), G (green), and B (blue) signals using the following equation (1). Y = 0.3R + 0.59G + 0.11B (1) The first color difference signal calculation circuit 12 calculates the R signal and the luminance level Y
The second color difference signal calculation circuit 14 calculates a color difference signal BY from the B signal and the luminance level Y. The C calculation circuit 16 calculates the color level C from the input color difference signals RY and BY using the following equation (2). C = {(RY) 2 + (BY) 2 } (2) The θ calculation circuit 18 calculates the hue from the color difference signals RY and BY input using the following equation (3). Calculate θ. θ = tan −1 {(RY) / (BY)} (3)

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0012[Correction target item name] 0012

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0012】30はLUT群で、このLUT群30は、
色差信号R−Y用の複数のLUT群32 、32
…、32 (nは2以上の整数)と、色差信号B−Y用
の複数のLUT群34 、34 、…、34 とからな
っている。前記LUT群32 〜32 、34 〜34
には、前記第1、第2色差信号算出回路12、14で
算出された色差信号R−Y、B−Yのそれぞれの入力に
対して、肌色補正用、緑色強調用、青色補正用の3種類
の色補正特性を満たす入出力変換データが記憶されてい
る。
Reference numeral 30 denotes a group of LUTs.
A plurality of LUT groups 32 1 , 32 2 , for the color difference signal RY,
.., 32 n (n is an integer of 2 or more) and a plurality of LUT groups 34 1 , 34 2 ,..., 34 n for the color difference signal BY. The LUT groups 32 1 to 32 n , 34 1 to 34
n indicates the input of each of the color difference signals RY and BY calculated by the first and second color difference signal calculation circuits 12 and 14 for skin color correction, green enhancement, and blue correction. Input / output conversion data that satisfies three types of color correction characteristics is stored.

【手続補正3】[Procedure amendment 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0013[Correction target item name] 0013

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0013】40は判定回路で、この判定回路40は前
記判別回路20の判別出力に基づいて色補正をするか否
かの判定信号「1」(色補正をする場合)、「0」(色
補正をしない場合)を出力する。42はLUT選択回路
で、このLUT選択回路42は、前記判定回路40の判
定信号が「1」のときに、前記判別回路20の判別出力
に基づいて前記LUT群32 〜32 、34 〜34
のうちの対応したLUTを選択する。例えば、判別回
路20によって、輝度レベルYがY≧Yh(設定値)の
条件を満たす80IRE、色レベルCがC≧Ch(設定
値)の条件を満たす15IRE、色相θが90≦θ≦1
50の条件を満たす117°であって入力R、G、B信
号が肌色であると判別されたときには、判定回路40の
判定信号が「1」となり、LUT選択回路42によって
LUT群32 〜32 、34 〜34 の中から肌色
補正用のLUT(例えば32 と34 )が選択され
る。前記LUT選択回路42は、さらに、外部制御信号
2によって判別回路20の判別出力の一部を遮断する機
能を具備している。例えば、2ビットの外部制御信号2
によって、3種類の色補正のうちの一部(例えば緑色強
調又は緑色強調及び青色補正)を補正するための判別出
力を遮断する機能を具備している。
Reference numeral 40 denotes a judgment circuit. The judgment circuit 40 judges whether or not to perform color correction based on the discrimination output of the discrimination circuit 20 (in the case of performing color correction) and "0" (in case of color correction). (When no correction is made). Reference numeral 42 denotes an LUT selection circuit. When the determination signal of the determination circuit 40 is “1”, the LUT selection circuit 42 is based on the determination output of the determination circuit 20 and the LUT groups 32 1 to 32 n , 34 1. ~ 34
Select the corresponding LUT from n . For example, the discrimination circuit 20 determines that the luminance level Y satisfies the condition of Y ≧ Yh (set value), the color level C satisfies the condition of C ≧ Ch (set value), and the hue θ is 90 ≦ θ ≦ 1.
When 117 ° that satisfies the condition 50 and the input R, G, and B signals are determined to be flesh color, the determination signal of the determination circuit 40 becomes “1”, and the LUT selection circuit 42 sets the LUT groups 32 1 to 32 1. n , and LUTs (for example, 32 1 and 34 1 ) for skin color correction are selected from among 34 1 to 34 n . The LUT selection circuit 42 further has a function of cutting off a part of the determination output of the determination circuit 20 by the external control signal 2. For example, a 2-bit external control signal 2
Accordingly, a function of interrupting a determination output for correcting a part of the three types of color correction (for example, green emphasis or green emphasis and blue correction) is provided.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0019[Correction target item name] 0019

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0019】図3のに示す条件が満たされているとき
には、判定回路40から判定信号「1」が出力し、LU
T選択回路42及び補正方法選択回路44に入力する。
θ判別回路26によってθが90°≦θ<123°の範
囲に属すると判別されたときには、色補正特性1a、1
b、1cを満たす入出力変換データが記憶されたLUT
(例えば32 と34 、32 と34 、32 と3
)を選択するための信号が、LUT選択回路42か
らLUT群30へ供給される。また、θ判別回路26に
よってθが123°≦θ≦150°の範囲に属すると判
別されたときには、色補正特性2a、2b、2cを満た
す入出力変換データが記憶されたLUTを選択するため
の信号が、LUT選択回路42からLUT群30へ供給
される。
When the condition shown in FIG. 3 is satisfied, a judgment signal "1" is output from the judgment circuit 40 and LU
The signals are input to the T selection circuit 42 and the correction method selection circuit 44.
When the θ determination circuit 26 determines that θ belongs to the range of 90 ° ≦ θ <123 °, the color correction characteristics 1a, 1
LUT storing input / output conversion data satisfying b and 1c
(For example, 32 1 and 34 1 , 32 1 and 34 2 , 32 2 and 3
A signal for selecting 4 1 ) is supplied from the LUT selection circuit 42 to the LUT group 30. When the θ determination circuit 26 determines that θ belongs to the range of 123 ° ≦ θ ≦ 150 °, the LUT storing the input / output conversion data satisfying the color correction characteristics 2a, 2b, and 2c is selected. The signal is supplied from the LUT selection circuit 42 to the LUT group 30.

【手続補正5】[Procedure amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0022[Correction target item name] 0022

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0022】(B)緑色強調の場合 この補正は、木の葉の緑の色付きを濃くすることにより
画像を色鮮やかに見せるために行うもので、単純に緑色
を強調するのではなく、図5に示すように木の葉の黄緑
色(色相θ≒210°)に強調のピークをもってくるよ
うに色相θによって強調量を変化させるとともに、補正
方向が入力R、G、B信号の色相方向と一致するように
各補正毎の色差信号R−Y、B−Yの比率を一定とす
る。説明の便宜上、判別回路20の各判別回路22、2
4、26によって、算出された輝度レベルY、色レベル
C、色相θのそれぞれが図3のに示す設定条件(Yg
≦Y≦Yg 、Cg ≦C≦Cg 、170°≦θ≦
245°)を満たしていると判別されたときに、緑色強
調が行われるものと仮定する。
(B) Case of Green Emphasis This correction is performed to make the image look vivid by making the green color of the leaves of the tree darker. Rather than simply enhancing green, the correction is shown in FIG. The emphasis amount is changed by the hue θ so that the peak of the emphasis is brought to the yellow-green color (hue θ ° 210 °) of the leaves of the tree, and the correction direction matches the hue direction of the input R, G, and B signals. The ratio of the color difference signals RY and BY for each correction is fixed. For convenience of explanation, each of the discriminating circuits 22 and 2 of the discriminating circuit 20
4 and 26, the calculated luminance level Y, color level C, and hue θ are respectively set to the setting conditions (Yg
1 ≦ Y ≦ Yg 2 , Cg 1 ≦ C ≦ Cg 2 , 170 ° ≦ θ ≦
245 °), it is assumed that green enhancement is performed.

【手続補正6】[Procedure amendment 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0026[Correction target item name] 0026

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0026】(C)青色補正の場合 この補正は、白を青みがからせることにより画像全体を
明るい感じにするために行うもので、図6に示すよう
に、入力R、G、B信号を少し青方向(色相θ=34
7.6°)へシフトさせる補正である。補正する色レベ
ルCの範囲は色がないと見做せる範囲とし、そのなかで
も色レベルCが高くなるほど補正量を少なくする。さら
に、補正方向が青方向(色相θ=347.6)で一定と
なるように、色差信号R−Y、B−Yの比率を一定とす
る。説明の便宜上、判別回路20のY判別回路22、C
判別回路24によって、算出された輝度レベルY、色レ
ベルCのそれぞれが図3のに示す設定条件(Y≧Y
b、Cb ≦C≦Cb )を満たしていると判別された
ときに、青色補正が行われるものと仮定する。
(C) In the case of blue correction This correction is performed to make the whole image bright by making white bluish. As shown in FIG. 6, the input R, G and B signals are Slightly blue direction (hue θ = 34
(7.6 °). The range of the color level C to be corrected is a range in which there is no color, and the higher the color level C is, the smaller the correction amount is. Further, the ratio of the color difference signals RY and BY is fixed so that the correction direction is constant in the blue direction (hue θ = 347.6). For convenience of explanation, Y discriminating circuit 22 of discriminating circuit 20, C
Each of the luminance level Y and the color level C calculated by the discrimination circuit 24 is determined by the setting condition (Y ≧ Y) shown in FIG.
b, when it is determined that Cb 1 ≦ C ≦ Cb 4 ) is satisfied, it is assumed that blue correction is performed.

【手続補正7】[Procedure amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0027[Correction target item name] 0027

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0027】図3のに示す条件が満たされているとき
には、判定回路40の判定信号「1」が出力し、LUT
選択回路42及び補正方法選択回路44に入力する。図
3のに示すように、C判別回路24によって色レベル
CがCb ≦C<Cb 、Cb ≦C<Cb 、Cb
≦C≦Cb のそれぞれの範囲に属すると判別されたと
きには、色補正特性4a、4b、4cを満たす入出力変
換データが記憶されたLUTを選択するための信号が、
LUT選択回路42からLUT群30へ供給される。
When the condition shown in FIG. 3 is satisfied, the judgment signal "1" of the judgment circuit 40 is output, and the LUT
The signals are input to the selection circuit 42 and the correction method selection circuit 44. As shown in FIG. 3, the color level C is determined by the C determination circuit 24 as Cb 1 ≦ C <Cb 2 , Cb 2 ≦ C <Cb 3 , Cb 3.
When it is belonging and the discrimination in each of the range of ≦ C ≦ Cb 4, the color correction characteristics 4a, 4b, signal for input-output conversion data to select a LUT stored satisfying 4c is,
The data is supplied from the LUT selection circuit 42 to the LUT group 30.

【手続補正8】[Procedure amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0028[Correction target item name] 0028

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0028】このため、LUT群30では次のような入
出力変換が行われる。算出された色レベルCが比較的小
さくてCb ≦C<Cb の範囲に属しているとき(白
っぽい画像で色の濃さが薄いとき)には、その色補正特
性4aでは、図6に矢印4aで示すように色レベルの補
正量が最大となるように色差信号R−Yを減少させると
ともにB−Yを増加させる入出力変換が行われる。ま
た、算出された色レベルCが中ぐらいでCb ≦C<C
の範囲に属しているときには、その色補正特性4b
では、図6に矢印4bで示すように色レベルの補正量が
中ぐらいとなるように色差信号R−Yを減少するととも
にB−Yを増加させる入出力変換が行われる。また、算
出された色レベルCが大きくてCb ≦C≦Cb の範
囲に属しているとき(白っぽい画像で色の濃さが濃いと
き)には、その色補正特性4cでは、図6に矢印4cで
示すように色レベルの補正量が最小となるように色差信
号R−Yを減少、B−Yを増加させる入出力変換が行わ
れる。したがって、LUT群30から青色補正された色
差信号R−Y、B−Yが出力する。
For this reason, the LUT group 30 performs the following input / output conversion. When the calculated color level C is relatively small and belongs to the range of Cb 1 ≦ C <Cb 2 (when the color density is light in a whitish image), the color correction characteristic 4a is as shown in FIG. As shown by the arrow 4a, input / output conversion is performed to decrease the color difference signal RY and increase BY in order to maximize the correction amount of the color level. The calculated color level C is medium and Cb 2 ≦ C <C
b 3 , the color correction characteristics 4 b
Then, as shown by an arrow 4b in FIG. 6, input / output conversion is performed to decrease the color difference signal RY and increase BY so that the correction amount of the color level becomes medium. Further, when the calculated color level C is large and belongs to the range of Cb 3 ≦ C ≦ Cb 4 (when the color density is deep in a whitish image), the color correction characteristic 4c is as shown in FIG. As shown by the arrow 4c, input / output conversion is performed to decrease the color difference signal RY and increase BY to minimize the color level correction amount. Accordingly, the LUT group 30 outputs the color difference signals RY and BY corrected for blue.

【手続補正9】[Procedure amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0032[Correction target item name] 0032

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0032】(F)外部制御信号2で色補正を制御する
場合 外部制御信号2が「00」のときには、LUT選択回路
42は判別回路20の判別出力に対応したLUT選択信
号をLUT群30へ供給し、前記(A)〜(D)で説明
した場合と同様の色補正が行われる。また、外部制御信
号2が「01」のときには、判別回路20の肌色補正に
対応した判別出力(前記(A))が遮断され、外部制御
信号2が「10」のときには、判別回路20の緑色強調
に対応した判別出力(前記(B))が遮断され、外部制
御信号2が「11」のときには、判別回路20の青色補
正に対応した判別出力(前記(C))が遮断される。こ
のため、外部制御信号2によって肌色補正、緑色強調、
青色補正のうちの任意の1つをオフにすることができ
る。例えば、緑色強調をしたくないときには、外部制御
信号2を「10」とすることによって、入力したR、
G、B信号が図3のに示す緑色強調の条件(Yg
Y≦Yg 、Cg ≦C≦Cg 、170°≦θ≦24
5°)を満たしていても、判別回路20からの対応した
判別出力が遮断され、緑色強調が行われない。この外部
制御信号2を「10」とした場合において、入力R、
G、B信号が図3の及び/又はに示す設定条件を満
たしていれば、肌色補正及び/又は青色強調が行われ
る。
(F) When Color Correction is Controlled by External Control Signal 2 When the external control signal 2 is “00”, the LUT selection circuit 42 sends an LUT selection signal corresponding to the discrimination output of the discrimination circuit 20 to the LUT group 30. And color correction similar to that described in (A) to (D) above is performed. When the external control signal 2 is "01", the discrimination output ((A)) corresponding to the skin color correction of the discrimination circuit 20 is cut off, and when the external control signal 2 is "10", the green of the discrimination circuit 20 is turned off. The discrimination output ((B)) corresponding to emphasis is cut off, and when the external control signal 2 is “11”, the discrimination output ((C)) corresponding to blue correction of the discrimination circuit 20 is cut off. Therefore, skin color correction, green enhancement,
Any one of the blue corrections can be turned off. For example, when the user does not want to emphasize green, by setting the external control signal 2 to “10”, the inputted R,
When the G and B signals are in the green emphasis condition (Yg 1
Y ≦ Yg 2 , Cg 1 ≦ C ≦ Cg 2 , 170 ° ≦ θ ≦ 24
5 °), the corresponding discrimination output from the discrimination circuit 20 is cut off, and green emphasis is not performed. When the external control signal 2 is "10", the input R,
If the G and B signals satisfy the setting conditions shown in and / or in FIG. 3, flesh color correction and / or blue enhancement are performed.

【手続補正10】[Procedure amendment 10]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】符号の説明[Correction target item name] Explanation of sign

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【符号の説明】 6…PDPやLCDで構成された表示デバイス、 7…
A/D変換器、 9…本発明の一実施形態例におけるデ
ィジタル色補正回路、 10…Y算出回路、12…第1
色差信号算出回路、 14…第2色差信号算出回路、
16…C算出回路、 18…θ算出回路、 20…判別
回路、 22…Y判別回路、 24…C判別回路、 2
6……θ判別回路、 30…LUT群、 32 〜32
…R−Y用のLUT群、 34 〜34 …B−Y用
のLUT群、 40…判定回路、 42…LUT選択回
路、 44…補正方法選択回路、 46…演算回路、C
…色レベル、 Y…輝度レベル、 θ…色相、 R−
Y、B−Y…色差信号。
[Explanation of Reference Symbols] 6 ... Display device composed of PDP or LCD 7 ...
A / D converter, 9 ... Digital color correction circuit in one embodiment of the present invention, 10 ... Y calculation circuit, 12 ... First
A color difference signal calculation circuit, 14... A second color difference signal calculation circuit,
16 ... C calculating circuit, 18 ... θ calculating circuit, 20 ... discriminating circuit, 22 ... Y discriminating circuit, 24 ... C discriminating circuit, 2
6... Θ discrimination circuit, 30... LUT group, 32 1 to 32
n LUT group for RY, 34 1 to 34 n LUT group for BY, 40 judgment circuit, 42 LUT selection circuit, 44 correction method selection circuit, 46 arithmetic circuit, C
... Color level, Y ... Luminance level, θ ... Hue, R-
Y, BY: a color difference signal.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】入力したディジタルのR、G、B信号から
輝度レベルYを算出するY算出回路と、前記R、B信号
と前記輝度レベルYから色差信号R−Y、B−Yを算出
する色差信号算出回路と、前記色差信号R−Y、B−Y
から色レベルCを算出するC算出回路と、前記色差信号
R−Y、B−Yから色相θを算出するθ算出回路と、前
記輝度レベルY、色レベルC、色相θのそれぞれが予め
設定された複数段階のいずれの段階に属するかを判別す
る判別回路と、この判別回路の判別出力に基づき色補正
をするか否かを判定する判定回路と、前記色差信号R−
Y、B−Yのそれぞれの入力に対して複数種類の色補正
特性を満たす入出力変換データが記憶されたLUT(ル
ックアップテーブル)群と、前記判定回路で色補正をす
ると判定されたときに前記判別回路の判別出力に基づい
て前記LUT群のうちの対応したLUTを選択するLU
T選択回路と、前記判定回路からの判定信号に基づい
て、前記LUT選択回路で選択されたLUTによる色補
正後の色差信号R−Y、B−Yと前記色差信号算出回路
で算出された色補正前の色差信号R−Y、B−Yの一方
を選択する補正方法選択回路と、この補正方法選択回路
で選択された色差信号R−Y、B−Yと前記輝度レベル
Yに基づいてディジタルのR、G、B信号を演算して出
力とする演算回路とを具備してなることを特徴とするデ
ィジタル色補正回路。
1. A Y calculation circuit for calculating a luminance level Y from inputted digital R, G, B signals, and a color difference signal RY, BY from the R, B signals and the luminance level Y. A color difference signal calculation circuit, and the color difference signals RY and BY;
A C calculation circuit for calculating a color level C from the color difference signals RY and BY, and a θ calculation circuit for calculating a hue θ from the color difference signals RY and BY. Each of the luminance level Y, the color level C and the hue θ is preset. A discrimination circuit for discriminating which of the plurality of steps belongs to, a discrimination circuit for determining whether or not to perform color correction based on a discrimination output of the discrimination circuit;
A group of LUTs (look-up tables) storing input / output conversion data satisfying a plurality of types of color correction characteristics for each of the Y and BY inputs, and when the determination circuit determines that color correction is to be performed. An LU for selecting a corresponding LUT from the LUT group based on the discrimination output of the discrimination circuit
A color difference signal RY, BY after color correction by the LUT selected by the LUT selection circuit and a color calculated by the color difference signal calculation circuit based on a T selection circuit and a determination signal from the determination circuit; A correction method selection circuit for selecting one of the color difference signals RY and BY before correction; and a digital signal based on the color difference signals RY and BY selected by the correction method selection circuit and the luminance level Y. And a calculation circuit for calculating and outputting the R, G, and B signals.
【請求項2】LUT群は、肌色補正用、緑色強調用及び
青色補正用の3種類のLUTからなり、LUT選択回路
は判定回路で色補正をすると判定されたときに判別回路
の判別出力に基づいて前記3種類のLUTのうちの対応
したLUTを選択してなる請求項1記載のディジタル色
補正回路。
2. The LUT group includes three types of LUTs for skin color correction, green color enhancement, and blue color correction, and an LUT selection circuit outputs a determination output of the determination circuit when the determination circuit determines that color correction is to be performed. 2. The digital color correction circuit according to claim 1, wherein a corresponding LUT is selected from the three types of LUTs based on the LUT.
【請求項3】補正方法選択回路は、色補正をするか否か
を制御するための外部制御信号1を、判定回路の判定信
号より優先させて補正方法を選択してなる請求項1又は
2記載のディジタル色補正回路。
3. The correction method selecting circuit selects the correction method by giving priority to an external control signal 1 for controlling whether or not to perform color correction over a determination signal of a determination circuit. Digital color correction circuit as described.
【請求項4】LUT選択回路は、複数種類の色補正のう
ちの一部を中止するための外部制御信号2で判別回路の
判別出力の一部を遮断してなる請求項1又は2記載のデ
ィジタル色補正回路。
4. The LUT selection circuit according to claim 1, wherein a part of the discrimination output of the discrimination circuit is cut off by an external control signal for stopping a part of the plurality of types of color correction. Digital color correction circuit.
【請求項5】LUT選択回路は、複数種類の色補正のう
ちの一部を中止するための外部制御信号2で判別回路の
判別出力の一部を遮断してなる請求項3記載のディジタ
ル色補正回路。
5. The digital color system according to claim 3, wherein the LUT selection circuit cuts off a part of the discrimination output of the discrimination circuit by an external control signal 2 for stopping a part of the plurality of types of color correction. Correction circuit.
JP11188115A 1999-07-01 1999-07-01 Digital color correction circuit Pending JP2001016605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11188115A JP2001016605A (en) 1999-07-01 1999-07-01 Digital color correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11188115A JP2001016605A (en) 1999-07-01 1999-07-01 Digital color correction circuit

Publications (1)

Publication Number Publication Date
JP2001016605A true JP2001016605A (en) 2001-01-19

Family

ID=16217979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11188115A Pending JP2001016605A (en) 1999-07-01 1999-07-01 Digital color correction circuit

Country Status (1)

Country Link
JP (1) JP2001016605A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004032524A1 (en) * 2002-09-12 2004-04-15 Matsushita Electric Industrial Co., Ltd. Image processing device
JP2009118421A (en) * 2007-11-09 2009-05-28 Toshiba Corp Video display device and video display method
JP2009206836A (en) * 2008-02-27 2009-09-10 ▲ぎょく▼瀚科技股▲ふん▼有限公司 System and method for adjusting color image quality

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004032524A1 (en) * 2002-09-12 2004-04-15 Matsushita Electric Industrial Co., Ltd. Image processing device
US7583403B2 (en) 2002-09-12 2009-09-01 Panasonic Corporation Image processing device
JP2009118421A (en) * 2007-11-09 2009-05-28 Toshiba Corp Video display device and video display method
JP2009206836A (en) * 2008-02-27 2009-09-10 ▲ぎょく▼瀚科技股▲ふん▼有限公司 System and method for adjusting color image quality

Similar Documents

Publication Publication Date Title
US5619280A (en) Color conversion apparatus that restricts the color reproduction range of primary color signals
KR100444366B1 (en) Image display device and color temperature correction method
US7916158B2 (en) Image display apparatus, image signal processing circuit used therein, and method of controlling color saturation of image signal
US8537177B2 (en) System and methods for gamut bounded saturation adaptive color enhancement
US7447356B2 (en) Image signal correction method and image signal correction apparatus
GB2149267A (en) Colour television receivers - colour temperature
KR20070039032A (en) Camera color noise reduction method and circuit
KR100801996B1 (en) A color reproduction correction circuit for color representation and a color display
JP2003224860A (en) Video display and color correction method
JP2001016605A (en) Digital color correction circuit
JP2009170999A (en) Display device
JP2007228240A (en) Image processor and processing method
WO1997046005A1 (en) Improving the color rendition of color television receivers
JP2001169132A (en) Method and circuit for color correction
JP2008099170A (en) Image processor and image processing method
JPH1074256A (en) Method and device for correcting saturation
JP2005191618A (en) Television receiver
JPH06303628A (en) Dynamic chroma equalizer
KR20040051652A (en) color control pattern generating device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050531

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070911

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080219