JP2004514338A - High quality color key extraction device - Google Patents

High quality color key extraction device Download PDF

Info

Publication number
JP2004514338A
JP2004514338A JP2002542142A JP2002542142A JP2004514338A JP 2004514338 A JP2004514338 A JP 2004514338A JP 2002542142 A JP2002542142 A JP 2002542142A JP 2002542142 A JP2002542142 A JP 2002542142A JP 2004514338 A JP2004514338 A JP 2004514338A
Authority
JP
Japan
Prior art keywords
color
predetermined
color component
masked
value
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.)
Pending
Application number
JP2002542142A
Other languages
Japanese (ja)
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.)
Koninklijke Philips NV
Original Assignee
Koninklijke Philips Electronics NV
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 Koninklijke Philips Electronics NV filed Critical Koninklijke Philips Electronics NV
Publication of JP2004514338A publication Critical patent/JP2004514338A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Abstract

本発明はカラー・キーイングおよび色成分評価動作を実行する、極めてハードウェア効率が高くかつ汎用性の高い方法を提供する。また、キー・カラー情報を含む画像をフィルタリングすることにより発生するアーチファクトの可視性を大幅に制限する方法も提供する。本発明によれば、複数の色成分を持つ入力画素が所定のキー・カラーに一致するか否かを決定するカラー・キー抽出装置を提供する。この装置は複数の評価回路を備え、その回路の各々が、入力画素の色成分の1つを受け取り、それを所定の色成分強度範囲と照らし合わせて評価して、比較信号を出力するように構成されており、さらに、一致回路が評価回路の各々に動作上接続され、その評価回路の各々が比較信号の組合せが所定の条件を満足するか否かを決定し、条件が満足される場合は一致信号を出力し、それにより入力画素が所定のキー・カラーに一致する。The present invention provides a very hardware efficient and versatile way to perform color keying and color component evaluation operations. It also provides a method for significantly limiting the visibility of artifacts caused by filtering images containing key color information. According to the present invention, there is provided a color key extraction device for determining whether an input pixel having a plurality of color components matches a predetermined key color. The apparatus includes a plurality of evaluation circuits, each of which receives one of the color components of the input pixel, evaluates it against a predetermined color component intensity range, and outputs a comparison signal. A matching circuit is operatively connected to each of the evaluation circuits, each of the evaluation circuits determining whether a combination of the comparison signals satisfies a predetermined condition, and the condition is satisfied. Outputs a match signal, whereby the input pixel matches the predetermined key color.

Description

