JP2000022977A - Color correction circuit and its method - Google Patents

Color correction circuit and its method

Info

Publication number
JP2000022977A
JP2000022977A JP10189393A JP18939398A JP2000022977A JP 2000022977 A JP2000022977 A JP 2000022977A JP 10189393 A JP10189393 A JP 10189393A JP 18939398 A JP18939398 A JP 18939398A JP 2000022977 A JP2000022977 A JP 2000022977A
Authority
JP
Japan
Prior art keywords
color
signal
correction
video signal
parameter
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
JP10189393A
Other languages
Japanese (ja)
Inventor
Takashi Oyama
貴 大山
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.)
Hitachi Denshi KK
Original Assignee
Hitachi Denshi KK
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 Hitachi Denshi KK filed Critical Hitachi Denshi KK
Priority to JP10189393A priority Critical patent/JP2000022977A/en
Publication of JP2000022977A publication Critical patent/JP2000022977A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce a circuit scale by making coefficients include a coefficient obtained by a relational expression which is for performing color correction corresponding to a color correction function of a linear masking color correction circuit which adds a difference signal between primary color signal components to a video signal. SOLUTION: A red (R)IN video signal 5, a green (G)IN video signal 6 and a blue (B)IN video signal 7 which are the video signals of the object for masking correction are respectively inputted to a 6 color independent masking correction signal generating means 1. The means 1 inputs a parameter obtained by adding prescribed 1st and 2nd parameters from a parameter adding means 34. A (r) correction signal 8, a (g) correction signal 9 and a (b) correction signal 10 which are 6 color independent masking correction signals are generated and outputted by using the inputted parameter. And, in this case, coefficients includes a coefficient calculated by a relational expression which is for performing color correction corresponding to a color correction function of a linear masking color correction circuit that performs color correction that a difference signal between prescribed primary color signal components is added to a video signal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は映像信号のマスキン
グ色補正に関するものでり、特に、6色独立マトリクス
色補正回路およびその方法の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a masking color correction of a video signal, and more particularly to an improvement of a six-color independent matrix color correction circuit and a method thereof.

【0002】[0002]

【従来の技術】従来の映像信号のマスキング色補正に関
して、特に、6色独立マトリクス色補正に関しては、特
開平3−266586号、特開平3−272294号、
および特開平8−46263号の各公報に開示されてい
るものがある。
2. Description of the Related Art Conventionally, with respect to masking color correction of a video signal, in particular, with respect to six-color independent matrix color correction, Japanese Patent Application Laid-Open Nos. 3-266586 and 3-272294,
And JP-A-8-46263.

【0003】このうち、特開平3−272294号公報
に開示のある6色独立マトリクス色補正回路を例とし
て、図4と図5とを用いて以下説明する。
[0003] Of these, a six-color independent matrix color correction circuit disclosed in JP-A-3-272294 will be described below with reference to FIGS.

【0004】図4において、3個の端子RIN、GIN、B
INは色補正すべきカラー映像信号を構成するR、G、B
の3種のディジタル信号が供給される入力端子で、ROU
T、GOUT、BOUTは補正されたR、G、B信号が取り出
される出力端子である。
In FIG. 4, three terminals R IN , G IN , B
IN is R, G, B constituting a color video signal to be color corrected.
R OU is an input terminal to which three types of digital signals are supplied.
T , G OUT , and B OUT are output terminals from which the corrected R, G, and B signals are extracted.

【0005】入力端子RIN、GIN、BINに供給された
R、G、Bの3種のディジタル信号は比較回路101〜
103に入力され、R−G間、G−B間、B−R間での
信号レベルが比較される。
The three types of digital signals R, G, and B supplied to input terminals R IN , G IN , and B IN are compared with comparator circuits 101 to 101.
The signal level is input to 103 and the signal levels between R and G, between G and B, and between B and R are compared.

【0006】色判定回路104は比較回路101〜10
3による比較結果に基づいて、信号レベルが最も大きな
色信号と、最も小さな色信号、それに、これらの間のレ
ベル、つまり中間レベルを有する色信号とを判定するの
である。このとき、信号レベルが等しい場合もあるの
で、RGB間で所定の優先順位を設定しておき、これに
したがって判定するようにしておくのであるが、この実
施例では、この優先順位をRGBの順に定めてある。
The color judgment circuit 104 includes comparison circuits 101 to 10
Based on the comparison result of 3, the color signal having the highest signal level, the color signal having the lowest signal level, and the level between them, that is, the color signal having an intermediate level are determined. At this time, since the signal levels may be the same, a predetermined priority is set between RGB and the determination is made in accordance with the predetermined priority. In this embodiment, the priority is determined in the order of RGB. It is determined.

【0007】色判定回路104の判定結果は9個のセレ
クタ105〜107、114〜117、それに131、
132の制御に使用される。
The judgment result of the color judgment circuit 104 includes nine selectors 105 to 107, 114 to 117, 131,
132 is used for control.

【0008】まずセレクタ105は、色判定回路104
の判定結果に基づいてR、G、B信号の中からレベルが
最大値を示す色信号を選択し、それを減算回路108の
正入力に供給する働きをする。
First, the selector 105 is provided with a color judgment circuit 104.
The color signal having the maximum level is selected from the R, G, and B signals based on the determination result, and supplied to the positive input of the subtraction circuit 108.

【0009】次にセレクタ106は、同じく色判定回路
104の判定結果に基づき、R、G、B信号の中からレ
ベルが中間値を示す色信号を選択し、それを減算回路1
08の減算入力と、さらに減算回路109の正入力に供
給する働きをする。
Next, the selector 106 selects a color signal whose level indicates an intermediate value from the R, G, and B signals based on the determination result of the color determination circuit 104, and subtracts it from the subtraction circuit 1
08 and the positive input of the subtraction circuit 109.

【0010】さらにセレクタ107も色判定回路104
の判定結果に基づいてR、G、B信号の中からレベルが
最小値を示す色信号を選択し、それを減算回路109の
減算入力に供給する働きをする。
The selector 107 is also provided with a color judgment circuit 104.
, A color signal having a minimum level is selected from among the R, G, and B signals, and supplied to the subtraction input of the subtraction circuit 109.

【0011】以上の結果、まず減算回路108からは、
入力されたカラー映像信号の原色成分のレベルを表わす
信号Re、Ge、Beが出力されることになり、この出
力は2個の乗算回路110、111に供給される。
As a result, first, the subtraction circuit 108
Signals Re, Ge, and Be representing the levels of the primary color components of the input color video signal are output, and the outputs are supplied to two multiplication circuits 110 and 111.

【0012】他方、減算回路109からは、入力された
カラー映像信号の補色成分のレベルを表わす信号Cy
e、Mae、Yeeが出力されることになり、この出力
は2個の乗算回路112、113に供給される。
On the other hand, a signal Cy representing the level of the complementary color component of the input color video signal is output from the subtraction circuit 109.
e, Mae, and Yee are output, and this output is supplied to two multiplication circuits 112 and 113.

【0013】次にセレクタ114と115は、色判定回
路104の判定結果から、R、G、B信号の中のレベル
が最大値を示す色信号を知り、レジスタ118〜120
の中から、この最大レベルの色信号に対応した彩度調整
用の係数K1’〜K3’が格納されているレジスタの1
と、同じく最大レベルの色信号に対応した色相調整用の
係数K4’〜K6’が格納されているレジスタの1とを
それぞれ選択し、これら選択したレジスタの係数出力を
それぞれ乗算回路110、111に供給する働きをす
る。
Next, the selectors 114 and 115 know the color signal whose level among the R, G and B signals has the maximum value from the judgment result of the color judgment circuit 104, and
Of the registers storing the saturation adjustment coefficients K1 'to K3' corresponding to the maximum level color signal.
And one of the registers storing the hue adjustment coefficients K4 ′ to K6 ′ corresponding to the color signal of the maximum level, respectively, and output the coefficient outputs of the selected registers to the multiplication circuits 110 and 111, respectively. Serves to supply.

【0014】また、セレクタ116と117は、色判定
回路104の判定結果である、R、G、B信号の中のレ
ベルが最小値を示す色信号を含まない(RはCy、Gは
Ma、BはYe)補色を知り、レジスタ124〜129
の中から、この補色信号に対応した彩度調整用の係数K
7’〜K9’が格納されているレジスタの1と、同じく
補色に対応した色相調整用の係数K10’〜K12’が
格納されているレジスタの1とをそれぞれ選択し、これ
ら選択したレジスタの係数出力をそれぞれ乗算回路11
2、113に供給する働きをする。
Further, the selectors 116 and 117 do not include a color signal whose level among the R, G, and B signals, which is the result of the determination by the color determination circuit 104, indicates the minimum value (R is Cy, G is Ma, B is Ye) Knows the complementary colors, and registers 124 to 129
, A saturation adjustment coefficient K corresponding to the complementary color signal.
The register 1 that stores 7 'to K9' and the register 1 that also stores hue adjustment coefficients K10 'to K12' corresponding to complementary colors are selected, and the coefficients of the selected registers are selected. Multiplying circuit 11 outputs
2, 113.

