JPH05336539A - Method and device for key signal generation - Google Patents

Method and device for key signal generation

Info

Publication number
JPH05336539A
JPH05336539A JP14406292A JP14406292A JPH05336539A JP H05336539 A JPH05336539 A JP H05336539A JP 14406292 A JP14406292 A JP 14406292A JP 14406292 A JP14406292 A JP 14406292A JP H05336539 A JPH05336539 A JP H05336539A
Authority
JP
Japan
Prior art keywords
signal
key
key signal
calculated
video 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
JP14406292A
Other languages
Japanese (ja)
Inventor
Masahiro Saeki
理宏 佐伯
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP14406292A priority Critical patent/JPH05336539A/en
Publication of JPH05336539A publication Critical patent/JPH05336539A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Studio Circuits (AREA)

Abstract

PURPOSE:To prevent a foreground and a background part from being misjudged even if an input image has unevenness, dirt, shade, etc. CONSTITUTION:Optimum upper-limit and lower-limit values of small areas obtained by dividing a video signal are calculated on the basis of maximum frequency levels of brightness signals and color difference signals by the small areas which are calculated by a maximum value calculating circuit 3, the frequencies of key-ON operation of the small areas which are calculated by a key-ON pixel quantity calculating circuit 5, and an upper-limit and a lower-limit value which are generated by an initial parameter generating circuit 6; and a 2nd color discriminating circuit 8 performs color discrimination processing by the small areas by using the optimum upper-limit and lower-limit values and the result is used as a key signal.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、テレビジョン信号スイ
ッチャ等の、映像信号の特定部分を抽出し、抽出結果を
キー信号として出力するキー信号生成方法および装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a key signal generation method and apparatus for extracting a specific portion of a video signal and outputting the extraction result as a key signal, such as a television signal switcher.

【0002】[0002]

【従来の技術】従来、映像信号の特定部分をキー信号と
して抽出し、このキー信号を用いて2つの映像信号を合
成して1つの映像信号をつくる処理をキー合成処理とい
い、基本的な映像信号合成処理として利用されている。
このなかでも、映像信号の特定色の部分をキー信号とし
て抽出し、このキー信号を用いて2つの映像信号を合成
して1つの映像信号をつくる処理をクロマキー合成処理
と呼び、広く利用されている。そして、映像信号の特定
部分をキー信号として抽出する処理をキー生成処理と呼
んでいる。
2. Description of the Related Art Conventionally, a process of extracting a specific part of a video signal as a key signal and using the key signal to combine two video signals to form one video signal is called a key combining process. It is used as video signal synthesis processing.
Among them, the process of extracting a specific color portion of a video signal as a key signal and using the key signal to combine two video signals to form one video signal is called a chroma key composition process and is widely used. There is. The process of extracting a specific portion of the video signal as a key signal is called a key generation process.

【0003】従来のクロマキー装置では、入力画像全体
で、一定のパラメータを用いてキー信号生成を行ってい
る。このような、画像全体で一定のパラメータによるキ
ー信号生成方法については、例えばテレビジョン学会技
術報告 Vol.12、No.23、第25頁〜第28頁に記載
されている。
In the conventional chroma key device, a key signal is generated in the entire input image using a constant parameter. Such a key signal generation method using a constant parameter for the entire image is described in, for example, the Technical Report of the Television Society of Japan, Vol. 12, No. 23, pp. 25-28.

【0004】図5は従来のクロマキー信号生成装置の構
成を示している。図5において、901は輝度信号入力
端子、902は色差信号R−Y入力端子、903は色差
信号B−Y入力端子、904、905および906は上
下限値設定回路、907、908および909はウイン
ド・コンパレータ、910はAND回路、そして911
はキー信号出力端子である。
FIG. 5 shows the configuration of a conventional chroma key signal generator. In FIG. 5, 901 is a luminance signal input terminal, 902 is a color difference signal RY input terminal, 903 is a color difference signal BY input terminal, 904, 905 and 906 are upper and lower limit value setting circuits, and 907, 908 and 909 are windows. -Comparator, 910 is an AND circuit, and 911
Is a key signal output terminal.