【0001】
(発明の概要)
本発明は一般にカラー・キー抽出装置、詳細には高品質用途のカラー・キー抽出装置に関する。
【0002】
カラー・キーイングは、広く利用されており、種々のビデオおよびグラフィックス・プロセッサにおいて各種の目的、例えば1つの画像を他の画像の上に重ね合わせる目的で実装されている。カラー・キーイングは、キー・カラーとして未使用の色をビデオまたはグラフィックス画像内に置き、未使用色の代わりに置換色を表示することにより実現される。通常、キー・カラーはマゼンタまたは他のまれにしか使用されない色である。カラー・キーイングは一般に、混合段階でなされる。入力画素を評価して、その画素が特定の色または色範囲に一致するか否かを決定する。一致すれば、特定作用、例えばカラー・キー抽出およびキー・カラーとに色置換が行われる。入力画素の評価およびキー・カラーとの色置換は通常、画素の色成分上とは異なり、フルの24ビットまたは32ビット・カラー情報上で実行される。したがって、前記カラー・キーイングは、ソフトウェア・プログラマが好むような汎用性をもたない。したがって、キー・カラーが抽出され、置換色に置換される以前にすべての変換または濾波が発生する場合、キー・カラーは濾波されて有効画像部分に入る。これにより、最終画像内のアーチファクトが著しく目立つことになる。
【0003】
したがって、入力画素の評価において高い汎用性を提供し、かつ最終画像内のアーチファクトが目立つのを大幅に抑制する必要がある。
【0004】
本発明はカラー・キーイングおよび色成分評価動作を実行する、極めてハードウェア効率が高くかつ汎用性の高い方法を提供する。また、キー・カラー情報を含む画像をフィルタリングすることにより発生するアーチファクトの可視性を大幅に制限する方法も提供する。
【0005】
本発明によれば、複数の色成分を持つ入力画素が所定のキー・カラーに一致するか否かを決定するカラー・キー抽出装置を提供する。この装置は複数の評価回路を備え、その回路の各々が、所定の色成分強度範囲に対する入力画素の色成分の1つを受け取りおよび評価して、比較信号を出力するように構成されており、さらに、一致回路が評価回路の各々に動作上接続され、その一致回路が比較信号の組合せが所定の条件を満足するか否かを決定し、条件が満足される場合は一致信号を出力するように構成されており、それにより入力画素が所定のキー・カラーに一致する。
【0006】
本発明の1つの態様によれば、一致回路は複数ビットを記憶する記憶エレメントを含み、前記各ビットの値が比較信号の特定の組合せが所定の条件を満足しているか否かを示す。比較信号の所定の組合せに対し所定の条件は、所定の組合せに対応する記憶エレメント内のビットがセットされているときに満足する。一致回路は非常に低コストの、汎用性のあるプログラマブルなラスター動作ブロックを用いて実現できる。
【0007】
本発明の別の態様によれば、評価回路の各々は、入力画素の所定の色成分を受け取り、その色成分を事前選択したマスク値を用いてマスクし、マスクされた色成分値を出力するように構成された第1回路と、マスク値を用いて所定の色成分強度範囲の事前選択した上限値をマスクし、マスクされた上限値を出力するように構成された第2回路と、マスク値を用いて所定の色成分強度範囲の事前選択した下限値をマスクし、マスクされた下限値を出力するように構成された第3回路と、マスクされた色成分値をマスクされた上限値と比較して第1結果を出力する第1コンパレータと、マスクされた色成分値をマスクされた下限値と比較して第2結果を出力する第2コンパレータと、第1および第2結果を受け取って第1比較信号を出力する出力回路とを備える。
【0008】
本発明のさらに別の態様によれば、一致回路に動作上接続される色置換回路をさらに備え、この置換回路は、一致回路が一致信号を出力する場合に、入力画素を置換画素と置換する。フィルタリングする前にキー・カラーを置換色(例えば、グレー・カラー)と交換することにより、結果として得られる画像は輝度が変化するが、色調は変化しない。
【0009】
本発明の完全な理解に加えて他の目的および到達結果は、添付図面と合わせた以下の記述および特許請求範囲を参照することにより、明らかになり、理解されるであろう。
【0010】
添付図面を引用し、事例を用いて、本発明をさらに詳細に説明する。
【0011】
図面において、同一参照符号は、同一または、対応する形態または機能を示す。
【0012】
(好ましい実施形態の詳細な説明)
図1は、本発明を具体化するのに適する代表的なシステムの機能ブロック図を示す。図1に示すように、ディジタル・ビデオ/グラフィックス・ソース10はディジタル・ビデオ/グラフィックス信号をメモリ・バッファ16に供給する。ディジタル・データは、標準フォーマットでメモリ・バッファ16に記憶される。コマンドに応じて、ビデオ/グラフィックス・データ・プロセッサ20はメモリ・バッファ16からディジタル・データを受け取り、それを処理する。プロセッサ20は処理されたデータを所定のフォーマットでビデオ/グラフィックス・エンコーダ26に転送する。次にエンコーダ26はデータを符号化し、それを表示装置30に転送して表示する。
【0013】
図2は、本発明によるプロセッサ20内のグラフィックス/ビデオ・パイプラインに使用されるカラー・キー抽出および色置換回路を示す。図2では、各入力画素は、色成分当り8ビットを持つ3つの色成分(RGBまたはYUV)を有する。これらの色成分は評価回路37、137、237によりそれぞれ、色成分強度について評価される。したがって、回路37を使用して、入力色成分R/Yが、最も暗いR/Yと最も明るいR/Yとの間のスペクトルの所定の色成分強度範囲内にあるか否かを決定する。同様に、評価回路137を使用して、入力色成分G/Uが、最も暗いG/Uと最も明るいG/Uとの間のスペクトルの所定の色成分強度範囲内にあるか否かを決定する。最後に、評価回路237を使用して、入力色成分B/Vが、最も暗いB/Vと最も明るいB/Vとの間のスペクトルの所定の色成分強度範囲内にあるか否かを決定する。
【0014】
評価回路37では、色成分R/Yは、ANDゲート40を介してColorKeyAndレジスタ38内のマスク値を用いてビット毎にビット・マスクされる。再びこのマスク値を使用して、ANDゲート44および50を介しColorKeyレジスタ42および48内に記憶された値をそれぞれビット毎にマスクする。レジスタ42および48内の値は所定の上限および下限値であり、両方の値は、所定の色成分強度範囲を確立し、色成分R/Yを評価するものである。当業者に理解されるように、マスク値は用途に応じて、例えば特定色または色範囲をキーに定めるか否か、画像および画像内容を事前処理するか否か、に応じて決定される。同様に上限および下限値もまた、用途に依存する。
【0015】
ANDゲート40の出力におけるマスクされた値は、コンパレータ46および52を介してマスクされた上限および下限値について評価され、マスクされた色成分がマスクされた所定の色強度内にあるか否かを決定される。
【0016】
マスクされた値がマスクされた上限値以下である場合、コンパレータ46はANDゲート60に対し第1表示信号(例えば論理1)を出力する。同様に、マスクされた値がマスクされた下限値以上である場合、コンパレータ52はANDゲート60に対し第2表示信号(例えば論理1)を出力する。マスクされた値がマスクされた所定の色成分強度範囲内である場合、すなわち第1および第2表示信号両方がANDゲート60に提供されるとき、ANDゲート60は色成分R/Yに対し第1の正の比較信号(例えば論理1)を出力する。そうでない場合は、ANDゲート60は第1の負の比較信号(例えば論理0)を出力する。
【0017】
評価回路137および237は評価回路37と同様に動作する。色成分G/UおよびB/Vの各々が、それらのマスクされた所定の色成分強度範囲内にある場合、回路137および237は第2および第3の正の比較信号(例えば論理1)をそれぞれ出力する。そうでない場合は、評価回路137および237は第2および第3の負の比較信号(例えば論理0)をそれぞれ出力する。
【0018】
デフォルト・モードでは、マスク値はすべて1であり、したがってマスク動作は実際上は実行されず、上限および下限値は色成分強度範囲を定義することに留意すべきである。
【0019】
評価回路37、137、237からの比較信号(K1、K2、K3)はプログラマブルなラスター動作ブロック64に供給される。比較信号(正または負)の特定の組合せおよびColorKeyROPレジスタ68の特定ビット値がセットされているか否かに依存して、ブロック64は一致信号(例えば論理1)を出力して、入力色と所定のキー・カラーとの間の一致があることを示すことができる。ブロック64の詳細動作は図3に関連して以下に述べる。
【0020】
図3はプログラミング・ブロック64に使用されるROP(ラスター動作)テーブルである。K1、K2、K3の所定の組合せに対し、その組合せに割り当てられたROPビット(組合せにの次に現われる)がセット(論理1)されている場合、それは一致を示し、ブロック64から一致信号を出力する。ROPビットがリセット(論理0)されている場合、それは不一致を示す。本発明によれば、用途に応じて1つまたは複数のROPビットをセットできる。この方式により、1つまたは複数の色成分の感度を走査できる汎用性を実現する。例えば、特定の入力色に対し2つの色成分(例えばR/YおよびG/U)だけを対象にすることができ、第3のコンポーネント(例えばB/V)に注意する必要がない。このような場合、ROPビット6および7はセットされ、キー・カラーに比較してK1、K2、K3に対する組合せ「110」および「111」上の一致を示す。
【0021】
図2により、入力色とキー・カラーとの一致を決定後、ColorKeyReplaceEnレジスタ76からにイネーブル信号を介してANDゲート72をイネーブルにすることにより色置換を随意に実行できる。例えば、後続のフィルタリングが実行される場合、色置換が実行される。色置換を実行するために、論理1がANDゲート72により出力されて、マルチプレクサ86、186、286を起動し、R/Y、G/U、B/Vコンポーネントに対しColorKeyReplaceレジスタ80、180、280に記憶された置換値を選択し、それぞれ初期の入力値を置換する。例のように、グレー・カラーが好まれる。したがって、グレー・カラーに対する色成分の画素値が置換値として使用される。フィルタリングの前にキー・カラーを置換色(例えばグレー)交換することにより、得られる結果の画像は輝度が変化するが、色調は変化しない。マルチプレクサ86、186、286の出力はミキサ(図示なし)に供給され、バックグラウンド・カラーと結合される。
【0022】
他方、ブロック64により決定されるように一致が生じないか、または色置換が望ましくない場合、論理0がANDゲート72により出力され、マルチプレクサ86、186、286は入力色成分を変調せずにミキサに直接出力する。ブロック64の出力もまたミキサに供給される。
【0023】
キー・カラーが抽出された後、データは変換および濾波処理を通過し、最終画像中の目に見えるアーチファクトを制限する。
【0024】
本発明はまた、Y、Cr、Cbのような他のタイプの色成分と共に使用できる。
【0025】
本発明を好特定の実施形態に関連付けて説明してきたが、当業者には、前述の記載に照らして、多くの代替方法、変更および変形形態が可能なことは明らかであろう。したがって、添付の特許請求の精神と範囲に含まれるそのような代替方法、変更および変形形態のすべてを包含するものとする。
【図面の簡単な説明】
【図1】
本発明を実現するのに適する代表的なシステムの機能ブロック図。
【図2】
本発明によるカラー・キー抽出および色置換回路図。
【図3】
図2のプログラマブルなラスター動作ブロックをプログラムするのに使用するROP(ラスター動作)テーブルを示す図。
[0001]
(Summary of the Invention)
The present invention relates generally to color key extraction devices, and in particular, to color key extraction devices for high quality applications.
[0002]
Color keying is widely used and implemented in various video and graphics processors for various purposes, for example, to overlay one image on top of another. Color keying is achieved by placing unused colors as key colors in a video or graphics image and displaying replacement colors instead of unused colors. Typically, the key colors are magenta or other rarely used colors. Color keying is generally done at the mixing stage. The input pixel is evaluated to determine if the pixel matches a particular color or color gamut. If there is a match, color replacement is performed for the specific action, for example, color key extraction and key color. Evaluation of input pixels and color replacement with key colors is typically performed on full 24-bit or 32-bit color information, unlike on the color components of the pixels. Therefore, the color keying does not have the versatility that software programmers prefer. Thus, if all conversion or filtering occurs before the key color is extracted and replaced with the replacement color, the key color is filtered into the useful image portion. This makes the artifacts in the final image noticeable.
[0003]
Therefore, there is a need to provide high versatility in the evaluation of input pixels and to significantly reduce the appearance of artifacts in the final image.
[0004]
The present invention provides a very hardware efficient and versatile way to perform color keying and color component evaluation operations. It also provides a method for significantly limiting the visibility of artifacts caused by filtering images containing key color information.
[0005]
According to the present invention, there is provided a color key extraction device for determining whether an input pixel having a plurality of color components matches a predetermined key color. The apparatus includes a plurality of evaluation circuits, each of which is configured to receive and evaluate one of the color components of the input pixel for a predetermined color component intensity range and output a comparison signal; Further, a matching circuit is operatively connected to each of the evaluation circuits, and the matching circuit determines whether a combination of the comparison signals satisfies a predetermined condition, and outputs a match signal if the condition is satisfied. So that the input pixel matches a predetermined key color.
[0006]
According to one aspect of the invention, the match circuit includes a storage element for storing a plurality of bits, the value of each bit indicating whether a particular combination of comparison signals satisfies a predetermined condition. A predetermined condition for a predetermined combination of comparison signals is satisfied when a bit in a storage element corresponding to the predetermined combination is set. The match circuit can be implemented using very low cost, versatile programmable raster operation blocks.
[0007]
According to another aspect of the invention, each of the evaluation circuits receives a predetermined color component of the input pixel, masks the color component with a preselected mask value, and outputs a masked color component value. A first circuit configured as described above, a second circuit configured to mask a preselected upper limit of a predetermined color component intensity range using the mask value, and to output the masked upper limit, A third circuit configured to mask a preselected lower limit of a predetermined color component intensity range using the value and output a masked lower limit; and a masked upper limit of the masked color component value. A first comparator that outputs a first result by comparing with a first comparator, a second comparator that compares a masked color component value with a masked lower limit and outputs a second result, and receives the first and second results. Output the first comparison signal And a road.
[0008]
According to yet another aspect of the invention, there is further provided a color replacement circuit operatively connected to the match circuit, wherein the replacement circuit replaces the input pixel with the replacement pixel when the match circuit outputs a match signal. . By exchanging the key color with a replacement color (eg, a gray color) before filtering, the resulting image will have a change in brightness but not a change in tone.
[0009]
Other objects and attainments, in addition to a full understanding of the invention, will be apparent and understood by referring to the following description and claims, taken in conjunction with the accompanying drawings.
[0010]
The invention will be described in more detail by way of example with reference to the accompanying drawings.
[0011]
In the drawings, the same reference numerals indicate the same or corresponding forms or functions.
[0012]
(Detailed description of preferred embodiments)
FIG. 1 shows a functional block diagram of a representative system suitable for implementing the present invention. As shown in FIG. 1, a digital video / graphics source 10 provides digital video / graphics signals to a memory buffer 16. The digital data is stored in the memory buffer 16 in a standard format. In response to the command, video / graphics data processor 20 receives digital data from memory buffer 16 and processes it. Processor 20 transfers the processed data to video / graphics encoder 26 in a predetermined format. Next, the encoder 26 encodes the data and transfers it to the display device 30 for display.
[0013]
FIG. 2 shows the color key extraction and color replacement circuit used in the graphics / video pipeline in processor 20 according to the present invention. In FIG. 2, each input pixel has three color components (RGB or YUV) with 8 bits per color component. These color components are evaluated for color component intensity by the evaluation circuits 37, 137, and 237, respectively. Thus, circuit 37 is used to determine whether the input color component R / Y is within a predetermined color component intensity range of the spectrum between the darkest R / Y and the brightest R / Y. Similarly, the evaluation circuit 137 is used to determine whether the input color component G / U is within a predetermined color component intensity range of the spectrum between the darkest G / U and the brightest G / U. I do. Finally, the evaluation circuit 237 is used to determine whether the input color component B / V is within a predetermined color component intensity range of the spectrum between the darkest B / V and the lightest B / V. I do.
[0014]
In the evaluation circuit 37, the color component R / Y is bit-masked bit by bit using the mask value in the ColorKeyAnd register 38 via the AND gate 40. Again using this mask value, the values stored in ColorKey registers 42 and 48 via AND gates 44 and 50 are masked bit by bit, respectively. The values in registers 42 and 48 are predetermined upper and lower limits, both of which establish a predetermined color component intensity range and evaluate the color component R / Y. As will be appreciated by those skilled in the art, the mask value is determined depending on the application, for example, whether a specific color or color range is defined as a key, and whether images and image contents are pre-processed. Similarly, the upper and lower limits also depend on the application.
[0015]
The masked value at the output of AND gate 40 is evaluated for the masked upper and lower limits via comparators 46 and 52 to determine whether the masked color component is within the masked predetermined color intensity. It is determined.
[0016]
If the masked value is less than or equal to the masked upper limit, the comparator 46 outputs a first indication signal (eg, logic 1) to the AND gate 60. Similarly, if the masked value is greater than or equal to the masked lower limit, comparator 52 outputs a second display signal (eg, logic 1) to AND gate 60. If the masked value is within the masked predetermined color component intensity range, i.e., when both the first and second display signals are provided to AND gate 60, then AND gate 60 will apply a second A positive comparison signal of 1 (eg, logic 1) is output. Otherwise, AND gate 60 outputs a first negative comparison signal (eg, logic 0).
[0017]
The evaluation circuits 137 and 237 operate similarly to the evaluation circuit 37. If each of the color components G / U and B / V is within their masked predetermined color component intensity range, the circuits 137 and 237 generate a second and third positive comparison signal (eg, logic 1). Output each. Otherwise, evaluation circuits 137 and 237 output second and third negative comparison signals (eg, logic 0), respectively.
[0018]
It should be noted that in the default mode, the mask values are all ones, so the mask operation is practically not performed, and the upper and lower limits define the color component intensity range.
[0019]
The comparison signals (K1, K2, K3) from the evaluation circuits 37, 137, 237 are supplied to a programmable raster operation block 64. Depending on the particular combination of comparison signals (positive or negative) and whether a particular bit value in ColorKey ROP register 68 is set, block 64 outputs a match signal (eg, a logic one) to determine the input color and Can be indicated that there is a match between the key colors. The detailed operation of block 64 is described below in connection with FIG.
[0020]
FIG. 3 is a ROP (raster operation) table used for the programming block 64. For a given combination of K1, K2, K3, if the ROP bit (which appears next to the combination) assigned to that combination is set (logic 1), it indicates a match, and a match signal from block 64 is output. Output. If the ROP bit is reset (logic 0), it indicates a mismatch. According to the invention, one or more ROP bits can be set depending on the application. This method realizes versatility in which the sensitivity of one or a plurality of color components can be scanned. For example, only two color components (eg, R / Y and G / U) can be targeted for a particular input color, without having to pay attention to the third component (eg, B / V). In such a case, ROP bits 6 and 7 are set, indicating a match on combinations "110" and "111" for K1, K2, K3 compared to the key color.
[0021]
According to FIG. 2, after the match between the input color and the key color is determined, color replacement can optionally be performed by enabling the AND gate 72 via an enable signal from the ColorKeyReplaceEn register 76. For example, if subsequent filtering is performed, color replacement is performed. To perform color replacement, a logic one is output by AND gate 72 to activate multiplexers 86, 186, 286, and ColorKeyReplace registers 80, 180, 280 for the R / Y, G / U, B / V components. Are selected, and the initial input values are respectively replaced. As an example, a gray color is preferred. Therefore, the pixel value of the color component for the gray color is used as the replacement value. By exchanging a key color with a replacement color (eg, grey) prior to filtering, the resulting image will have a change in brightness but no change in hue. The outputs of the multiplexers 86, 186, 286 are provided to a mixer (not shown) and are combined with the background color.
[0022]
On the other hand, if a match does not occur, as determined by block 64, or if color replacement is not desired, a logic zero is output by AND gate 72 and multiplexers 86, 186, 286 cause the mixer 86, 186, 286 Output directly to. The output of block 64 is also provided to the mixer.
[0023]
After the key colors are extracted, the data goes through a transformation and filtering process to limit the visible artifacts in the final image.
[0024]
The invention can also be used with other types of color components, such as Y, Cr, Cb.
[0025]
Although the present invention has been described with reference to specific embodiments, it will be apparent to those skilled in the art that many alternatives, modifications and variations are possible in light of the foregoing description. It is therefore intended to embrace all such alternatives, modifications and variances that fall within the spirit and scope of the appended claims.
[Brief description of the drawings]
FIG.
FIG. 1 is a functional block diagram of an exemplary system suitable for implementing the present invention.
FIG. 2
FIG. 4 is a circuit diagram of a color key extraction and color replacement circuit according to the present invention.
FIG. 3
FIG. 3 is a diagram illustrating a ROP (raster operation) table used to program the programmable raster operation block of FIG. 2;