【0015】従って、乗算回路110、111からは、
原色成分に、この原色の色に対応した彩度調整係数を乗
算した信号と、同じく色相調整係数が乗算された信号と
が、それぞれ出力され、他方、乗算回路112、113
からは、補色成分に、この補色の色に対応した彩度調整
係数を乗算した信号と、同じく色相調整係数が乗算され
た信号とが、それぞれ出力されてくることになる。
Therefore, from the multiplication circuits 110 and 111,
A signal obtained by multiplying the primary color component by a saturation adjustment coefficient corresponding to the color of the primary color and a signal obtained by multiplying the same by the hue adjustment coefficient are output, respectively.
Thus, a signal obtained by multiplying the complementary color component by the saturation adjustment coefficient corresponding to the color of the complementary color and a signal obtained by multiplying the same by the hue adjustment coefficient are output.

【0016】これらの出力のうち、まず乗算回路110
の出力は、色判定回路104により制御されているセレ
クタ131に供給され、このセレクタ131による選択
動作により、入力端子RIN、GIN、BINから供給
されている元のR、G、B信号のうちの、色判定回路1
04で原色であると判定された色の信号に、加算回路1
33〜135の1を介して加算される。
Of these outputs, first, the multiplication circuit 110
Is supplied to a selector 131 controlled by a color determination circuit 104, and the selector 131 performs a selection operation to output signals among the original R, G, and B signals supplied from the input terminals RIN, GIN, and BIN. , Color determination circuit 1
The addition circuit 1 adds the signal of the color determined to be the primary color at 04.
It is added via 1 of 33 to 135.

【0017】次に、乗算回路111の出力と、これを反
転回路130により極性反転した出力とは、同じく色判
定回路104により制御されているセレクタ131に供
給され、このセレクタ131による選択動作によリ、入
力端子RIN、GIN、BINから供給されている元の
R、G、B信号のうちの、色判定回路104で原色であ
ると判定された色以外の2の信号に、加算回路133〜
135の中の、上記乗算回路110の出力が供給されて
いる加算回路を除いた残りの2の加算回路を介して、そ
れぞれ加算される。
Next, the output of the multiplication circuit 111 and the output whose polarity is inverted by the inversion circuit 130 are supplied to the selector 131 also controlled by the color determination circuit 104, and the selection operation by the selector 131 And two of the original R, G, and B signals supplied from the input terminals RIN, GIN, and BIN other than the color determined to be the primary color by the color determination circuit 104, and the adder circuits 133 to
The outputs of the multipliers 110 are added through the remaining two adders except for the adder to which the output of the multiplier 110 is supplied.

【0018】従って、この結果、レジスタ118〜12
3に格納してある係数を変化させることにより、図5に
示す表に基づいた、原色についての彩度と色相に関する
独立した調整が得られることになる。
Therefore, as a result, the registers 118 to 12
By changing the coefficient stored in No. 3, independent adjustments regarding the saturation and hue for the primary colors based on the table shown in FIG. 5 can be obtained.

【0019】他方、乗算回路112、113の出力は、
まず、それぞれ加算回路139と減算回路140に供給
され、加算回路139では両者が加算され、減算回路1
40では乗算回路112の出力から乗算回路113の出
力が差し引かれる。その後、これら加算回路139と減
算回路140の出力は、色判定回路104により制御さ
れているセレクタ132に供給され、色判定回路110
4の判定された、レベルが最小値を示す色信号を含まな
い補色を構成するR、G、B信号(YeはRとG、Cy
はGとB、MaはRとB)に、それぞれ加算回路136
〜138の中の各々1を介して加算される。
On the other hand, the outputs of the multiplication circuits 112 and 113 are
First, the signals are supplied to the addition circuit 139 and the subtraction circuit 140, respectively.
At 40, the output of the multiplication circuit 113 is subtracted from the output of the multiplication circuit 112. After that, the outputs of the addition circuit 139 and the subtraction circuit 140 are supplied to the selector 132 controlled by the color determination circuit 104,
4, the R, G, and B signals (Ye are R, G, and Cy) that constitute complementary colors that do not include the color signal whose level indicates the minimum value.
Are G and B, and Ma is R and B), respectively.
138 are added via each one.

【0020】従って、この結果、レジスタ124〜12
9に格納してある係数を変化させることにより、図5に
示す表に基づいた、補色についての彩度と色相に関する
独立した調整が得られることになる。
Therefore, as a result, the registers 124 to 12
By changing the coefficients stored in 9, independent adjustments on saturation and hue for complementary colors based on the table shown in FIG. 5 can be obtained.

【0021】次に、この実施例の動作について、具体例
により詳細に説明する。なお、上記したように、レジス
タ118〜129に格納すべき各係数のうち、まず係数
K1’〜K3’はR、G、Bの各原色の彩度調整用、係
数K4’〜K6’は同じく各原色の色相調整用であり、
次に係数K7’〜K9’はYe、Cy、Maの各補色の
彩度調整用、係数K10’〜K12’は同じく各補色の
色相調整用である。
Next, the operation of this embodiment will be described in detail with reference to a specific example. As described above, among the coefficients to be stored in the registers 118 to 129, first, the coefficients K1 'to K3' are for adjusting the saturation of the R, G, and B primary colors, and the coefficients K4 'to K6' are the same. For adjusting the hue of each primary color,
Next, coefficients K7 'to K9' are for adjusting the saturation of each complementary color of Ye, Cy, and Ma, and coefficients K10 'to K12' are also for adjusting the hue of each complementary color.

【0022】いま、入力端子RIN、GIN、BINから供給
されているディジタルカラー映像信号が、 R:G:B=0.8:0.4:0.4 になっている信号であったとする。そうすると、色判定
回路104は、R信号のレベルが最大でG信号のレベル
が最小であることから、入力信号の色はR、Maである
と判定する(なお、このとき、G信号とB信号のレベル
は等しいが、上記した優先順位によりG信号のレベルが
最小であるとするのである)。
Now, the digital color video signal supplied from the input terminals R IN , G IN , and B IN is a signal in which R: G: B = 0.8: 0.4: 0.4. Suppose. Then, since the level of the R signal is maximum and the level of the G signal is minimum, the color determination circuit 104 determines that the color of the input signal is R or Ma (at this time, the G signal and the B signal Are equal, but the level of the G signal is assumed to be the minimum according to the priority described above.)

【0023】この結果、セレクタ105、106、10
7は各々R、G、B信号を選択するように切換えられ、
減算回路108からは信号レベル値が0.4のR−B信
号、すなわち、映像信号の原色信号成分R’が出力さ
れ、乗算回路110に供給される。他方、減算回路10
9の出力はレベル零になり、補色信号成分は出力されな
い。
As a result, the selectors 105, 106, 10
7 are switched to select R, G, B signals, respectively.
An RB signal having a signal level value of 0.4, that is, a primary color signal component R ′ of the video signal is output from the subtraction circuit 108 and supplied to the multiplication circuit 110. On the other hand, the subtraction circuit 10
The output of No. 9 is at zero level, and no complementary color signal component is output.

【0024】そして、このとき、セレクタ114、11
5は、判定された色がRなので、レジスタ118〜12
3の中でR色用の彩度調整用の係数K1’と、色相調整
用の係数K4’が格納してあるレジスタ118、121
を選択するように制御され、この結果、乗算回路11
0、111からは、各々原色成分にR色用の彩度調整用
の係数と色相調整用係数を乗算した信号、すなわち、R
e×K1’信号とRe×K4’信号とが出力されること
になる。
At this time, the selectors 114 and 11
5 is a register 118 to 12 because the determined color is R.
3. Registers 118 and 121 in which a saturation adjustment coefficient K1 'for R color and a hue adjustment coefficient K4' are stored.
, And as a result, the multiplication circuit 11
From signals 0 and 111, signals obtained by multiplying each of the primary color components by a saturation adjustment coefficient and a hue adjustment coefficient for R color, that is, R
The e × K1 ′ signal and the Re × K4 ′ signal are output.

【0025】さらに、このとき、映像信号の色がRであ
ることから、乗算回路110の出力を加算回路133を
介してR信号に加算すると共に、乗算回路111の出力
と、反転回路130の出力を、それぞれ加算回路13
4、135を介してG信号とB信号に加算するように、
セレクタ131が切換えられる。
At this time, since the color of the video signal is R, the output of the multiplication circuit 110 is added to the R signal via the addition circuit 133, and the output of the multiplication circuit 111 and the output of the inversion circuit 130 are added. To the adder 13
4, 135 to add the G signal and the B signal,
The selector 131 is switched.

