JPH0646449A - Achromatic processing method for image data - Google Patents

Achromatic processing method for image data

Info

Publication number
JPH0646449A
JPH0646449A JP19967892A JP19967892A JPH0646449A JP H0646449 A JPH0646449 A JP H0646449A JP 19967892 A JP19967892 A JP 19967892A JP 19967892 A JP19967892 A JP 19967892A JP H0646449 A JPH0646449 A JP H0646449A
Authority
JP
Japan
Prior art keywords
color
processing
achromatic
hue
range
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
JP19967892A
Other languages
Japanese (ja)
Other versions
JP2771741B2 (en
Inventor
Kenji Nakajima
健二 中島
Zenichiro Misawa
善一郎 三澤
Shigeru Shimoda
茂 下田
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.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
Japan Broadcasting 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 Nippon Hoso Kyokai NHK, Japan Broadcasting Corp filed Critical Nippon Hoso Kyokai NHK
Priority to JP19967892A priority Critical patent/JP2771741B2/en
Publication of JPH0646449A publication Critical patent/JPH0646449A/en
Application granted granted Critical
Publication of JP2771741B2 publication Critical patent/JP2771741B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)

Abstract

PURPOSE:To eliminate the leakage of a sample color at a boundary part of synthesization and to obtain a soft chromakey synthetic screen with high quality by applying the continuous achromatic processing to the mixture component of the sample color and another color. CONSTITUTION:The foreground picture data are fetched into an image memory 1 and the hue data, etc., on the images are read out of the memory 1. A CPU 4 generates a parameter necessary for the achromatic processing conversion of a hue range (processing range) where the achromatic processing is carried out based on the read data. The parameter is sent to a conversion processing part 2. The part 2 performs the achromatic processing of the foreground picture data read out of the memory 1 through an arithmetic circuit based on the parameter received from the CPU 4 and a look-up table. Thus the automatic ground picture data are obtained. The processing range of the part 2 is set by the CPU 4 with software in accordance with the hue distribution of the mixed color set at the boundary part of different colors and therefore never limited by the shape and the size of the processing.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ソフトクロマキー画面
合成に用いる画像データの色消し処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an achromatic processing method of image data used for soft chroma key screen composition.

【0002】[0002]

【発明の概要】この発明は、ソフトクロマキー画面合成
に用いる画像データの色消し処理において、抜き取り色
(クロマキーブルー)と他の色が混合している境界部で
起きる、処理の不連続による合成画質劣化の改善を目的
に、画像データに基づいて混合色の色相分布を求め、こ
の色相分布に適応して色消し処理を行う色相範囲を設定
し、この設定した色相範囲内の混合色データに対して色
消し処理を連続的に行うようにしたものである。
SUMMARY OF THE INVENTION The present invention provides a composite image quality due to discontinuity of processing that occurs at a boundary portion where a sampling color (chroma key blue) and other colors are mixed in an achromatic processing of image data used for soft chroma key screen composition. For the purpose of improving the deterioration, obtain the hue distribution of the mixed color based on the image data, set the hue range to perform the achromatic processing by adapting to this hue distribution, and for the mixed color data within this set hue range The achromatic process is continuously performed.

【0003】[0003]

【従来の技術】まず、最初に、ソフトクロマキー画面合
成および色消し処理について説明を行う。
2. Description of the Related Art First, soft chroma key screen composition and color erasing processing will be described.

【0004】ソフトクロマキー画面合成では、抜き取り
色(クロマキーブルー)のレベルから生成したリニアキ
ーにより前景画と背景画の合成を行う。このとき、合成
画像の境界部では前景画と背景画が混ざって合成される
ため抜き取り色が漏れて残り、青ぶちが生じて画質劣化
を起こす。この青ぶちの解決策として、ソフトクロマキ
ー画面合成では、図2に示すように、キー発生,色消し
処理部21において、前景画から抜き取り色成分を取り
除く色消し処理を行って、色消し処理された前景画を得
ると共に、前景画からキー信号を生成する。そして、合
成部22において、キー信号を用いて、色消し処理され
た前景画と背景画とを合成し、合成画を得る。
In soft chroma key screen synthesis, a foreground image and a background image are synthesized by a linear key generated from the level of the extracted color (chroma key blue). At this time, since the foreground image and the background image are mixed and combined at the boundary portion of the combined image, the extracted color remains and remains, and blue spots are generated to deteriorate the image quality. As a solution to this blue spot, in the soft chroma key screen composition, as shown in FIG. 2, in the key generation / achromatization processing unit 21, an achromatization processing for removing the extracted color component from the foreground image is performed, and the achromatization processing is performed. A foreground picture is obtained and a key signal is generated from the foreground picture. Then, the synthesizing unit 22 synthesizes the foreground image and the background image that have been subjected to the achromatization using the key signal to obtain a synthesized image.