【0005】次に上記従来例の動作について説明する。
図5において、輝度信号入力端子901、色差信号R−
Y入力端子902および色差信号B−Y入力端子903
には、それぞれ入力映像信号中の輝度信号(Y)、色差
信号(R−Y)および色差信号(B−Y)が入力され
る。上下限値設定回路904では、輝度信号(Y)に対
する背景色の上限値と下限値を設定し、出力する。ウイ
ンド・コンパレータ907では、上下限値設定回路90
4から入力される上限値と下限値との範囲内の輝度信号
に対してはキーオン、それ以外の輝度信号に対してはキ
ーオフを出力する。このようにウインド・コンパレータ
907からは輝度信号に関するキー信号が出力される。
同様に、ウインド・コンパレータ908からは色差信号
(R−Y)に関するキー信号、ウインド・コンパレータ
909からは色差信号(B−Y)に関するキー信号がそ
れぞれ出力される。これら3種類のキー信号はAND回
路910によって合成され、出力端子911から出力さ
れる。
Next, the operation of the above conventional example will be described.
In FIG. 5, a luminance signal input terminal 901 and a color difference signal R-
Y input terminal 902 and color difference signal BY input terminal 903
A luminance signal (Y), a color difference signal (RY), and a color difference signal (BY) in the input video signal are input to each. The upper / lower limit value setting circuit 904 sets and outputs the upper limit value and the lower limit value of the background color for the luminance signal (Y). In the window comparator 907, the upper / lower limit value setting circuit 90
Key-on is output for luminance signals within the range between the upper limit value and the lower limit value input from 4, and key-off is output for other luminance signals. In this way, the window comparator 907 outputs the key signal relating to the luminance signal.
Similarly, the window comparator 908 outputs a key signal relating to the color difference signal (RY), and the window comparator 909 outputs a key signal relating to the color difference signal (BY). These three types of key signals are combined by the AND circuit 910 and output from the output terminal 911.

【0006】図6は上記従来例におけるキー生成の様子
を波形図で示したものである。ここでは、入力映像信号
の1ライン分の波形を示し、図6(a)は輝度信号
(Y)、図6(b)は色差信号(R−Y)、図6(c)
は色差信号(B−Y)を示す。これらキー信号が生成さ
れ、これらの共通部分(図6(d)におけるSで示す部
分)として出力される。
FIG. 6 is a waveform diagram showing how keys are generated in the conventional example. Here, a waveform of one line of the input video signal is shown. FIG. 6A shows a luminance signal (Y), FIG. 6B shows a color difference signal (RY), and FIG. 6C.
Indicates a color difference signal (BY). These key signals are generated and output as the common part (the part indicated by S in FIG. 6D).

【0007】このように、上記従来のキー生成装置で
は、上記のような色識別回路により、入力映像信号の特
定領域(特定色)をキー信号として生成することができ
る。
As described above, in the above-described conventional key generation device, the color identification circuit as described above can generate the specific region (specific color) of the input video signal as the key signal.

【0008】[0008]

【発明が解決しようとする課題】しかしながら上記従来
のキー信号生成装置では、入力映像全体で同一の上限
値、下限値を用いてキー信号生成を行っているので、入
力映像の背景部分にムラや汚れがあったり、被写体の影
で暗い部分がある場合に、背景部分を完全にキー信号オ
ンとして生成するために、本来前景である部分の一部が
背景に誤認識されてキー信号が生成されてしまったり、
逆に前景部分を完全にキー信号オフにするために、本来
背景信号である部分の一部が前景に誤認識されて、キー
信号が生成されてしまう。
However, in the above-described conventional key signal generation device, since the key signal is generated using the same upper limit value and the same lower limit value for the entire input image, unevenness may occur in the background portion of the input image. When there is dirt or there is a dark part due to the shadow of the subject, in order to generate the background part completely as the key signal ON, part of the originally foreground part is erroneously recognized as the background and the key signal is generated. Or
On the contrary, in order to completely turn off the key signal in the foreground part, a part of the originally background signal is erroneously recognized as the foreground and a key signal is generated.