【0026】従って、このときには、映像信号のR信号
には、映像信号の原色信号成分R’に、R色用の彩度調
整用係数K1’を乗じた補正分が加算され、B信号に
は、原色信号成分R’に、R色用の色相調整用係数K
4’を乗じた補正分が加算されると共に、G信号から
は、この補正分が差し引かれることになり、結局、この
ときには、R信号について、その彩度が係数K1’分、
色相が係数K4’分、それぞれ補正されたディジタルカ
ラー映像信号のR、G、B信号が出力端子ROUT
OUT、BOUTから得られることになり、これらの係数K
1’、K4’の調整により、R信号の彩度と色相を、他
の色の信号とは全く独立に調整することができる。
Therefore, at this time, a correction amount obtained by multiplying the primary color signal component R 'of the video signal by the saturation adjustment coefficient K1' for R color is added to the R signal of the video signal, and the B signal is added to the B signal. , A hue adjustment coefficient K for the R color in the primary color signal component R ′.
The correction amount multiplied by 4 ′ is added, and the correction amount is subtracted from the G signal. In this case, the saturation of the R signal is equal to the coefficient K1 ′.
The R, G, and B signals of the digital color video signal whose hue has been corrected by the coefficient K4 'are respectively output to output terminals R OUT ,
G OUT and B OUT , and these coefficients K
By adjusting 1 ′ and K4 ′, the saturation and hue of the R signal can be adjusted completely independently of the signals of other colors.

【0027】次に、今度は、色信号のレベル比が、 R:G:B=0.8:0.8:0.4 になっているカラー映像信号が入力されたとする。そう
すると、このときには、色判定回路104は、R信号の
レベルが最大でB信号のレベルが最小であることから、
入力信号の色はR、Yeであると判定する(R信号とG
信号のレベルは等しいが、上記した理由によりR信号の
レベルが最大であるとする)。
Next, it is assumed that a color video signal having a color signal level ratio of R: G: B = 0.8: 0.8: 0.4 is input. Then, at this time, the color determination circuit 104 determines that the level of the R signal is maximum and the level of the B signal is minimum,
It is determined that the colors of the input signal are R and Ye (R signal and G
Although the signal levels are equal, the level of the R signal is assumed to be the maximum for the reasons described above.)

【0028】この結果、セレクタ105、106、10
7は、今度は、各々R、B、G信号を選択するように切
換えられ、減算回路109からは信号レベル値が0.4
のG−B信号、すなわち、映像信号の補色信号成分Y
e’が出力され、乗算回路112、113に供給され
る。他方、減算回路108の出力はレベル零になり、原
色信号成分は出力されない。
As a result, the selectors 105, 106, 10
7 is switched to select the R, B, and G signals, respectively, and the signal level value is 0.4
, Ie, the complementary color signal component Y of the video signal
e ′ is output and supplied to the multiplication circuits 112 and 113. On the other hand, the output of the subtraction circuit 108 has a level of zero, and no primary color signal component is output.

【0029】そして、このとき、セレクタ116、11
7は、判定された色がYeなので、レジスタ124〜1
29の中でYe色用の彩度調整用の係数K7’と、色相
調整用の係数K10’が格納してあるレジスタ124、
127を選択するように制御され、この結果、乗算回路
112、113からは、各々補色成分にYe色用の彩度
調整用の係数と色相調整用係数を乗算した信号、すなわ
ち、Yee×K7’信号とYee×K10’信号とが出力
されることになる。
At this time, the selectors 116 and 11
7 indicates that the determined color is Ye,
29, a register 124 in which a saturation adjustment coefficient K7 'for the Ye color and a hue adjustment coefficient K10' are stored.
127 is selected, and as a result, the signals obtained by multiplying the complementary color components by the saturation adjustment coefficient and the hue adjustment coefficient for the Ye color, that is, Ye e × K7 The 'signal and Ye e × K10' signal are output.

【0030】さらに、このとき、映像信号の色がYeで
あることから、乗算回路112の出力と乗算回路113
の出力とを加算回路139で加算した結果と、乗算回路
112の出力から乗算回路113の出力を差し引いた結
果とを、それぞれ加算回路136を介してR信号に加算
すると共に、加算回路137を介してG信号に加算する
ように、セレクタ132が切換えられる。
Further, at this time, since the color of the video signal is Ye, the output of the multiplication circuit 112 and the multiplication circuit 113
And the result obtained by subtracting the output of the multiplication circuit 113 from the output of the multiplication circuit 112 is added to the R signal via the addition circuit 136, and the addition result is obtained via the addition circuit 137. Selector 132 is switched to add the signal to the G signal.

【0031】従って、このときには、映像信号のR信号
には、映像信号の補色信号成分Yeeに、Ye色用の彩
度調整用係数K7’を乗じた結果に、さらに色相調整用
係数K10’を乗じた補正分加算され、G信号には、補
色信号成分Yeeに、Ye色用の色相調整用係数K7’
を乗じた結果から色相調整用係数K10’を乗じた結果
を差し引いてえた補正分が加算されることになり、結
局、このときには、Ye色について、その彩度が係数K
7’分、色相が係数K10’分、それぞれ補正されたデ
ィジタルカラー映像信号のR、G、B信号が出力端子R
OU T、GOUT、BOUTから得られることになり、これらの
係数K7’、K10’の調整により、Ye色の彩度と色
相を、他の色のとは全く独立に調整することができる。
Therefore, at this time, the result of multiplying the complementary color signal component Ye e of the video signal by the saturation adjustment coefficient K7 ′ for the Ye color is further added to the R signal of the video signal, and further, the hue adjustment coefficient K10 ′. , The complementary signal component Ye e is added to the G signal, and the hue adjustment coefficient K7 ′ for the Ye color is added to the G signal.
Is subtracted from the result of multiplying by the hue adjustment coefficient K10 'from the result of multiplying by the hue adjustment coefficient K10'.
7 ′, the hue is a coefficient K10 ′, and the corrected R, G, B signals of the digital color video signal are output terminals R
OU T , G OUT , and B OUT , and by adjusting these coefficients K 7 ′ and K 10 ′, the saturation and hue of the Ye color can be adjusted completely independently of the other colors. .

【0032】そして、上記の例についての説明から明ら
かなように、入力信号が原色、補色のいずれか一方の信
号だけからなる場合、他方の出力は零なので、この場合
にも上記した動作に特に影響は無く、他方、原色と補色
が混合していた場合には、上記のような動作が、互いに
独立して並行に得られることになる。
As is clear from the description of the above example, when the input signal consists of only one of the primary color and the complementary color, the output of the other is zero. There is no influence, and on the other hand, when the primary colors and the complementary colors are mixed, the above operations can be obtained independently and in parallel.

【0033】従って、この例によれば、10個の加減算
回路と、4個の乗算回路で6色独立した色補正が可能な
ディジタル方式の色調補正装置を得ることができる。
Therefore, according to this example, it is possible to obtain a digital color tone correction device capable of performing six independent color corrections with ten addition and subtraction circuits and four multiplication circuits.

【0034】次に、特開平8−46263号公報に開示
されている他の従来例の6色独立色調補正方式(6色独
立マトリクス色補正回路)について、図6〜図9により
説明する。
Next, another conventional six-color independent color tone correction method (six-color independent matrix color correction circuit) disclosed in Japanese Patent Application Laid-Open No. 8-46263 will be described with reference to FIGS.

【0035】図6は、6色独立色調補正装置の従来例
で、まず、演算・比較器201、202、203によ
り、入力映像信号R、G、Bから色差信号R−G、R−
B、G−Bの演算及びその大小比較を行ない、その結果
を色相領域の判定回路204と、原色成分量及び補色成
分量の算出回路205に供給する。
FIG. 6 shows a conventional example of a six-color independent color tone correcting apparatus. First, arithmetic / comparators 201, 202, and 203 convert input image signals R, G, and B into color difference signals RG, R-.
B and GB calculations and magnitude comparisons are performed, and the results are supplied to a hue area determination circuit 204 and a primary color component amount and complementary color component amount calculation circuit 205.

【0036】そこで、この演算・比較器201、20
2、203による演算結果により、まず色相領域の判定
回路204では、図7に示すようにして、色相領域の判
定を行なう。図8は、この色相領域の概念図で、中心点
から各色方向に向かう直線を基準線として、これにより
6個の色相領域に区切ったものである。
Therefore, the operation / comparators 201 and 20
Based on the calculation results obtained in steps 2 and 203, the hue area determination circuit 204 first determines the hue area as shown in FIG. FIG. 8 is a conceptual diagram of the hue region, in which a straight line extending from the center point in each color direction is used as a reference line, thereby dividing the hue region into six hue regions.