【0005】このような従来のソフトクロマキー画面合
成の例として、「レベル適応型ディジタルRGBクロマ
キー」(NHK技研月報昭和63年2月号)があり、そ
のクロマキーに適用されている色消し処理手法を図3に
示す。図3に示すように、抜き取り色Eの色相を中心と
した無彩色を頂点とする扇形の色相範囲内(矢印31,
32で示す)の色成分に対して、リニアキーのレベルで
拭き取り色成分と逆相のキャリアを変調し、前景画と加
算することにより色消し処理を行っていた。
As an example of such conventional soft chroma key screen synthesis, there is "Level adaptive digital RGB chroma key" (NHK Giken monthly report, February 1988 issue), and the achromatic processing method applied to the chroma key is used. As shown in FIG. As shown in FIG. 3, within a fan-shaped hue range having an achromatic color centered on the hue of the extracted color E (arrow 31,
The color component (denoted by numeral 32) is modulated by a carrier having a phase opposite to that of the wiped color component at the level of the linear key, and is added to the foreground image to perform the achromatization process.

【0006】[0006]

【発明が解決しようとする課題】一般的に、画面中には
それぞれ異なった色の複数の物体がある。このとき、カ
メラのボケや色の反射等により、画面の中でそれぞれの
物体の境界では色が混じった状態になっている。例えば
図4のaのような、抜き取り色Bの中に、A色,B色,
C色,D色の物体がある前景画を考えた時、それぞれの
物体間の境界部には混合色からなる部分が存在する。こ
のとき色相平面上では、図4のbのようにA色とB色の
間,B色とC色の間,B色とD色の間に混合色成分が連
続的に分布している。
Generally, there are a plurality of objects of different colors on the screen. At this time, due to blurring of the camera, reflection of colors, and the like, colors are mixed at the boundaries of the respective objects in the screen. For example, in the extracted color B as shown in FIG. 4A, A color, B color,
Considering a foreground image with C-color and D-color objects, there is a mixed color portion at the boundary between the objects. At this time, on the hue plane, mixed color components are continuously distributed between colors A and B, between colors B and C, and between colors B and D, as shown in FIG. 4B.

【0007】図3のように、従来の色消し処理手法で
は、抜き取り色を含む扇形の色相範囲を処理を行う範囲
として設定していた。そのため、図4のbのように色相
平面上で混合色が広く存在している場合には、色消し処
理は混合色に完全に対応できなかった。つまり、混合色
をカバーするためには扇形の中心角を大きくしなければ
ならないが、そうすると本来色消し処理をしてはならな
い、抜き取り色と接していない色成分に対しても処理を
行ってしまうため合成画質が劣化してしまう。従って、
従来の色消し処理手法では、図5に示すように混合色成
分の中を処理範囲の境界(図中、矢印33,34で示
す)が横切らざるを得ず、混合色でも色消し処理される
成分とされない成分とが明確に分けられてしまうことに
なる。このように従来の色消し処理では、抜き取り色と
他色との間に連続的に分布する混合色に対して不連続な
処理しかできず、抜き取り色の漏れを無くすることがで
きなかった。
As shown in FIG. 3, in the conventional achromatic processing method, the fan-shaped hue range including the extracted color is set as the processing range. Therefore, in the case where the mixed color is widely present on the hue plane as shown in FIG. 4B, the achromatization cannot completely deal with the mixed color. In other words, in order to cover the mixed colors, the central angle of the fan shape must be increased, but if this is the case, the color components that should not be erased, which are not in contact with the extracted colors, will also be processed. Therefore, the composite image quality deteriorates. Therefore,
In the conventional achromatic processing method, as shown in FIG. 5, the boundary of the processing range (indicated by arrows 33 and 34 in the drawing) must be crossed in the mixed color component, and the achromatic processing is performed even in the mixed color. The components that are not the components are clearly separated. As described above, in the conventional achromatization process, only the discontinuous process can be performed on the mixed color continuously distributed between the extracted color and the other color, and the leakage of the extracted color cannot be eliminated.

【0008】以上のように、従来の扇形の処理範囲をと
る方法では、混合色の処理を充分行えないという欠点が
あった。
As described above, the conventional fan-shaped processing range method has a drawback that it cannot sufficiently process mixed colors.

【0009】そこで、本発明の目的は以上のような問題
を解消した画像データの色消し処理方法を提供すること
にある。
Therefore, an object of the present invention is to provide an achromatic processing method for image data that solves the above problems.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
本発明はソフトクロマキー画面合成に用いる画像データ
に基づいて、抜き取り色と他の色とが混合している境界
部における混合色の色相分布を求め、当該色相分布に適
応して色消し処理を行う色相範囲を設定し、前記画像デ
ータの当該色相範囲内の混合色データに対して色消し処
理を連続的に行うことを特徴とする。
In order to achieve the above object, the present invention is based on image data used for soft chroma key screen synthesis, and based on image data, the hue distribution of the mixed color at the boundary where the extracted color and other colors are mixed. Is obtained, a hue range for performing the achromatic processing is set in accordance with the hue distribution, and the achromatic processing is continuously performed on the mixed color data within the hue range of the image data.

【0011】[0011]

【作用】本発明によれば色消し処理を行う色相範囲を混
合色の分布に適応した範囲に設定し、混合色に対して色
消し処理を行う。
According to the present invention, the hue range in which the achromatic processing is performed is set to a range adapted to the distribution of the mixed color, and the achromatic processing is performed on the mixed color.

【0012】[0012]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0013】図1は本発明の実施例にかかる色消し処理
部の回路を示す。
FIG. 1 shows a circuit of an achromatic processing unit according to an embodiment of the present invention.

【0014】図1において、1は前景画データを取り込
む画像メモリ、2は色消し処理等を行う変換処理部であ
って、ルックアップテーブルおよび演算回路を有する。
3はバス、4はバス3を介し、画像メモリ1および変換
処理部2を制御するCPUである。5は前景画データか
らキー信号を生成するキー発生部である。図1を参照し
ながら、処理の流れを述べる。まず前景画データを画像
メモリ1上に取り込み、そこから前景画データにおける
画像の色相等のデータを読み込む。CPU4では読み込
まれたデータから、色消し処理を行う色相範囲(処理範
囲)等の色消し処理変換に必要なパラメータを生成し、
変換処理部2に送る。変換処理部2ではCPU4からの
パラメータを用いて、ルックアップテーブルを参照して
演算回路により、画像メモリ1からの前景画データの色
消し処理を行う。
In FIG. 1, reference numeral 1 is an image memory for fetching foreground image data, and 2 is a conversion processing unit for performing an achromatization process and the like, and has a look-up table and an arithmetic circuit.
Reference numeral 3 is a bus, and 4 is a CPU that controls the image memory 1 and the conversion processing unit 2 via the bus 3. Reference numeral 5 is a key generator that generates a key signal from the foreground image data. The flow of processing will be described with reference to FIG. First, the foreground image data is loaded into the image memory 1, and the data such as the hue of the image in the foreground image data is read therefrom. The CPU 4 generates, from the read data, parameters necessary for achromatic processing conversion, such as a hue range (processing range) for achromatic processing,
It is sent to the conversion processing unit 2. The conversion processing unit 2 uses the parameters from the CPU 4 to refer to the look-up table and perform an achromatization process on the foreground image data from the image memory 1 by an arithmetic circuit.

【0015】次に変換処理部2における処理範囲の設定
について説明する。本発明では処理範囲は、異なった色
の境界部の混合色の色相分布に合わせてCPU4によっ
てソフトウェアにより設定されるので、範囲の形状、大
きさは限定されるものではない。図6に範囲設定の例を
示す。この例では、A色とB色,B色とC色,B色とD
色のそれぞれの混合色の分布形状に合わせて色消し処理
を行う範囲を設定している。従って抜き取り色Bと他の
色との混合色は処理範囲内に含まれており、色消し処理
は変換処理部2において連続的に行うことができる。
Next, the setting of the processing range in the conversion processing unit 2 will be described. In the present invention, the processing range is set by software by the CPU 4 in accordance with the hue distribution of the mixed color at the boundary of different colors, so the shape and size of the range are not limited. FIG. 6 shows an example of range setting. In this example, A color and B color, B color and C color, B color and D
The range in which the color erasing process is performed is set according to the distribution shape of each color mixture. Therefore, the mixed color of the extracted color B and other colors is included in the processing range, and the achromatizing process can be continuously performed in the conversion processing unit 2.

【0016】次に以上のようにして求められた処理範囲
内の混合色に対する変換処理部2における連続的な色消
し処理について例をあげる。色消し処理は連続的であれ
ばよく、処理方法は限定されるものではないが、図7に
直線比例的な処理の1例を示す。この図の関係はルック
アップテーブルに設定される。図7においてA色はその
まま処理をしないままで、B色は色消し、つまり無彩色
(O色)に変換するとする。このときA−B直線上のZ
色は、A−O直線上のZ′色に変換される。A−B直線
上での中間色(Z色)のA色,B色に対する位置関係
は、そのままA−O直線上での中間色(Z′色)のA
色,O色に対する位置関係に保存される。つまり、式で
表すと、以下のようになり、
Next, an example of continuous achromatic processing in the conversion processing unit 2 for mixed colors within the processing range obtained as described above will be given. The achromatic processing may be continuous, and the processing method is not limited, but FIG. 7 shows an example of linearly proportional processing. The relationships in this figure are set in a lookup table. In FIG. 7, it is assumed that the color A is unprocessed and the color B is erased, that is, converted to an achromatic color (O color). At this time, Z on the A-B straight line
The color is converted to the Z'color on the AO line. The positional relationship of the intermediate color (Z color) with respect to A color and B color on the A-B straight line is the same as that of the intermediate color (Z 'color) on the A-O straight line.
It is saved in the positional relationship for color and O color. In other words, when expressed by the formula, it becomes as follows,

