JP2504163B2 - Chromakey device - Google Patents

Chromakey device

Info

Publication number
JP2504163B2
JP2504163B2 JP3245689A JP3245689A JP2504163B2 JP 2504163 B2 JP2504163 B2 JP 2504163B2 JP 3245689 A JP3245689 A JP 3245689A JP 3245689 A JP3245689 A JP 3245689A JP 2504163 B2 JP2504163 B2 JP 2504163B2
Authority
JP
Japan
Prior art keywords
circuit
color
signal
output
key
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 - Lifetime
Application number
JP3245689A
Other languages
Japanese (ja)
Other versions
JPH02211791A (en
Inventor
裕一 小山
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP3245689A priority Critical patent/JP2504163B2/en
Publication of JPH02211791A publication Critical patent/JPH02211791A/en
Application granted granted Critical
Publication of JP2504163B2 publication Critical patent/JP2504163B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はテレビジョンの特殊効果に関し、常に最適の
条件でクロマキー合成を行なうことができるクロマキー
装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a special effect of television, and relates to a chroma key device which can always perform chroma key composition under optimum conditions.

[従来の技術] 従来、この種のクロマキー装置は、カメラ装置からの
RGB信号よりカラーベクトル上で直交する2軸の信号を
出力するマトリクス回路と、マトリクス回路の出力信号
をカーソル点のタイミングで取り込むCPU回路と、CPU回
路から色の抜き取り領域の指定を受けてマトリクス回路
の出力信号より色の選択を行なう色選択回路と、色選択
回路の出力信号からキー信号を生成するキー信号成形回
路と、カメラ装置のNTSC信号と色選択回路の出力信号か
ら抜き取り色の色消去を行なう色消去回路と、色消去回
路の出力信号とバックグランド入力信号とを合成する映
像混合回路とからなっていた。
[Prior Art] Conventionally, this type of chroma key device is
A matrix circuit that outputs signals of two axes that are orthogonal to each other on the color vector from the RGB signal, a CPU circuit that captures the output signal of the matrix circuit at the timing of the cursor point, and a matrix circuit that receives the designation of the color extraction area from the CPU circuit A color selection circuit that selects a color from the output signal of, a key signal shaping circuit that generates a key signal from the output signal of the color selection circuit, and a color erase of the extracted color from the NTSC signal of the camera device and the output signal of the color selection circuit And a video mixing circuit for synthesizing an output signal of the color erasing circuit and a background input signal.

そして、クロマキー装置に入力する信号を、入力条件
に応じた操作なしにクロマキー合成していた。
Then, the signals input to the chroma key device are chroma key combined without any operation according to the input condition.

[発明が解決しようとする課題] 上述した従来のクロマキー装置は、入力信号を何等操
作せずにクロマキー合成していたため、被写体の照明条
件、カメラ装置のアイリスの調整、クロマキーバックの
クロマ量等によって、クロマキー装置の入力条件が大き
く変化した場合、最良の状態でクロマキー合成をするこ
とができなかった。
[Problems to be Solved by the Invention] In the above-described conventional chroma key device, chroma key composition is performed without operating the input signal. Therefore, depending on the illumination condition of the subject, the adjustment of the iris of the camera device, the chroma amount of the chroma key back, etc. However, when the input condition of the chroma key device changed significantly, it was not possible to perform chroma key composition in the best condition.

[課題を解決するための手段] 本発明は、入力条件が変化しても常に最適なクロマキ
ー合成を行なうことができるクロマキー装置の提供を目
的とする。かかる目的を達成するため、本発明のクロマ
キー装置は、カメラ装置からのRGB信号よりカラーベク
トル上で直交する2軸の信号を出力するマトリクス回路
と、該マトリクス回路の出力信号をカーソル点のタイミ
ングで取り込むCPU回路と、該CPU回路から色の抜き取り
領域の指定を受けて上記マトリクス回路の出力信号より
色の選択を行なう色選択回路と、上記CPU回路により計
算された上記色選択回路の出力信号のレベルに応じて上
記色選択回路の出力信号をクリップ及びストレッチして
キー信号を生成するキー信号成形回路と、カメラ装置の
NTSC信号と上記色選択回路の出力信号を受け上記CPU回
路からの色信号により抜き取り色の色消去を行なう色消
去回路と、上記色消去回路からの出力とバックグランド
入力信号とを上記キー信号成形回路の出力キー信号を基
準に合成を行なう映像混合回路を具備することを特徴と
する。
[Means for Solving the Problem] It is an object of the present invention to provide a chroma key device that can always perform optimum chroma key composition even if input conditions change. In order to achieve such an object, the chroma-key device of the present invention has a matrix circuit that outputs signals of two axes that are orthogonal to each other on a color vector from an RGB signal from a camera device, and an output signal of the matrix circuit at a cursor point timing. A CPU circuit for fetching, a color selection circuit for selecting a color from an output signal of the matrix circuit in response to designation of a color sampling area from the CPU circuit, and an output signal of the color selection circuit calculated by the CPU circuit. A key signal shaping circuit for clipping and stretching the output signal of the color selection circuit according to the level to generate a key signal;
The key signal shaping is performed by the color erasing circuit that receives the NTSC signal and the output signal of the color selection circuit and erases the color of the extracted color by the color signal from the CPU circuit, and the output from the color erasing circuit and the background input signal. It is characterized in that it is provided with an image mixing circuit for synthesizing based on an output key signal of the circuit.

[実施例] 次に、本発明の実施例について図面を参照して説明す
る。
Example Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明のクロマキー装置の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a chroma key device of the present invention.

本実施例のクロマキー装置は、カメラ装置1からRGB
信号を入力してカラーベクトル上で直交する2軸の信号
を出力するマトリクス回路2と、マトリクス回路2の出
力信号より色の選択を行なう色選択回路3と、色選択回
路3の出力信号をクリップ及びストレッチしてキー信号
を生成するキー信号成形回路4と、カメラ装置1のNTSC
信号と色選択回路3の出力信号を受けて色消去を行なう
色消去回路5と、色消去回路5の出力とバックグランド
入力信号とをキー信号成形回路4から出力するキー信号
を基準に合成する映像混合回路6と、上記各回路を制御
するCPU回路7とからなる。
The chroma key device according to the present embodiment is the same as the camera device 1 from RGB.
A matrix circuit 2 that inputs a signal and outputs a biaxial signal that is orthogonal on a color vector, a color selection circuit 3 that selects a color from the output signal of the matrix circuit 2, and an output signal of the color selection circuit 3 are clipped. And a key signal shaping circuit 4 that stretches to generate a key signal, and NTSC of the camera device 1.
The color erasing circuit 5 for erasing the color by receiving the signal and the output signal of the color selecting circuit 3, and the output of the color erasing circuit 5 and the background input signal are combined based on the key signal output from the key signal shaping circuit 4. It comprises an image mixing circuit 6 and a CPU circuit 7 for controlling the above circuits.

上記CPU回路7は、マトリクス回路2の出力信号をカ
ーソル点のタイミングで取り込み、色選択回路3に対し
て色選択の際の色の抜き取り領域を指定し、色選択回路
3の出力信号のレベル計算してキー信号成形回路4に対
して出力しクリップ及びストレッチの量を制御させ、色
消去回路5に対して消去する色の色信号を出力する。
The CPU circuit 7 fetches the output signal of the matrix circuit 2 at the timing of the cursor point, designates the color extraction area for color selection to the color selection circuit 3, and calculates the level of the output signal of the color selection circuit 3. The color signal is output to the key signal shaping circuit 4 to control the amount of clipping and stretching, and the color signal of the color to be erased is output to the color erasing circuit 5.

次に、本実施例の作用を説明する。 Next, the operation of this embodiment will be described.

カメラ装置1の出力であるRGB信号はマトリクス回路
2によってカラーベクトル上で直交するR−YとB−Y
の2成分に変換される。カラーベクトルのチャートを第
2図に示す。
The RGB signal output from the camera device 1 is RY and BY which are orthogonal to each other on the color vector by the matrix circuit 2.
Is converted into two components. A color vector chart is shown in FIG.

CPU回路7に入力される制御入力信号によって、有効
画面上の抜き取りたい色の領域にカーソルを移動させ、
マトリクス回路2の出力をカーソル点のタイミング及び
その近傍の8ポイント程について、R−Y及びB−Yの
成分についてそれぞれCPU回路7に取り込む。ノイズ等
の影響を考慮して、これら8ポイントのデータの平均を
求め、得られた結果をサンプル点Aとし、そのR−Y及
びB−Yの成分をβ及びαとする。
The control input signal input to the CPU circuit 7 moves the cursor to the area of the color to be extracted on the effective screen,
The output of the matrix circuit 2 is fetched into the CPU circuit 7 for each of the RY and BY components at the timing of the cursor point and about 8 points in the vicinity thereof. Considering the influence of noise and the like, the average of the data of these 8 points is obtained, the obtained result is set as the sample point A, and its RY and BY components are set as β and α.

αとβよりサンプル点Aの色相が計算され、第2図の
θが求められる。このθをもとに色選択回路3で色選択
が行なわれ、第2図の線分a−a′の斜線側の領域が色
選択される。この時、色選択回路3の出力(ソフトキー
信号)のレベルは、線分a−a′に対してサンプル点A
からの直交成分γとなる。すなわち、これはサンプル点
Aの彩度と同じ値である。
The hue at the sample point A is calculated from α and β, and θ in FIG. 2 is obtained. Color selection is performed by the color selection circuit 3 based on this .theta., And the shaded area of the line segment aa 'in FIG. 2 is selected. At this time, the level of the output (soft key signal) of the color selection circuit 3 is the sample point A with respect to the line segment aa '.
Is the orthogonal component γ. That is, this is the same value as the saturation of the sample point A.

従って、入力条件(被写体の照明、カメラのアイリ
ス、クロマキーバック等)の変化によってソフトキー信
号のレベルγが変化するため、γの値の大小に応じてキ
ー信号成形回路4で行なうクリップ及びストレッチの量
を制御することとなる。
Therefore, since the level γ of the softkey signal changes due to changes in the input conditions (illumination of the subject, iris of the camera, chroma keyback, etc.), the clip and stretch of the key signal shaping circuit 4 performed depending on the magnitude of the value of γ. The amount will be controlled.

第3図を参照して、キー信号成形回路4によるクリッ
プ、ストレッチ動作を説明する。色選択回路3の出力が
第3図(a)のような波形の時、ノイズをなくすために
ソフトキー信号のレベルの低い部分をクリップする。こ
のため、クリップ後のソフトキー信号のレベルγ′は、 γ′=(1−C0)×γ となる。ここで、C0は一定値とする。
The clip and stretch operations by the key signal shaping circuit 4 will be described with reference to FIG. When the output of the color selection circuit 3 has a waveform as shown in FIG. 3 (a), the low level portion of the softkey signal is clipped in order to eliminate noise. Therefore, the level γ ′ of the softkey signal after clipping is γ ′ = (1−C 0 ) × γ. Here, C 0 is a constant value.

次に、この出力γ′をストレッチして100%のキー信
号にする必要がある。但し、サンプル点Aのキーレベル
を100%としたのではクロマキーバックのゆるやかなシ
ェーディング等で抜け切らない場合も考えられるため、
第3図(b)に示すように、若干100%以上にサンプル
点Aのキーレベルを設定する必要がある。
Next, it is necessary to stretch this output γ'to obtain a 100% key signal. However, if the key level of sample point A is set to 100%, it is possible that the chroma keyback may not be able to be completely cut out due to gradual shading.
As shown in FIG. 3 (b), it is necessary to set the key level of the sample point A to slightly above 100%.

そこで、ストレッチ量S をクリップ後のキー信号に乗算してストレッチする。こ
こで、S0は一定値とする。その結果、第3図(c)に示
すように100%以上のキー信号レベルはホワイトクリッ
プして、0〜100%の正規化されたキー信号を得る。以
上の演算処理は全てCPU回路7にて計算されて、各回路
に計算結果が与えられる。
Therefore, the stretch amount S Is multiplied by the key signal after clipping and stretched. Here, S 0 is a constant value. As a result, as shown in FIG. 3C, the key signal level of 100% or more is white clipped to obtain a normalized key signal of 0 to 100%. All the above arithmetic processing is calculated by the CPU circuit 7, and the calculation result is given to each circuit.

尚、C0およびS0は一定値であるが、入力信号レベルに
応じてγの値が変化するため、入力条件によらず常に最
適なキー信号を得ることができる。
Although C 0 and S 0 are constant values, the value of γ changes depending on the input signal level, so that an optimum key signal can always be obtained regardless of the input condition.

色消去回路5では、カメラ装置1からNTSC信号、CPU
回路7から選択された色の逆位相の色信号を入力し、色
選択回路3のソフトキー信号で逆位相の色をキーイング
(乗算)した後、NTSC信号と加算することで色選択した
部分の色を消去している。そして、色消去回路5の出力
信号とバックグランド入力信号を映像混合回路6に入力
し、キー信号成形回路4の出力キー信号を基準に合成し
て合成映像出力信号を出力する。
In the color erasing circuit 5, the NTSC signal from the camera device 1, CPU
The color signal of the opposite phase of the selected color is input from the circuit 7, the opposite phase color is keyed (multiplied) by the soft key signal of the color selection circuit 3, and then added with the NTSC signal. The color is erased. Then, the output signal of the color erasing circuit 5 and the background input signal are input to the video mixing circuit 6, and the output key signal of the key signal shaping circuit 4 is combined to output a composite video output signal.

[発明の効果] 以上説明したように本発明は、クロマキー装置への入
力条件(被写体の照明、カメラのアイリス、クロマキー
バックのクロマ量等)が変化しても、CPU回路にカーソ
ル点の色情報を取り込んで、これによって色選択及びキ
ー信号の成形を制御しているため、常に最適の状態でク
ロマキー合成ができる効果がある。
[Effects of the Invention] As described above, according to the present invention, even if the input condition (illumination of the subject, camera iris, chroma amount of chroma key back, etc.) to the chroma key device changes, the color information of the cursor point is displayed in the CPU circuit. Since the color selection and the shaping of the key signal are controlled by taking in, there is an effect that the chroma key combination can be always performed in the optimum state.

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

第1図は本発明のクロマキー装置の一実施例を示すブロ
ック図、第2図はカラーベクトル図上のサンプル色と各
成分の関係を示したチャート、第3図(a)〜(c)は
クリップ及びストレッチ動作を示した図であり、第3図
(a)はクリップ時のキー信号波形、第3図(b)はス
トレッチ時のキー信号波形、第3図(c)はキー信号成
形回路の出力波形を示した図である。 1:カメラ装置、2:マトリクス回路 3:色選択回路、4:キー信号成形回路 5:色消去回路、6:映像混合回路 7:CPU回路
FIG. 1 is a block diagram showing an embodiment of a chroma key device of the present invention, FIG. 2 is a chart showing the relationship between sample colors and respective components on a color vector diagram, and FIGS. 3 (a) to 3 (c) are FIG. 3A is a diagram showing a clip and stretch operation, FIG. 3A is a key signal waveform during clipping, FIG. 3B is a key signal waveform during stretching, and FIG. 3C is a key signal shaping circuit. It is a figure showing the output waveform of. 1: Camera device, 2: Matrix circuit 3: Color selection circuit, 4: Key signal shaping circuit 5: Color erasing circuit, 6: Video mixing circuit 7: CPU circuit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】カメラ装置からのRGB信号よりカラーベク
トル上で直交する2軸の信号を出力するマトリクス回路
と、該マトリクス回路の出力信号をカーソル点のタイミ
ングで取り込むCPU回路と、該CPU回路から色の抜き取り
領域の指定を受けて上記マトリクス回路の出力信号より
色の選択を行なう色選択回路と、 上記CPU回路により計算された上記色選択回路の出力信
号のレベルに応じて上記色選択回路の出力信号をクリッ
プ及びストレッチしてキー信号を生成するキー信号成形
回路と、カメラ装置のNTSC信号と上記色選択回路の出力
信号を受け上記CPU回路からの色信号により抜き取り色
の色消去を行なう色消去回路と、 上記色消去回路からの出力とバックグランド入力信号と
を上記キー信号成形回路の出力キー信号を基準に合成す
る映像混合回路を具備することを特徴とするクロマキー
装置。
1. A matrix circuit for outputting signals of two axes orthogonal to each other on a color vector from an RGB signal from a camera device, a CPU circuit for fetching an output signal of the matrix circuit at a timing of a cursor point, and a CPU circuit from the CPU circuit. A color selection circuit for selecting a color from the output signal of the matrix circuit in response to the designation of the color extraction area, and a color selection circuit for the color selection circuit according to the level of the output signal of the color selection circuit calculated by the CPU circuit. A key signal shaping circuit that clips and stretches the output signal to generate a key signal, and a color that receives the NTSC signal of the camera device and the output signal of the color selection circuit and erases the extracted color by the color signal from the CPU circuit. An erasing circuit and a video mixing circuit for synthesizing the output from the color erasing circuit and the background input signal with reference to the output key signal of the key signal shaping circuit. Chromakey apparatus characterized by comprising.
JP3245689A 1989-02-10 1989-02-10 Chromakey device Expired - Lifetime JP2504163B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3245689A JP2504163B2 (en) 1989-02-10 1989-02-10 Chromakey device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3245689A JP2504163B2 (en) 1989-02-10 1989-02-10 Chromakey device

Publications (2)

Publication Number Publication Date
JPH02211791A JPH02211791A (en) 1990-08-23
JP2504163B2 true JP2504163B2 (en) 1996-06-05

Family

ID=12359475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3245689A Expired - Lifetime JP2504163B2 (en) 1989-02-10 1989-02-10 Chromakey device

Country Status (1)

Country Link
JP (1) JP2504163B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7485719B2 (en) 2003-02-21 2009-02-03 Terumo Kabushiki Kaisha Crosslinkable polysaccharide derivative, process for producing the same, crosslinkable polysaccharide composition, and medical treatment material

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3503166B2 (en) * 1993-07-29 2004-03-02 ソニー株式会社 Signal conversion device and method
JPH07203298A (en) * 1993-12-28 1995-08-04 Nec Corp Image composition circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7485719B2 (en) 2003-02-21 2009-02-03 Terumo Kabushiki Kaisha Crosslinkable polysaccharide derivative, process for producing the same, crosslinkable polysaccharide composition, and medical treatment material

Also Published As

Publication number Publication date
JPH02211791A (en) 1990-08-23

Similar Documents

Publication Publication Date Title
JP2946151B2 (en) Chroma key generation circuit
JPH10261077A (en) Device and method for correcting gradation of image pickup device
JP2009504037A (en) Correction of improper exposure areas in digital images
US20060239674A1 (en) System and method for analyzing a digital image
JP4758999B2 (en) Image processing program, image processing method, and image processing apparatus
JPH05153493A (en) Video signal synthesis device
JP2004040559A (en) Method and program for processing image and image processor
JP2504163B2 (en) Chromakey device
US6792158B1 (en) System and method for image enhancement
JPH05205039A (en) Method and device for color image processing
JPH0239153B2 (en)
JP3698448B2 (en) Color detection circuit, camera with color detection circuit, and method for automatically selecting a desired color
JPS6354144A (en) Electronic endoscope apparatus
JP6202238B2 (en) Image processing apparatus, image processing method, and program
JP2000316125A (en) Picture compositing device
JP3680649B2 (en) Peak clip circuit
JPS636199B2 (en)
JPH11313252A (en) Digital camera system, image processing method and storage medium
JP4982964B2 (en) Color adjustment circuit, image display device, color adjustment method and program
JP2004072371A (en) Camera device and its exposure controlling method
JP3081346B2 (en) Digital fade circuit
JP2001177736A (en) Gradation correction device and gradation correction method for imaging device
JPH11331597A (en) Gradation correcting device of image pickup device and gradation correcting method
JPH0435174A (en) Video signal compression circuit
JPH0782307B2 (en) Color conversion device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080402

Year of fee payment: 12

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090402

Year of fee payment: 13

EXPY Cancellation because of completion of term