【0037】また、原色成分量及び補色成分量の算出回
路5では、信号R、G、Bのレベル比較を行ない、図9
に示すようにして最大レベル、中間レベル、最小レベル
を判定する。そして、この比較判定の過程で、最大レベ
ルと中間レベルのレベル差を求め、これを原色成分量と
し、さらに中間レベルと最小レベルのレベル差を求め、
これを補色成分量とする。ここで、最大レベルの色が原
色に相当し、最小レベルの成分が白成分に相当する。そ
して、最大レベルの色と最小レベルの色の情報から補色
が判定でき、この結果、図7に示すように、原色成分と
補色成分を判定することができる。
The primary color component amount and complementary color component amount calculation circuit 5 compares the levels of the signals R, G, and B, and
The maximum level, the intermediate level, and the minimum level are determined as shown in FIG. Then, in the course of the comparison determination, a level difference between the maximum level and the intermediate level is obtained, this is used as the primary color component amount, and a level difference between the intermediate level and the minimum level is obtained.
This is defined as the complementary color component amount. Here, the color at the maximum level corresponds to the primary color, and the component at the minimum level corresponds to the white component. Then, the complementary color can be determined from the information on the maximum level color and the minimum level color, and as a result, the primary color component and the complementary color component can be determined as shown in FIG.

【0038】図9の例では、最大レベルがRで、中間レ
ベルはGになっているので、原色成分はRで、補色成分
は、RとGの中間の色相であるYe(黄)になる。そし
て、原色成分量はR−Gで、補色成分量はG−B、そし
て最小レベルBの量が白成分量となる。従って、この図
9の場合は、図7の下から2番目に示す結果となる。
In the example of FIG. 9, since the maximum level is R and the intermediate level is G, the primary color component is R, and the complementary color component is Ye (yellow), which is an intermediate hue between R and G. . The primary color component amount is RGB, the complementary color component amount is GB, and the minimum level B amount is the white component amount. Therefore, in the case of FIG. 9, the result shown in the second from the bottom in FIG. 7 is obtained.

【0039】判定回路204による色相領域の判定結果
は定数選択回路206に供給され、判定結果に応じて特
定の利得定数が選択され、それが乗算器207、208
に供給されることにより、算出回路205で算出された
原色成分量及び補色成分量にそれぞれ乗算されることに
より補正が行なわれる。このため、定数選択回路206
には、予め領域1から領域6までのそれぞれの色相領域
に対応した特定の利得定数が設定してある。
The judgment result of the hue region by the judgment circuit 204 is supplied to a constant selection circuit 206, and a specific gain constant is selected in accordance with the judgment result.
, Correction is performed by multiplying the primary color component amount and the complementary color component amount calculated by the calculation circuit 205, respectively. Therefore, the constant selection circuit 206
, Specific gain constants corresponding to the respective hue regions from region 1 to region 6 are set in advance.

【0040】こうして乗算器207、208により利得
定数が乗算された原色成分量及び補色成分量は、加算・
減算の選択及び映像信号R、G、Bに対する接続選択を
行なうためのデータ選択加算回路211に、一方では直
接、他方では補数器(−1倍乗算器)209、210を
介して、それぞれ供給される。そして、このデータ選択
加算回路211により加算先が選択された上で各加算器
212、213、214に供給され、映像信号R、G、
Bに加算されることになる。そこで、いま、信号Rの色
調補正を行なう場合、例えば彩度方向の補正であれば原
色成分量R−Gに特定の定数Krを乗じてから映像信号
Rに加算することになる。このとき、定数Krによる比
率が−1倍から1倍の範囲であれば、この補正によって
も、中間レベルと最小レベルのレベル差(補色成分
量)、及び最小レベルの量(自成分量)は変化しない。
The primary color component amount and the complementary color component amount multiplied by the gain constants by the multipliers 207 and 208 in this way are added and subtracted.
The data is supplied to a data selection / addition circuit 211 for selection of subtraction and selection of connection to video signals R, G, and B, on the one hand, and on the other hand, via complementers (-1 times multipliers) 209 and 210, respectively. You. Then, after an addition destination is selected by the data selection and addition circuit 211, the data is supplied to each of the adders 212, 213, and 214, and the video signals R, G,
B will be added. Therefore, when the color tone correction of the signal R is performed, for example, in the case of correction in the saturation direction, the primary color component amount RG is multiplied by a specific constant Kr and then added to the video signal R. At this time, if the ratio based on the constant Kr is in the range of -1 to 1 times, even with this correction, the level difference between the intermediate level and the minimum level (complementary color component amount) and the minimum level amount (own component amount) are obtained. It does not change.

【0041】また、信号Yeの彩度方向の補正を行なう
場合、補色成分量GーBに特定の定数Kyを乗じてから
RとGにそれぞれ加算することになる。このときも、定
数Kyによる比率が−1倍から1倍の範囲であれば、こ
の補正によっても、最大レベルと中間レベルのレベル差
(原色成分量)、及び最小レベルの量(白成分量)は変
化しない。
When correcting the saturation direction of the signal Ye, the complementary color component amount GB is multiplied by a specific constant Ky and then added to R and G, respectively. Also at this time, if the ratio by the constant Ky is in the range of -1 to 1 times, even with this correction, the level difference between the maximum level and the intermediate level (primary color component amount) and the minimum level amount (white component amount) Does not change.

【0042】従って、この場合には、定数Kr及びKy
を操作すれば、白バランスを保ちながら原色Rと補色Y
eの彩度方向の補正を独立して行なうことができる。な
お、以上の6色独立色調補正方式では、同様に色度方向
の補正も独立に行なえ、さらには入力映像信号が別の色
相にある場合も同様に独立補正が可能であるが、詳細な
説明は省略する。
Therefore, in this case, the constants Kr and Ky
Is operated, the primary color R and the complementary color Y are maintained while maintaining the white balance.
The correction of the saturation direction of e can be performed independently. In the above-described six-color independent tone correction method, the correction in the chromaticity direction can be similarly performed independently, and the independent correction can be similarly performed when the input video signal is in another hue. Is omitted.

【0043】次に、特開平3−272294号公報に開
示のある、従来実施されていたリニアマスキング補正に
関する技術を以下説明する。
Next, a technique related to linear masking correction which has been conventionally implemented and disclosed in Japanese Unexamined Patent Publication No. 3-272294 will be described below.

【0044】カラー映像信号の色補正装置(マスキング
回路ともよばれる)としては、従来から図10に示すよ
うなリニアマトリクス回路が知られている。
As a color correction device (also called a masking circuit) for a color video signal, a linear matrix circuit as shown in FIG. 10 is conventionally known.

【0045】この回路は、図10から明らかなように、
減算回路41〜43で、R、G、B信号からR−G、G
−B、B−Rの各色差信号を作り、これらの色差信号に
係数乗算回路44〜49により適当な所定の係数K1
いしK6をそれぞれ乗算し、その後、加算回路50〜5
5で、元のR、G、B信号に加算して所定の色補正が施
された映像信号を得るようになっているものである。
This circuit, as is apparent from FIG.
In subtraction circuits 41 to 43, R-G, G signals are converted from R, G, B signals.
-B, make the color difference signals B-R, to K 1 not suitable predetermined coefficient by the coefficient multiplying circuits 44 to 49 to those of the color difference signal multiplied by K 6, respectively, then the adder circuit 50-5
In step 5, a video signal subjected to predetermined color correction by adding to the original R, G, and B signals is obtained.

【0046】この従来のカラー映像信号の色補正装置に
よれば、白色平衡を保ったまま、つまり無彩色信号は無
彩色に保ちつつ、色調の調整を行なうことができる。
According to the conventional color image signal color correction apparatus, the color tone can be adjusted while maintaining the white balance, that is, while maintaining the achromatic signal in an achromatic color.

【0047】しかしながら、この従来の装置では、例え
ばR−G信号に乗算すべき係数K1を変化させると、そ
れに伴ってR、Gの画像の色調及びCy、Ye、Maの
全ての補色の画像の色調も変化してしまい、何れか特定
の色の画像の色調だけを調整しようとしても、これが簡
単には出来ないという問題があった。
However, in this conventional apparatus, for example, when the coefficient K 1 to be multiplied by the RG signal is changed, the color tone of the R and G images and the image of all complementary colors of Cy, Ye and Ma Is also changed, and there is a problem that it is not easy to adjust only the tone of an image of any specific color.

【0048】次に、従来実施されていたリニアマスキン
グ補正と6色独立マスキングを同時に実現する補正回路
に関する技術を図2により説明する。
Next, a description will be given of a conventional technique relating to a correction circuit which simultaneously implements linear masking correction and six-color independent masking with reference to FIG.

【0049】図2において、1は6色独立マスキング補
正信号を生成する手段、2は6色独立マスキング補正信
号生成手段1で用いられるパラメータを保持する手段で
ある。さらに、14はリニアマスキング補正信号を生成
する手段、4はリニアマスキング補正信号生成手段14
で用いられるパラメータを保持する手段である。
In FIG. 2, reference numeral 1 denotes a means for generating a 6-color independent masking correction signal, and 2 denotes means for holding parameters used in the 6-color independent masking correction signal generating means 1. Further, 14 is a means for generating a linear masking correction signal, and 4 is a means for generating a linear masking correction signal.
This is a means for holding the parameters used in.

【0050】マスキング補正の対象の映像信号である、
IN映像信号5、GIN映像信号6、BIN映像信号7は、
それぞれ6色独立マスキング補正信号生成手段1とリニ
アマスキング補正信号生成手段14とに入力される。
A video signal to be subjected to masking correction,
R IN video signal 5, G IN video signal 6, B IN video signal 7
Each is input to the six-color independent masking correction signal generation means 1 and the linear masking correction signal generation means 14.