【0017】[0017]

【数1】 [Equation 1]

【0018】変換処理部2に入力された画像データのう
ち、演算回路によって、ルックアップテーブルを参照し
て該当するデータに対して連続的な色消し処理がなさ
れ、色消し前景画データが得られることになる。
Of the image data input to the conversion processing unit 2, the arithmetic circuit refers to the look-up table to perform continuous achromatization on the corresponding data to obtain achromatic foreground image data. It will be.

【0019】[0019]

【発明の効果】本発明によれば、ソフトクロマキー画面
合成において、抜き取り色と他色の混合色成分の色消し
処理を連続的に行うことによって、合成の境界部の抜き
取り色の漏れを解消し、高画質なソフトクロマキー合成
画面を得ることができる。
According to the present invention, in soft chroma key screen compositing, leakage of the extracted color at the boundary of composition is eliminated by continuously performing the achromatization process of the mixed color components of the extracted color and other colors. It is possible to obtain a high quality soft chroma key composite screen.

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

【図1】本発明にかかる色消し処理部の回路図である。FIG. 1 is a circuit diagram of an achromatic processing unit according to the present invention.

【図2】参考としてあげた、ソフトクロマキー合成の概
念図である。
FIG. 2 is a conceptual diagram of soft chroma key composition, which is provided as a reference.