Claims (10)

複数の色成分を持つ入力画素が所定のキー・カラーに一致するか否かを決定するカラー・キー抽出装置であって、
複数の評価回路であり、前記回路の各々が、入力画素の色成分の1つを受取り、それを所定の色成分強度範囲と照らし合わせて評価して、比較信号を出力するように構成されている、複数の評価回路と、
前記評価回路の各々に動作上接続された一致回路であり、前記一致回路が比較信号の組合せが所定の条件を満足するか否かを決定し、条件が一致する場合は一致信号を出力し、それにより入力画素が所定のキー・カラーに一致するように構成されている、一致回路と、を備えているカラー・キー抽出装置。
A color key extraction device that determines whether an input pixel having a plurality of color components matches a predetermined key color,
A plurality of evaluation circuits, each of which is configured to receive one of the color components of the input pixel, evaluate it against a predetermined color component intensity range, and output a comparison signal. Have multiple evaluation circuits,
A matching circuit operatively connected to each of the evaluation circuits, wherein the matching circuit determines whether a combination of comparison signals satisfies a predetermined condition, and outputs a match signal when the condition is matched; A match circuit, whereby the input pixel is configured to match a predetermined key color.
前記評価回路の各々が、
入力画素の所定の色成分を受け取り、前記色成分を事前選択したマスク値を用いてマスクし、マスクされた色成分値を出力するように構成された第1回路と、
所定の色成分強度範囲の事前選択した上限値を前記マスク値を用いてマスクし、マスクされた上限値を出力するように構成された第2回路と、
色成分強度範囲の事前選択した下限値を前記マスク値を用いてマスクし、マスクされた下限値を出力するように構成された第3回路と、
前記マスクされた色成分値を前記マスクされた上限値と比較して、第1結果を出力する第1コンパレータと、
前記マスクされた色成分値を前記マスクされた下限値と比較して、第2結果を出力する第2コンパレータと、
前記第1および第2結果を受け取り、第1比較信号を出力するよう構成された出力回路と、を備えている請求項1に記載の装置。
Each of the evaluation circuits,
A first circuit configured to receive a predetermined color component of an input pixel, mask the color component with a preselected mask value, and output a masked color component value;
A second circuit configured to mask a preselected upper limit value of a predetermined color component intensity range using the mask value, and to output the masked upper limit value;
A third circuit configured to mask a preselected lower limit of the color component intensity range using the mask value and output the masked lower limit;
A first comparator that compares the masked color component value with the masked upper limit value and outputs a first result;
A second comparator that compares the masked color component value with the masked lower limit and outputs a second result;
2. The apparatus of claim 1, further comprising: an output circuit configured to receive the first and second results and output a first comparison signal.
前記一致回路が複数ビットを記憶する記憶エレメントを含み、各ビットの値が前記比較信号の特定組合せが所定の条件を満足するか否かを示し、
前記比較信号の所定の組合せに対する所定の条件は、前記所定の組合せに対応する前記記憶エレメントのビットがセットされているときに、満足される、請求項1に記載の装置。
The matching circuit includes a storage element that stores a plurality of bits, and a value of each bit indicates whether a specific combination of the comparison signals satisfies a predetermined condition;
The apparatus of claim 1, wherein a predetermined condition for a predetermined combination of the comparison signals is satisfied when a bit of the storage element corresponding to the predetermined combination is set.
色置換回路をさらに備え、前記置換回路が、前記一致回路に動作上接続され、かつ前記一致回路が一致信号を出力する場合、入力画素を置換画素と置換するように構成されている、請求項1に記載の装置。The color replacement circuit further comprising: a replacement circuit operatively connected to the matching circuit, wherein the replacement circuit is configured to replace an input pixel with a replacement pixel when the matching circuit outputs a match signal. An apparatus according to claim 1. 前記色置換回路が複数のマルチプレクサを含み、前記マルチプレクサの各々が、前記一致信号を介して制御され、さらに前記各々が入力画素の色成分の1つおよび対応する置換色成分を受け取るように構成されており、前記一致信号を受け取ると、各マルチプレクサが対応する置換色成分を出力する、請求項4に記載の装置。The color replacement circuit includes a plurality of multiplexers, each of the multiplexers being controlled via the match signal, each of the multiplexers configured to receive one of the input pixel color components and a corresponding replacement color component. 5. The apparatus of claim 4, wherein each multiplexer outputs a corresponding replacement color component upon receiving the match signal. 前記色置換回路をイネーブルまたはディスエーブルに制御するように構成されたイネーブル回路をさらに備えている、請求項4に記載の装置。The apparatus of claim 4, further comprising an enable circuit configured to control the color replacement circuit to be enabled or disabled. 複数の色成分を持つ入力画素が所定のキー・カラーに一致するか否かを決定する方法であって、
(a)前記入力画素の色成分の各々を所定の色成分強度範囲と照らし合わせて評価するステップと、
(b)ステップ(a)で各色成分を評価後、比較信号を出力するステップと、
(c)前記比較信号の組合せが所定の条件を満足するか否かを決定するステップと、
(d)前記条件が満足される場合に一致信号を出力し、それにより前記入力画素が前記所定のキー・カラーに一致する、ステップと、を含む方法。
A method for determining whether an input pixel having a plurality of color components matches a predetermined key color,
(A) evaluating each of the color components of the input pixel against a predetermined color component intensity range;
(B) outputting a comparison signal after evaluating each color component in step (a);
(C) determining whether the combination of the comparison signals satisfies a predetermined condition;
(D) outputting a match signal if the condition is satisfied, whereby the input pixel matches the predetermined key color.
ステップ(a)が、
前記入力画素の所定の色成分を事前選択したマスク値を用いてマスクして、マスクされたコンポーネント値を生成するステップと、
前記所定の色成分強度範囲の事前選択した上限値を前記マスク値を用いてマスクして、マスクされた上限値を生成するステップと、
前記色成分強度範囲の事前選択した下限値を前記マスク値を用いてマスクし、マスクされた下限値を生成するステップと、
前記マスクされた色成分値を前記マスクされた上限値と比較し、第1結果を生成するステップと、
前記マスクされた色成分値を前記マスクされた下限値と比較し、第2結果を生成するステップと、
前記第1および第2結果を基に第1比較信号を出力するステップとを含む、請求項7に記載の方法。
Step (a)
Masking a predetermined color component of the input pixel using a preselected mask value to generate a masked component value;
Masking a preselected upper limit of the predetermined color component intensity range using the mask value to generate a masked upper limit;
Masking a preselected lower limit of the color component intensity range using the mask value, generating a masked lower limit;
Comparing the masked color component value with the masked upper limit value to generate a first result;
Comparing the masked color component value with the masked lower limit to generate a second result;
Outputting a first comparison signal based on the first and second results.
ステップ(c)が、複数ビットを提供するステップを含み、前記複数ビットの各ビットの値が、前記比較信号の特定組合せが前記所定の条件を満足するか否かを示す、ステップを含み、
所定の組合せに対応する複数ビット中のビットがセットされたとき、比較信号の前記所定の組合せに対する前記所定の条件が満足される、請求項7に記載の方法。
Step (c) includes providing a plurality of bits, wherein the value of each bit of the plurality of bits indicates whether a particular combination of the comparison signals satisfies the predetermined condition;
The method of claim 7, wherein the predetermined condition for the predetermined combination of comparison signals is satisfied when a bit in the plurality of bits corresponding to the predetermined combination is set.
前記一致信号を出力する場合に、入力画素を置換画素と置換するステップをさらに含む、請求項7に記載の方法。The method of claim 7, further comprising: replacing the input pixel with a replacement pixel when outputting the match signal.
JP2002542142A 2000-11-10 2001-11-06 High quality color key extraction device Pending JP2004514338A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US70999800A 2000-11-10 2000-11-10
PCT/EP2001/013019 WO2002039752A2 (en) 2000-11-10 2001-11-06 High quality color key extraction apparatus