【0051】6色独立マスキング補正信号生成手段1
は、パラメータ保持手段2から所定のパラメータを入力
し、その入力されたパラメータを用いて6色独立マスキ
ング補正信号であるR”補正信号15、G”補正信号1
6、B”補正信号17を生成し出力する。
6-color independent masking correction signal generating means 1
Inputs predetermined parameters from the parameter holding means 2 and uses the input parameters to output the R "correction signal 15 and the G" correction signal 1 which are six-color independent masking correction signals.
6. Generate and output a B ″ correction signal 17.

【0052】一方、リニアマスキング補正信号生成手段
14は、パラメータ保持手段4から所定のパラメータを
入力し、その入力されたパラメータを用いてリニアマス
キング補正信号であるR’補正信号18、G’補正信号
19、B’補正信号20を生成し出力する。
On the other hand, the linear masking correction signal generating means 14 receives predetermined parameters from the parameter holding means 4 and uses the input parameters to generate the linear masking correction signals R 'correction signal 18 and G' correction signal. 19. A B ′ correction signal 20 is generated and output.

【0053】上述の6色独立マスキング補正信号および
リニアマスキング補正信号は、それぞれ加算回路38、
39、40によって、R”補正信号15とR’補正信号
18とが加算される。さらに、G”補正信号16とG’
補正信号19とが加算される。さらに、B”補正信号1
7とB’補正信号20とが加算される。
The above-described six-color independent masking correction signal and linear masking correction signal are added to an adder circuit 38,
The R ″ correction signal 15 and the R ′ correction signal 18 are added by 39 and 40. Further, the G ″ correction signals 16 and G ′ are added.
The correction signal 19 is added. Further, B "correction signal 1
7 and the B ′ correction signal 20 are added.

【0054】そうすることで、6色独立マスキング補正
とリニアマスキング補正の二つの補正を同時に行うため
の補正信号である、r’補正信号8、g’補正信号9、
b’補正信号10が得られ、さらに、加算回路31、3
2、33によって、それぞれRIN映像信号5、GIN映像
信号6、BIN映像信号7と加算される。
By doing so, the r 'correction signal 8, the g' correction signal 9, and the r 'correction signal 8, which are the correction signals for simultaneously performing the two corrections of the six-color independent masking correction and the linear masking correction.
The b ′ correction signal 10 is obtained, and the addition circuits 31 and 3
2 and 33 are added to the R IN video signal 5, G IN video signal 6, and B IN video signal 7, respectively.

【0055】以上のようにして、加算回路31、32、
33からそれぞれ出力されたROU T映像信号11、GOUT
映像信号12、BOUT映像信号13は、6色独立マスキ
ング補正とリニアマスキング補正とがなされた映像信号
となっている。
As described above, the addition circuits 31, 32,
R OU T video signal 11 outputted respectively from 33, G OUT
The video signal 12 and the B OUT video signal 13 are video signals that have been subjected to six-color independent masking correction and linear masking correction.

【0056】ここで、各補正信号の演算式の例を、以下
に示す。
Here, an example of an arithmetic expression of each correction signal is shown below.

【0057】例えば、リニアマスキング補正について
は、次に示す演算式に基づいて映像信号の補正信号が生
成される。 R'=K1(R−G)+K2(R−B) G'=K3(G−R)+K4(G−B) B'=K5(B−R)+K6(B−G) ここで、R−GのパラメータをK1、R−Bのパラメー
タをK2、G−RのパラメータをK3、G−Bのパラメー
タをK4、B−RのパラメータをK5、B−Gのパラメー
タをK6とする。
For example, for the linear masking correction, a correction signal of the video signal is generated based on the following equation. R ′ = K 1 (RG) + K 2 (RB) G ′ = K 3 (GR) + K 4 (GB) B ′ = K 5 (BR) + K 6 (BG Here, the RG parameter is K 1 , the RB parameter is K 2 , the GR parameter is K 3 , the GB parameter is K 4 , the BR parameter is K 5 , B the parameters of the -G and K 6.

【0058】また、6色独立マスキング補正について
は、色相ベクトル座標平面上における、3原色とそれら
の各補色であるマゼンタ(Ma)、シアン(Cy)、イ
エロ(Ye)とからなる6色の各色軸により分割される
6つの色相領域に分けて、次に示す演算式に基づいて映
像信号の補正信号が生成される。
In the six-color independent masking correction, the six primary colors and their complementary colors, magenta (Ma), cyan (Cy), and yellow (Ye), on the hue vector coordinate plane are used. A correction signal of a video signal is generated based on the following arithmetic expression, divided into six hue regions divided by the axis.

【0059】色相領域 R〜Maにおいて、 R"=KSR(R−B)+(KSM−KHM)(B−G) G"=−KHR(R−B) B"=KHR(R−B)+(KSM+KHM)(B−G) 色相領域 Ma〜Bにおいて、 R"=−KHB(B−R)+(KSM−KHM)(R−G) G"=KHB(B−R) B"=KSB(B−R)+(KSM+KHM)(R−G) 色相領域 B〜Cyにおいて、 R"=−KHB(B−G) G"=KHB(B−G)+(KSC+KHC)(G−R) B"=KSB(BーG)+(KSC−KHC)(G−R) 色相領域 Cy〜Gにおいて、 R"=KHG(G−B) G"=KSG(G−B)+(KSC+KHC)(B−R) B"=−KHG(G−B)+(KSC−KHC)(B−R) 色相領域 G〜Yeにおいて、 R"=KHG(G−R)+(KSY+KHY)(R−B) G"=KSG(G−R)+(KSY−KHY)(R−B) B"=−KHG(G−R) 色相領域 Ye〜Rにおいて、 R"=KSR(R−G)+(KSY+KHY)(G−B) G"=−KHR(R−G)+(KSY−KHY)(G−B) B"=KHR(R−G) ここで、赤の飽和度のパラメータをKSR、赤の色相のパ
ラメータをKHR、マゼンタの飽和度のパラメータを
SM、マゼンタの色相のパラメータをKHM、青の飽和度
のパラメータをKSB、青の色相のパラメータをKHB、シ
アンの飽和度のパラメータをKSC、シアンの色相のパラ
メータをKHC、緑の飽和度のパラメータをKSG、緑の色
相のパラメータをKHG、黄色(イエロ)の飽和度のパラ
メータをKSY、黄色(イエロ)の色相のパラメータをK
HYとする。
[0059] In the hue region R~Ma, R "= K SR ( R-B) + (K SM -K HM) (B-G) G" = - K HR (R-B) B "= K HR ( in R-B) + (K SM + K HM) (B-G) hue regions Ma~B, R "= - K HB (B-R) + (K SM -K HM) (R-G) G" = "in = K SB (B-R) + (K SM + K HM) (R-G) hue regions B~Cy, R" K HB (B -R) B = - K HB (B-G) G "= in K HB (B-G) + (K SC + K HC) (G-R) B "= K SB (B over G) + (K SC -K HC ) (G-R) hue regions Cy~G, R "= K HG (GB) G" = K SG (GB) + (K SC + K HC ) ( BR ) B "=-K HG (GB) + (K SC -K HC ) in (B-R) hue regions G~Ye, R "= K HG ( G-R) + (K SY + K HY) (R-B) G" K SG (G-R) + (K SY -K HY) (R-B) B "= - in K HG (G-R) hue regions Ye~R, R" = K SR ( R-G) + ( KSY + KHY ) (GB) G "= -KHR (RG) + ( KSY - KHY ) (GB) B" = KHR (RG) where red saturation The degree parameter is K SR , the red hue parameter is K HR , the magenta saturation parameter is K SM , the magenta hue parameter is K HM , the blue saturation parameter is K SB , and the blue hue parameter is K HB , cyan saturation parameter K SC , cyan hue parameter K HC , green saturation parameter K SG , green hue parameter K HG , yellow (yellow) saturation The parameter is K SY and the parameter of yellow (yellow) hue is K
HY .

【0060】以上のようにリニアマトリクスマスキング
補正と6色独立マスキング補正とを共に実現するために
は、従来は、それぞれの補正について図2に示すように
別々のマスキング回路を必要とした。
As described above, in order to realize both the linear matrix masking correction and the six-color independent masking correction, conventionally, separate masking circuits were required for each correction as shown in FIG.

【0061】[0061]

【発明が解決しようとする課題】リニアマトリクスマス
キングによる色相ベクトル座標平面上、特に、(R−
Y)(B−Y)平面上のベクトルの動きを図3に示す。
On the hue vector coordinate plane by the linear matrix masking, in particular, (R-
Y) The motion of the vector on the (BY) plane is shown in FIG.

【0062】図3はリニアマトリクスマスキングの(G
−R)のパラメータK3を変化させたときのベクトルの
変化を表している。この図に示す様に、リニアマトリク
スマスキングでは一つのパラメータで複数の色の色相、
彩度が変化することになる。
FIG. 3 shows (G) of linear matrix masking.
−R) represents a change in the vector when the parameter K 3 is changed. As shown in this figure, in the linear matrix masking, the hue of multiple colors with one parameter,
The saturation will change.