【0009】ここでいう誤認識について、図7〜図10
を参照しながら説明する。図7は入力映像信号の一例で
ある。図7において点線で表される四角形は、説明のた
めに入力映像を便宜的に分割するものであり、実際の入
力映像に含まれる信号ではない。ここでは、キー信号の
生成に色差信号のみを用いるものとする。図8は図7中
の小領域A(前景および背景を含む領域)における色差
信号レベルの分布図(ヒストグラム)である。図3にお
いて、部分D、Fは顔や髪の毛のような前景部分の色差
信号レベルを表している。また、部分Eは背景部分を表
している。
Regarding the erroneous recognition mentioned here, FIGS.
Will be described with reference to. FIG. 7 shows an example of the input video signal. In FIG. 7, a quadrangle represented by a dotted line is used to divide an input image for convenience of description and is not a signal included in an actual input image. Here, it is assumed that only the color difference signal is used to generate the key signal. FIG. 8 is a distribution diagram (histogram) of color difference signal levels in the small area A (area including the foreground and background) in FIG. In FIG. 3, portions D and F represent the color difference signal levels of the foreground portion such as face and hair. The portion E represents the background portion.

【0010】図9、図10はそれぞれは図2中の小領域
B、C(背景のみの領域)における色差信号レベルの分
布図(ヒストグラム)である。小領域B、Cはともに背
景部分であるが、両領域の分布が大きく異なるのは、入
力映像の背景部分に照明ムラがあるためである。ここで
は、図7に示す小領域Aに合わせて、色差信号の上下限
値設定を行うものとする。このとき設定される上下限値
を図8、図9、および図10に点線で示してある。つま
り、この点線の間の色差をもつ画素が背景部分と認識さ
れ、キーオンとなる。このとき、小領域Aでは、図8に
示すように背景部分のみが完全にキーオンとなり、誤認
識はない。ところが、小領域B、Cにおいては、図9、
図10の部分G、Jに示すように、本来背景である部分
が背景とは認識されず、キーオフとなる。
9 and 10 are distribution diagrams (histograms) of the color difference signal levels in the small regions B and C (regions only of the background) in FIG. The small areas B and C are both background portions, but the reason why the distributions of the two areas differ greatly is that there is illumination unevenness in the background portion of the input image. Here, it is assumed that the upper and lower limit values of the color difference signals are set in accordance with the small area A shown in FIG. The upper and lower limit values set at this time are shown by dotted lines in FIGS. 8, 9 and 10. That is, the pixel having the color difference between the dotted lines is recognized as the background portion and the key is turned on. At this time, in the small area A, only the background portion is completely key-on as shown in FIG. 8, and there is no erroneous recognition. However, in the small areas B and C, as shown in FIG.
As shown in parts G and J of FIG. 10, the part that is originally the background is not recognized as the background, and the key is turned off.

【0011】本発明はこのような従来の問題を解決する
ものであり、背景部分にムラや汚れや影等がある映像信
号についても良好にキー信号を生成することができる優
れたキー信号生成装置を提供することを目的とするもの
である。
The present invention solves such a conventional problem, and is an excellent key signal generation device capable of satisfactorily generating a key signal even for a video signal having background unevenness, stains, shadows and the like. It is intended to provide.

【0012】[0012]

【課題を解決するための手段】本発明は上記目的を達成
するために、入力された映像信号を小領域に分割してこ
の小領域の信号レベル分布を算出し、上記信号レベル分
布を用いて上記小領域のキー信号のための最適パラメー
タを算出し、上記最適パラメータを用いて上記小領域の
キー信号を生成するようにしたものである。
In order to achieve the above object, the present invention divides an input video signal into small areas, calculates a signal level distribution of the small areas, and uses the signal level distribution. The optimum parameter for the key signal of the small area is calculated, and the key signal of the small area is generated using the optimum parameter.

【0013】[0013]

【作用】本発明は上記構成によれば、映像信号を分割し
た小領域毎に最適なパラメータを算出してキー信号を生
成することで、入力映像中の背景部分にムラ、汚れ、影
等があっても良好なキー信号が生成できる。
According to the present invention, the key signal is generated by calculating the optimum parameter for each small area obtained by dividing the video signal, so that the background portion of the input video is free from unevenness, stains, shadows and the like. Even if there is, a good key signal can be generated.

