JPH043156B2 - - Google Patents
Info
- Publication number
- JPH043156B2 JPH043156B2 JP4862682A JP4862682A JPH043156B2 JP H043156 B2 JPH043156 B2 JP H043156B2 JP 4862682 A JP4862682 A JP 4862682A JP 4862682 A JP4862682 A JP 4862682A JP H043156 B2 JPH043156 B2 JP H043156B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- data
- color
- color video
- 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.)
- Expired
Links
- 238000000926 separation method Methods 0.000 claims description 2
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 4
- 239000002131 composite material Substances 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/74—Circuits for processing colour signals for obtaining special effects
- H04N9/75—Chroma key
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Processing Of Color Television Signals (AREA)
Description
【発明の詳細な説明】
この発明を、クロマキー装置に関し、特に、前
景画像に応じて最適なキー信号を簡単な構成によ
り形成するようにしたものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a chroma key device, and particularly to a chroma key device that generates an optimal key signal depending on a foreground image using a simple configuration.
以下、この発明はデイジタルクロマキー装置に
対して適用した一実施例について説明する。 An embodiment of the present invention applied to a digital chromakey device will be described below.
第1図を参照してこの発明の一実施例における
キー信号の形成について説明する。人物などの被
写体が背景色例えば青のスクリーンの前に位置す
る前景画像がカラーカメラで撮影され、このカメ
ラ出力である前景カラービデオ信号がデイジタル
化され、各サンプルデータが(U−V)座標系
(色度座標系)における基準値と比較されること
でキー信号が形成される。 Formation of a key signal in an embodiment of the present invention will be explained with reference to FIG. A foreground image in which a subject, such as a person, is positioned in front of a screen with a background color, e.g., blue, is captured by a color camera, and the foreground color video signal output from this camera is digitized, and each sample data is stored in the (U-V) coordinate system. A key signal is formed by comparison with a reference value in (chromaticity coordinate system).
この基準値は、直線群で定まる領域である。第
1図に示すように、キー信号の中心軸をとし
て、U軸からの角度をαとする。この中心軸
に直交する直線をP1、開き角度+θ,−θで交わ
る直線をP2,P3として、これらの直線P1,P2,
P3で形成される折れ線が被写体とスクリーンと
の境界と定められる。 This reference value is an area defined by a group of straight lines. As shown in FIG. 1, the central axis of the key signal is assumed to be the angle from the U axis. Let P 1 be the straight line perpendicular to this central axis, and P 2 , P 3 be the straight lines that intersect at the opening angles +θ, -θ, and these straight lines P 1 , P 2 ,
The polygonal line formed by P 3 is defined as the boundary between the subject and the screen.
前景カラービデオ信号の1サンプルデータを
(UA,VA)とすると、この点から上述の各直線
P1,P2,P3への距離d1,d2,d3の中の最小のもの
をキー信号のレベルとする。直線P1,P2(P3)の
原点Oからの距離をER1,ER2とすると、d1,
d2,d3は、次式で求めることができる。 If one sample data of the foreground color video signal is (U A , V A ), each of the above straight lines can be drawn from this point.
The minimum distance among the distances d 1 , d 2 , and d 3 to P 1 , P 2 , and P 3 is taken as the level of the key signal. If the distances of straight lines P 1 , P 2 (P 3 ) from the origin O are ER 1 , ER 2 , then d 1 ,
d 2 and d 3 can be calculated using the following formula.
d1=VA・sinα+UA・cosα−ER1 ……(1)
d2=−VA・cos(α+θ)+UA・sin
(α+θ)−ER2……(2)
d3=VA・cos(α−θ)−UA・sin(
α+θ)−ER2……(3)
前景カラービデオ信号の青のスクリーンに対応
するデータが中心軸上にあるのが理想的であ
る。青のスクリーンから被写体に変わるのに伴な
う色差データの変化によつてベクトルスコープ上
に軌跡が描かれる。実際に使用するスクリーンの
青色の塗料、照明などによつて、中心軸と上
述の軌跡とがずれるので、両者が一致するよう
に、α,θなどのパラメータが調整される。この
調整を簡単に且つ正確に行なうために、P1,P2,
P3の直線群で定まる背景色領域を表示すること
が必要である。 d 1 = VA・sinα+U A・cosα−ER 1 …(1) d 2 =−V A・cos(α+θ)+U A・sin
(α+θ)−ER 2 …(2) d 3 =V A・cos(α−θ)−U A・sin(
α+θ)−ER 2 (3) Ideally, the data corresponding to the blue screen of the foreground color video signal is on the central axis. A trajectory is drawn on the vectorscope by changes in color difference data as the object changes from the blue screen. Since the center axis and the above-mentioned locus may deviate from each other due to the blue paint of the screen actually used, lighting, etc., parameters such as α and θ are adjusted so that the two coincide. In order to easily and accurately perform this adjustment, P 1 , P 2 ,
It is necessary to display the background color area determined by the straight line group of P3 .
第2図以下を参照して境界表示をベクトルスコ
ープで行なうための境界信号の発生方法について
説明する。 A method of generating a boundary signal for displaying a boundary using a vector scope will be described with reference to FIG. 2 and subsequent figures.
第2図に示すように、境界線上の4点A(ua,
va),B(ub,vb),C(uc,vc),D(ud,vd)を
求め、このA,B,C,Dの間を直線的に変化す
るU(t),V(t)を与えてこれからクロマ信号
を発生すれば良い。例えばA点からB点にτの時
間をかけて動かすときは
U(t)=ua−ub/τ×t+ua
V(t)=va−vb/τ×t+va
とされる。 As shown in Figure 2, four points A (ua,
va), B (ub, vb), C (uc, vc), D (ud, vd), and U (t), V (t ) and then generate a chroma signal. For example, when moving from point A to point B over a time period of τ, U(t)=ua−ub/τ×t+ua V(t)=va−vb/τ×t+va.
B点及びC点は、直線P1,P2,P3の交点で計
算すれば求まる。A点及びD点は、直線P1と平
行な直線P1′を適当に与えて(適当なER1′を与え
ることになる)、これと直線P2,P3との交点を求
めれば良い。この一実施例では、(A→B→C→
D→C→B→A→B…)と変化させることで境界
表示を行なう。 Point B and point C can be found by calculating at the intersection of straight lines P 1 , P 2 , and P 3 . Points A and D can be found by appropriately providing a straight line P 1 ′ parallel to the straight line P 1 (giving an appropriate ER 1 ′), and finding the intersection between this and the straight lines P 2 and P 3 . . In this example, (A→B→C→
Boundary display is performed by changing (D→C→B→A→B...).
この交点A,B,C,Dを求める演算について
更に説明すると、直線P1,P1′,P2,P3を以下の
ように表わす。 To further explain the calculation for finding the intersections A, B, C, and D, the straight lines P 1 , P 1 ', P 2 , and P 3 are expressed as follows.
P1:V=m1・U+a1 ……(4)
P1′:V=m1・U+a1′ ……(4)′
P2:V=m2・U+a2 ……(5)
P3:V=m3・U+a3 ……(6)
そして、第3図に示すように、直線P1,P1′の
U軸となす角度をとすると
m1=sin/cos=sin(α−3/2π)/cos(α−3
/2π)=−cosα/sinα……(7)
m2=sin(α+θ)/cos(α+θ) ……(8)
m3=sin(α−θ)/cos(α−θ) ……(9)
:V=sinα/cosα・U ……(10)
直線P1と中心軸との交点を(u1,v1)とす
ると
ER2 1=u2 1+v2 1 ……(11)
(4)式、(7)式、(10)式から
sinα/cosα・u1=−cosα/sinαu1+a1
これより
u1=a1・sinα・cosα ……(12)
(12)式を(10)式に代入して
v1=a1・sin2α ……(13)
(12)式、(13)式を(11)式に代入して
ER2 1=a2 1sin2α(sin2α+cos2α)=a2 1sin2α
したがつて
a1=±ER1/sinα ……(14)
a1′=±ER11/sinα ……(15)
a2=±ER2/cos(α+θ) ……(16)
a3=±ER2/cos(α−θ) ……(17)
今、任意の2直線
V=k1・U+b1
V=k2・U+b2
の交点を(u,v)とすると
u=(b2−b1)/(k1−k2) ……(18)
v=k1・b2−k2・b1/k1−k2 ……(19)
第2図における交点A(ua,va)を求める場合
には、(18)式及び(19)式のb1,b2,k1,k2に
夫々(15)式、(16)式のa1′,a2、(7)式、(8)式の
m1,m2を代入すれば良い。以下同様にして、B
(ub,vb),C(uc,vc),D(ud,vd)の各交点
が求められる。 P 1 :V=m 1・U+a 1 ……(4) P 1 ′ :V=m 1・U+a 1 ′ ……(4)′ P 2 :V=m 2・U+a 2 ……(5) P 3 :V= m3・U+ a3 ...(6) Then, as shown in Figure 3, if the angle between the straight lines P1 and P1 ' with the U axis is m1 =sin/cos=sin(α- 3/2π)/cos(α−3
/2π) = −cosα/sinα……(7) m 2 = sin(α+θ)/cos(α+θ)……(8) m 3 = sin(α−θ)/cos(α−θ)……(9 ): V=sinα/cosα・U ...(10) If the intersection of the straight line P 1 and the central axis is (u 1 , v 1 ), then ER 2 1 = u 2 1 + v 2 1 ... (11) (4 ), (7), and (10), sinα/cosα・u 1 = −cosα/sinαu 1 + a 1 From this, u 1 = a 1・sinα・cosα ...(12) (12) can be converted to (10) ) and then v 1 = a 1・sin 2 α ... (13) Substitute equations (12) and (13) into equation (11) and get ER 2 1 = a 2 1 sin 2 α (sin 2 α+cos 2 α)=a 2 1 sin 2 α Therefore, a 1 =±ER 1 /sinα ...(14) a 1 ′=±ER 11 /sinα ...(15) a 2 =±ER 2 /cos (α + θ) ... (16) a 3 = ±ER 2 / cos (α - θ) ... (17) Now, the intersection of two arbitrary straight lines V=k 1・U+b 1 V=k 2・U+b 2 is ( u, v), then u=(b 2 − b 1 )/(k 1 − k 2 ) ……(18) v=k 1・b 2 −k 2・b 1 /k 1 −k 2 ……( 19) When finding the intersection A (ua, va) in Figure 2, use equations (15) and (16) for b 1 , b 2 , k 1 , and k 2 in equations (18) and (19), respectively. a 1 ′, a 2 in equations (7) and (8)
Just substitute m 1 and m 2 . Similarly, B
The intersection points of (ub, vb), C (uc, vc), and D (ud, vd) are found.
また、sinα、cos(α+θ)、cos(α−θ)が零
になる場合、即ち直線P1,P2,P3の何れかがV
軸と平行になる場合には、次の方法で交点を求め
れば良い。 Also, if sinα, cos(α+θ), and cos(α−θ) become zero, that is, any of the straight lines P 1 , P 2 , and P 3 becomes V
If it is parallel to the axis, find the intersection using the following method.
まず、第4図Aに示すように、直線P1がV軸
に平行な場合には、各交点が下記に示すものとな
る。 First, as shown in FIG. 4A, when the straight line P1 is parallel to the V axis, the intersection points are as shown below.
ub=uc=ER1
ua=ud=ER1′
va=sinθ/cosθ・ER1′+ER2/cosθ
vd=−va
vb=sinθ/cosθ・ER1+ER2/cosθ
vc=−vb
また、第4図Bに示すように、直線P2がV軸
に平行な場合には、各交点が下記に示すものとな
る。 ub=uc=ER 1 ua=ud=ER 1 ′ va=sinθ/cosθ・ER 1 ′+ER 2 /cosθ vd=−va vb=sinθ/cosθ・ER 1 +ER 2 /cosθ vc=−vb Also, the fourth As shown in Figure B, when the straight line P2 is parallel to the V axis, each intersection point is as shown below.
va=vb=ER2
va=−cosα/sinα・ER2+ER1′/sinα
vb=−cosα/sinα・ER2+ER1/sinα
C点及びD点に関しては、前述の一般的な方法
で求める。更に、直線P3がV軸に平行な場合も、
直線P2がV軸に平行な場合と同様に、各交点が
求められる。 va=vb= ER2 va=-cosα/sinα· ER2 + ER1 '/sinα vb=-cosα/sinα·ER2+ ER1 /sinα Points C and D are determined by the general method described above. Furthermore, when the straight line P 3 is parallel to the V axis,
Each intersection point is found in the same way as when the straight line P 2 is parallel to the V axis.
以下、この発明の一実施例について説明する
と、第5図は、その全体の構成を示し、同図にお
いて、1が前景カラービデオ信号の入力端子、2
が背景カラービデオ信号の入力端子である。 Hereinafter, one embodiment of the present invention will be described. FIG. 5 shows the overall configuration. In the figure, 1 is an input terminal for a foreground color video signal;
is the input terminal for the background color video signal.
この両カラービデオ信号がA/Dコンバータ
3,4によつて、例えば4sc(scはカラーサブキ
ヤリアの周波数)のサンプリング周波数でデイジ
タル化される。A/Dコンバータ3からの前景カ
ラービデオデータが遅延回路5を介して乗算器6
に供給され、A/Dコンバータ4からの背景カラ
ービデオデータが乗算器7に供給される。乗算器
6に対しては、キー信号のレベルと対応する係数
K(0〜1の範囲の値をとりうる)が供給され、
乗算器7には、反転回路8で形成された(1−
K)の係数が供給される。この乗算器6,7の出
力が加算器9に供給される。したがつて、加算器
9からは、前景及び背景の両カラービデオデータ
が合成された合成カラービデオデータが得られ、
スイツチ回路10の一方の入力端子に供給され
る。 Both color video signals are digitized by A/D converters 3 and 4 at a sampling frequency of, for example, 4sc (sc is the frequency of the color subcarrier). The foreground color video data from the A/D converter 3 is passed through the delay circuit 5 to the multiplier 6.
The background color video data from the A/D converter 4 is supplied to the multiplier 7. A coefficient K (which can take a value in the range of 0 to 1) corresponding to the level of the key signal is supplied to the multiplier 6;
The multiplier 7 includes an inverter (1-
K) coefficients are provided. The outputs of the multipliers 6 and 7 are supplied to an adder 9. Therefore, the adder 9 obtains composite color video data in which both the foreground and background color video data are composited,
It is supplied to one input terminal of the switch circuit 10.
スイツチ回路10の他方の入力端子には、
RAM11からの境界信号が供給される。RAM
11には、CPU12によつて前述のように形成
された交点A,B,C,Dのデータが書込まれ
る。CPU12には、キー入力などによつて、α,
θ,ER1(ER1′は固定)、ER2の値が与えられ、前
述の演算によつて、各交点の値(ua〜ud,va〜
vd)が求められる。次に、各交点を直線的に移
行するクロマデータをCPU12により演算して
求める。このクロマデータがRAM11に書込ま
れる。 The other input terminal of the switch circuit 10 has
A boundary signal from RAM 11 is supplied. RAM
11, the data of the intersections A, B, C, and D formed by the CPU 12 as described above is written. The CPU 12 receives α,
Given the values of θ, ER 1 (ER 1 ′ is fixed), and ER 2 , the values of each intersection (ua~ud, va~
vd) is required. Next, the CPU 12 calculates and obtains chroma data that moves linearly at each intersection. This chroma data is written to RAM11.
RAM11に関連してアドレスカウンタ13が
設けられている。このアドレスカウンタ13に対
して、端子14及び15の夫々から、基準の水平
同期信号及び基準のカラーサブキヤリアが供給さ
れ、このアドレスカウンタ13によつて、、1H
(水平走査期間)を単位とし、1/4scの周期で変
化するアドレスが形成される。このRAM11か
ら読出された境界データがスイツチ回路10を介
してD/Aコンバータ16によつてアナログ化さ
れ、出力端子17に取り出される。 An address counter 13 is provided in association with the RAM 11. A reference horizontal synchronizing signal and a reference color subcarrier are supplied to this address counter 13 from terminals 14 and 15, respectively.
(horizontal scanning period) as a unit, and an address that changes at a cycle of 1/4sc is formed. The boundary data read from the RAM 11 is converted into an analog signal by the D/A converter 16 via the switch circuit 10 and output to the output terminal 17.
このようにして形成された境界信号は、第6図
に示すように、A,B,C,Dの各交点と対応す
る搬送色信号が1H期間内で順次位置するものと
なる。次の1H期間では、(D→C→B→A)の順
序となされる。したがつて、基準の水平同期信号
及びカラーサブキヤリアに同期するベクトルスコ
ープに第6図に示す搬送色信号を復調し、アナロ
グ化して供給すれば、第7図に示すように、各交
点が明るくなり、交点の間の直線がうすく示され
る境界表示を行なうことができる。 In the boundary signal thus formed, as shown in FIG. 6, the carrier color signals corresponding to the intersections of A, B, C, and D are located sequentially within 1H period. In the next 1H period, the order is (D→C→B→A). Therefore, if the carrier color signal shown in Fig. 6 is demodulated, converted into analog, and supplied to a vector scope synchronized with the standard horizontal synchronization signal and color subcarrier, each intersection point will be bright as shown in Fig. 7. Therefore, it is possible to display a boundary in which the straight line between the intersection points is shown faintly.
スイツチ回路10は、アンドゲート18の出力
によつて切り替えられる。アンドゲート18に
は、スイツチ回路19の出力と端子20からの1
フイールド毎に反転するパルス信号とが供給され
る。スイツチ回路19によつて低レベルの出力が
発生すると、アンドゲート18の出力も低レベル
となり、スイツチ回路10は、加算器9からの合
成カラービデオデータを選択する状態となる。ま
た、スイツチ回路19によつて高レベルの出力が
発生すると、スイツチ回路10が1フイルード毎
に切替わる。後述のように、この場合には、前景
カラービデオデータのみが加算器9から現れるの
で、スイツチ回路10からは、前景カラービデオ
データと境界データとが1フイールド毎に交互に
発生する。 The switch circuit 10 is switched by the output of the AND gate 18. The AND gate 18 receives the output of the switch circuit 19 and the 1 from the terminal 20.
A pulse signal that is inverted for each field is supplied. When the low level output is generated by the switch circuit 19, the output of the AND gate 18 will also be low level, and the switch circuit 10 will be in a state to select the composite color video data from the adder 9. Further, when a high level output is generated by the switch circuit 19, the switch circuit 10 is switched for each field. As will be described later, in this case, only the foreground color video data emerges from the adder 9, so that the switch circuit 10 generates foreground color video data and boundary data alternately for each field.
出力端子17に、ベクトルスコープ又は波形管
と共に、モニター受像機が接続されており、通常
のクロマキー動作のときには、モニター受像機に
よつてクロマキー出力である合成画像を見ること
ができる。また、前景カラービデオデータと境界
データとが1フイールド毎に交互に存在する場合
には、フリツカが存在するが、モニター受像機に
よつて前景画像を見ることができると共に、ベク
トルスコープによつて、第7図に示す境界表示に
前景カラービデオデータの色データによる軌跡が
重畳された表示がなされる。この表示により、キ
ー信号を発生するための境界が最適なものとなる
ように、α,θなどのパラメータが変更される。 A monitor receiver is connected to the output terminal 17 together with a vector scope or a waveform tube, and during normal chromakey operation, a composite image that is a chromakey output can be viewed through the monitor receiver. In addition, when foreground color video data and boundary data exist alternately in each field, there is flicker, but the foreground image can be seen on a monitor receiver, and the foreground image can be seen on a vector scope. A display in which a locus of color data of foreground color video data is superimposed on the boundary display shown in FIG. 7 is made. Based on this display, parameters such as α and θ are changed so that the boundary for generating the key signal is optimal.
また、この発明の一実施例におけるキー信号の
発生について説明すると、遅延回路5の出力が
Y/C分離回路21に供給され、色信号データが
デイジタルの色復調回路22に供給され、色デー
タU,Vが取り出される。 Furthermore, to explain the generation of the key signal in one embodiment of the present invention, the output of the delay circuit 5 is supplied to the Y/C separation circuit 21, the color signal data is supplied to the digital color demodulation circuit 22, and the color data U , V are retrieved.
これらの入力色データがRAM23のアドレス
入力とされる。RAM23には、CPU12によつ
て演算されたデータテーブル24,25,26,
27,28,29が予め書込まれている。このデ
ータテーブル24〜29の夫々によつて変換され
た出力データの所定のものが加算器30,31,
32によつて加算される。加算器30の出力が減
算器33に供給され、ラツチ回路34に貯えられ
ているデータER1が減算される。この減算器33
の出力には、前出の(1)式で表わされるデータd1が
発生する。 These input color data are used as address inputs to the RAM 23. The RAM 23 contains data tables 24, 25, 26, which are calculated by the CPU 12.
27, 28, and 29 are written in advance. Predetermined output data converted by each of the data tables 24 to 29 are sent to the adders 30, 31,
It is added by 32. The output of adder 30 is supplied to subtracter 33, and data ER1 stored in latch circuit 34 is subtracted. This subtractor 33
The data d 1 expressed by the above-mentioned equation (1) is generated at the output of .
また、d1,d2,d3のうちで最小のものをキー信
号とするために、まず、d2及びd3(但しER2を含
まず)の比較がされる。このため加算器31及び
32の出力が比較回路35及びセレクタ36に供
給され、両者のうちで小さい方がセレクタ36か
ら取り出され、これが減算器37に供給され、ラ
ツチ38に貯えられているデータER2が減算され
る。したがつて、減算器37の出力には、d2及び
d3のうちでより小さいレベルのものが現れ、これ
と減算器33からのd1とが比較回路39及びセレ
クタ40に供給される。そして、セレクタ40の
出力に、d1,d2,d3のうちで最も小さいレベルの
データが取り出される。 Furthermore, in order to use the smallest one among d 1 , d 2 , and d 3 as the key signal, first, d 2 and d 3 (not including ER 2 ) are compared. Therefore, the outputs of the adders 31 and 32 are supplied to the comparison circuit 35 and the selector 36, and the smaller one of the two is taken out from the selector 36, which is supplied to the subtracter 37, and the data ER stored in the latch 38 is 2 is subtracted. Therefore, the output of the subtractor 37 contains d 2 and
Among d 3 , the one with a lower level appears, and this and d 1 from the subtracter 33 are supplied to the comparison circuit 39 and the selector 40 . Then, the data of the lowest level among d 1 , d 2 , and d 3 is extracted as the output of the selector 40 .
このデータがRAM41のアドレス入力とされ
る。RAM41には、CPU12で作成されたゲイ
ン及びクリツプレベルに関するデータテーブルが
格納されている。つまり、アナログ信号における
スライス操作及びゲインコントロール処理が
RAM41によつてなされる。クリツプレベルと
しては、ピーククリツプレベルのみ或いはボトム
クリツプレベル及びピーククリツプレベルの両者
が用いられる。このRAM41の出力がデイジタ
ルフイルタ42によつて帯域制限され、このデイ
ジタルフイルタ42の出力にデイジタルのキー信
号が発生する。 This data is used as address input to the RAM 41. A data table regarding gain and clip level created by the CPU 12 is stored in the RAM 41. In other words, slice operations and gain control processing on analog signals are
This is done by RAM41. As the clip level, only the peak clip level or both the bottom clip level and the peak clip level are used. The output of this RAM 41 is band-limited by a digital filter 42, and a digital key signal is generated at the output of this digital filter 42.
このキー信号がスイツチ回路43に供給され
る。このスイツチ回路43の他方の入力端子に
は、端子44から(K=1)に相当するデータが
供給されている。前述のスイツチ回路19とスイ
ツチ回路43とは連動しており、通常のクロマキ
ー動作がなされるときは、フイルタ42からのキ
ー信号が選択され、このキー信号のレベルに応じ
た比率で混合された合成カラービデオデータが加
算器9から発生する。また、境界表示を行なうと
きは、(K=1)とされるので、加算器9の出力
に前景カラービデオデータのみが現れる。 This key signal is supplied to the switch circuit 43. The other input terminal of this switch circuit 43 is supplied with data corresponding to (K=1) from a terminal 44. The switch circuit 19 and the switch circuit 43 mentioned above are interlocked, and when a normal chroma key operation is performed, the key signal from the filter 42 is selected, and the synthesized signal is mixed at a ratio according to the level of this key signal. Color video data is generated from adder 9. Further, when performing boundary display, since (K=1) is set, only the foreground color video data appears at the output of the adder 9.
上述の一実施例の説明から理解されるように、
この発明に依れば、直線群によつてキー信号の範
囲を所定のものに設定でき、したがつて実際に使
用するスクリーンの色や被写体の色に応じて最適
なキー信号を形成することができる。また、直線
群でキー信号の範囲を設定できるので、CPUな
どによつて比較的容易にキー信号の範囲を定める
ことができる。 As understood from the description of one embodiment above,
According to this invention, the range of the key signal can be set to a predetermined value using the straight line group, and therefore it is possible to form the optimal key signal according to the color of the screen actually used and the color of the subject. can. Furthermore, since the range of the key signal can be set using a group of straight lines, the range of the key signal can be determined relatively easily using the CPU or the like.
第1図はこの発明におけるキー信号の形成方法
の説明に用いる略線図、第2図、第3図及び第4
図はこの発明における境界信号の形成方法の説明
に用いる略線図、第5図はこの発明の一実施例の
構成を示すブロツク図、第6図及び第7図はこの
発明の一実施例の説明に用いる波形図及び略線図
である。
1……前景カラービデオ信号の入力端子、2…
…背景カラービデオ信号の入力端子、6,7……
乗算器、11,24,41……RAM、12……
CPU、17……出力端子、35,39……比較
回路、36,40……セレクタ。
FIG. 1 is a schematic diagram used to explain the key signal forming method in this invention, FIG. 2, FIG. 3, and FIG.
The figure is a schematic diagram used to explain the method of forming a boundary signal in this invention, FIG. 5 is a block diagram showing the configuration of an embodiment of this invention, and FIGS. They are a waveform diagram and a schematic diagram used for explanation. 1...Foreground color video signal input terminal, 2...
...Input terminal for background color video signal, 6, 7...
Multiplier, 11, 24, 41...RAM, 12...
CPU, 17...output terminal, 35, 39...comparison circuit, 36, 40...selector.
Claims (1)
ラービデオ信号が入力され、係数Kを乗算する第
1の乗算回路と、背景カラービデオ信号が入力さ
れ、係数1−Kを乗算する第2の乗算回路と、上
記第1の乗算回路の出力信号と上記第2の乗算回
路の出力信号とを加算して出力する加算回路とを
備えたクロマキー装置において、 上記前景カラービデオ信号から色信号を分離す
るY/C分離回路と、 上記背景色領域を(U−V)座標系にて複数の
直線により定め、上記Y/C分離回路から出力さ
れる上記色信号の上記(U−V)座標系での座標
と上記複数の直線との距離のうち最小の距離を示
す信号を出力する選択回路と、 上記選択回路の出力信号が供給され上記係数K
及び上記係数1−Kを形成し、上記第1の乗算回
路及び上記第2の乗算回路に供給するキー信号生
成回路と を備えたことを特徴とするクロマキー装置。[Scope of Claims] 1. A first multiplication circuit that receives a foreground color video signal in which a subject is located in front of a predetermined background color and multiplies it by a coefficient K; and an addition circuit that adds and outputs an output signal of the first multiplier circuit and an output signal of the second multiplier circuit, the foreground color video A Y/C separation circuit separates a color signal from a signal, and the background color area is defined by a plurality of straight lines in a (U-V) coordinate system, and a selection circuit that outputs a signal indicating the minimum distance between the coordinates in the U-V coordinate system and the plurality of straight lines;
and a key signal generation circuit that forms the coefficient 1-K and supplies it to the first multiplication circuit and the second multiplication circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4862682A JPS58166892A (en) | 1982-03-26 | 1982-03-26 | Chroma-key device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4862682A JPS58166892A (en) | 1982-03-26 | 1982-03-26 | Chroma-key device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58166892A JPS58166892A (en) | 1983-10-03 |
| JPH043156B2 true JPH043156B2 (en) | 1992-01-22 |
Family
ID=12808601
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4862682A Granted JPS58166892A (en) | 1982-03-26 | 1982-03-26 | Chroma-key device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58166892A (en) |
-
1982
- 1982-03-26 JP JP4862682A patent/JPS58166892A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58166892A (en) | 1983-10-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5194952A (en) | Video processing system having improved transition control and display | |
| US5162904A (en) | Video processing system having improved internal switching capability | |
| US4394680A (en) | Color television signal processing apparatus | |
| JPS5846783A (en) | Chromakey device | |
| US5432563A (en) | Image contour enhancing apparatus which limits enhancement where signal components for contour enhancement in both horizontal and vertical directions are generated in overlapping relationship | |
| JPH0212435B2 (en) | ||
| CA2002555C (en) | Television receiver | |
| KR100332329B1 (en) | Image signal converting apparatus | |
| EP0549018B1 (en) | Method and apparatus for generating television test patterns | |
| JPH01236885A (en) | Video signal processing circuit | |
| JPH043156B2 (en) | ||
| JPS6319987A (en) | Video signal processing circuit | |
| JP3253310B2 (en) | Luminance signal / color signal separation circuit | |
| JPH043155B2 (en) | ||
| JPS58129890A (en) | Adaptive type luminance signal and chroma signal separation filter | |
| EP0497428A2 (en) | Interphone with television | |
| US5170246A (en) | Video processing system having improved synchronization | |
| JPS6048690A (en) | Sequentially scanning converting device | |
| JPH0316076B2 (en) | ||
| JP3449950B2 (en) | Video signal standard converter | |
| JPH043157B2 (en) | ||
| JP3356183B2 (en) | Scan converter | |
| JPH02131694A (en) | Yc separator circuit | |
| JPH06205294A (en) | Picture signal changeover circuit | |
| JPH02223290A (en) | Television receiver |