【図3】従来の色消し処理手法を示す図である。FIG. 3 is a diagram showing a conventional achromatic processing method.

【図4】aは複数の色の物体が存在する、一般的な画像
の例を示す図であり、bはその色相平面図である。
4A is a diagram showing an example of a general image in which an object of a plurality of colors is present, and FIG. 4B is a hue plan view thereof.

【図5】従来の方法で、図4のような画像に対して色消
し処理範囲を設定した場合を示す図である。
5 is a diagram showing a case where an achromatic processing range is set for an image as shown in FIG. 4 by a conventional method.

【図6】本発明により図4のような画像に対して、色消
し処理範囲を設定した場合を示す図である。
FIG. 6 is a diagram showing a case where an achromatic processing range is set for an image as shown in FIG. 4 according to the present invention.

【図7】本発明での、連続的な色消し処理の1例を示す
図である。
FIG. 7 is a diagram showing an example of continuous achromatic processing according to the present invention.

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

1 画像メモリ 2 変換処理部 3 バス 4 CPU 5 キー発生部 1 image memory 2 conversion processing unit 3 bus 4 CPU 5 key generation unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ソフトクロマキー画面合成に用いる画像
データに基づいて、抜き取り色と他の色とが混合してい
る境界部における混合色の色相分布を求め、当該色相分
布に適応して色消し処理を行う色相範囲を設定し、前記
画像データの当該色相範囲内の混合色データに対して色
消し処理を連続的に行うことを特徴とする画像データの
色消し処理方法。
1. A hue distribution of a mixed color at a boundary portion where the extracted color and another color are mixed is obtained based on image data used for soft chroma key screen composition, and an achromatizing process is applied to the hue distribution. An achromatic processing method for image data, characterized in that a hue range for performing the above is set, and the achromatic processing is continuously performed on the mixed color data within the hue range of the image data.
JP19967892A 1992-07-27 1992-07-27 Image data color erasure processing method Expired - Fee Related JP2771741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19967892A JP2771741B2 (en) 1992-07-27 1992-07-27 Image data color erasure processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19967892A JP2771741B2 (en) 1992-07-27 1992-07-27 Image data color erasure processing method

