JPH07131806A - Color correcting device - Google Patents

Color correcting device

Info

Publication number
JPH07131806A
JPH07131806A JP5272443A JP27244393A JPH07131806A JP H07131806 A JPH07131806 A JP H07131806A JP 5272443 A JP5272443 A JP 5272443A JP 27244393 A JP27244393 A JP 27244393A JP H07131806 A JPH07131806 A JP H07131806A
Authority
JP
Japan
Prior art keywords
color
output
correction
color correction
signal
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
JP5272443A
Other languages
Japanese (ja)
Inventor
Tsutomu Matsunaga
力 松永
Tatsuro Azuma
達郎 東
Masanori Wada
雅徳 和田
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.)
Houei Co Ltd
Original Assignee
Houei Co 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 Houei Co Ltd filed Critical Houei Co Ltd
Priority to JP5272443A priority Critical patent/JPH07131806A/en
Publication of JPH07131806A publication Critical patent/JPH07131806A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Color Image Communication Systems (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To correct colors with high precision and a high degree of freedom by using small memory capacity by deciding whether or not a signal of each component of a color video signal is an object of color correction and correcting the colors of respective color components when all the color components are objects of color correction. CONSTITUTION:Look-up tables 11-13 output signals showing whether or not respective chrominance components are object signals of color correction. An AND circuit 14 decides whether or not all of the outputs of the look-up tables 11-13 match one another. Look-up tables 15-17 output color correction quantities corresponding to the chrominance components according to the output of the AND circuit 14. Then adding circuits 18-20 add the color correction quantities to plural chrominance components, component by component. Consequently, only specific colors can be corrected or generated without using a large-capacity memory under three-dimensional control as the look-up tables.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は色映像信号の編集に利用
する。特に、あらかじめ指定した特定の色を他の色に影
響を与えることなく補正または着色する装置に関する。
BACKGROUND OF THE INVENTION The present invention is used for editing color video signals. In particular, it relates to a device for correcting or coloring a specific color designated in advance without affecting other colors.

【0002】[0002]

【従来の技術】色映像番組の制作における屋外、屋内あ
るいは時刻、天候の変化などによる色温度の変化の補正
や、老朽化して退色したフィルムなどの色映像信号にお
ける色補正あるいは復元のため、従来は、熟練した操作
者が、その色記憶に基づいて、明度、彩度、色相などの
多くの補正項目を繰り返し的に操作する必要があった。
また、従来の色補正技術では、補正対象の色映像信号の
一画面の全体に対して明度、彩度、色相などのパラメー
タを変更するため、ある特定の色、たとえば顔色のみを
背景の色に影響を与えることなく色補正することは困難
であった。
2. Description of the Related Art Conventionally, in the production of a color video program, the correction of the change in color temperature due to the change of the outdoor, indoor, time, weather, etc., and the color correction or restoration of the color video signal of aged and faded film, etc. Requires a skilled operator to repeatedly operate many correction items such as lightness, saturation, and hue based on the color memory.
In the conventional color correction technology, parameters such as brightness, saturation, and hue are changed for the entire screen of the color video signal to be corrected, so that only a specific color, for example, a facial color is set as the background color. It was difficult to color-correct without affecting.

【0003】このような問題を解決するひとつの方法と
して、色補正を行おうとする特定の色を指定し、その色
を中心とするある範囲の色に対してそれぞれ補正量およ
び着色量をあらかじめ算出してルックアップ・テーブル
として格納しておき、色補正時にそれを参照する方法が
考えられている。この方法は、熟練を必要とせず、しか
も、他の色に影響を与えることなく特定の範囲の色のみ
を補正あるいは着色できる。また、テーブルの修正だけ
で簡単かつ自由に補正量および着色量を制御できるとと
もに、主に線形演算を用いる補正では実現が困難な非線
形の補正も可能であり、非常に有効である。
As one method for solving such a problem, a specific color to be color-corrected is designated, and a correction amount and a coloring amount are calculated in advance for a range of colors centered on the color. Then, a method is considered in which it is stored as a lookup table and then referred to at the time of color correction. This method requires no skill and can correct or color only a specific range of colors without affecting other colors. Further, the correction amount and the coloring amount can be easily and freely controlled only by correcting the table, and the non-linear correction, which is difficult to be realized mainly by the correction using the linear operation, is also very effective.

【0004】ルックアップ・テーブルを用いて特定の範
囲の色を補正あるいは着色する場合に、色を表す複数の
信号に対して独立にルックアップ・テーブルを設けるの
では不十分である。たとえば色映像信号がR、G、Bの
三つの信号により表され、R=50、G=20、B=1
0であったとする。このとき、各信号に対して独立のテ
ーブルを用いると、いずれかの信号が同じ値の色、たと
えばR=50、G=50、B=50で表される背景の壁
の色までが影響を受けてしまう。そこで、R、G、Bを
別個に1次元制御するのではなく、3次元制御を行い、
それぞれの信号について互いに他の入力信号を参照して
補正量あるいは着色量を決定することがよい。たとえば
Rの補正量R′を決定するために、RだけでなくGおよ
びBの入力信号値についても参照するようにする。
When correcting or coloring a specific range of colors using a look-up table, it is not sufficient to provide a look-up table independently for a plurality of signals representing colors. For example, a color video signal is represented by three signals of R, G and B, where R = 50, G = 20 and B = 1.
Suppose it was 0. At this time, if an independent table is used for each signal, colors having the same value in any one of the signals, for example, the color of the background wall represented by R = 50, G = 50, and B = 50 are also affected. I will receive it. Therefore, instead of controlling R, G, and B one-dimensionally individually, three-dimensional control is performed,
The correction amount or the coloring amount may be determined for each signal by referring to other input signals. For example, in order to determine the correction amount R ′ of R, not only R but also the input signal values of G and B are referred to.

【0005】[0005]

【発明が解決しようとする課題】しかし、色を表す信号
をそのままルックアップ・テーブルの入力とすると、3
次元制御を行うために大きなメモリ容量が必要となる。
たとえば色映像信号としてR、G、Bの三つの信号を用
い、各信号が8ビットで量子化されているとすると、各
信号に対して3×8ビット入力8ビット出力のメモリが
必要となる。したがって、R、G、Bのそれぞれに対し
て16Mバイト、全体で48Mバイトのメモリ容量が必
要となる。
However, if the signal representing the color is directly input to the look-up table, 3
A large memory capacity is required to perform dimension control.
For example, if three signals of R, G, and B are used as color video signals and each signal is quantized with 8 bits, a memory of 3 × 8 bits input and 8 bits output is required for each signal. . Therefore, a memory capacity of 16 Mbytes for each of R, G, and B, for a total of 48 Mbytes, is required.

【0006】本発明は、このような課題を解決し、少な
いメモリ容量で精密かつ高精度に、さらには自由度高く
色補正することのできる色補正装置を提供することを目
的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above problems and to provide a color correction device capable of performing color correction accurately and highly accurately with a small memory capacity and with a high degree of freedom.

【0007】[0007]

【課題を解決するための手段】本発明の色補正装置は、
複数の色信号のそれぞれに対してその色信号が色補正の
対象となる信号であるか否かを表す信号を出力するフラ
グ手段と、このフラグ手段の出力がすべて一致している
か否かを判定する判定手段と、この判定手段の出力にし
たがって複数の色信号のそれぞれに対する色補正量を出
力する補正量出力手段と、この色補正量を色成分ごとに
色信号に加算する加算手段とを備えたことを特徴とす
る。
The color correction apparatus of the present invention comprises:
For each of the plurality of color signals, it is determined whether or not all the outputs of the flag means and a flag means that outputs a signal indicating whether or not the color signal is a color correction target signal Determination means, a correction amount output means for outputting a color correction amount for each of a plurality of color signals in accordance with the output of the determination means, and an addition means for adding the color correction amount to the color signal for each color component. It is characterized by that.

【0008】ここで「色信号」とは、映像として色を表
す信号であればよく、直接的に色を表す信号でも間接的
に色を表す信号でもよい。したがって、たとえばR、
G、Bのように三原色を表すものや、輝度信号と色差信
号とからなる信号を用いることができる。
Here, the "color signal" may be a signal representing a color as an image, and may be a signal representing a color directly or a signal representing a color indirectly. Thus, for example, R,
It is possible to use a signal that represents the three primary colors such as G and B, or a signal that includes a luminance signal and a color difference signal.

【0009】フラグ手段は色信号によりアドレス指定さ
れてその記憶内容を出力する第一の記憶手段を含み、補
正量出力手段は判定手段の出力によりアドレス指定され
てその記憶内容を出力する第二の記憶手段を含むことが
望ましい。これらの記憶手段はルックアップ・テーブル
として知られている。第一の記憶手段にはあらかじめ指
定された複数の色に対してそれぞれ異なる値が記憶さ
れ、判定手段は複数の色信号のそれぞれに対する第一の
記憶手段の出力値がすべて同一であるときにその値を出
力する構成であることがよい。
The flag means includes a first storage means for outputting the stored contents by being addressed by the color signal, and the correction amount output means is for outputting the stored contents by being addressed by the output of the judging means. It is desirable to include storage means. These storage means are known as look-up tables. The first storage means stores different values for a plurality of predesignated colors, and the determination means determines when the output values of the first storage means for each of the plurality of color signals are all the same. It is preferable that the configuration is such that a value is output.

【0010】第一の記憶手段はあらかじめ指定された色
を中心とする色領域に対して同一の値を出力するように
構成できる。具体的には、色領域に対応して同一の値を
記憶してもよく、色信号の上位ビットだけでアドレス指
定する構成としてもよい。
The first storage means can be configured to output the same value for a color area centered on a color designated in advance. Specifically, the same value may be stored corresponding to the color area, or the address may be designated only by the upper bits of the color signal.

【0011】あらかじめ指定された複数の色に対してそ
れぞれの色を中心とする色領域が重なる領域について、
補正量出力手段の出力する色補正量の割合を制御する手
段を備えることができる。このような手段としては、判
定手段の出力値が表す色の中心値を色成分ごとに出力す
る中心値出力手段と、この中心値出力手段の出力値を複
数の色信号から色成分ごとに減算する手段と、この減算
する手段の色成分ごとの出力に対してその色成分に対す
る色補正率を出力する色補正率出力手段と、この色補正
率出力手段の各色成分に対する出力を乗算して総合色補
正率を出力する第一の乗算手段と、この乗算手段の出力
を補正量出力手段の出力に色成分ごとに乗算する第二の
乗算手段とを含むことがよい。
Regarding a region in which color regions centered on respective colors overlap a plurality of colors designated in advance,
A unit for controlling the ratio of the color correction amount output by the correction amount output unit can be provided. As such means, a central value output means for outputting the central value of the color represented by the output value of the judging means for each color component, and an output value of the central value output means for subtracting the output value for each color component from a plurality of color signals Means, a color correction rate output means for outputting a color correction rate for the color component to the output for each color component of the subtracting means, and an output for each color component of the color correction rate output means are multiplied together. It is preferable to include first multiplication means for outputting the color correction rate and second multiplication means for multiplying the output of the multiplication means by the output of the correction amount output means for each color component.

【0012】フラグ手段は、あらかじめ指定された複数
の色に対してそれぞれの色を中心とする色領域が重なる
領域について、色補正の対象外とする信号を出力するよ
うに構成されてもよい。
[0012] The flag means may be configured to output a signal for excluding a color correction target for an area where a color area centered on each color overlaps a plurality of colors designated in advance.

【0013】以上の構成では、フラグ手段が色成分ごと
にその色信号が色補正の対象となる信号であるか否かを
表す信号(フラグ)を出力する構成としたが、指定され
た複数の色の色領域がすべての色成分で重なる場合の色
補正による不自然さを回避するため、二つの色信号の組
み合わせごとにフラグを出力する構成とすることもでき
る。この場合、補正量出力手段の出力する色補正量の割
合を制御してもよいが、フラグ手段にあらかじめ設定し
ておくこともできる。すなわち、フラグ手段としてルッ
クアップ・テーブルを用い、色領域がすべての色成分で
重なる場合には、あらかじめ指定された複数の色を中心
とする色領域が上記3以上の色信号で重複する領域につ
いて、順次補正幅を狭めながら色補正番号順に色補正番
号を繰り返し書き込んでおく。
In the above configuration, the flag means outputs a signal (flag) indicating whether or not the color signal is a signal to be color-corrected for each color component. In order to avoid unnaturalness due to color correction when the color regions of colors overlap in all color components, a flag may be output for each combination of two color signals. In this case, the ratio of the color correction amount output by the correction amount output means may be controlled, but it may be set in advance in the flag means. That is, when the look-up table is used as the flag means and the color areas overlap in all the color components, the color areas centering on a plurality of predesignated colors are overlapped by the three or more color signals. The color correction numbers are repeatedly written in the order of the color correction numbers while the correction width is narrowed.

【0014】[0014]

【作用】本発明の色補正装置は、色映像信号の色成分ご
との信号、たとえばR、G、Bの各信号について色補正
の対象か否かを判定し、すべての色成分について補正対
象であるとき、それぞれの色成分について色補正を行
う。単純には、各色成分の信号があらかじめ定めた値に
それぞれ一致したときに行う。すなわち、あらかじめ指
定した特定の色だけを色補正する。
The color correction apparatus of the present invention determines whether or not a signal for each color component of a color video signal, for example, each of R, G, and B signals, is to be subjected to color correction, and all color components are to be corrected. At some time, color correction is performed for each color component. Simply, it is performed when the signal of each color component matches a predetermined value. That is, only a specific color designated in advance is color-corrected.

【0015】複数の色を補正することもできる。そのた
めには、その色ごとに異なる値のフラグを用い、各色成
分ごとにその色成分が補正対象であるときにそのフラグ
を出力するようにする。これはルックアップ・テーブル
により容易に実現できる。すなわち、各色成分ごとの信
号をアドレス入力とし、その信号値に対応して異なるフ
ラグ値(色補正番号)が読み出されるようにする。あら
かじめ指定されたひとつの色に対して各色成分ごとに同
一値のフラグが出力されるようにし、各色成分で同一値
のフラグが読み出されたときに、そのフラグ値に応じた
色補正を行う。
It is also possible to correct a plurality of colors. For that purpose, a flag having a different value for each color is used, and the flag is output for each color component when the color component is a correction target. This can be easily accomplished with a look-up table. That is, a signal for each color component is used as an address input, and a different flag value (color correction number) is read corresponding to the signal value. The same value flag is output for each color component for one color specified in advance, and when the same value flag is read for each color component, color correction is performed according to the flag value. .

【0016】特定の色だけでなく、その色を中心とする
色領域に対しても補正対象とすることができる。そのた
めには、補正対象であるか否かを判断するためのルック
アップ・テーブルに、指定された色を表す色信号だけで
なくその前後の値のアドレス入力に対しても同じフラグ
値を記憶しておく。また、色信号の下位ビットを切り捨
ててもよい。
Not only a specific color, but also a color region centered on that color can be a correction target. For that purpose, the same flag value is stored not only for the color signal representing the specified color but also for the address input of the values before and after it in the look-up table for determining whether or not it is the correction target. Keep it. Also, the lower bits of the color signal may be truncated.

【0017】あらかじめ指定された色を中心とする色領
域を補正する場合に、その色領域に均一な色補正を行う
と境界が視覚的に目立ってしまうことがある。その場合
には、指定された色に相当する信号レベルを中心レベル
とし、その中心レベルと原信号のレベルとの差に応じ
て、色補正の程度をたとえば正規分布曲線にしたがって
変化させる。これはルックアップ・テーブルを用いるこ
とにより容易に実現できる。
In the case of correcting a color area centered on a color designated in advance, the boundary may be visually conspicuous if uniform color correction is performed on the color area. In that case, the signal level corresponding to the designated color is set as the center level, and the degree of color correction is changed according to, for example, a normal distribution curve according to the difference between the center level and the level of the original signal. This can be easily accomplished by using a look-up table.

【0018】色領域が重なるような場合には、その領域
を対象外とすることもできる。また、色成分ごとの信号
により補正対象か否かを判断するのではなく、二つの色
成分ごとに信号を組み合わせ、その組み合わせごとに判
断してもよい。
When the color areas overlap, the areas can be excluded. Further, it is also possible to combine the signals for each of the two color components and judge for each combination instead of determining whether or not the correction target is based on the signal for each color component.

【0019】[0019]

【実施例】図1は本発明第一実施例の色補正装置を示す
ブロック構成図である。ここでは、色映像信号をR
(赤)、G(緑)、B(青)の三つの色信号で表す場合
について説明する。
1 is a block diagram showing a color correction apparatus according to a first embodiment of the present invention. Here, the color video signal is R
A case of expressing with three color signals of (red), G (green), and B (blue) will be described.

【0020】本実施例装置は、複数の色成分をそれぞれ
表す複数の色信号すなわちR、G、Bの各信号を含む色
映像信号を入力とし、その色映像信号に含まれるあらか
じめ指定された色を表す信号に対してその色とは異なる
色を表す信号を出力する色補正装置であり、複数の色信
号のそれぞれに対してその色信号が色補正の対象となる
信号であるか否かを表す信号を出力するフラグ手段とし
てルックアップ・テーブル11〜13を備え、これらの
ルックアップ・テーブル11〜13の出力がすべて一致
しているか否かを判定する判定手段として論理積回路1
4を備え、この論理積回路14の出力にしたがって複数
の色信号のそれぞれに対する色補正量を出力する補正量
出力手段としてルックアップ・テーブル15〜17を備
え、この色補正量を色成分ごとに複数の色信号に加算す
る加算手段として加算回路18〜20を備えたことを特
徴とする。また、ルックアップ・テーブル11〜13に
あらかじめデータを書き込むため、ルックアップ・テー
ブル制御マイクロプロセッサ10を備える。
The apparatus of this embodiment receives a plurality of color signals respectively representing a plurality of color components, that is, a color video signal including R, G, and B signals, and inputs a color specified in advance in the color video signal. Is a color correction device that outputs a signal that represents a color different from that of the signal that represents, and determines whether or not the color signal is a target of color correction for each of the plurality of color signals. The look-up tables 11 to 13 are provided as flag means for outputting a signal indicating the logical product circuit 1 as a judging means for judging whether or not all outputs of the look-up tables 11 to 13 match.
4, lookup tables 15 to 17 are provided as correction amount output means for outputting color correction amounts for each of a plurality of color signals in accordance with the output of the AND circuit 14, and the color correction amounts are calculated for each color component. It is characterized in that addition circuits 18 to 20 are provided as addition means for adding to a plurality of color signals. Further, a lookup table control microprocessor 10 is provided for writing data in the lookup tables 11 to 13 in advance.

【0021】ルックアップ・テーブル11〜13は、
R、G、Bの各信号に対して別々に設けられ、あらかじ
め指定された補正あるいは着色したい色を表す各信号レ
ベルに対応する番地に、色補正有りまたは無しの別を示
す補正フラグが書き込まれる。たとえばR=50、G=
20、B=10で表される顔色を補正したい場合には、
ルックアップ・テーブル制御マイクロプロセッサ10に
より、ルックアップ・テーブル11の50番地、ルック
アップ・テーブル12の20番地、ルックアップ・テー
ブル13の10番地に色補正有りを示す補正フラグデー
タ「1」があらかじめ書き込まれ、それ以外の番地には
色補正無しを表す補正フラグデータ「0」があらかじめ
書き込まれる。
The look-up tables 11-13 are
A correction flag, which is provided separately for each of the R, G, and B signals and which indicates whether color correction is performed or not, is written in an address corresponding to each signal level that represents a predetermined correction or a color to be colored. . For example, R = 50, G =
If you want to correct the complexion represented by 20, B = 10,
By the look-up table control microprocessor 10, correction flag data “1” indicating that color correction is present is previously set at the address 50 of the look-up table 11, the address 20 of the look-up table 12, and the address 10 of the look-up table 13. The correction flag data “0” indicating no color correction is written in advance in the other addresses.

【0022】論理積回路14は、一次元制御のルックア
ップ・テーブル11〜13の出力信号、すなわちR、
G、Bの三つの信号の色補正有りまたは無しを示す補正
フラグデータの論理積をとる。これにより、たとえばR
=50、G=20、B=10で表される顔色のみを検出
することができ、その色を補正するように指定すること
ができる。
The AND circuit 14 outputs the output signals of the look-up tables 11 to 13 for one-dimensional control, that is, R,
The logical product of the correction flag data indicating the presence or absence of color correction of the three signals of G and B is calculated. This allows, for example, R
= 50, G = 20, B = 10 can be detected, and the color can be designated to be corrected.

【0023】ルックアップ・テーブル15〜17は、指
定された色に対するR、G、Bそれぞれの色補正量があ
らかじめ格納されており、論理積回路14の出力にした
がって、その色に対する色補正量を出力する。すなわ
ち、ルックアップ・テーブル15〜17は、論理積回路
14の出力が「1」のときには指定した色に対する色補
正量を出力し、論理積回路14の出力が「0」のときに
は色補正無しのため色補正量「0」を出力する。
The look-up tables 15 to 17 store in advance the color correction amounts of R, G, and B for the designated color, respectively, and according to the output of the AND circuit 14, the color correction amounts for the colors are stored. Output. That is, the look-up tables 15 to 17 output the color correction amount for the designated color when the output of the logical product circuit 14 is "1" and do not perform color correction when the output of the logical product circuit 14 is "0". Therefore, the color correction amount “0” is output.

【0024】加算回路18〜20は、R、G、Bのそれ
ぞれの色補正量をそれぞれの原信号に加算し、色補正出
力とする。
The adder circuits 18 to 20 add the respective R, G, and B color correction amounts to the respective original signals to obtain color correction outputs.

【0025】このように、本実施例では、ルックアップ
・テーブルとして3次元制御による大容量のメモリを用
いなくても、指定した特定の色だけを補正あるいは着色
できる。
As described above, in this embodiment, only a specified specific color can be corrected or colored without using a large-capacity memory for three-dimensional control as a lookup table.

【0026】図2は本発明第二実施例の色補正装置を示
すブロック構成図である。この実施例装置は、第一実施
例におけるルックアップ・テーブル11〜13に代え
て、あらかじめ指定された複数の色に対してそれぞれ異
なる値が記憶されたルックアップ・テーブル21〜23
を用い、論理積回路14に代えて、複数の色信号のそれ
ぞれに対するルックアップ・テーブル21〜23の出力
値がすべて同一であるときにその値を出力する一致検出
回路24を用い、色補正量を出力するために1ビット入
力のルックアップ・テーブル15〜17に代えて、複数
ビット入力のルックアップ・テーブル25〜27を用い
ている。ルックアップ・テーブル21〜23および25
〜27の記憶データは、ルックアップ・テーブル制御マ
イクロプロセッサ10によりあらかじめ設定される。
FIG. 2 is a block diagram showing a color correction apparatus according to the second embodiment of the present invention. In the apparatus of this embodiment, instead of the look-up tables 11 to 13 in the first embodiment, look-up tables 21 to 23 in which different values are stored for a plurality of colors designated in advance are stored.
Instead of the AND circuit 14, the coincidence detection circuit 24 that outputs the output values of the lookup tables 21 to 23 for each of the plurality of color signals is used, and the color correction amount In order to output 1-bit input look-up tables 15-17, plural-bit input look-up tables 25-27 are used. Lookup tables 21-23 and 25
The stored data of 27 to 27 are preset by the look-up table control microprocessor 10.

【0027】第一実施例では、色補正有りまたは無しを
示す色検出信号(論理積回路14の出力)が1ビットデ
ータのため、たとえば顔色と服の色といったように複数
の色補正指定を行うには、その色ごとに同等の回路が必
要となる。そこで第二実施例では、色検出信号として、
補正フラグ・データとして、1ビットのデータではなく
複数ビットのデータを用いる。これを以下「色補正番
号」という。
In the first embodiment, since the color detection signal (output of the logical product circuit 14) indicating the presence or absence of color correction is 1-bit data, a plurality of color correction designations such as a face color and a clothing color are performed. Requires an equivalent circuit for each color. Therefore, in the second embodiment, as the color detection signal,
As the correction flag data, a plurality of bits of data are used instead of one bit of data. This is hereinafter referred to as "color correction number".

【0028】ルックアップ・テーブル21〜23には、
顔色の補正に対応する各信号レベルの番地に色補正番号
「1」、服の色の補正に対応する信号レベルの番地に色
補正番号「2」というように、R、G、Bの三つの信号
に対応して、指定した色を表す各信号レベルに対応する
番地に、指定した順番に色補正番号を書き込んでおく。
補正指定以外の番地には、あらかじめ、すべて初期値と
して、特定の色補正番号を書き込んでおく。
The lookup tables 21-23 include:
The color correction number “1” is assigned to the address of each signal level corresponding to the correction of the complexion, and the color correction number “2” is assigned to the address of the signal level corresponding to the color correction of the clothes. Corresponding to the signal, the color correction numbers are written in the designated order at the addresses corresponding to the respective signal levels representing the designated color.
A specific color correction number is written in advance as an initial value in all addresses other than the correction designation.

【0029】一致検出回路24は、ルックアップ・テー
ブル21〜23からの色補正有りまたは無しを示す色補
正番号出力を比較し、一致を検出する。これにより、顔
色および服の色のみを区別して検出でき、色補正を指定
できる。
The match detection circuit 24 compares the color correction number outputs from the look-up tables 21 to 23 indicating the presence or absence of color correction to detect a match. As a result, only the facial color and the clothing color can be detected separately, and the color correction can be designated.

【0030】ルックアップ・テーブル25〜27は、一
致検出回路24から出力されたあらかじめ指定された色
を表す色補正番号により、その色補正番号に対応する
R、G、Bの個々の色補正量を出力する。これにより、
顔色が検出されたときには顔色に対する色補正量が出力
され、服の色が検出されたときには服の色に対する色補
正量が出力される。
The look-up tables 25 to 27 use the color correction numbers representing the predesignated colors output from the coincidence detection circuit 24, and the individual color correction amounts of R, G and B corresponding to the color correction numbers. Is output. This allows
When the complexion color is detected, the color correction amount for the complexion color is output, and when the complexion color is detected, the color correction amount for the complexion color is output.

【0031】加算回路18〜20は、第一実施例と同様
に、R、G、Bのそれぞれの色補正量をそれぞれ原信号
に加算し、色補正出力とする。
Similar to the first embodiment, the adder circuits 18 to 20 add the respective R, G, and B color correction amounts to the original signal to obtain color correction outputs.

【0032】このように、第二実施例では、3次元制御
によるルックアップ・テーブルのための大容量メモリを
用いる必要がなく、第一実施例に比較して若干の容量増
と簡便なメモリ制御により、あらかじめ指定された複数
の色のみの補正および着色が可能となる。
As described above, in the second embodiment, it is not necessary to use a large-capacity memory for the lookup table by the three-dimensional control, and the capacity is slightly increased and the memory control is simple as compared with the first embodiment. This enables correction and coloring of only a plurality of colors designated in advance.

【0033】図3および図4は色補正フラグデータ用の
ルックアップ・テーブルの記憶内容の一例を示す。図3
は第一実施例のルックアップ・テーブル11〜13の記
憶内容を示し、図4は第二実施例のルックアップ・テー
ブル11〜13の記憶内容を示す。第一実施例では、各
番地に補正有りを表す「1」と補正無しを表す「0」と
のいずれかが格納されているのに対し、第二実施例で
は、顔色の補正に対応する各信号レベルの番地に色補正
番号「1」、服の色の補正に対応する信号レベルの番地
に色補正番号「2」、それ以外には初期値「FF」が格
納されている。
3 and 4 show an example of the stored contents of the look-up table for color correction flag data. Figure 3
Shows the stored contents of the lookup tables 11 to 13 of the first embodiment, and FIG. 4 shows the stored contents of the lookup tables 11 to 13 of the second embodiment. In the first embodiment, each address stores "1" indicating that there is correction or "0" that indicates no correction, whereas in the second embodiment, each address corresponding to the correction of the facial color is stored. The color correction number “1” is stored in the address of the signal level, the color correction number “2” is stored in the address of the signal level corresponding to the color correction of the clothes, and the initial value “FF” is stored in the other areas.

【0034】以上の実施例では色の指定を1つのレベル
だけで行う場合について説明したが、実際の色映像信号
では、たとえば顔色にしても、その色信号レベルはある
程度の分布をもっている。第一実施例では顔色の指定を
ある1つのレベルだけで指定しており、顔色の全体を指
定することはできない。これに対し、第二実施例のよう
に色補正番号を用いると、複数の色指定を実現すること
ができる。しかし、1点1点指定できるだけで、顔色の
微妙に異なる色分布を見極めて指定していくことは現実
的ではない。そこで、ある1点のレベルによる色補正で
はなく、実際の色信号レベルの分布に見合ったある色補
正レベル幅をもたせることがよい。すなわち、色補正有
りまたは無しの色検出信号の幅を拡大する。
In the above embodiment, the case where the color is designated by only one level has been described. However, in the actual color video signal, even for a facial color, the color signal level has a certain degree of distribution. In the first embodiment, the face color is specified only at one level, and the entire face color cannot be specified. On the other hand, if a color correction number is used as in the second embodiment, a plurality of colors can be designated. However, it is not realistic to identify and specify a subtly different color distribution of the complexion color only by designating each point. Therefore, it is preferable to provide a certain color correction level width corresponding to the distribution of the actual color signal level, rather than the color correction based on the level of one point. That is, the width of the color detection signal with or without color correction is expanded.

【0035】たとえばR=50、G=20、B=10で
表される顔色が指定されたとき、各々の指定された信号
レベルを中心のレベルとし、それに対して、たとえば色
補正レベル幅を8にとると、R=46〜54、G=16
〜24、B=6〜14で表される色信号領域が、指定さ
れた顔色の色信号レベルの分布とみなすことができる。
このような場合には、ルックアップ・テーブル11〜1
3または21〜23に、指定された色のレベルに対応す
る番地のみに色補正番号を書き込むのではなく、指定さ
れた色のレベルを中心レベルとし、ある色補正レベル幅
に対して規定されるレベル領域に対応する番地の領域す
べてに色補正番号を書き込んでおく。このようにする
と、規定された顔色の分布(幅)内に含まれる色信号レ
ベルがすべて検出され、対応する色補正番号が出力され
る。この出力に対する処理は上述したとおりである。こ
れによって、顔色の補正に対しても、1点の色補正指定
によって簡単に顔色全体を色補正することが可能とな
る。図5にR=50、G=20、B=10で表される顔
色に対して色補正レベル幅=8で「1」が書き込まれた
例を示す。
For example, when a complexion color represented by R = 50, G = 20, B = 10 is designated, each designated signal level is set as a central level, and, for example, a color correction level width is 8 Then, R = 46 to 54, G = 16
˜24, B = 6 to 14 can be regarded as the distribution of the color signal level of the designated face color.
In such a case, the lookup tables 11-1
3 or 21 to 23, the color correction number is not written only in the address corresponding to the specified color level, but the specified color level is set as the central level and is defined for a certain color correction level width. The color correction number is written in all areas of the address corresponding to the level area. By doing so, all the color signal levels included in the defined facial color distribution (width) are detected, and the corresponding color correction number is output. The processing for this output is as described above. As a result, it becomes possible to easily perform color correction for the entire face color by specifying a single point color correction for the face color correction. FIG. 5 shows an example in which “1” is written with the color correction level width = 8 for the facial color represented by R = 50, G = 20, and B = 10.

【0036】また、補正する色に対して色補正レベル幅
をもたせて1点の色補正指定で簡単に色補正を可能にす
るために、ルックアップ・テーブル11〜13または2
1〜23への入力信号として、色信号の下位ビットを切
り捨てたものを用いてもよい。ルックアップ・テーブル
の入力信号の下位ビットを切り捨てることにより、必要
なメモリ容量を削減することができる。
Further, the lookup tables 11 to 13 or 2 are provided in order to give a color correction level width to the color to be corrected and to easily perform the color correction by specifying the color correction of one point.
As the input signal to 1 to 23, a signal in which the lower bits of the color signal are truncated may be used. By truncating the lower bits of the input signal of the look-up table, the required memory capacity can be reduced.

【0037】図6は本発明第三実施例の色補正装置を示
すブロック構成図である。この実施例装置は、あらかじ
め指定された複数の色に対してそれぞれの色を中心とす
る色領域が重なる領域について、補正量出力用のルック
アップ・テーブル25〜27の出力する色補正量の割合
を制御する手段を備えたことが第二実施例と異なる。す
なわち、一致検出回路24の出力値が表す色の中心値を
色成分ごとに出力する中心値出力手段としてルックアッ
プ・テーブル31〜33を備え、このルックアップ・テ
ーブル31〜33の出力値をR、G、Bの信号から色成
分ごとに減算する手段として減算回路34〜36を備
え、この減算回路34〜36の色成分ごとの出力に対し
てその色成分に対する色補正率を出力する色補正率出力
手段としてルックアップ・テーブル37〜39を備え、
このルックアップ・テーブル37〜39の各色成分に対
する出力を乗算して総合色補正率を出力する第一の乗算
手段として乗算回路40を備え、この乗算回路40の出
力を補正量出力用のルックアップ・テーブル25〜27
の出力に色成分ごとに乗算する第二の乗算手段として乗
算回路41〜43を備える。ルックアップ・テーブル2
1〜23、25〜27、31〜33、および37〜39
の記憶データは、ルックアップ・テーブル制御マイクロ
プロセッサ10によりあらかじめ設定される。
FIG. 6 is a block diagram showing a color correction apparatus according to the third embodiment of the present invention. In this embodiment, the ratio of the color correction amounts output from the correction amount output look-up tables 25 to 27 for the regions in which the color regions centered on the respective colors overlap a plurality of predesignated colors. It is different from the second embodiment in that it is provided with a means for controlling. That is, the lookup tables 31 to 33 are provided as central value output means for outputting the central value of the color represented by the output value of the coincidence detection circuit 24 for each color component, and the output values of the lookup tables 31 to 33 are R. , G, B signals are provided with subtraction circuits 34 to 36 as means for subtracting each color component, and a color correction for outputting a color correction rate for each color component to the output of each color component of the subtraction circuits 34 to 36. Lookup tables 37 to 39 are provided as rate output means,
A multiplication circuit 40 is provided as a first multiplication means for multiplying the output for each color component of the look-up tables 37 to 39 to output the total color correction rate, and the output of the multiplication circuit 40 is looked up for correction amount output.・ Tables 25-27
The multiplication circuits 41 to 43 are provided as the second multiplication means for multiplying the output of each of the color components by color components. Lookup table 2
1-23, 25-27, 31-33, and 37-39
Stored data is preset by the look-up table control microprocessor 10.

【0038】第二実施例のように色補正番号により色補
正有りと無しとのオン・オフ切り替えを行うと、色補正
有りと無しとの境界が視覚評価的に目立ってしまう。そ
こで、ルックアップ・テーブル31〜33に、指定され
たR、G、Bそれぞれの信号レベルの中心レベルを色補
正番号に対応して蓄えておく。色補正番号に対応してル
ックアップ・テーブル31〜33から出力された中心レ
ベルを原信号から減算回路34〜36により減算する
と、中心レベルからの差が得られる。ルックアップ・テ
ーブルにはこの差の値に対応する色補正の割合値があら
かじめ格納されており、減算回路34〜36の出力値に
基づいて、色補正率としての割合値を出力する。
When the color correction number is switched on and off by the color correction number as in the second embodiment, the boundary between the color correction and the color correction becomes noticeable visually. Therefore, the central levels of the designated signal levels of R, G, and B are stored in the lookup tables 31 to 33 in association with the color correction numbers. When the center levels output from the lookup tables 31 to 33 corresponding to the color correction numbers are subtracted from the original signals by the subtraction circuits 34 to 36, the difference from the center level is obtained. A color correction ratio value corresponding to the difference value is stored in advance in the look-up table, and the ratio value as a color correction ratio is output based on the output values of the subtraction circuits 34 to 36.

【0039】色補正率用のルックアップ・テーブル37
〜39は、入力「0」のとき、すなわち入力色映像信号
が色補正指定した色信号レベルに等しいとき、色補正率
として「1.0」を出力する。また、入力の絶対値が
「色補正レベル幅/2」以上のとき、色補正無しと見な
せるので、色補正率として「0.0」を出力する。入力
が「0」と「色補正レベル幅/2」の間のときには、そ
の中間の値を出力する。その変化の割合としては、たと
えば正規分布曲線を用いることがよい。
Lookup table 37 for color correction factors
.About.39 output "1.0" as the color correction rate when the input is "0", that is, when the input color video signal is equal to the color signal level designated for color correction. Further, when the absolute value of the input is “color correction level width / 2” or more, it can be considered that there is no color correction, so “0.0” is output as the color correction rate. When the input is between "0" and "color correction level width / 2", an intermediate value is output. As the change rate, for example, a normal distribution curve may be used.

【0040】乗算回路40は、ルックアップ・テーブル
37〜39の出力による3次元制御を行うため各出力を
掛け算し、得られた割合値を総合色補正率として、R、
G、Bそれぞれの色補正有りまたは無しの切り替え制御
に用いる。
The multiplication circuit 40 multiplies each output in order to perform three-dimensional control by the outputs of the look-up tables 37 to 39, and the obtained ratio value is used as a total color correction factor, R,
It is used for switching control with or without color correction of G and B respectively.

【0041】この乗算回路40の出力を乗算回路41〜
43によりルックアップ・テーブル25〜27の出力に
乗算し、加算回路18〜20により原信号に加算する。
これにより、乗算回路40の色補正率出力が「1.0」
のときには、ルックアップ・テーブル25〜27の出力
する色補正出力が最終色補正量として原信号に加算さ
れ、乗算回路40の色補正率出力が「0.0」のときに
は、原信号がそのまま出力される。また、乗算回路40
の色補正率出力がその中間値の場合には、それがルック
アップ・テーブル25〜27の出力に乗算され、それが
原信号に加算されて色補正出力となる。このようにし
て、補正された色境界が視覚評価的に自然となるような
補正を行うことができる。
The outputs of the multiplication circuit 40 are multiplied by the multiplication circuits 41 to 41.
The output of the look-up tables 25-27 is multiplied by 43, and added to the original signal by the adder circuits 18-20.
As a result, the color correction rate output of the multiplication circuit 40 is "1.0".
, The color correction outputs output from the lookup tables 25 to 27 are added to the original signal as the final color correction amount. When the color correction rate output of the multiplication circuit 40 is “0.0”, the original signal is output as it is. To be done. In addition, the multiplication circuit 40
If the color correction rate output of is an intermediate value, it is multiplied by the outputs of the look-up tables 25 to 27 and added to the original signal to form the color correction output. In this way, it is possible to perform correction such that the corrected color boundary becomes natural in terms of visual evaluation.

【0042】このように、色補正番号、色補正レベル幅
および色補正率を導入することによって、簡単な色補正
指定により、複数の色を補正または着色することが可能
となる。
As described above, by introducing the color correction number, the color correction level width and the color correction rate, it becomes possible to correct or color a plurality of colors with a simple color correction designation.

【0043】しかし、似た色を色補正指定した場合に
は、色補正レベルの幅のとりかたによって、色補正番号
を書き込むルックアップ・テーブル21〜23における
色補正番号の書き込み番地が重複してしまう場合があ
る。このような例を図7に示す。この図の例では、色補
正番号「1」、「2」で表される二つの色が指定されて
おり、この二つの色のGの色成分に重なりがある。
However, when a similar color is designated for color correction, the writing addresses of the color correction numbers in the lookup tables 21 to 23 for writing the color correction numbers are duplicated depending on how the color correction levels are set. It may happen. Such an example is shown in FIG. In the example of this figure, two colors represented by the color correction numbers “1” and “2” are designated, and the G color components of these two colors overlap.

【0044】このような場合には、図8に示すように、
重複している書き込み番地に、ある特定の色補正番号、
この例では「0」、を重なり検出色補正番号として書き
込んでおく。R、G、Bの三つの信号のいずれかの色補
正番号に「0」が存在する場合には、それ以外の色補正
番号を用いて比較および一致検出を行い、最終色補正番
号として採用する。
In such a case, as shown in FIG.
In the overlapping writing address, a specific color correction number,
In this example, "0" is written as the overlap detection color correction number. When “0” exists in the color correction number of any of the three signals of R, G, and B, comparison and coincidence detection are performed using the other color correction numbers, and adopted as the final color correction number. .

【0045】図9は本発明第四の色補正装置を示すブロ
ック構成図である。この実施例装置は、入力色信号が色
補正の対象となる信号であるか否かを表す信号を出力す
るフラグ手段として、二つの色信号の組み合わせをそれ
ぞれ入力とするルックアップ・テーブル51〜53を用
いたことが第三実施例と異なる。ルックアップ・テーブ
ル25〜27、31〜33、37〜39、および51〜
53の記憶データは、ルックアップ・テーブル制御マイ
クロプロセッサ10によりあらかじめ設定される。
FIG. 9 is a block diagram showing a fourth color correction apparatus of the present invention. In this embodiment, the look-up tables 51 to 53 each of which inputs a combination of two color signals as flag means for outputting a signal indicating whether or not the input color signal is a color correction target signal. Is different from the third embodiment. Lookup tables 25-27, 31-33, 37-39, and 51-
The stored data of 53 is preset by the look-up table control microprocessor 10.

【0046】図10は色信号の重なりの例を示す。この
例では、色補正番号「1」、「2」で表される二つの色
補正指定点に対し、R信号については「1」、「2」が
互いに重なり合い、G信号については「1」、「3」が
互いに重なり合い、B信号については「2」、「3」が
互いに重なり合っている。このように、ある任意の二つ
の色補正指定点に対してR、G、Bの三つの信号のすべ
てにおいて重複色補正番号に対応する番地が存在してい
るとき、あるいは複数の色補正指定によって発生する複
数の重複する補正番地に対応する番地の間の区別がつか
ないときには、重複している書き込み番地に重なり検出
色補正番号を書き込む方法では対応できない。
FIG. 10 shows an example of overlapping of color signals. In this example, for the two color correction designation points represented by the color correction numbers “1” and “2”, “1” and “2” overlap with each other for the R signal and “1” for the G signal, “3” overlaps each other, and for the B signal, “2” and “3” overlap each other. Thus, when there is an address corresponding to the overlapping color correction number in all three signals of R, G, and B for any two arbitrary color correction designation points, or when a plurality of color correction designations are made, When it is impossible to distinguish between the addresses corresponding to a plurality of overlapping correction addresses that occur, it is not possible to deal with the method of writing the overlap detection color correction number in the overlapping writing addresses.

【0047】そこで図9に示した実施例では、色補正番
号発生用のルックアップ・テーブルとして、1次元制御
によるものではなく、R、Gの二つの信号を入力とする
2次元制御のルックアップ・テーブル51、G、Bの二
つの信号を入力とする2次元制御のルックアップ・テー
ブル52、およびG、Rの二つの信号を入力とする2次
元制御のルックアップ・テーブル53を用いる。これに
より、色信号の重複領域を回避することができる。
Therefore, in the embodiment shown in FIG. 9, the lookup table for generating the color correction number is not a lookup table for one-dimensional control, but a lookup for two-dimensional control in which two signals of R and G are input. A table 51, a two-dimensional control lookup table 52 that receives two signals G and B, and a two-dimensional control lookup table 53 that receives two signals G and R are used. Thereby, the overlapping area of the color signals can be avoided.

【0048】この重複領域の回避方法として、単純に
は、後指定優先の方法を用いる。すなわち、ある任意の
二つの補正指定点に対してR、G、Bの三つの信号すべ
てにおいて重複領域が生じた場合には、あとから指定し
た色補正点に対する色補正番号をそのまま重ね書きす
る。補正率変化の関数として正規分布曲線を用いた場合
の重ね書きによる色境界の一例を図11に示す。
As a method of avoiding this overlapping area, a method of giving priority to subsequent designation is simply used. That is, when an overlapping region occurs in all three R, G, and B signals with respect to two arbitrary designated correction points, the color correction number for the color correction point designated later is overwritten as it is. FIG. 11 shows an example of the color boundary by overwriting when the normal distribution curve is used as a function of the correction factor change.

【0049】しかし、このような単純な方法では、図1
1にも示したように、重なり境界において変化率が急激
に変化し、色補正出力が視覚評価的に目立ってしまう。
また、色補正指定した中心レベルが指定した色信号レベ
ルにならない場合が生じることもある。
However, in such a simple method, as shown in FIG.
As shown in FIG. 1, the change rate sharply changes at the overlapping boundary, and the color correction output becomes visually noticeable.
In some cases, the center level specified for color correction does not reach the specified color signal level.

【0050】そこで、R、G、Bの三つの信号すべてに
おいて重複領域が生じた場合には、色補正番号を書き込
むときに、まず、あらかじめ決められた色補正レベル幅
を用いて、後指定優先で補正番号順に各ルックアップ・
テーブルに補正番号を書き込む。その後、色補正レベル
幅を順次狭めながら、繰り返し色補正番号を補正番号順
に後指定優先で書き込んでゆく。この操作の流れを図1
2に示す。
Therefore, when an overlapping region occurs in all three signals of R, G, and B, when the color correction number is written, first, a predetermined color correction level width is used, and the post designation priority is given. Each lookup by correction number in order
Write the correction number in the table. After that, while the color correction level width is gradually narrowed, the color correction numbers are repeatedly written in the order of the correction numbers with the post designation priority. Figure 1 shows the flow of this operation.
2 shows.

【0051】この操作について、図13ないし図19を
参照してさらに説明する。
This operation will be further described with reference to FIGS. 13 to 19.

【0052】1次元の色信号空間で図13に示すように
色補正番号「1」、「2」に重複領域が存在していると
すると、図14に示すように重複領域を互いに分け合っ
て領域分割を行うことが望ましい。そのためには、単純
に交点で分割すればよい。
If there are overlapping areas in the color correction numbers "1" and "2" in the one-dimensional color signal space as shown in FIG. 13, the overlapping areas are divided into areas as shown in FIG. It is desirable to divide. To do so, simply divide at the intersection.

【0053】次に2次元色信号空間の場合について説明
する。この場合にも、図15に示すように色補正番号
「1」、「2」で重複領域が存在しているとする。この
とき、1次元のような交点分割を適用すると、2次元空
間的で見た場合、補正指定領域が図16に斜線で示すよ
うに減少してしまう。理想的には、図17に示すように
重複領域を互いに分け合って分割したい。そのため、上
述したように、色補正レベル幅を順次狭めながら繰り返
し色補正番号を書き込んでゆく。このようにすると、互
いの境界が少しずつ図17に示した分割線に近づいてゆ
く。このようすを図18に示す。
Next, the case of the two-dimensional color signal space will be described. Also in this case, it is assumed that there are overlapping areas with color correction numbers “1” and “2” as shown in FIG. At this time, if the one-dimensional intersection division is applied, the correction designation area decreases as shown by the diagonal lines in FIG. 16 when viewed in a two-dimensional space. Ideally, as shown in FIG. 17, it is desired to divide the overlapping areas into one another. Therefore, as described above, the color correction number is repeatedly written while the color correction level width is gradually narrowed. In this way, the boundaries of the two approaches the dividing line shown in FIG. 17 little by little. This is shown in FIG.

【0054】図18において、太線が新たに書き込まれ
た領域、細線がすでに書き込まれている領域を示す。こ
の例では、最初に色補正番号「1」を書き込み、続いて
色補正番号「2」を書き込む。次に色補正レベル幅を狭
くして、再び色補正番号「1」、続いて色補正番号
「2」を書き込む。境界以外の部分については同じデー
タを繰り返し書き込むことになるが、そのほうが書き込
み制御が単純である。このようにして、図18(f)に
示すように領域が分割される。
In FIG. 18, a thick line shows a newly written area and a thin line shows an already written area. In this example, the color correction number "1" is written first, and then the color correction number "2" is written. Next, the color correction level width is narrowed, and the color correction number "1" is written again, and then the color correction number "2" is written. The same data is repeatedly written in the portions other than the boundary, but the write control is simpler in that case. In this way, the area is divided as shown in FIG.

【0055】このように、補正中心レベルに対して、色
補正レベル幅から求められる補正下限=補正中心レベル
−色補正レベル幅/2、補正上限=補正中心レベル+色
補正レベル幅/2のみのデータを用いて、複雑な演算処
理を行うことなしに、単純な繰り返し書込装置のみによ
って最適領域分割が得られる。
In this way, for the correction center level, only the correction lower limit obtained from the color correction level width = correction center level−color correction level width / 2, correction upper limit = correction center level + color correction level width / 2 Using the data, the optimum area division can be obtained only by a simple repetitive writing device without performing complicated arithmetic processing.

【0056】この補正領域の最適分割によって得られる
色空間における補正分布曲線の一例を図19に示す。こ
こでは、補正率関数として正規分布曲線を用いた。
FIG. 19 shows an example of the correction distribution curve in the color space obtained by the optimum division of the correction area. Here, a normal distribution curve was used as the correction factor function.

【0057】すなわち、このような単純な繰り返し操作
によって、任意の2点の色補正指定点についてR、G、
Bの三つの信号すべてにおいて重複領域が発生した場合
でも、その最適な色補正領域分割が可能となり、視覚評
価的に自然な色補正出力が得られる。
That is, by performing such a simple repetitive operation, R, G, and
Even if an overlapping area occurs in all three B signals, the optimum color correction area division can be performed, and a color correction output that is natural in terms of visual evaluation can be obtained.

【0058】このような繰り返し操作は1次元の場合に
も利用でき、単純交点分割同様の結果が得られる。ま
た、3次元で利用した場合にも同様に最適分割となる。
Such a repetitive operation can be used even in the case of one dimension, and the same result as the simple intersection division can be obtained. In addition, the optimum division is similarly obtained when it is used in three dimensions.

【0059】以上の説明では色信号として量子化された
R、G、B信号を用いた場合について説明したが、ディ
ジタル変換されたアナログ色映像信号を用いても本発明
を同様に実施でき、また、RGB信号以外の信号、例え
ば輝度信号および色差信号YCbCrを用いても本発明
を同様に実施できる。
In the above description, the case where the quantized R, G, B signals are used as the color signals has been described, but the present invention can be similarly implemented by using the digital color converted analog color video signals. The present invention can be similarly implemented by using signals other than the RGB signals, for example, the luminance signal and the color difference signal YCbCr.

【0060】輝度信号および色差信号YCbCrを用い
る場合には、実際の色映像信号の明るさ、色レベル分布
特性に一致するように、明るさおよび色を補正する。そ
の場合、色補正レベル幅および色補正率変化の関数形態
について、輝度信号および色差信号に対してそれぞれ独
立に設定し、それぞれのルックアップ・テーブルの内容
を書き換えることによって簡単に実施できる。明るさを
表す輝度信号に対しては色補正レベル幅および色補正率
変化の関数形態を広く、かつなだらかに設定し、色を表
す色差信号に対しては色補正レベル幅および色補正率変
化の関数形態を比較的狭くかつ急峻に選ぶことがよい。
また、色差信号のみを用いた色成分のみの補正、あるい
は輝度信号による色差信号の補正、逆に色差信号による
輝度信号の補正も可能である。
When the luminance signal and the color difference signal YCbCr are used, the brightness and color are corrected so that they match the brightness and color level distribution characteristics of the actual color video signal. In that case, the function form of the color correction level width and the change of the color correction rate can be set independently for the luminance signal and the color difference signal, and the contents of the lookup tables can be rewritten easily. The function form of the color correction level width and the change of the color correction rate is set broadly and gently for the luminance signal representing the brightness, and the color correction level width and the change of the color correction rate are set for the color difference signal representing the color. It is good to select the function form relatively narrowly and sharply.
It is also possible to correct only the color component using only the color difference signal, or to correct the color difference signal using the luminance signal, and conversely, to correct the luminance signal using the color difference signal.

【0061】[0061]

【発明の効果】以上説明したように、本発明の色補正装
置は、少ないメモリ容量のルックアップ・テーブルを複
数用いることにより、精密かつ高精度に、さらには自由
度高く入力色映像信号の色を補正または着色することが
できる。また、ルックアップ・テーブルの小容量化によ
って、テーブルに書き込む色補正データ量が低減される
ので、データを短時間で変更することも可能であり、実
時間の動画像においてシーンごとにリアルタイムに色補
正量を変化させることも可能とする。
As described above, the color correction apparatus of the present invention uses a plurality of look-up tables having a small memory capacity, so that the color of the input color video signal can be accurately and highly accurately and with a high degree of freedom. Can be corrected or colored. In addition, the smaller look-up table capacity reduces the amount of color correction data written to the table, so it is possible to change the data in a short time. It is also possible to change the correction amount.

【0062】本発明は、テレビジョンその他の映像番組
の編集および制作や、老朽化して退色したフィルムの復
元に利用して大きな効果がある。
The present invention has a great effect when it is used for editing and producing a television or other video program, and for restoring a film that has deteriorated and is discolored.

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

【図1】本発明第一実施例の色補正装置を示すブロック
構成図。
FIG. 1 is a block configuration diagram showing a color correction apparatus of a first embodiment of the present invention.

【図2】本発明第二実施例の色補正装置を示すブロック
構成図。
FIG. 2 is a block diagram showing a color correction apparatus according to a second embodiment of the present invention.

【図3】第一実施例における色補正フラグデータ用ルッ
クアップ・テーブルの記憶内容の一例を示す図。
FIG. 3 is a diagram showing an example of stored contents of a look-up table for color correction flag data in the first embodiment.

【図4】第二実施例における色補正フラグデータ用ルッ
クアップ・テーブルの記憶内容の一例を示す図。
FIG. 4 is a diagram showing an example of stored contents of a lookup table for color correction flag data in the second embodiment.

【図5】色補正レベル幅に対応する複数の番地に同一の
色補正番号が書き込まれた例を示す図。
FIG. 5 is a diagram showing an example in which the same color correction number is written in a plurality of addresses corresponding to the color correction level width.

【図6】本発明第三実施例の色補正装置を示すブロック
構成図。
FIG. 6 is a block configuration diagram showing a color correction apparatus of a third embodiment of the present invention.

【図7】色補正番号を書き込むルックアップ・テーブル
における色補正番号の書き込み番地が重複した例を示す
図。
FIG. 7 is a diagram showing an example in which write addresses of color correction numbers are duplicated in a lookup table for writing color correction numbers.

【図8】二つの色の色信号に重なりがある場合に重複し
ている書き込み番地に重なり検出色補正番号を書き込ん
だ例を示す図。
FIG. 8 is a diagram showing an example in which an overlap detection color correction number is written in overlapping writing addresses when color signals of two colors overlap.

【図9】本発明第四の色補正装置を示すブロック構成
図。
FIG. 9 is a block configuration diagram showing a fourth color correction device of the present invention.

【図10】色信号の重なりの例を示す図。FIG. 10 is a diagram showing an example of overlapping of color signals.

【図11】補正率変化の関数として正規分布曲線を用い
た場合の重ね書きによる色境界の一例を示す図。
FIG. 11 is a diagram showing an example of color boundaries by overwriting when a normal distribution curve is used as a function of a correction factor change.

【図12】R、G、Bの三つの信号すべてにおいて重複
領域が生じた場合の色補正レベル幅の操作の流れを示す
図。
FIG. 12 is a diagram showing a flow of an operation of a color correction level width when an overlapping area occurs in all three signals of R, G and B.

【図13】1次元信号空間で色補正番号に重複領域が存
在している状態を示す図。
FIG. 13 is a diagram showing a state in which a color correction number has an overlapping area in a one-dimensional signal space.

【図14】1次元の場合の最適な領域分割を示す図。FIG. 14 is a diagram showing optimum area division in the case of one dimension.

【図15】2次元信号空間で色補正番号に重複領域が存
在している状態を示す図。
FIG. 15 is a diagram showing a state where an overlapping area exists in a color correction number in a two-dimensional signal space.

【図16】2次元信号空間で交点分割を行った場合の各
色補正番号の領域を示す図。
FIG. 16 is a diagram showing a region of each color correction number when intersection division is performed in a two-dimensional signal space.

【図17】理想的な領域分割を示す図。FIG. 17 is a diagram showing ideal area division.

【図18】二つの色補正番号の領域の境界が少しずつ理
想的な分割線に近づいてゆくようすを示す図。
FIG. 18 is a diagram showing how the boundary between two color correction number areas gradually approaches an ideal dividing line.

【図19】補正領域の最適分割によって得られる色空間
における補正分布曲線の一例を示す図。
FIG. 19 is a diagram showing an example of a correction distribution curve in a color space obtained by optimal division of a correction area.

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

10 ルックアップ・テーブル制御マイクロプロセッサ 11〜13、15〜17、21〜23、25〜27、3
1〜33、37〜39、51〜53 ルックアップ・テ
ーブル 14 論理積回路 18〜20 加算回路 24 一致検出回路 34〜36 減算回路 40〜43 乗算回路
10 Look-up table control microprocessor 11-13, 15-17, 21-23, 25-27, 3
1-33, 37-39, 51-53 Look-up table 14 AND circuit 18-20 Adder circuit 24 Match detection circuit 34-36 Subtractor circuit 40-43 Multiplier circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 // H04N 1/46 8420−5L G06F 15/66 310 4226−5C H04N 1/46 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location // H04N 1/46 8420-5L G06F 15/66 310 4226-5C H04N 1/46 Z

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 複数の色成分をそれぞれ表す複数の色信
号を含む色映像信号を入力とし、その色映像信号に含ま
れるあらかじめ指定された色を表す信号に対してその色
とは異なる色を表す信号を出力する色補正装置におい
て、 上記複数の色信号のそれぞれに対してその色信号が色補
正の対象となる信号であるか否かを表す信号を出力する
フラグ手段(11〜13、21〜23)と、 このフラグ手段の出力がすべて一致しているか否かを判
定する判定手段(14、24)と、 この判定手段の出力にしたがって上記複数の色信号のそ
れぞれに対する色補正量を出力する補正量出力手段(1
5〜17、25〜27)と、 この色補正量を上記色成分ごとに上記複数の色信号に加
算する加算手段(18〜20、28〜30)とを備えた
ことを特徴とする色補正装置。
1. A color video signal including a plurality of color signals respectively representing a plurality of color components is input and a color different from the color representing a predetermined color contained in the color video signal is input. A color correction device that outputs a signal that represents the flag means (11 to 13, 21) that outputs a signal that indicates whether or not the color signal is a signal to be subjected to color correction for each of the plurality of color signals. 23 to 23), a judging means (14, 24) for judging whether or not the outputs of the flag means are all in agreement, and a color correction amount for each of the plurality of color signals is output in accordance with the output of the judging means. Correction amount output means (1
5-17, 25-27), and addition means (18-20, 28-30) for adding the color correction amount to the plurality of color signals for each color component. apparatus.
【請求項2】 上記フラグ手段は上記色信号によりアド
レス指定されてその記憶内容を出力する第一の記憶手段
を含み、 上記補正量出力手段は上記判定手段の出力によりアドレ
ス指定されてその記憶内容を出力する第二の記憶手段を
含む請求項1記載の色補正装置。
2. The flag means includes first storage means which is addressed by the color signal and outputs its stored contents, and the correction amount output means is addressed by the output of the judgment means and its stored contents. The color correction device according to claim 1, further comprising a second storage unit that outputs
【請求項3】 上記第一の記憶手段(21〜23)には
あらかじめ指定された複数の色に対してそれぞれ異なる
値が記憶され、 上記判定手段は上記複数の色信号のそれぞれに対する上
記第一の記憶手段の出力値がすべて同一であるときにそ
の値を出力する構成(24)である請求項2記載の色補
正装置。
3. The first storage means (21-23) stores different values for a plurality of colors designated in advance, and the determination means stores the first value for each of the plurality of color signals. 3. The color correction device according to claim 2, wherein when the output values of the storage means are all the same, the value is output.
【請求項4】 上記第一の記憶手段はあらかじめ指定さ
れた色を中心とする色領域に対して同一の値を出力する
ように構成された請求項2または3記載の色補正装置。
4. The color correction apparatus according to claim 2, wherein the first storage unit is configured to output the same value for a color area centered on a color designated in advance.
【請求項5】 あらかじめ指定された複数の色に対して
それぞれの色を中心とする色領域が重なる領域につい
て、上記補正量出力手段の出力する色補正量の割合を制
御する手段(31〜43)を備えた請求項1ないし4の
いずれか記載の色補正装置。
5. A means (31-43) for controlling the ratio of the color correction amount output by the correction amount output means for a region in which a color region centered on each color overlaps a plurality of colors designated in advance. 5. The color correction device according to claim 1, further comprising:
【請求項6】 上記色補正量の割合を制御する手段は、 上記判定手段の出力値が表す色の中心値を上記色成分ご
とに出力する中心値出力手段(31〜33)と、 この中心値出力手段の出力値を上記複数の色信号から上
記色成分ごとに減算する手段(34〜36)と、 この減算する手段の色成分ごとの出力に対してその色成
分に対する色補正率を出力する色補正率出力手段(37
〜39)と、 この色補正率出力手段の各色成分に対する出力を乗算し
て総合色補正率を出力する第一の乗算手段(40)と、 この乗算手段の出力を上記補正量出力手段(25〜2
7)の出力に上記色成分ごとに乗算する第二の乗算手段
(41〜43)とを含む請求項5記載の色補正装置。
6. The means for controlling the ratio of the color correction amount includes center value output means (31 to 33) for outputting the center value of the color represented by the output value of the determination means for each color component, and the center value output means (31 to 33). A means (34 to 36) for subtracting the output value of the value output means from the plurality of color signals for each color component, and a color correction rate for the color component with respect to the output for each color component of the subtracting means. Color correction rate output means (37
To 39), a first multiplication means (40) for multiplying the output of each color component of the color correction rate output means to output a total color correction rate, and an output of the multiplication means for the correction amount output means (25). ~ 2
The color correction device according to claim 5, further comprising second multiplication means (41 to 43) for multiplying the output of 7) for each color component.
【請求項7】 上記フラグ手段は、あらかじめ指定され
た複数の色に対してそれぞれの色を中心とする色領域が
重なる領域について、色補正の対象外とする信号を出力
するように構成された請求項1ないし6のいずれか記載
の色補正装置。
7. The flag means is configured to output a signal not to be subjected to color correction for a region in which a color region centered on each color overlaps a plurality of colors designated in advance. The color correction device according to claim 1.
【請求項8】 3以上の色成分をそれぞれ表す3以上の
色信号を含む色映像信号を入力とし、その色映像信号に
含まれるあらかじめ指定された色を表す信号に対してそ
の色とは異なる色を表す信号を出力する色補正装置にお
いて、 上記3以上の色信号のうちの二つの色信号の組み合わせ
のそれぞれに対して、その組み合わせた色信号が色補正
の対象となる信号であるか否かを表す信号を出力するフ
ラグ手段(51〜53)と、 このフラグ手段の出力がすべて一致しているか否かを判
定する判定手段(24)と、 この判定手段の出力にしたがって上記複数の色信号のそ
れぞれに対する色補正量を出力する補正量出力手段(2
5〜27)と、 この補正量出力手段の出力をその色成分ごとに上記複数
の色信号に加算する加算手段(28〜30)と、 あらかじめ指定された複数の色に対してそれぞれの色を
中心とする色領域が重なる領域について、上記補正量出
力手段の出力する色補正量の割合を制御する手段(31
〜43)とを備えたことを特徴とする色補正装置。
8. A color video signal including three or more color signals respectively representing three or more color components is input, and a signal representing a prespecified color included in the color video signal is different from the color. In a color correction device that outputs a signal representing a color, for each of the combinations of two color signals of the above three or more color signals, whether or not the combined color signal is a signal to be subjected to color correction. Flag means (51 to 53) for outputting a signal indicating that, a judging means (24) for judging whether or not all the outputs of the flag means match, and the plurality of colors according to the output of the judging means. Correction amount output means (2) for outputting the color correction amount for each of the signals
5 to 27), addition means (28 to 30) for adding the output of the correction amount output means to the plurality of color signals for each color component, and each color for a plurality of predesignated colors. A means (31) for controlling the ratio of the color correction amount output by the correction amount output means for the area where the central color area overlaps.
To 43) are included.
【請求項9】 3以上の色成分をそれぞれ表す3以上の
色信号を含む色映像信号を入力とし、その色映像信号に
含まれるあらかじめ指定された色を表す信号に対してそ
の色とは異なる色を表す信号を出力する色補正装置にお
いて、 上記3以上の色信号のうちの二つの色信号の組み合わせ
のそれぞれに対して設けられ、その組み合わせた色信号
によりアドレス指定されてその記憶内容を出力する記憶
手段(51〜53)と、 上記組み合わせのそれぞれに対して上記記憶手段の出力
がすべて一致しているか否かを判定する判定手段(2
4)と、 この判定手段の出力にしたがって上記複数の色信号のそ
れぞれに対する色補正量を出力する補正量出力手段(2
5〜27)と、 この補正量出力手段の出力をその色成分ごとに上記複数
の色信号に加算する加算手段(28〜30)と、 補正対象の色が指定されたときにその色を表す色補正番
号を上記記憶手段の対応するアドレスに書き込む手段
(10)とを備え、 この書き込む手段は、あらかじめ指定された複数の色を
中心とする色領域が上記3以上の色信号で重複する領域
について、順次補正幅を狭めながら色補正番号順に色補
正番号を繰り返し書き込む手段を含むことを特徴とする
色補正装置。
9. A color video signal including three or more color signals respectively representing three or more color components is input, and a signal representing a prespecified color included in the color video signal is different from the color. A color correction device for outputting a signal representing a color, which is provided for each combination of two color signals of the three or more color signals, is addressed by the combined color signal, and outputs its stored contents. The storage means (51-53) for performing the determination and the determination means (2) for determining whether or not the outputs of the storage means are the same for each of the combinations.
4) and a correction amount output means (2) for outputting a color correction amount for each of the plurality of color signals according to the output of the determination means.
5 to 27), addition means (28 to 30) for adding the output of the correction amount output means to the plurality of color signals for each color component, and representing the color when the color to be corrected is designated. A means (10) for writing a color correction number to a corresponding address of the storage means is provided, wherein the writing means is an area in which color areas centering on a plurality of colors designated in advance overlap with the three or more color signals. Regarding the above, the color correction apparatus further comprises means for repeatedly writing the color correction numbers in the order of the color correction numbers while narrowing the correction width sequentially.
JP5272443A 1993-10-29 1993-10-29 Color correcting device Pending JPH07131806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5272443A JPH07131806A (en) 1993-10-29 1993-10-29 Color correcting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5272443A JPH07131806A (en) 1993-10-29 1993-10-29 Color correcting device

