JPH043155B2 - - Google Patents
Info
- Publication number
- JPH043155B2 JPH043155B2 JP4862582A JP4862582A JPH043155B2 JP H043155 B2 JPH043155 B2 JP H043155B2 JP 4862582 A JP4862582 A JP 4862582A JP 4862582 A JP4862582 A JP 4862582A JP H043155 B2 JPH043155 B2 JP H043155B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- data
- color
- circuit
- output
- 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
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 239000002131 composite material Substances 0.000 description 4
- 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
- 238000000926 separation method 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 displays the range of a key signal and makes adjustments easy and accurate.
以下、この発明をデイジタルクロマキー装置に
対して適用した一実施例について説明する。 An embodiment in which the present invention is 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 the central axis, and P 2 , P 3 be the straight lines that intersect at the opening angles +θ and -θ, 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 from the origin O of straight lines P 1 , P 2 (P 3 ) are ER 1 , ER 2 , then d 1 , d 2 ,
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 =V A・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 (u a ,
v a ), B (u b , v b ), C (u c , v c ), D (u d , v d ), and U that changes linearly between A, B, C, and D.
(t) and V(t) and generate a chroma signal from them. For example, when moving from point A to point B over a time period of τ, U(t)=u a −u b /τ×t+u a V(t)=va − v b /τ×t+v a .
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/2cosπ)/(α−3
/2π)=−cosα/sinα…(7)
m2=sin(α+θ)/cos(α+θ) …(8)
m3=sin(α−θ)/cos(α−θ) …(9)
:V=sinα/cosα・U …(10)
直線P1と中心軸との交点を(u1、v1)とす
ると
ER1 2=u1 2+v1 2 …(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)式に代入して
ER1 2=a1 2sin2α(sin2α+cos2α)
=a1 2sin2α
したがつて
a1=±ER1/sinα …(14)
a1′=±ER1′/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= m 3・U+a 3 ...(6) Then, as shown in Figure 3, if the angle between the straight lines P 1 and P 1 ' and the U axis is m 1 = sin/cos = sin (α-3/2cosπ) /(α−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 1 2 = u 1 2 + v 1 2 … (11) (4), (7) ), from equation (10), sinα/cosα・u 1 = −cosα/sinαu 1 + a 1 From this, u 1 = a 1・sinα・cosα …(12) Substituting equation (12) into equation (10), v 1 = a 1・sin 2 α …(13) Substituting equations (12) and (13) into equation (11), ER 1 2 = a 1 2 sin 2 α (sin 2 α + cos 2 α) = a 1 2 sin 2 α Therefore a 1 = ±ER 1 / sinα … (14) a 1 ′ = ±ER 1 ′ / sin α … (15) a 2 = ±ER 2 / cos (α + θ) … (16) a 3 = ±ER 2 / cos (α - θ) ... (17) Now, if 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) Intersection A(u a , When calculating v a ), b 1 , b 2 , k 1 , k 2 in equations (18) and (19) are replaced with a 1 ′, a 2 , ( Equations 7) and (8)
Just substitute m 1 and m 2 . Similarly, B
The intersection points of (u b , v b ), C (u c , v c ), and D (u d , v d ) 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軸
に平行な場合には、各交点が下記に示すものとな
る。 u b = u c = ER 1 u a = u d = ER 1 ′ v a = sinθ/cosθ・ER 1 ′+ER 2 /cosθ v d = −v a v b = sinθ/cosθ・ER 1 +ER 2 /cosθ v c =-v b Furthermore, as shown in FIG. 4B, when the straight line P 2 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軸に平行な場合と同様に、各交点が
求められる。 v a = v b = ER 2 v a = −cosα/sinα・ER 2 +ER 1 ′/sinα v b = −cosα/sinα・ER 2 +ER 1 /sinα Regarding points C and D, the above general method is applied. Find it by method. 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, 4 SC ( 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 at each intersection (u a ~ u d , v a ~
v d ) 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. An address is formed that changes with a period of /4 SC . The boundary data read from this RAM 11 is converted into analog by the D/A converter 16 via the switch circuit 10.
It is taken out 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 the foreground color video data and the boundary data are alternately present in each field during the boundary display operation, flicker occurs, but the foreground image can be viewed on the monitor receiver, and The vectorscope displays a boundary display shown in FIG. 7 in which a locus of color data of the foreground color video data is superimposed. 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 aforementioned switch circuit 19 and switch circuit 43 are interlocked, and when a normal chromakey operation is performed, a key signal from the filter 42 is selected and a composite 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.
上述の一実施例の説明から理解されるように、
この発明に依れば、背景色領域をベクトルスコー
プ、CRTデイスプレイ等により表示することが
できるので、実際の前景カラービデオデータを重
畳して表示することにより、背景色領域を最適な
ものに容易に調整することが可能となる。例えば
使用するバツクスクリーンの色がやや基準のもの
とずれているときに、中心軸のU軸に対して
なす角度αを変えるとか、被写体の色がバツクス
クリーンの色に近い場合に開き角度θを小さくす
るとかの調整がなされる。 As understood from the description of one embodiment above,
According to this invention, the background color area can be displayed using a vectorscope, CRT display, etc., so by superimposing and displaying actual foreground color video data, the background color area can be easily optimized. It becomes possible to make adjustments. For example, if the color of the back screen you are using is slightly different from the standard, you may want to change the angle α between the central axis and the U axis, or if the color of the subject is close to the color of the back screen, you may want to change the opening angle θ. Adjustments are made to make it smaller.
また、上述のこの発明の一実施例のように、背
景色領域を表示する場合に、直線群で背景色領域
を定義すると共に、この交点のみのデータを形成
すれば、メモリーの容量が小さくてすみ、演算で
求めるデータの数が少なくてすみ、更に、CPU
におけるプログラムのステツプ数を少なくできる
利点がある。 In addition, when displaying a background color area, as in the embodiment of the present invention described above, if the background color area is defined by a group of straight lines and data for only these intersection points is formed, the memory capacity is small. The amount of data required for calculations is small, and the CPU
This has the advantage of reducing the number of steps in the program.
第1図はこの発明におけるキー信号の形成方法
の説明に用いる略線図、第2図、第3図及び第4
図はこの発明における境界信号の形成方法の説明
に用いる略線図、第5図はこの発明の一実施例の
構成を示すブロツク図、第6図及び第7図はこの
発明の一実施例の説明に用いる波形図及び略線図
である。
1…前景カラービデオ信号の入力端子、2…背
景カラービデオ信号の入力端子、6,7…乗算
器、11,24,41…RAM、12…CPU、1
7…出力端子、35,39…比較回路、36,4
0…セレクタ。
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... Input terminal for foreground color video signal, 2... Input terminal for background color video signal, 6, 7... Multiplier, 11, 24, 41... RAM, 12... CPU, 1
7... Output terminal, 35, 39... Comparison circuit, 36, 4
0...Selector.
Claims (1)
ラービデオ信号が入力され、係数Kを乗算する第
1の乗算回路と、背景カラービデオ信号が入力さ
れ、係数1−Kを乗算する第2の乗算回路と、上
記第1の乗算回路の出力信号と上記第2の乗算回
路の出力信号とを加算して出力する加算回路とを
備えたクロマキー装置において、 上記背景色の領域を(U−V)座標系にて複数
の直線により示すためのデータを記憶するメモリ
と、 基準の水平同期信号及び基準のカラーサブキヤ
リア信号に基づいて読出しアドレス信号を形成
し、上記メモリに供給する読出しアドレス形成回
路と、 上記加算回路の出力信号及び上記メモリの出力
信号が選択的に供給されるベクトルスコープとを
備え、 上記ベクトルスコープにより上記前景カラービ
デオ信号の色相及び上記複数の直線を選択的に表
示するようにしたことを特徴とするクロマキー装
置。[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; A chromakey device comprising: a second multiplier circuit that multiplies the background color; and an adder circuit that adds and outputs the output signal of the first multiplier circuit and the second multiplier circuit; A memory for storing data for indicating an area by a plurality of straight lines in a (U-V) coordinate system, and a read address signal is formed based on a reference horizontal synchronization signal and a reference color subcarrier signal, and is stored in the memory. and a vectorscope to which the output signal of the adder circuit and the output signal of the memory are selectively supplied. A chromakey device characterized by selective display.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4862582A JPS58166891A (en) | 1982-03-26 | 1982-03-26 | Chroma-key device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4862582A JPS58166891A (en) | 1982-03-26 | 1982-03-26 | Chroma-key device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58166891A JPS58166891A (en) | 1983-10-03 |
| JPH043155B2 true JPH043155B2 (en) | 1992-01-22 |
Family
ID=12808578
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4862582A Granted JPS58166891A (en) | 1982-03-26 | 1982-03-26 | Chroma-key device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58166891A (en) |
-
1982
- 1982-03-26 JP JP4862582A patent/JPS58166891A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58166891A (en) | 1983-10-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5194952A (en) | Video processing system having improved transition control and display | |
| US4394680A (en) | Color television signal processing apparatus | |
| US20050036066A1 (en) | Apparatus and method for motion-vector-aided interpolation of a pixel of an intermediate image of an image sequence | |
| JPH0212435B2 (en) | ||
| KR100332329B1 (en) | Image signal converting apparatus | |
| JPH07110063B2 (en) | Television equipment | |
| EP0549018B1 (en) | Method and apparatus for generating television test patterns | |
| JPH0686316A (en) | Apparatus for video special effect | |
| US5091783A (en) | Still more feature for improved definition television digital processing units, systems, and methods | |
| JPH043155B2 (en) | ||
| JPS6319987A (en) | Video signal processing circuit | |
| US5091786A (en) | Multi-screen feature for improved definition television digital processing units, systems, and methods | |
| JPH043156B2 (en) | ||
| JPS58129890A (en) | Adaptive type luminance signal and chroma signal separation filter | |
| US5170246A (en) | Video processing system having improved synchronization | |
| JPS6048690A (en) | Sequentially scanning converting device | |
| JPS6141290A (en) | Y/c separator of color television signal | |
| JPH0316076B2 (en) | ||
| WO2006061421A2 (en) | Method and apparatus for generating motion compensated pictures | |
| JPH0787539B2 (en) | Video processor for visual finder | |
| JPH043157B2 (en) | ||
| JPH05145866A (en) | Multi screen display device | |
| JPH06189335A (en) | Three-dimensional luminance signal color signal separation device | |
| JPH01194780A (en) | Line-number converting method | |
| JPH06205294A (en) | Picture signal changeover circuit |