JPS59172894A - Chromakey device - Google Patents

Chromakey device

Info

Publication number
JPS59172894A
JPS59172894A JP4679783A JP4679783A JPS59172894A JP S59172894 A JPS59172894 A JP S59172894A JP 4679783 A JP4679783 A JP 4679783A JP 4679783 A JP4679783 A JP 4679783A JP S59172894 A JPS59172894 A JP S59172894A
Authority
JP
Japan
Prior art keywords
key signal
key
signal
output
circuit
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.)
Granted
Application number
JP4679783A
Other languages
Japanese (ja)
Other versions
JPH0462239B2 (en
Inventor
Yoshikazu Yamamoto
嘉一 山本
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP4679783A priority Critical patent/JPS59172894A/en
Publication of JPS59172894A publication Critical patent/JPS59172894A/en
Publication of JPH0462239B2 publication Critical patent/JPH0462239B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/74Circuits for processing colour signals for obtaining special effects
    • H04N9/75Chroma key

Abstract

PURPOSE:To prevent a synthesized picture from being rough and coarse by correcting a key signal having a smooth intermediate region other than an edge of a solid-state element among key signals. CONSTITUTION:When the key signal Ko from a key signal forming circuit is applied to a stretch and clip circuit 30, a key signal Ki having an edge 25 and an intermediate level is formed. This key signal Ki is applied to the 1st and the 2nd detecting circuits 31, 32 and a digital low pass filter 33. A detecting signal of high level is generated at the intermediate region to the output of an AND gate 38 of the detecting circuit 31. An output detecting that the gradient is smaller than a reference value is generated from an FF47 of the detecting circuit 32. The detecting output of the detecting circuits 31, 32 is applied to an AND gate, and a generated output X goes to a high level when the key signal Ki is an intermediate value and the gradient in the change is slow so as to eliminate substantially the high frequency component of the key signal.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、色相の違いを利用して前景画像中の被写体
を背景画像にはめ込むクロマキー装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a chromakey device that uses differences in hue to fit a subject in a foreground image into a background image.

[背景技術とその問題点」 所定の色例えば青のスクリーンの前に被写体が位置する
前景カラービデオ信号と、背景となる画像の背景カラー
ビデオ信号とが供給され、前景カラービデオ信号から被
写体の輪郭と対応するキー信号を生成し、このキー信号
によって背景の前に被写体が位置する合成画像を形成す
るクロマキー装置が知られている。
[Background Art and Problems Therewith] A foreground color video signal in which a subject is positioned in front of a screen of a predetermined color, for example, blue, and a background color video signal of a background image are supplied, and the outline of the subject is determined from the foreground color video signal. There is a known chromakey device that generates a key signal corresponding to the background, and uses this key signal to form a composite image in which a subject is positioned in front of a background.

一般に、ディジタルクロマキー装置では、画像がコンポ
ーネント信号(輝度信号Y2色差信号UV)で与えられ
る時、バンクカラーと対応する参照点(Uo + Vo
 )を(U−V)色座標系で設定し、この参照点をもと
にスイッチング用のキー信号が形成される。キー信号は
、ストレッチ並びに2つのレベル(ヒーククリップレベ
ルPL及ヒペースクリソプレベルBL )でクリップさ
れる処理をされたうえでスイッチング信号として使用さ
れる。
Generally, in a digital chromakey device, when an image is given as component signals (luminance signal Y2 color difference signal UV), a reference point (Uo + Vo
) is set in the (U-V) color coordinate system, and a key signal for switching is formed based on this reference point. The key signal is used as a switching signal after being stretched and clipped at two levels (heak clip level PL and hip clip level BL).

かかるディジタルクロマキー装置において、キー信号が
上述の2つのレベルの間の略々中間の値を持つ場合に、
キー信号の粗さに基づくデラツキが合成画像に現れるこ
とがある。キー信号が中間値を持つ代表的な例としては
、フォーカスが合っていないときの被写体の輪郭、透明
物体、煙などを挙げることができる。また、前景画像を
撮影する時の照明が良くない場合には、キー信号のゲイ
ンが低い。したがって、ストレッチされたキー信号は、
量子化に伴なう増大効果も手伝って、バッググランドノ
イズの非常に目障シなずラツキとなる。
In such a digital chroma key device, when the key signal has a value approximately intermediate between the above two levels,
Depth due to the roughness of the key signal may appear in the composite image. Typical examples where the key signal has an intermediate value include the outline of an out-of-focus subject, a transparent object, and smoke. Furthermore, if the illumination when photographing the foreground image is poor, the gain of the key signal is low. Therefore, the stretched key signal is
The increased effect of quantization also makes the background noise much less obtrusive.

このノイズを除去するだめに、キー信号の信号路にロー
パスフィルタを挿入することが考えられる。しかし、ロ
ーパスフィルタによって、被写体の輪郭に対応するキー
信号のエツジがなまってし壕5゜従来の装置では、背景
画像と被写体とのつながりをなめらかにするローパスフ
ィルタが設けられているが、そのカットオフ周波数は、
比較的高く(例えば3■Jz)、中間領域の粗さを修正
することができない。
In order to remove this noise, it is conceivable to insert a low-pass filter into the signal path of the key signal. However, due to the low-pass filter, the edges of the key signal corresponding to the outline of the subject are blunted. The off frequency is
It is relatively high (for example 3 Jz) and cannot correct the roughness in the intermediate region.

[発明の目的] この発明は、キー信号の中間領域の粗さを除去し、合成
画像のずラノキをなくシ、合成画像を自然な感じとする
ようにしたクロマキー装置の提供を目的とするものであ
る。
[Object of the Invention] The object of the present invention is to provide a chromakey device that removes roughness in the intermediate region of a key signal, eliminates unevenness in a composite image, and makes the composite image look natural. It is.

「発明の概要」 この発明は、キー信号のレベルが中間領域にあることを
検出する第1の検出回路と、キー信号のレベル変化の傾
きがゆるやかなことを検出する第2の検出回路と、第1
の検出回路及び第2の検出回路の検出出力によシ、キー
信号の高域成分を実質的に除去する回路とを備えだもの
である。
"Summary of the Invention" The present invention includes: a first detection circuit that detects that the level of a key signal is in an intermediate region; a second detection circuit that detects that the slope of the level change of the key signal is gentle; 1st
The key signal includes a detection circuit and a circuit for substantially removing high-frequency components of the key signal based on the detection output of the second detection circuit.

「実施例」 以下、この発明をY、U、V信号系のディジタルビデオ
信号を対象とするディジタルクロマキー装置に適用した
一実施例について説明する。
``Embodiment'' An embodiment in which the present invention is applied to a digital chromakey device that targets digital video signals of Y, U, and V signal systems will be described below.

ディジタルクロマキー装置の全体の構成を示す第1図に
おいて、1は、前景カラービデオデータFG、VID 
 と背景カラービデオデータBG 、 V I D  
とが夫々のタイミング基準信号TR3と共に供給される
インターフェースである。このカラービデオデータは、
カラーテレビジョンカメラの出力(R,G。
In FIG. 1 showing the overall configuration of the digital chromakey device, 1 indicates foreground color video data FG, VID.
and background color video data BG, VID
are the interfaces provided with the respective timing reference signals TR3. This color video data is
Color television camera output (R, G.

B)をマトリックス演算することで形成された輝度信号
Y2色差信号U、Vを例えば(14ニアニア)の比のサ
ンプリング周波数でサンプリングしてなる各成分からな
るものである。インターフェース1は、各々のタイミン
グ基準信号TR3からデコードされたタイミング信号(
水平同期信号、垂直同期信号等)をみて、2つのカラー
ビデオデータFG、VID 及びBG、VID の位相
を適切なものとし、後段に出力する。
It is made up of components obtained by sampling the luminance signal Y, the color difference signals U and V, which are formed by matrix calculation of B), at a sampling frequency of, for example, a ratio of (14 near-near). The interface 1 receives timing signals (
(horizontal synchronization signal, vertical synchronization signal, etc.), the phases of the two color video data FG, VID and BG, VID are set to be appropriate, and the phases are output to the subsequent stage.

2は、バックカラーデータ形成回路である。前景カラー
ビデオデータFG、VID  からバックカラーデータ
が形成され、このバックカラーデータがカラーキャンセ
ラー5に供給される。また、前景カラービデオデータF
G。VID  がキー信号形゛成−回路3に供給される
2 is a back color data forming circuit. Back color data is formed from the foreground color video data FG and VID, and this back color data is supplied to the color canceller 5. Also, foreground color video data F
G. VID is supplied to a key signal forming circuit 3.

キー信号形成回路3は、バンクカラーと対応する参照点
(Uo、 Vo)と前景カラービデオデータFG、VI
D  との対応する1ザンプル毎に比較演算し、所定レ
ベルのキー信号を発生するものである。このように発生
したキー信号そのものは、外乱を多く含んでいて、その
ままでは使用できないので、キープロセッサ4において
、クリップ、このクリップ出力のエツジタイミングの調
整、ゲインの調整等の波形整形処理が施され、キープロ
セッサ4からキー信号KEYが得られる。このキープロ
セッサ4において、後述するように、キー信号の中間領
域の補正が行なわれる。。
The key signal forming circuit 3 generates reference points (Uo, Vo) corresponding to bank colors and foreground color video data FG, VI.
A comparison operation is performed for each corresponding sample with D, and a key signal of a predetermined level is generated. The key signal itself generated in this way contains many disturbances and cannot be used as is, so the key processor 4 performs waveform shaping processing such as clipping, adjusting the edge timing of this clip output, and adjusting the gain. , a key signal KEY is obtained from the key processor 4. In this key processor 4, the intermediate region of the key signal is corrected as will be described later. .

カラーキャンセラー5は、このキー信号KEYをもとに
、前景カラービデオデータFG、VID  中からバッ
クカラーを取り除く。例えば被写体が透明な場合に、透
けて見えるバックカラーが除去される。
The color canceller 5 removes the back color from the foreground color video data FG and VID based on this key signal KEY. For example, when the subject is transparent, the transparent background color is removed.

具体的には、バックカラーデータをキー信号KEYで振
幅変調し、この変調出力を前景カラービデオデータFG
、VID  から減算するようになされる。このバック
カラーの除去は、U及びVの信号だげについてなされ、
輝度信号Yは、単に通過するだけである。
Specifically, the back color data is amplitude-modulated using the key signal KEY, and the modulated output is used as the foreground color video data FG.
, VID. This back color removal is done for the U and V signal blocks,
The luminance signal Y is simply passed through.

このカラーキャンセラー5には、遅延回路6を介して前
景カラービデオデータFG、VI’D が供給される。
The color canceller 5 is supplied with foreground color video data FG, VI'D via a delay circuit 6.

キープロセッサ4における前述の波形処理に要する時間
に相当すん遅延量を遅延回路6が有している。
The delay circuit 6 has a delay amount corresponding to the time required for the above-mentioned waveform processing in the key processor 4.

そして、カラーキャンセラー5の出力CAN 、V I
 Dと背景力ラービテオデータBG、VID  とがミ
キサー7に供給され、キー信号KEYをもとにして両者
のミキシングが行なわれる。このミキシングは2・つの
カラービデオデータCAN 、V I DとBG、VI
D  とを単にスイッチングして出力する方法の他に、
両者の境界において、一方のレベルを徐々に減少させる
と共に、他方のレベルを徐々に増大させるクロスフェー
ドの方法を用いることができる。このミキサー7の出力
は、ディジタルフィルタ8を介してインターフェース9
に供給される。ディジタルフィルタ8は、ミキサー7の
出力の波形を整えるだめのもので′ある。
Then, the output CAN of the color canceller 5, VI
D and the background power video data BG, VID are supplied to the mixer 7, and mixing of the two is performed based on the key signal KEY. This mixing involves two color video data CAN, VID and BG, VI.
In addition to the method of simply switching and outputting D,
At the boundary between the two, a cross-fade method can be used in which the level of one is gradually decreased while the level of the other is gradually increased. The output of this mixer 7 is passed through a digital filter 8 to an interface 9.
supplied to The digital filter 8 is used to adjust the waveform of the output of the mixer 7.

インターフェース9は、カラーキャンセラー5から色消
しがされだCAN、VIDとディジタルフィルり8から
の合成カラービデオデータKYD、VIDと、夫々のタ
イミング基準信号と、キー信号KEYとを外部に出力す
るだめのものである。
The interface 9 is for outputting the achromatic CAN and VID from the color canceller 5, the composite color video data KYD and VID from the digital filter 8, their respective timing reference signals, and the key signal KEY to the outside. It is something.

更に、マイクロプロセッサ10.CRTモニター11及
びコンソール12が設けられており、コンソール12か
らのニーず−のキー人力を翻訳してシステム内部に伝達
したり、各回路ブロックにおいて必要とされる演算処理
を行なったりできるようにされている。
Furthermore, a microprocessor 10. A CRT monitor 11 and a console 12 are provided, and it is possible to translate the required key human power from the console 12 and transmit it to the inside of the system, and to perform the calculation processing required in each circuit block. ing.

上述のディジタルクロマキー装置におけるカラーキャン
セラー5及びミキサー7の部分の構成は、第2図に示す
ような構成とされている。
The configuration of the color canceller 5 and mixer 7 in the digital chromakey device described above is as shown in FIG.

バックカラーデータ形成回路2では、使用するバックス
クリーンと対応するバンクカラーデータDB が形成さ
れ、第2図において、18で示す乗算器に供給される。
In the back color data forming circuit 2, bank color data DB corresponding to the back screen to be used is formed and supplied to a multiplier shown at 18 in FIG.

この乗算器18には、キー信号KEYと逆相の即ち被写
体の領域でゲインが0となるキー信号KEYが供給され
る。したがって、被写体の部分を除く領域にバックカラ
ーが存在するデータが発生し、前景カラービデオデータ
FG。
This multiplier 18 is supplied with a key signal KEY which has an opposite phase to the key signal KEY, that is, has a gain of 0 in the region of the subject. Therefore, data in which the back color exists in an area excluding the subject part is generated, and the foreground color video data FG is generated.

VIDから減算器19において引かれる。この結果、被
写体と対応し、且つバンクカラーが除去されたビデオデ
ータCAN、VIDが減算器19から発生し、乗算器2
0に加えられる。まだ、背景カラービデオデータBG、
VID  が乗算器21に供給され、キー信号KEY’
によって振幅変調され、したがって背景中で被写体の領
域のデータが除去された出力が乗算器21から生じる。
It is subtracted from VID in subtractor 19. As a result, video data CAN and VID corresponding to the subject and from which bank colors have been removed are generated from the subtracter 19, and the video data CAN and VID are generated from the subtracter 19, and
Added to 0. Still background color video data BG,
VID is supplied to the multiplier 21, and the key signal KEY'
An output is produced from the multiplier 21 which is amplitude modulated by , and thus has the data of the object region removed in the background.

一方、乗算器20には、キー信号KEYが供給されるの
で、この乗算器20及び21の出力データを加算器22
に供給することによって、背景に被写体がはめ込まれた
画像と対応する出力ビデオデータKYD、VIDが得ら
れる。
On the other hand, since the key signal KEY is supplied to the multiplier 20, the output data of the multipliers 20 and 21 is sent to the adder 22.
output video data KYD and VID corresponding to an image in which the subject is embedded in the background can be obtained.

ここで、キー信号の形成方法の一例について第3図を参
照して説明する。まず、第3図の(U。
Here, an example of a method for forming a key signal will be explained with reference to FIG. First, (U.

■)色差座標上でバンクカラーと対応する参照点を(U
O,VO)としたとき、原点とこの点を結んでできる軸
をX軸、それに垂直で(UOI Vo)を通るのをY軸
とする。参照点(Uo、Vo)と任意の(U。
■) Set the reference point corresponding to the bank color on the color difference coordinates (U
O, VO), the axis formed by connecting the origin and this point is the X axis, and the axis perpendicular to it and passing through (UOI Vo) is the Y axis. Reference point (Uo, Vo) and arbitrary (U.

■)値とを結ぶベクトルでX軸、Y軸の各々への寄与分
をx + yで示すと != ([J −TJo)CQSO+(V −Vo) 
Si、nθy −(V−Vo) cosθ−(U−Uo
) Sih、θθ= jan  (0/UO) と表わされる。そこで、次式で示すような関数でキー信
号を定義する。
■) Express the contribution to each of the X and Y axes as x + y with a vector connecting the values! = ([J −TJo)CQSO+(V −Vo)
Si, nθy −(V−Vo) cosθ−(U−Uo
) Sih, θθ=jan (0/UO). Therefore, the key signal is defined by a function as shown in the following equation.

K=a I x I+b I y 1 (a、bは正の任意の定数である。) 左辺のKを一定値に、でおいだとき、それを満たす(U
 、 V)値は、ひし形の辺上に並ぶことになる。
K=a I x I+b I y 1 (a, b are any positive constants.) When K on the left side is set to a constant value, it is satisfied (U
, V) values will be arranged on the sides of the diamond.

このように発生されたキー信号には、キープロセッサ4
に導かれ、ストレッチされ、クリツゾ回路によって波形
整形される。例えばバンクスクリーンの前に透明なコツ
プが被写体としておかれている前景を撮像した場合、コ
ツプの中央部では、バックカラーが透けて見えるため、
被写体の輪郭と対応して大レベルとなり、その中央部で
レベルがやや小となるキー信号Kがキー信号形成回路3
から生じる。キー信号は、例えば8ビツトを1サンプル
とするデジタル信号である。そして、このキー信号の波
形がストレッチされ、ベースクリップレベルBL 及び
ピークフリンジレベルPL  ヲスレツショルドレベル
とするクリップ処理を受ける。
The key signal generated in this way is processed by the key processor 4.
is guided, stretched, and waveform-shaped by the Kritzo circuit. For example, if you take an image of a foreground with a transparent tip placed as a subject in front of a bank screen, the back color will be visible in the center of the tip.
A key signal K that has a high level corresponding to the contour of the subject and a slightly low level in the center is sent to the key signal forming circuit 3.
arises from The key signal is, for example, a digital signal with 8 bits as one sample. The waveform of this key signal is then stretched and subjected to a clipping process in which the base clipping level BL and peak fringe level PL are set to threshold levels.

つまり、 BL以下は、全て0のレベルとし、PL以上
は、全て255のレベルとするのである。これによって
、バンクグランドノイズが除去されたキー信号KEYが
形成される。
In other words, everything below BL is set to a level of 0, and everything above PL is set to a level of 255. As a result, a key signal KEY from which bank ground noise has been removed is formed.

」二連のベースクリップレベルBL 及びピーククリッ
プレベルPL の夫々は第3図に示すものとなり、同図
において23で示す小さなひし形の中に含捷れるものは
全て0.24で示す大きなひし形の外は全て255とさ
れ、両者の間に位置する部分は、キー信号の傾斜を決定
する中間レベルの領域となる。バックスクリーンから被
写体になる境界では、(UO+ VO)から被写体の色
に応じた位置まで変化することになる。
” The base clip level BL and the peak clip level PL of the two series are shown in Fig. 3, and in the same figure, everything that is included in the small diamond indicated by 23 is outside the large diamond indicated by 0.24. are all set to 255, and the portion located between the two becomes an intermediate level region that determines the slope of the key signal. At the boundary from the back screen to the subject, the position changes from (UO+VO) to a position corresponding to the color of the subject.

キープロセッサ4に設けられている中間レベルの補正回
路について第4図を参照して説明する。
The intermediate level correction circuit provided in the key processor 4 will be explained with reference to FIG.

第4図において、30は、キー信号形成回路3からのキ
ー信号K。が供給されるストレッチ及びクリップ回路で
ある。−例として、被写体がガラスのコツプの場合のキ
ー信号拘は、第5図において、Koで示すものとなる。
In FIG. 4, 30 is a key signal K from the key signal forming circuit 3. is a stretch and clip circuit supplied with - As an example, when the subject is a glass tip, the key signal relationship is as shown by Ko in FIG.

第5図は、コツプの片方の輪郭から中央部までのキー信
号の変化を示すと共に、キー信号をアナログ波形として
示している。
FIG. 5 shows the change in the key signal from the contour of one side of the tip to the center, and also shows the key signal as an analog waveform.

ストレッチ及びクリップ回路では、ストレンチされ、そ
して例えば(PL=192量子化レベル。
In the stretch and clip circuit, it is stretched and, for example, (PL=192 quantization levels.

BL=15量子化レベル)でもってクリップされて、第
5図Aに示すように、コツプの輪郭と対応して0から2
56量子化レベルまで立上るエツジ25と、中央部の透
けて見える部分と対応して中間レベルを持つキー信号に
1が形成される。
BL=15 quantization level), and as shown in FIG.
1 is formed in the key signal having an intermediate level corresponding to the edge 25 rising to the 56 quantization level and the transparent portion in the center.

このキー信号に1が第1の検出回路31、第2の検出回
路32及びディジタルローパスフィルタ33に供給され
る。第1の検出回、路31は、キー信号に1が供給され
る比較回路34.35とフリップフロップ36.37と
ANDゲート38とから構成される。比較回路34には
、基準データPL1が供給され、キー信号に、の値が基
準データPL、より小さい時に高レベルの比較出力が発
生する。比較回路35には、基準データBL+が供給さ
れ、キー信号に1の値が基準データBLlより大きい時
に高レベルの比較出力が発生する。フリップフロップ3
6.37は、サンプルクロックで動作し、比較量カット
ランジェント(ひげ)を除くだめのものである。この検
出回路31のANDゲート38の出力には、キー信号に
1の値がBL+より犬きく PL+より小さい範囲(中
間領域)にある時に高レベルとなる検出出力が発生する
This key signal of 1 is supplied to the first detection circuit 31, the second detection circuit 32, and the digital low-pass filter 33. The first detection circuit, path 31, consists of a comparator circuit 34.35 whose key signal is supplied with a 1, a flip-flop 36.37 and an AND gate 38. The comparison circuit 34 is supplied with reference data PL1, and when the value of the key signal is smaller than the reference data PL, a high level comparison output is generated. The comparison circuit 35 is supplied with reference data BL+, and generates a high-level comparison output when the value of 1 in the key signal is greater than the reference data BLl. flip flop 3
6.37 operates with a sample clock and is only used to remove comparison amount cut transients (whiskers). The AND gate 38 of this detection circuit 31 generates a detection output that becomes high level when the value of 1 in the key signal is in a range (intermediate region) that is greater than BL+ and smaller than PL+.

検出回路32は、ラッチ41、減算器42、ラッチ43
、ROM 44、ラッチ45、比較器46、ノリツブフ
ロップ47から構成される。ラッチ及びノリツブフロッ
プに対するサンプリングクロックの供給路の図示は、省
略されている。
The detection circuit 32 includes a latch 41, a subtracter 42, and a latch 43.
, ROM 44, latch 45, comparator 46, and control flop 47. The illustration of the sampling clock supply path to the latch and the Noritub flop is omitted.

減算器42では、キー信号に1の現在のサンプル値から
1サンプル前の値が減算され、連続する2個のサンプル
の値の変化が取シ出される。この値の変化がROM 4
4により、絶対値に変換されて比較器46に供給され、
基準データUL  と比較される。比較器46からは、
連続する2つのサンプル値の差が基準データUL(例え
ば64量子化レベル)より小さい時に高レベルとなる比
較出力が発生する。この比較出力がノリツブフロップ4
7を介して検出出力として取り出される。検出回路32
は、キー信号に1のレベル変化(匂配)が基準値よシ小
さいことを検出するものである。
In the subtracter 42, the value of one sample before is subtracted from the current sample value of one to the key signal, and the change in value of two consecutive samples is extracted. Changes in this value are ROM 4
4, it is converted into an absolute value and supplied to the comparator 46,
It is compared with reference data UL. From the comparator 46,
A comparison output that becomes high level is generated when the difference between two consecutive sample values is smaller than the reference data UL (for example, 64 quantization levels). This comparison output is the Noritsu flop 4
7 as a detection output. Detection circuit 32
Detects that a level change (influence) of 1 in the key signal is smaller than the reference value.

検出回路31の検出出力は、位相合わせ用のシフトレジ
スタ48を介してANDゲート49に供給さ゛れる。ま
だ、検出回路32の検出出力がANDゲート49に供給
される。このANDゲート49から発生する検出信号X
は、キー信号に1が中間値であって、その変化の匂配が
ゆるやかな時に高レベルとなる。
The detection output of the detection circuit 31 is supplied to an AND gate 49 via a shift register 48 for phase adjustment. The detection output of the detection circuit 32 is still supplied to the AND gate 49. The detection signal X generated from this AND gate 49
1 is the intermediate value of the key signal, and becomes high level when the change is gradual.

ローパスフィルタ33は、ラッチ61.62 。The low-pass filter 33 includes latches 61 and 62.

63.64.67.68.69と加算器10゜71とか
ら構成されたものである。また、ラッチ61〜64の縦
続接続に対してラッチ65.66が更に接続される。最
終段のラッチ66の出力コントロール端子に、位相合わ
せ用のシフトレジスタ50を介された検出信号Xが供給
される。まだローパスフィルタ33の最終段のラッチ6
9の出力ラントロール端子にシフトレジスタ50からの
検出信号Xがインバータ51を介して供給される。
63, 64, 67, 68, 69 and an adder 10.71. Further, latches 65 and 66 are further connected to the cascade connection of latches 61 to 64. The detection signal X passed through the phase matching shift register 50 is supplied to the output control terminal of the latch 66 at the final stage. Still the last stage latch 6 of the low pass filter 33
A detection signal X from a shift register 50 is supplied to the output runt roll terminal of 9 via an inverter 51.

キー信号Kが中間値で、変化がゆるやかな場合には、検
出信号Xが高レベルとなり、ラッチ69から出力が発生
する。一方、上述の条件が満足されず検出信号Xが低レ
ベルの時は、ラッチ66から出力が発生する。ラッチ6
9の出力は、ローパスフィルタ33により例えばI M
Hz程度に帯域制限されたものであるのに対し、ラッチ
66の出力は、ランチ61〜ラツチ66を通ったもので
、周波数特性を持たないものである。このラッチ66又
はラッチ69から出力されるキー信号に2がディジタル
ローパスフィルタ52を介してキー信号に3として出力
端子53に取9出される。このローパスフィルタ52の
カットオフ周波数は、 3 fvlHz 程度と高くさ
れたものである。
When the key signal K has an intermediate value and changes slowly, the detection signal X becomes high level and the latch 69 generates an output. On the other hand, when the above-mentioned conditions are not satisfied and the detection signal X is at a low level, the latch 66 generates an output. latch 6
For example, the output of I M
On the other hand, the output of the latch 66 passes through the launch 61 to the latch 66 and has no frequency characteristics. The key signal 2 outputted from the latch 66 or latch 69 is passed through the digital low-pass filter 52 and outputted to the output terminal 53 as the key signal 3. The cutoff frequency of this low-pass filter 52 is set to be as high as about 3 fvlHz.

まだ、この発明の一実施例では、ローパスフィルタ33
を構成するラッチ67の前段に加算器72が設けられ、
この加算器72に対して定数データCL が(例えば6
4量子化レベル)供給されている。しだがって、ラッチ
69から現れるローパスフィルタ33の出力は、定数デ
ータCL だけ値がシフトされたものとなる。この定数
データCLは、デイジタルスインチなどによって、その
値を可変で謙るようにされている。
Still, in one embodiment of the invention, the low pass filter 33
An adder 72 is provided before the latch 67 that constitutes the
For this adder 72, constant data CL (for example, 6
4 quantization levels) are provided. Therefore, the output of the low-pass filter 33 appearing from the latch 69 has its value shifted by the constant data CL. The value of this constant data CL is made variable by a digital switch or the like.

第5図Aに示すキー信号に1がストレッチ及びクリップ
回路30から現れる時は、同図に示すキー信号に2がロ
ーパスフィルタ52に供給される。キー信号に1のうち
で輪郭と対応するエツジ25を除く中間領域がローパス
フィルタ33により帯域制限の処理を受けていると共に
、定数データCL によりレベルシフトされたキー信号
に2が発生する。
When a 1 appears in the key signal shown in FIG. 5A from the stretch and clip circuit 30, a 2 in the key signal shown in FIG. 5A is supplied to the low pass filter 52. An intermediate region of 1 in the key signal excluding the edge 25 corresponding to the contour is subjected to band-limiting processing by the low-pass filter 33, and 2 is generated in the key signal level-shifted by constant data CL.

このキー信号に2がローパスフィルタ52を介されるこ
とによって、第5図Bに示すキー信号に3が得られる。
By passing the key signal 2 through the low-pass filter 52, the key signal 3 shown in FIG. 5B is obtained.

もし、この発明による処理がされず、キー信号に1をそ
のままローパスフィルタ52に供給した時には、第5図
Bにおいて、hで示すキー信号が取シ出される。このキ
ー信号に3及びキー信号に4を比較すると明かなように
、キー信号に3と比べてキー信号に4の値の変化が激し
く、キー信号に4は粗いものである。
If the processing according to the present invention is not performed and the key signal 1 is directly supplied to the low-pass filter 52, the key signal indicated by h in FIG. 5B is extracted. As is clear from comparing the key signal 3 and the key signal 4, the value of the key signal 4 changes more rapidly than the key signal 3, and the key signal 4 is rough.

なお、ローパスフィルタ33として、第6図に示すよう
な構成のディジタルフィルタ54を用いても良い。この
ディジタルフィルり54は、う・7チ73.74.75
.76.77を縦続接続し、ランチ73の入力、ラッチ
74の出ブハラツチ76の出力を加算器78に供給する
もので、その伝達関数は、(H(z)−z−’ + ’
z−2+ 1 )で表わされるものである。
Note that a digital filter 54 having a configuration as shown in FIG. 6 may be used as the low-pass filter 33. This digital fill 54 is 73.74.75
.. 76 and 77 are connected in cascade, and the input of the launch 73 and the output of the latch 74 and the output of the lunch 76 are supplied to the adder 78, and the transfer function is (H(z)-z-' + '
z-2+1).

「発明の効果」 この発明は、キー信号のうちで、固体のエツジ以外のな
だらかな中間領域のものを修正することにより、この部
分の粗さが合成画像でデラツキとして現れることを防止
することができる。
"Effects of the Invention" This invention corrects the smooth middle region of the key signal other than solid edges, thereby preventing the roughness of this part from appearing as irregularities in the composite image. can.

また、上述実施例のように、キー信号の中間領域の値を
シフトする構成は、透明度を好ましいものに調整したり
、うすい煙が消えることを防止したりすることができる
Further, as in the above-described embodiment, the configuration of shifting the value of the intermediate region of the key signal can adjust transparency to a preferable value and prevent faint smoke from disappearing.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例の全体の構成を示すブロッ
ク図、第2図はカラーキャンセラー及びミキサーの部分
のブロック図、第3図はキー信号の形成の説明に用いる
路線図、第4図及び第5図はこの発明の一実施例の主要
部の構成を示すブロック図及びこの発明の説明に用いる
グラフ、第6図はこの発明に用いることができるディジ
タルフィルタの一例の構成図である。 3・・・・・・・・キー信号形成回路、4 ・・・・キ
ープロセッサ、7 ・・・・・・ミキサー、30  ・
・・・・ストレスチ及びクリップ回路、31・・・・・
・・第1の検出回路、32 ・・・・・第2の検出回路
、33.52・・・・・・ディジタルローパスフィルタ
。 代理人  杉 浦 正 知
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention, FIG. 2 is a block diagram of the color canceller and mixer, FIG. 3 is a route diagram used to explain the formation of key signals, and FIG. 5 and 5 are block diagrams showing the configuration of the main parts of an embodiment of the present invention and graphs used to explain the invention, and FIG. 6 is a configuration diagram of an example of a digital filter that can be used in the present invention. . 3...Key signal forming circuit, 4...Key processor, 7...Mixer, 30.
...Stress check and clip circuit, 31...
...First detection circuit, 32...Second detection circuit, 33.52...Digital low-pass filter. Agent Masato Sugiura

Claims (1)

【特許請求の範囲】 前景カラービデオ信号によりキー信号を形成し、このキ
ー信号に基いて上記前景カラービデオ信号と背景カラー
ビデオ信号とを合成するようにしたクロマキー装置にお
いて、 上記キー信号のレベルが中間領域にあることを検出する
第1の検出回路と、上記キー信号のレベル変化の傾きが
ゆるやかなことを検出する第2の検出回路と、上記第1
の検出回路及び上記第2の検出回路の検出出力により、
上記キー信号の高域成分を実質的に除去する回路とを備
えたことを特徴とするクロマキー装置。
[Scope of Claims] A chroma key device that forms a key signal from a foreground color video signal and synthesizes the foreground color video signal and background color video signal based on the key signal, wherein the level of the key signal is a first detection circuit that detects that the key signal is in the intermediate region; a second detection circuit that detects that the slope of the level change of the key signal is gentle;
With the detection output of the detection circuit and the second detection circuit,
A chromakey device comprising: a circuit that substantially removes high-frequency components of the key signal.
JP4679783A 1983-03-19 1983-03-19 Chromakey device Granted JPS59172894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4679783A JPS59172894A (en) 1983-03-19 1983-03-19 Chromakey device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4679783A JPS59172894A (en) 1983-03-19 1983-03-19 Chromakey device

Publications (2)

Publication Number Publication Date
JPS59172894A true JPS59172894A (en) 1984-09-29
JPH0462239B2 JPH0462239B2 (en) 1992-10-05

Family

ID=12757319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4679783A Granted JPS59172894A (en) 1983-03-19 1983-03-19 Chromakey device

Country Status (1)

Country Link
JP (1) JPS59172894A (en)

Also Published As

Publication number Publication date
JPH0462239B2 (en) 1992-10-05

Similar Documents

Publication Publication Date Title
US5557339A (en) Screen filtering boundary detection for noise filtering prior to image compositing
JPH05161065A (en) Picture processing system
US5313304A (en) Chroma keyer with fringe control offset
JPH05153493A (en) Video signal synthesis device
JPS5844883A (en) Method and device for adjusting digital color signal
JP3912866B2 (en) Synthetic video signal generation method and apparatus
EP1107612B1 (en) Approximation of the magnitude of a vector
JPS59172894A (en) Chromakey device
US7224406B2 (en) Digital signal processing system and method applied for chroma transition
JPH0239153B2 (en)
JP3743055B2 (en) Image contour enhancement method and apparatus
JPS59140784A (en) Chroma-key device
JP2574803B2 (en) Noise reduction circuit for color television signal
JPH0344172A (en) Contour correction circuit
JPS62189880A (en) Contour emphasizing circuit
JPH062382Y2 (en) Adaptive contour enhancement Y / C separation circuit
KR920005172B1 (en) Enhancing method in horizontal outlines
JPH0923357A (en) Noise reduction device
JPH01206792A (en) Video signal synthesizing circuit
JPS63232576A (en) Outline emphasizing circuit
JPH11355610A (en) Contour correction circuit
JP2570272B2 (en) Digital contour enhancement circuit
JPH03237889A (en) Contour correction device for video signal
JPH04189074A (en) Edge correcting circuit
JPS6118919B2 (en)