【0063】しかしながら、この複数色の色相、彩度を
変化させるリニアマトリクスマスキング補正は、3原色
あるいは3原色の補色のカラーフィルタを用いて撮像す
るカラー撮像素子の、そのカラーフィルタ特性を調整す
るためには有用な補正特性を有している。
However, the linear matrix masking correction for changing the hue and saturation of a plurality of colors is used to adjust the color filter characteristics of a color image pickup device that picks up an image using three primary colors or complementary color filters of the three primary colors. Has useful correction characteristics.

【0064】しかしながら、リニアマトリクスマスキン
グ補正と6色独立マスキング補正を同時に行うために
は、両方の補正回路をそれぞれ別個に設けなけれはなら
なかったため、従来は回路規模がより大きいものとなっ
ていた。
However, in order to simultaneously perform the linear matrix masking correction and the six-color independent masking correction, both correction circuits had to be provided separately, so that the circuit scale was conventionally larger.

【0065】本発明は、赤(R)、緑(G)、青
(B)、マゼンタ(Ma)、シアン(Cy)、黄(Y
e)の6色の色信号の飽和度と色相を独立に制御できる
6色独立マスキング回路を用いてリニアマトリクスマス
キングを可能にし、回路規模をより小さくできることを
目的とする。
In the present invention, red (R), green (G), blue (B), magenta (Ma), cyan (Cy), and yellow (Y
e) It is an object of the present invention to enable linear matrix masking by using a 6-color independent masking circuit that can independently control the saturation and hue of the 6-color signal of 6), and to further reduce the circuit scale.

【0066】[0066]

【課題を解決するための手段】本発明は上記の課題を解
決するために、赤色(R)、緑色(G)、青色(B)の
3原色映像信号成分からなる映像信号の前記3原色の各
色信号成分相互の大小に応じて、前記3原色とそれらの
各補色であるマゼンタ(Ma)、シアン(Cy)、イエ
ロ(Ye)とからなる6色の各色成分のうち、少なくと
も最大原色成分と最大補色成分の色相と彩度をそれぞれ
補正するための所定の係数を前記映像信号の所定の色差
信号に乗算し前記映像信号に加算することで色補正を行
う6色独立マスキング色補正回路において、前記係数
は、所定の原色信号成分間の差信号を前記映像信号に加
算するとした色補正を行うリニアマスキング色補正回路
の色補正機能に相当する色補正を行うための関係式によ
り求まる係数を含むものである。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides a video signal comprising three primary color video signal components of red (R), green (G) and blue (B). According to the magnitude of each color signal component, at least the largest primary color component among the six primary color components consisting of the three primary colors and their complementary colors, magenta (Ma), cyan (Cy), and yellow (Ye). In a six-color independent masking color correction circuit for performing color correction by multiplying a predetermined color difference signal of the video signal by a predetermined coefficient for correcting the hue and saturation of the maximum complementary color component and adding the multiplied signal to the video signal, The coefficient includes a coefficient obtained by a relational expression for performing color correction corresponding to a color correction function of a linear masking color correction circuit that performs color correction by adding a difference signal between predetermined primary color signal components to the video signal. Than it is.

【0067】本発明はさらに、赤色(R)、緑色
(G)、青色(B)の3原色映像信号成分からなる映像
信号を色補正する回路であって、前記映像信号が、色相
ベクトル座標平面上における前記3原色とそれらの各補
色であるマゼンタ(Ma)、シアン(Cy)、イエロ
(Ye)とからなる6色の各色軸により分割される6領
域のうちのいずれに存するかを判定する回路と、該判定
された領域の分割境界を形作る原色軸および補色軸それ
ぞれに対応する、前記映像信号の所定の色差信号からな
る原色レベル信号と補色レベル信号とにそれぞれ所定の
第1の係数を乗算して原色レベル補正信号と補色レベル
補正信号とを生成する回路と、該原色レベル補正信号と
補色レベル補正信号とを前記映像信号に加算する回路と
を有する6色独立マスキング色補正回路において、所定
の第2の係数が前記映像信号の所定の色差信号にそれぞ
れ乗算されて得られた補正信号が前記映像信号に加算さ
れることによりリニアマスキング色補正機能が実現され
るための、前記第2の係数を保持し出力する回路と、前
記第2の係数を前記第1の係数に変換して出力する回路
とを有し、該変換して得られた第1の係数に応じて、前
記リニアマスキング色補正回路による色補正機能に相当
する色補正を行うものである。
The present invention further provides a circuit for color-correcting a video signal composed of three primary color video signal components of red (R), green (G) and blue (B), wherein the video signal is in a hue vector coordinate plane. It is determined which of the above-mentioned six primary colors and their complementary colors, magenta (Ma), cyan (Cy), and yellow (Ye), is in any of the six regions divided by each color axis. A first coefficient for each of a primary color level signal and a complementary color level signal composed of a predetermined color difference signal of the video signal corresponding to each of a primary color axis and a complementary color axis forming a division boundary of the determined area. A six-color independent maskin having a circuit for multiplying to generate a primary color level correction signal and a complementary color level correction signal, and a circuit for adding the primary color level correction signal and the complementary color level correction signal to the video signal In the color correction circuit, a linear masking color correction function is realized by adding a correction signal obtained by multiplying a predetermined color difference signal of the video signal by a predetermined second coefficient to the video signal, respectively. A circuit that holds and outputs the second coefficient, and a circuit that converts the second coefficient into the first coefficient and outputs the first coefficient. The first coefficient obtained by the conversion Accordingly, color correction corresponding to a color correction function by the linear masking color correction circuit is performed.

【0068】[0068]

【発明の実施の形態】以下、本発明に関わるリニアマス
キング補正と6色独立マスキングを同時に実現する色補
正回路の実施例を、図1を用いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a color correction circuit according to the present invention which simultaneously realizes linear masking correction and six-color independent masking will be described with reference to FIG.

【0069】図1において、1は6色独立マスキング補
正信号を生成する手段、2は6色独立マスキング補正信
号生成手段1で用いられる第1のパラメータを保持する
手段である。さらに、4は、リニアマスキング補正信号
生成手段で用いられる構成を有する第2のパラメータを
保持する手段である。さらに、3は、パラメータ保持手
段4に保持されたパラメータを、6色独立マスキング補
正信号生成手段1で用いられる第2のパラメータに変換
する手段である。さらに、34は、パラメータ変換手段
3から出力された第2のパラメータと、パラメータ保持
手段2から出力された第1のパラメータとを、それぞれ
のパラメータの種類毎に加算して6色独立マスキング補
正信号生成手段1へ出力するパラメータ加算手段であ
る。
In FIG. 1, reference numeral 1 denotes a unit for generating a six-color independent masking correction signal, and reference numeral 2 denotes a unit for holding a first parameter used in the six-color independent masking correction signal generating unit 1. Reference numeral 4 denotes a unit for holding a second parameter having a configuration used in the linear masking correction signal generating unit. Reference numeral 3 denotes a unit for converting the parameters held in the parameter holding unit 4 into second parameters used in the six-color independent masking correction signal generation unit 1. Further, 34 adds the second parameter output from the parameter conversion means 3 and the first parameter output from the parameter holding means 2 for each type of parameter to obtain a six-color independent masking correction signal. This is a parameter addition unit that outputs to the generation unit 1.

【0070】次に、パラメータ変換手段3における各パ
ラメータ種類毎の変換の様子を説明する。6色独立マト
リクス色補正に用いられるパラメータは、上述のよう
に、赤の飽和度のパラメータKSR、赤の色相のパラメー
タKHR、マゼンタの飽和度のパラメータKSM、マゼンタ
の色相のパラメータKHM、青の飽和度のパラメータ
SB、青の色相のパラメータKHB、シアンの飽和度のパ
ラメータKSC、シアンの色相のパラメータKHC、緑の飽
和度のパラメーをKSG、緑の色相のパラメータKHG、イ
エロの飽和度のパラメータKSY、およびイエロの色相の
パラメータKHYの12個のパラメータが用いられる。
Next, the manner of conversion for each parameter type in the parameter conversion means 3 will be described. As described above, the parameters used for the six-color independent matrix color correction include a red saturation parameter K SR , a red hue parameter K HR , a magenta saturation parameter K SM , and a magenta hue parameter K HM. , Blue saturation parameter K SB , blue hue parameter K HB , cyan saturation parameter K SC , cyan hue parameter K HC , green saturation parameter K SG , green hue parameter Twelve parameters are used: K HG , yellow saturation parameter K SY , and yellow hue parameter K HY .