【0014】[0014]

【実施例】以下、本発明の一実施例について図面を参照
しながら説明する。図1は本発明に係るキー信号生成装
置の一実施例の構成を示す図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the configuration of an embodiment of a key signal generation device according to the present invention.

【0015】図1において、1は映像信号入力端子、2
はレベル分布算出回路、3は最大値算出回路、4は第1
の色識別回路、5はキーオン画素数算出回路、6は初期
パラメータ生成回路、7は最適パラメータ算出回路、8
は第2の色識別回路、9はキー信号出力端子である。
In FIG. 1, 1 is a video signal input terminal, 2
Is a level distribution calculation circuit, 3 is a maximum value calculation circuit, 4 is a first
Color identification circuit, 5 is a key-on pixel number calculation circuit, 6 is an initial parameter generation circuit, 7 is an optimum parameter calculation circuit, 8
Is a second color identification circuit, and 9 is a key signal output terminal.

【0016】次に上記実施例の動作について図2〜図
4、および図7〜図10とともに説明する。本実施例で
は、図7の点線で分割される四角形を小領域と定義す
る。
Next, the operation of the above embodiment will be described with reference to FIGS. 2 to 4 and 7 to 10. In this embodiment, a quadrangle divided by a dotted line in FIG. 7 is defined as a small area.

【0017】まず、レベル分布算出回路2の動作につい
て説明する。レベル分布算出回路2では、映像入力端子
1から入力されるカラー映像信号について、図7に示す
小領域単位で輝度信号および色差信号のヒストグラム分
布が算出される。小領域A、B、Cそれぞれの色差信号
の分布算出結果の例が図8、図9、および図10に示
す。
First, the operation of the level distribution calculation circuit 2 will be described. The level distribution calculation circuit 2 calculates the histogram distribution of the luminance signal and the color difference signal for each small area shown in FIG. 7 for the color video signal input from the video input terminal 1. Examples of distribution calculation results of the color difference signals of the small areas A, B, and C are shown in FIGS. 8, 9, and 10.

【0018】つづいて、最大値算出回路3では、レベル
分布算出回路2で算出された輝度信号および色差信号の
ヒストグラムから、度数が最大となる信号レベルを算出
する。図8、図9、および図10に示す例での算出結果
は、それぞれ、RefHA、RefHB、およびRefH
Cである。ここで、RefHA、RefHB、およびRe
fHCの値がそれぞれ異なるのは、入力映像信号の背景
部分にムラがあるためである。
Subsequently, the maximum value calculating circuit 3 calculates the signal level having the maximum frequency from the histograms of the luminance signal and the color difference signals calculated by the level distribution calculating circuit 2. The calculation results in the examples shown in FIGS. 8, 9, and 10 are RefH A , RefH B , and RefH, respectively.
It is C. Where RefH A , RefH B , and Re
The values of fH C differ from each other because the background portion of the input video signal has unevenness.

【0019】次に、初期パラメータ生成回路6における
初期パラメータ設定について説明する。この初期パラメ
ータ生成回路6で設定するパラメータは、従来の上下限
値設定回路で設定される輝度信号、および色差信号に対
する上限値、下限値である。ここでの設定は、従来例と
同様に、図7中の小領域Aに着目して行う。つまり、初
期パラメータ生成回路6で生成される上限値および下限
値は、図8中の点線で示す部分となる。これと同一の上
下限値を図9、図10に点線で示す。
Next, the initial parameter setting in the initial parameter generating circuit 6 will be described. The parameters set by the initial parameter generation circuit 6 are the upper limit value and the lower limit value for the luminance signal and the color difference signal set by the conventional upper and lower limit value setting circuit. The setting here is performed by focusing on the small area A in FIG. 7 as in the conventional example. That is, the upper limit value and the lower limit value generated by the initial parameter generation circuit 6 are shown by the dotted lines in FIG. The same upper and lower limit values are shown by dotted lines in FIGS. 9 and 10.