Publications (1)

Publication Number Publication Date
JP2004514338A true JP2004514338A (en) 2004-05-13

Family

ID=24852184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002542142A Pending JP2004514338A (en) 2000-11-10 2001-11-06 High quality color key extraction device

Country Status (4)

Country Link
JP (1) JP2004514338A (en)
KR (1) KR20020067608A (en)
TW (1) TW535419B (en)
WO (1) WO2002039752A2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2410804A (en) * 2004-02-07 2005-08-10 Accuscene Corp Ltd Image processor with light intensity modifying means
US7456904B2 (en) * 2005-09-22 2008-11-25 Pelco, Inc. Method and apparatus for superimposing characters on video

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3536312B2 (en) * 1992-06-10 2004-06-07 セイコーエプソン株式会社 Video processing device and computer system
US5398075A (en) * 1993-11-19 1995-03-14 Intel Corporation Analog chroma keying on color data
US6023302A (en) * 1996-03-07 2000-02-08 Powertv, Inc. Blending of video images in a home communications terminal

Also Published As

Publication number Publication date
KR20020067608A (en) 2002-08-22
WO2002039752A3 (en) 2002-10-10
TW535419B (en) 2003-06-01
WO2002039752A2 (en) 2002-05-16

Similar Documents

Publication Publication Date Title
EP0885528B1 (en) Blending of video images in a home communications terminal
US4788535A (en) Display apparatus
US20040233217A1 (en) Adaptive pixel-based blending method and system
EP0817119A3 (en) Image resizing apparatus
JP2578170B2 (en) Image display device
JPH08147453A (en) Method and device for look-up table generation
JPH08248932A (en) Discrimination method of mixed picture pixel data format in data stream
JP2004514338A (en) High quality color key extraction device
JPH0728996A (en) Method and equipment for correction of close whie color
US20070109314A1 (en) Adaptive pixel-based blending method and system
US7145573B2 (en) Method and system to combine a digital graphics object and a digital picture
KR100831564B1 (en) High quality video and graphics pipeline
JPH0659657A (en) Image processing device
US6714180B1 (en) Automatic control of gray scaling algorithms
US5502642A (en) HSL neighborhoods in CMY color space
JPH10149431A (en) Picture processing method
EP1298917A2 (en) Image processing apparatus
JP2000236451A (en) Color printer
US20120075323A1 (en) Method and apparatus for generating and processing graphic data
JPH04328688A (en) Image processor
JP2650988B2 (en) Image display device
JPH07262349A (en) Method and circuit for dither modulation, method and circuit for generating address for dither table and hard copy circuit using these methods and circuits
JP2005130238A (en) Image processor
JPH07264426A (en) Color image processor
JPS62147522A (en) Display system for color hard copy