【0071】この12個のパラメータが、同じく上述の
リニアマトリクス補正のパラメータである、R−Gのパ
ラメータK1、R−BのパラメータK2、G−Rのパラメ
ータK3、G−BのパラメータK4、B−Rのパラメータ
5、およびB−GのパラメータK6の6個のパラメータ
を用いた変換式により変換されればよい。
These 12 parameters are also the parameters of the linear matrix correction described above, ie, the RG parameter K 1 , the RB parameter K 2 , the GR parameter K 3 , and the GB parameter The conversion may be performed by a conversion formula using six parameters of K 4 , BR parameter K 5 , and BG parameter K 6 .

【0072】ここで、6色独立マトリクス補正において
は、補正信号の演算式は、上述の6つの色相領域それぞ
れで異なる。従って、リニアマトリクス補正用のパラメ
ータを6色独立マトリクス補正用のパラメータに変換す
る場合は、いずれの色相領域に対応する補正信号の演算
式に代入したとしても、補正量が同じとなるようにパラ
メータ変換する必要がある。すなわち、リニアマトリク
ス補正は各領域で同じ補正量となるためである。
Here, in the six-color independent matrix correction, the arithmetic expression of the correction signal is different for each of the above six hue regions. Therefore, when converting the parameters for linear matrix correction into the parameters for six-color independent matrix correction, the parameters are adjusted so that the correction amounts are the same regardless of which hue region is substituted into the arithmetic expression of the correction signal. Need to convert. That is, the linear matrix correction has the same correction amount in each region.

【0073】そのため、本発明において、リニアマトリ
クス補正用のパラメータを6色独立マトリクス補正用の
パラメータに変換する変換式は、 KSR= KSC=K1+K2+(K3+K5)/2 KHR= KHC=(K3−K5)/2 KSB= KSY=K5+K6+(K2+K4)/2 KHB= KHY=(K2−K4)/2 KSG= KSM= K3+K4+(K1+K6)/2 KHG= KHM=(K6−K1)/2 となる。
For this reason, in the present invention, the conversion formula for converting the parameters for linear matrix correction into the parameters for six-color independent matrix correction is as follows: K SR = K SC = K 1 + K 2 + (K 3 + K 5 ) / 2 K HR = K HC = (K 3 −K 5 ) / 2 K SB = K SY = K 5 + K 6 + (K 2 + K 4 ) / 2 K HB = K HY = (K 2 −K 4 ) / 2 K SG = K SM = K 3 + K 4 + (K 1 + K 6) / 2 K HG = K HM = (K 6 -K 1) / 2 to become.

【0074】以下、図1の補正回路の動作を説明する。
マスキング補正の対象の映像信号である、RIN映像信号
5、GIN映像信号6、BIN映像信号7は、それぞれ6色
独立マスキング補正信号生成手段1に入力される。
The operation of the correction circuit shown in FIG. 1 will be described below.
The R IN video signal 5, the G IN video signal 6, and the B IN video signal 7, which are the video signals to be masked, are input to the six-color independent masking correction signal generation means 1.

【0075】6色独立マスキング補正信号生成手段1
は、パラメータ加算手段34から、所定の第1のパラメ
ータと第2のパラメータとが加算されて得られたパラメ
ータを入力する。そして、その入力されたパラメータを
用いて6色独立マスキング補正信号であるr補正信号
8、g補正信号9、b補正信号10を生成し出力する。
6-color independent masking correction signal generating means 1
Inputs a parameter obtained by adding a predetermined first parameter and a second parameter from the parameter adding means 34. Then, an r correction signal 8, a g correction signal 9, and a b correction signal 10, which are six-color independent masking correction signals, are generated and output using the input parameters.

【0076】上述の6色独立マスキング補正信号は、そ
れぞれ加算回路31、32、33によって、r補正信号
8とRIN映像信号5とが加算される。さらに、g補正信
号9とGIN映像信号6とが加算される。さらに、b補正
信号10とBIN映像信号7とが加算される。
The r-correction signal 8 and the R IN video signal 5 are added to the above-described six-color independent masking correction signals by the adder circuits 31, 32, and 33, respectively. Further, the g correction signal 9 and the G IN video signal 6 are added. Further, the b correction signal 10 and the B IN video signal 7 are added.

【0077】以上のようにして、加算回路31、32、
33からそれぞれ出力されたROU T映像信号11、GOUT
映像信号12、BOUT映像信号13は、6色独立マスキ
ング補正とリニアマスキング補正とがなされた映像信号
となる。
As described above, the addition circuits 31, 32,
R OU T video signal 11 outputted respectively from 33, G OUT
The video signal 12 and the B OUT video signal 13 are video signals that have been subjected to six-color independent masking correction and linear masking correction.

【0078】[0078]

【発明の効果】以上説明したように、本発明によれば、
6色独立マスキング色補正とリニアマトリクスマスキン
グ色補正とを同時に行う場合に、従来用いられていたリ
ニアマトリクスマスキング色補正回路を用いなくても、
赤(R)、緑(G)、青(B)、マゼンタ(Ma)、シ
アン(Cy)、黄(Ye)の6色の色信号の飽和度と色
相を独立に制御できる6色独立マスキング回路を用いて
リニアマトリクスマスキングを可能にすることで、回路
規模をより小さくできる。
As described above, according to the present invention,
In the case where the 6-color independent masking color correction and the linear matrix masking color correction are performed at the same time, even if the linear matrix masking color correction circuit conventionally used is not used,
Six-color independent masking circuit capable of independently controlling the saturation and hue of six color signals of red (R), green (G), blue (B), magenta (Ma), cyan (Cy), and yellow (Ye) The circuit scale can be further reduced by enabling the linear matrix masking using.

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

【図1】本発明に関わる6色独立マスキング色補正回路
のブロック構成例を表す図
FIG. 1 is a diagram illustrating a block configuration example of a six-color independent masking color correction circuit according to the present invention.

【図2】従来の技術を用いた色補正回路のブロック構成
の一例を示す図
FIG. 2 is a diagram showing an example of a block configuration of a color correction circuit using a conventional technique.

【図3】リニアマトリクスマスキング補正による色相ベ
クトル座標面上のベクトルの変化の様子を説明する図
FIG. 3 is a view for explaining how a vector on a hue vector coordinate plane changes due to linear matrix masking correction;

【図4】従来の技術を用いた色補正回路のブロック構成
の他の一例を示す図
FIG. 4 is a diagram showing another example of a block configuration of a color correction circuit using a conventional technique.

【図5】6色独立マスキング色補正における各補正色と
彩度/色相とに応じた補正方法を表にまとめて説明する
FIG. 5 is a view for explaining in a table a correction method according to each correction color and saturation / hue in six-color independent masking color correction.

【図6】従来の技術を用いた色補正回路のブロック構成
の他の一例を示す図
FIG. 6 is a diagram showing another example of a block configuration of a color correction circuit using a conventional technique.

【図7】色調補正における色相領域を説明する図FIG. 7 is a view for explaining a hue area in color tone correction.

【図8】色相領域の概念を説明する図FIG. 8 is a view for explaining the concept of a hue area.

【図9】原色成分と補色成分の算定方法を説明する図FIG. 9 is a diagram illustrating a method of calculating a primary color component and a complementary color component.

【図10】従来の技術を用いた色補正回路のブロック構
成の他の一例を示す図
FIG. 10 is a diagram showing another example of a block configuration of a color correction circuit using a conventional technique.

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