【0020】第1の色識別回路4では、初期パラメータ
生成回路6で生成された輝度信号、および色差信号の上
限値および下限値を用いて、映像入力端子1から入力さ
れる映像信号に色識別処理を施し、キー信号を生成す
る。ここでの色識別処理は従来例と同様である。
The first color identification circuit 4 uses the luminance signal generated by the initial parameter generation circuit 6 and the upper limit value and the lower limit value of the color difference signal to discriminate the color of the video signal input from the video input terminal 1. Processing is performed to generate a key signal. The color identification processing here is the same as the conventional example.

【0021】キーオン画素算出回路5では、第1の色識
別回路4でキーオンとなった画素の数を小領域ごとに算
出する。
The key-on pixel calculation circuit 5 calculates the number of pixels key-on in the first color identification circuit 4 for each small area.

【0022】最適パラメータ算出回路7では、最大値算
出回路3で算出された小領域の輝度信号、色差信号の最
大度数レベル、キーオン画素数算出回路5で算出された
小領域のキーオン画素の数、および初期パラメータ生成
回路6で生成された上下限値から小領域の最適上下限値
を算出する。ここでは、最適パラメータ算出回路7の動
作について色差信号を例にとり説明する。小領域での輝
度最大度数レベルをRef、キーオン画素数をNKON
初期パラメータ上限値をLU、下限値をLL、最適パラメ
ータ上限値をLADVU、最適下限値レベルをLADVLとす
る。このとき、最適パラメータLADVU、LADVLは以下の
ようにして決定される。
In the optimum parameter calculating circuit 7, the luminance signal of the small area calculated by the maximum value calculating circuit 3, the maximum frequency level of the color difference signal, the number of key-on pixels of the small area calculated by the key-on pixel number calculating circuit 5, Then, the optimum upper and lower limits of the small area are calculated from the upper and lower limits generated by the initial parameter generation circuit 6. Here, the operation of the optimum parameter calculation circuit 7 will be described by taking a color difference signal as an example. Ref is the maximum luminance frequency level in the small area, N KON is the number of key-on pixels,
The initial parameter upper limit value is L U , the lower limit value is L L , the optimum parameter upper limit value is L ADVU , and the optimum lower limit value level is L ADVL . At this time, the optimum parameters L ADVU and L ADVL are determined as follows.

【0023】RefINT=(LU−LL)/2 条件1:|Ref−RefINT|<THRef 条件2:NKON>THKey ここで、THRef、THKeyは適当なしきい値である。Ref INT = (L U -L L ) / 2 Condition 1: | Ref-Ref INT | <TH Ref Condition 2: N KON > TH Key where TH Ref and TH Key are appropriate threshold values. ..

【0024】もし、上記条件1、および条件2がともに
成立したときは、 LADVU=LU+(Ref−RefINT) LADVL=LL+(Ref−RefINT) となり、それ以外の場合は、 LADVU=LUADVL=LL となる。以上の最適パラメータ算出処理を小領域A、小
領域B、および小領域Cで算出した結果をそれぞれ図
2、図3、および図4に示す。図2、図3、および図4
を見ると、図9、図10の部分G、Jに相当する誤認識
部分がないことがわかる。以上の最適パラメータ算出処
理は、輝度信号についても同様に行われる。
If the above conditions 1 and 2 are both satisfied, L ADVU = L U + (Ref-Ref INT ) L ADVL = L L + (Ref-Ref INT ), and otherwise. , L ADVU = L U L ADVL = L L. The results of the above-described optimum parameter calculation processing performed on the small area A, the small area B, and the small area C are shown in FIGS. 2, 3, and 4, respectively. 2, 3, and 4
It is understood that there is no erroneous recognition portion corresponding to the portions G and J in FIGS. 9 and 10. The above-described optimum parameter calculation process is similarly performed for the luminance signal.

【0025】最後に、第2の色識別回路8では最適パラ
メータ算出回路7で算出された最適上限値、最適下限値
を用いて、小領域ごとに上下限値を最適化した色識別処
理が行われる。そして、識別結果はキー信号としてキー
信号出力端子9から出力される。
Finally, the second color identification circuit 8 performs the color identification processing in which the upper and lower limits are optimized for each small area by using the optimal upper limit value and the optimal lower limit value calculated by the optimal parameter calculation circuit 7. Be seen. Then, the identification result is output from the key signal output terminal 9 as a key signal.