Publications (1)

Publication Number Publication Date
JPH07131806A true JPH07131806A (en) 1995-05-19

Family

ID=17513990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5272443A Pending JPH07131806A (en) 1993-10-29 1993-10-29 Color correcting device

Country Status (1)

Country Link
JP (1) JPH07131806A (en)

Similar Documents

Publication Publication Date Title
US6933948B2 (en) Multi-tone representation of a digital image on a digital nonlinear editing system
US5313275A (en) Chroma processor including a look-up table or memory
US4965745A (en) YIQ based color cell texture
US6751347B2 (en) Color diamond chroma keying
US5254977A (en) Color display
US4975861A (en) Color conversion image processing system with modified intensity information calculation
US5424754A (en) Animated windows with multi-choice variants and analog controls
US6226010B1 (en) Color selection tool
JPH10178557A (en) Color image processing method
US20010014175A1 (en) Method for rapid color keying of color video images using individual color component look-up-tables
JPH0440719B2 (en)
JPH0473189B2 (en)
JP2002538738A (en) A method for selective color control of digital video images.
US7671871B2 (en) Graphical user interface for color correction using curves
EP0403081B1 (en) Colour display
JPH07131806A (en) Color correcting device
JPS62200471A (en) Color image information input device
JP2950003B2 (en) Image processing device
US6072499A (en) Disc controller with color look-up table
JP3080087B2 (en) Image processing method and apparatus
US20050212813A1 (en) Mechanism for color-space neutral (video) effects scripting engine
JPH0519734A (en) Image processor
JP3027620B2 (en) Color editing method using simple coded images
JP2002182631A (en) On-screen display circuit
JP2898569B2 (en) Video accelerator board for computer game development