1:6色独立マスキング補正信号生成手段、 2,4:
パラメータ保持手段、3:パラメータ変換手段、 3
1,32,33,34:加算手段。
1: 6-color independent masking correction signal generating means, 2, 4:
Parameter holding means 3: Parameter conversion means 3
1,32,33,34: adding means.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 赤色(R)、緑色(G)、青色(B)の
3原色映像信号成分からなる映像信号の、前記3原色と
それらの各補色であるマゼンタ(Ma)、シアン(C
y)、イエロ(Ye)とからなる6色の各色成分の色相
と彩度を補正するための所定の係数を前記映像信号の所
定の色差信号に乗算し前記映像信号に加算することで色
補正を行う色補正回路において、前記係数は、所定の原
色信号成分間の差信号を前記映像信号に加算するとした
色補正を行うリニアマスキング色補正回路の色補正機能
に相当する色補正を行うための関係式により求まる係数
を含むことを特徴とする色補正回路。
1. A video signal comprising three primary color video signal components of red (R), green (G), and blue (B), the three primary colors and their complementary colors, magenta (Ma) and cyan (C).
y), a predetermined coefficient for correcting the hue and saturation of each of the six color components of yellow (Ye) is multiplied by a predetermined color difference signal of the video signal and added to the video signal. In the color correction circuit performing the color correction, the coefficient is used to perform a color correction corresponding to a color correction function of a linear masking color correction circuit that performs a color correction by adding a difference signal between predetermined primary color signal components to the video signal. A color correction circuit including a coefficient obtained by a relational expression.
【請求項2】 赤色(R)、緑色(G)、青色(B)の
3原色映像信号成分からなる映像信号を色補正する回路
であって、前記映像信号が、色相ベクトル座標平面上に
おける前記3原色とそれらの各補色であるマゼンタ(M
a)、シアン(Cy)、イエロ(Ye)とからなる6色
の各色軸により分割される6領域のうちのいずれに存す
るかを判定する回路と、該判定された領域の分割境界を
形作る原色軸および補色軸それぞれに対応する、前記映
像信号の所定の色差信号からなる原色レベル信号と補色
レベル信号とにそれぞれ所定の第1の係数を乗算して原
色レベル補正信号と補色レベル補正信号とを生成する回
路と、該原色レベル補正信号と補色レベル補正信号とを
前記映像信号に加算する回路とを有する色補正回路にお
いて、所定の第2の係数が前記映像信号の所定の色差信
号にそれぞれ乗算されて得られた補正信号が前記映像信
号に加算されることによりリニアマスキング色補正機能
が実現されるための、前記第2の係数を保持し出力する
回路と、前記第2の係数を前記第1の係数に変換して出
力する回路とを有し、該変換して得られた第1の係数に
応じて、前記リニアマスキング色補正回路による色補正
機能に相当する色補正を行うことを特徴とする色補正回
路。
2. A circuit for correcting a video signal comprising three primary color video signal components of red (R), green (G) and blue (B), wherein the video signal is on a hue vector coordinate plane. The three primary colors and their complementary colors, magenta (M
a), a circuit for determining which of the six regions divided by each color axis of six colors consisting of cyan (Cy) and yellow (Ye), and a primary color forming a division boundary of the determined region A primary color level signal and a complementary color level signal, each of which is a predetermined color difference signal of the video signal, corresponding to each of the axis and the complementary color axis, are respectively multiplied by a predetermined first coefficient, and a primary color level correction signal and a complementary color level correction signal are obtained. A color correction circuit having a circuit for generating the video signal and a circuit for adding the primary color level correction signal and the complementary color level correction signal to the video signal. A circuit for holding and outputting the second coefficient for realizing a linear masking color correction function by adding the obtained correction signal to the video signal; A circuit for converting a coefficient into the first coefficient and outputting the first coefficient, and performing a color correction corresponding to a color correction function by the linear masking color correction circuit according to the first coefficient obtained by the conversion. A color correction circuit.
【請求項3】 請求項2に記載の色補正回路において、
前記変換回路は、前記第1の係数として、赤の飽和度の
パラメータをKSR、赤の色相のパラメータをKHR、マゼ
ンタの飽和度のパラメータをKSM、マゼンタの色相のパ
ラメータをKHM、青の飽和度のパラメータをKSB、青の
色相のパラメータをKHB、シアンの飽和度のパラメータ
をKSC、シアンの色相のパラメータをKHC、緑の飽和度
のパラメータをKSG、緑の色相のパラメータをKHG、黄
色の飽和度のパラメータをKSY、黄色の色相のパラメー
タをKHY、とし、さらに前記第2の係数としてR−Gの
パラメータをK1、R−BのパラメータをK2、G−Rの
パラメータをK3、G−BのパラメータをK4、B−Rの
パラメータをK5、B−GのパラメータをK6とすると
き、 KSR= KSC=K1+K2+(K3+K5)/2 KHR= KHC=(K3−K5)/2 KSB= KSY=K5+K6+(K2+K4)/2 KHB= KHY=(K2−K4)/2 KSG= KSM= K3+K4+(K1+K6)/2 KHG= KHM=(K6−K1)/2 の関係式によって前記第2の係数から前記第1の係数を
変換して得るようにすることを特徴とする色補正回路。
3. The color correction circuit according to claim 2, wherein
The conversion circuit includes, as the first coefficient, a parameter of red saturation K SR , a parameter of red hue K HR , a parameter of magenta saturation K SM , a parameter of magenta hue K HM , The blue saturation parameter is K SB , the blue hue parameter is K HB , the cyan saturation parameter is K SC , the cyan hue parameter is K HC , the green saturation parameter is K SG , and the green is The hue parameter is K HG , the yellow saturation parameter is K SY , the yellow hue parameter is K HY , and the RG parameter is K 1 and the RB parameter is the second coefficient. When K 2 , GR parameters are K 3 , GB parameters are K 4 , BR parameters are K 5 , and BG parameters are K 6 , K SR = K SC = K 1 + K 2 + (K 3 + K 5) / 2 K HR K HC = (K 3 -K 5 ) / 2 K SB = K SY = K 5 + K 6 + (K 2 + K 4) / 2 K HB = K HY = (K 2 -K 4) / 2 K SG = K SM = K 3 + K 4 + (K 1 + K 6 ) / 2 K HG = K HM = (K 6 −K 1 ) / 2 The first coefficient is obtained by converting the second coefficient using the relational expression. A color correction circuit.
【請求項4】 赤色(R)、緑色(G)、青色(B)の
3原色映像信号成分からなる映像信号の、前記3原色と
それらの各補色であるマゼンタ(Ma)、シアン(C
y)、イエロ(Ye)とからなる6色の各色成分の色相
と彩度を補正するための所定の係数を前記映像信号の所
定の色差信号に乗算し前記映像信号に加算することで色
補正を行う色補正方法において、前記係数は、所定の原
色信号成分間の差信号を前記映像信号に加算するとした
色補正を行うリニアマスキング色補正回路の色補正機能
に相当する色補正を行うための関係を有することを特徴
とする色補正方法。
4. A video signal comprising three primary color video signal components of red (R), green (G), and blue (B), the three primary colors and their complementary colors, magenta (Ma) and cyan (C).
y), a predetermined coefficient for correcting the hue and saturation of each of the six color components of yellow (Ye) is multiplied by a predetermined color difference signal of the video signal and added to the video signal. In the color correction method for performing the color correction, the coefficient is used to perform a color correction corresponding to a color correction function of a linear masking color correction circuit that performs a color correction by adding a difference signal between predetermined primary color signal components to the video signal. A color correction method having a relationship.
JP10189393A 1998-07-03 1998-07-03 Color correction circuit and its method Pending JP2000022977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10189393A JP2000022977A (en) 1998-07-03 1998-07-03 Color correction circuit and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10189393A JP2000022977A (en) 1998-07-03 1998-07-03 Color correction circuit and its method

Publications (1)

Publication Number Publication Date
JP2000022977A true JP2000022977A (en) 2000-01-21

Family

ID=16240563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10189393A Pending JP2000022977A (en) 1998-07-03 1998-07-03 Color correction circuit and its method

Country Status (1)

Country Link
JP (1) JP2000022977A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7215366B2 (en) 2000-09-18 2007-05-08 Sanyo Electric Co., Ltd. Tone correcting circuit and hue correcting circuit
JP2009246593A (en) * 2008-03-31 2009-10-22 Fujitsu Microelectronics Ltd Image processor
KR101509568B1 (en) 2013-06-28 2015-04-08 (주)실리콘화일 Color correction method using rgb data
WO2019244691A1 (en) * 2018-06-18 2019-12-26 株式会社Jvcケンウッド Color correction device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7215366B2 (en) 2000-09-18 2007-05-08 Sanyo Electric Co., Ltd. Tone correcting circuit and hue correcting circuit
JP2009246593A (en) * 2008-03-31 2009-10-22 Fujitsu Microelectronics Ltd Image processor
KR101509568B1 (en) 2013-06-28 2015-04-08 (주)실리콘화일 Color correction method using rgb data
US9794449B2 (en) 2013-06-28 2017-10-17 SK Hynix Inc. Method for correcting color using RGB data
WO2019244691A1 (en) * 2018-06-18 2019-12-26 株式会社Jvcケンウッド Color correction device

Similar Documents

Publication Publication Date Title
US5999230A (en) Tone correction apparatus for digital color image signal
JP2621789B2 (en) Color conversion method, color conversion device, and color conversion table creation device
US6865292B1 (en) Color conversion device and color conversion method
JPH0686059A (en) Method and device for color conversion
KR20070039032A (en) Camera color noise reduction method and circuit
JPH0573310B2 (en)
EP0262623B1 (en) Luminance signal forming circuit
JP2000022977A (en) Color correction circuit and its method
EP1592228A1 (en) Color correction application device
JP3564333B2 (en) Color correction device
JP2003125226A (en) Color conversion method, color converter, and color conversion processing program
JPH03272294A (en) Hue correction device for color video signal
JP2995683B2 (en) Color correction circuit for color video signals
US20050018054A1 (en) Chroma compensation circuit and its method
KR100707269B1 (en) Pixel adaptive image color adjusting apparatus and method thereof
EP0570805A1 (en) Improved method for adjusting the luminance of a color signal
US7903303B2 (en) Device for adjusting color video signals
JP3657307B2 (en) Color correction circuit for color video signal
WO2001067778A9 (en) Digital processing amplifier
JP3562782B2 (en) Contour correction device
JP2624967B2 (en) Color conversion method
JP2005057748A (en) Chroma compensation circuit and chroma compensation method
JP2996500B2 (en) Image processing device
JPH04369969A (en) Color correction circuit
JP3362436B2 (en) Signal processing circuit and signal processing method