【0026】このように上記実施例では、小領域での最
大度数レベルと、キーオン画素と初期パラメータとから
最適パラメータを算出し、小領域ごとにパラメータを変
えて色識別処理を行うことにより、誤認識のないキー生
成を行うことができる。
As described above, in the above embodiment, the optimum parameter is calculated from the maximum frequency level in the small area, the key-on pixel and the initial parameter, and the color identification processing is performed by changing the parameter for each small area. It is possible to generate keys without recognition.

【0027】なお、上記実施例では、最適パラメータを
算出するために、レベル分布算出回路2と最大値算出回
路3とを用いているが、平均値算出回路によって小領域
の平均値を求め、これをレベル最大値にかえてもよい。
In the above embodiment, the level distribution calculation circuit 2 and the maximum value calculation circuit 3 are used to calculate the optimum parameter. However, the average value calculation circuit calculates the average value of the small area, and May be changed to the maximum level value.

【0028】また、上記実施例では、小領域全体の画素
についてのレベル分布を算出しているが、第1の色識別
回路4でキーオンとなった画素についてのみ算出対象に
してもよい。
Further, in the above embodiment, the level distribution is calculated for the pixels of the entire small area, but only the pixels which are key-on in the first color identification circuit 4 may be calculated.

【0029】また、上記実施例の最適パラメータ算出回
路7では、上記条件1、条件2のいずれかが不成立の場
合には、初期パラメータ生成回路6で生成される上限
値、下限値を最適パラメータとしているが、近傍領域の
最適パラメータの加重平均値を最適パラメータとしても
よい。
Further, in the optimum parameter calculation circuit 7 of the above embodiment, when either of the above conditions 1 and 2 is not satisfied, the upper limit value and the lower limit value generated by the initial parameter generation circuit 6 are set as the optimum parameters. However, the weighted average value of the optimum parameters in the neighborhood area may be used as the optimum parameter.

【0030】また、上記実施例では、入力映像信号とし
て輝度信号と色差信号を用いているが、これはRGB信
号など他の映像信号であってもよい。
In the above embodiment, the luminance signal and the color difference signal are used as the input video signal, but this may be another video signal such as an RGB signal.

【0031】[0031]

【発明の効果】本発明は上記実施例からも明らかなよう
に、入力された映像信号を小領域に分割してこの小領域
の信号レベル分布を算出し、上記信号レベル分布を用い
て上記小領域のキー信号のための最適パラメータを算出
し、上記最適パラメータを用いて上記小領域のキー信号
を生成することにより、入力映像中の背景部分にムラ、
汚れ、影等があっても、前景、背景部分の誤判定を防止
して適切なキー信号を生成することができる。
As is apparent from the above embodiment, the present invention divides the input video signal into small areas, calculates the signal level distribution of the small areas, and uses the signal level distribution to calculate the small area. By calculating the optimum parameter for the key signal of the area and generating the key signal of the small area using the optimum parameter, unevenness in the background portion in the input image,
Even if there are stains, shadows, etc., it is possible to prevent erroneous determination of the foreground and background portions and generate an appropriate key signal.

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

【図1】本発明の実施例におけるキー信号生成装置のブ
ロック図
FIG. 1 is a block diagram of a key signal generator according to an embodiment of the present invention.

【図2】図7における小領域Aと本実施例における上下
限値を示す説明図
FIG. 2 is an explanatory diagram showing a small area A in FIG. 7 and upper and lower limit values in this embodiment.

【図3】図7における小領域Bと本実施例における上下
限値を示す説明図
FIG. 3 is an explanatory diagram showing a small area B in FIG. 7 and upper and lower limit values in this embodiment.

【図4】図7における小領域Cと本実施例における上下
限値を示す説明図
FIG. 4 is an explanatory diagram showing a small area C in FIG. 7 and upper and lower limit values in this embodiment.

【図5】従来のキー信号生成装置のブロック図FIG. 5 is a block diagram of a conventional key signal generation device.

【図6】従来のキー信号生成装置におけるキー生成過程
の説明図
FIG. 6 is an explanatory diagram of a key generation process in a conventional key signal generation device.

【図7】入力映像信号と小領域の一例を示す説明図FIG. 7 is an explanatory diagram showing an example of an input video signal and a small area.

【図8】図2における小領域Aのヒストグラムと従来例
における上下限値を示す説明図
8 is an explanatory diagram showing a histogram of a small area A in FIG. 2 and upper and lower limit values in a conventional example.

【図9】図2における小領域Bのヒストグラムと従来例
における上下限値を示す説明図
9 is an explanatory diagram showing a histogram of a small area B in FIG. 2 and upper and lower limit values in a conventional example.

【図10】図2における小領域Cのヒストグラムと従来
例における上下限値を示す説明図
10 is an explanatory diagram showing a histogram of a small area C in FIG. 2 and upper and lower limit values in a conventional example.

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

2 レベル分布算出回路 3 最大値算出回路 4 第1の色識別回路 5 キーオン画素数算出回路 6 初期パラメータ生成回路 7 最適パラメータ算出回路 8 第2の色識別回路 2 Level distribution calculation circuit 3 Maximum value calculation circuit 4 First color discrimination circuit 5 Key-on pixel number calculation circuit 6 Initial parameter generation circuit 7 Optimal parameter calculation circuit 8 Second color discrimination circuit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 入力された映像信号を小領域に分割して
この小領域の信号レベル分布を算出し、上記信号レベル
分布を用いて上記小領域のキー信号のための最適パラメ
ータを算出し、上記最適パラメータを用いて上記小領域
のキー信号を生成するキー信号生成方法。
1. An input video signal is divided into small regions, a signal level distribution of the small regions is calculated, and an optimal parameter for a key signal of the small regions is calculated using the signal level distribution, A key signal generation method for generating a key signal in the small area using the optimum parameter.
【請求項2】 小領域の信号レベル分布を用いて上記小
領域の最大度数を与える信号レベルを算出し、この信号
レベルを用いて最適パラメータを算出する請求項1記載
のキー信号生成方法。
2. The key signal generating method according to claim 1, wherein a signal level that gives the maximum frequency of the small region is calculated using a signal level distribution of the small region, and the optimum parameter is calculated using this signal level.
【請求項3】 映像信号から特定色部分のキー信号を算
出し、このキー信号が小領域においてオンまたはオフと
なる画素数を算出し、上記小領域の最大度数を与える信
号レベルと上記画素数を用いて最適パラメータを算出す
る請求項2記載のキー信号生成方法。
3. A key signal of a specific color portion is calculated from a video signal, the number of pixels in which the key signal is turned on or off in a small area is calculated, and a signal level and a pixel number which give the maximum frequency of the small area 3. The key signal generating method according to claim 2, wherein the optimum parameter is calculated by using.
【請求項4】 入力された映像信号から特定色部分のキ
ー信号を算出し、上記映像信号を分割した小領域の中の
上記キー信号がオンまたはオフとなる部分の平均信号レ
ベルを算出し、この平均信号レベルを用いて上記小領域
の最適パラメータを算出し、この最適パラメータを用い
て上記小領域のキー信号を生成するキー信号生成方法。
4. A key signal of a specific color portion is calculated from an input video signal, and an average signal level of a portion in which the key signal is turned on or off in a small area obtained by dividing the video signal is calculated, A key signal generation method for calculating an optimum parameter of the small area using the average signal level and generating a key signal of the small area using the optimum parameter.
【請求項5】 映像信号の部分領域毎の信号レベル分布
を算出する手段と、キー信号生成のために上記部分領域
毎の最適パラメータを算出する手段と、上記映像信号の
部分領域毎のキー信号を生成する手段とを備えたキー信
号生成装置。
5. A means for calculating a signal level distribution for each partial area of a video signal, a means for calculating an optimum parameter for each partial area for generating a key signal, and a key signal for each partial area of the video signal. And a key signal generating device.
【請求項6】 映像信号の部分領域の最大度数を与える
信号レベルを算出する手段を備えた請求項5記載のキー
信号生成装置。
6. The key signal generation device according to claim 5, further comprising means for calculating a signal level which gives the maximum frequency of the partial area of the video signal.
【請求項7】 映像信号から特定色部分のキー信号を算
出する識別手段と、上記映像信号の部分領域においてキ
ー信号がオンまたはオフとなる画素数を算出する手段と
を備えた請求項6記載のキー信号生成装置。
7. An identification means for calculating a key signal of a specific color portion from a video signal, and a means for calculating the number of pixels at which the key signal is turned on or off in the partial area of the video signal. Key signal generator.
【請求項8】 映像信号から特定色部分のキー信号を算
出する第1の識別手段と、上記映像信号の部分領域にお
いて上記キー信号がオンまたはオフとなる画素の平均信
号レベルを算出する回路と、キー信号生成のために上記
映像信号の部分領域毎の最適パラメータを算出する手段
と、上記映像信号の部分領域毎のキー信号を生成する第
2の識別手段を備えたキー信号生成装置。
8. A first identifying means for calculating a key signal of a specific color portion from a video signal, and a circuit for calculating an average signal level of pixels in which the key signal is turned on or off in a partial area of the video signal. A key signal generating device comprising means for calculating an optimum parameter for each partial area of the video signal for generating a key signal, and second identifying means for generating a key signal for each partial area of the video signal.
JP14406292A 1992-06-04 1992-06-04 Method and device for key signal generation Pending JPH05336539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14406292A JPH05336539A (en) 1992-06-04 1992-06-04 Method and device for key signal generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14406292A JPH05336539A (en) 1992-06-04 1992-06-04 Method and device for key signal generation

Publications (1)

Publication Number Publication Date
JPH05336539A true JPH05336539A (en) 1993-12-17

Family

ID=15353424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14406292A Pending JPH05336539A (en) 1992-06-04 1992-06-04 Method and device for key signal generation

Country Status (1)

Country Link
JP (1) JPH05336539A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100661528B1 (en) * 2006-02-27 2006-12-27 주식회사 업앤온 Adjustive chroma key composition apparatus and method
JP5231260B2 (en) * 2008-08-11 2013-07-10 株式会社エム・ソフト Background image generation method and background image generation system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100661528B1 (en) * 2006-02-27 2006-12-27 주식회사 업앤온 Adjustive chroma key composition apparatus and method
WO2007097517A1 (en) * 2006-02-27 2007-08-30 Upnon Co., Ltd. Adjustive chroma key composition apparatus and method
JP5231260B2 (en) * 2008-08-11 2013-07-10 株式会社エム・ソフト Background image generation method and background image generation system
US8611647B2 (en) 2008-08-11 2013-12-17 M. Soft Co., Ltd. Method for generating background image and system for generating background image

Similar Documents

Publication Publication Date Title
KR100375256B1 (en) High luminance color suppression circuit and its method
JPH053789B2 (en)
JP2002159015A (en) Horizontal profile signal generating circuit for single- plate type color camera
JPH05336539A (en) Method and device for key signal generation
US4209801A (en) System for increasing the sharpness in a television picture
KR100398979B1 (en) Apparatus and method for processing video signals
JP3014102B2 (en) Contour correction circuit
JPH0723284A (en) Automatic image quality adjusting device
JP3743055B2 (en) Image contour enhancement method and apparatus
US5247360A (en) Contour-emphasizing apparatus in television camera
JP3144257B2 (en) Screen size adjustment device
JPH05244629A (en) Method and device for generating key signal
US6867817B2 (en) Natural luminance transient enhancement
JP3018628B2 (en) Image reading device
JPH0410794A (en) Picture quality correcting circuit
JPH03120962A (en) Video signal processing circuit for solid-state image pickup device
JPH08202319A (en) Video signal level detecting device
JPH09284648A (en) Method and device for detecting superimpose area
JPH06217168A (en) Outline emphasizing circuit
JPH09238365A (en) Chromakey device
JP2000059651A (en) Contour emphasis circuit
JPH11355613A (en) Video signal processor
JPH05303639A (en) Edge extraction circuit from digital video signal
JPH0818884A (en) Image size adjustment device and method for detecting aspect ratio
JPS60153671A (en) Binary coding system