Publications (2)

Publication Number Publication Date
JPH0646449A true JPH0646449A (en) 1994-02-18
JP2771741B2 JP2771741B2 (en) 1998-07-02

Family

ID=16411799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19967892A Expired - Fee Related JP2771741B2 (en) 1992-07-27 1992-07-27 Image data color erasure processing method

Country Status (1)

Country Link
JP (1) JP2771741B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100350789B1 (en) * 1999-03-04 2002-08-28 엘지전자 주식회사 Method of raw color adjustment and atmosphere color auto extract in a image reference system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100350789B1 (en) * 1999-03-04 2002-08-28 엘지전자 주식회사 Method of raw color adjustment and atmosphere color auto extract in a image reference system
US6816289B1 (en) 1999-03-04 2004-11-09 Lg Electronics Inc. Method for automatically extracting image effect color and recovering original image color
US7542166B2 (en) 1999-03-04 2009-06-02 Lg Electronics Inc. Method for automatically extracting image effect color and recovering original image color

Also Published As

Publication number Publication date
JP2771741B2 (en) 1998-07-02

Similar Documents

Publication Publication Date Title
US6026179A (en) Digital video processing
US5850471A (en) High-definition digital video processing system
US6075887A (en) High definition color modification
JP3839067B2 (en) Image color adjustment method
US6348953B1 (en) Device and process for producing a composite picture
US6262778B1 (en) Image processing system
JPH10187966A (en) Method and device for filtering image
GB2254517A (en) Video signal colour correction
JP3581835B2 (en) Color conversion method and apparatus in chroma key processing
JPH05308654A (en) Method and device for inserting background signal into one part of foreground signal
JP3449860B2 (en) Image sharpness processing device
US6525741B1 (en) Chroma key of antialiased images
KR100387455B1 (en) Color conversion device for image data and color conversion method for image data
US6765587B1 (en) Image processing apparatus
JP2556810B2 (en) Chroma key device with secondary hue selector
JPH0646449A (en) Achromatic processing method for image data
GB2283384A (en) High definition colour correction for use in telecine
JP2004289810A (en) Color correction
JP2578409B2 (en) Image processing device
GB2388484A (en) Real time gradation control of components of video data in accordance with values related to another of the components.
JPH10149431A (en) Picture processing method
JP2543936B2 (en) Video signal synthesis circuit
JP3143458B2 (en) Image processing device
JP2003153021A (en) Method, apparatus and program for correcting image color and computer-readable recording medium having record thereof
JPH05204348A (en) Color image color changing processing system and color image synthesizing processing system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090417

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100417

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees