WO2002039752A2 - High quality color key extraction apparatus - Google Patents
High quality color key extraction apparatus Download PDFInfo
- Publication number
- WO2002039752A2 WO2002039752A2 PCT/EP2001/013019 EP0113019W WO0239752A2 WO 2002039752 A2 WO2002039752 A2 WO 2002039752A2 EP 0113019 W EP0113019 W EP 0113019W WO 0239752 A2 WO0239752 A2 WO 0239752A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- color
- value
- color component
- masked
- predefined
- Prior art date
Links
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
-
- 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
Definitions
- the invention generally relates to color key extraction apparatus and more particularly to color key extraction apparatus for high quality applications.
- Color keying is widely used and implemented in various video and graphics processors for various purposes, e.g., for superimposing one image on top of another. It is done by placing an unused color as a key color into a video or graphics image, and displaying a substituting color instead of the unused color. Usually key colors are magenta or other rarely used colors. Color keying is typically done in the mixing stage. An incoming pixel is evaluated to determine if it matches a certain color or color range. If so, certain actions, e.g., color key extraction and color substitution with a key color, will be performed. The evaluation of the incoming pixel and color substitution with a key color are usually done on a full 24 or 32 bit color information, as opposed to on the color components of the pixel.
- the present invention provides a very hardware efficient and flexible way of performing color keying and color components evaluation operations. It also provides a way to significantly limit the visibility of artifacts introduced by filtering on images containing key color information.
- a color key extraction apparatus for determining whether an incoming pixel having a plurality of color components matches a predefined key color.
- the apparatus comprises a plurality of evaluation circuits each configured to receive and evaluate one of the color components of the incoming pixel against a predefined color component intensity range and output a comparison signal; and a matching circuit, operably coupled to each of the evaluation circuits, that is configured to determine whether a combination of the comparison signals meets a predefined condition and output a match signal if the condition is met, whereby the incoming pixel matches the predefined key color.
- the matching circuit includes a storage element that stores a plurality of bits, the value of each bit indicating whether a particular combination of the comparison signals meets the predefined condition.
- the predefined condition for a given combination of the comparison signals is met when a bit in the storage element corresponding to the given combination is set.
- the matching circuit may be implemented with a very low cost, highly flexible programmable raster operation block.
- each of the evaluation circuits comprises: a first circuit configured to receive a predetermined color component of the incoming 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 boundary value of the predefined color component intensity range with the mask value and output a masked upper boundary value; a third circuit configured to mask a preselected lower boundary value of the color component intensity range with the mask value and output a masked lower boundary value; a first comparator that compares the masked color component value with the masked upper boundary value and outputs a first result; a second comparator that compares the masked color component value with the masked lower boundary value and outputs a second result; and an output circuit configured to receive the first and second results and output a first comparison signal.
- a color substitution circuit operably coupled to the matching circuit, that is configured to replace an incoming pixel with a replacement pixel if the matching circuit outputs a matching signal.
- a replacement color e.g., a gray color
- FIG. 1 shows a functional block diagram of an exemplary system suitable for implementing the present invention
- FIG. 2 shows a color key extraction and color substitution circuit according to the present invention
- FIG. 3 shows a ROP (raster operation) table used for programming a programmable raster operation block in FIG. 2.
- ROP raster operation
- FIG. 1 shows a functional block diagram of an exemplary system suitable for implementing the present invention.
- a digital video/graphics source 10 supplies digital video/graphics signals to a memory buffer 16.
- the digital data are stored in memory buffer 16 in a standard format.
- a video/graphics data processor 20 receives the digital data from memory buffer 16 for processing.
- Processor 20 transmits the processed data to a video/graphics encoder 26 in a predetermined format. Encoder 26 then encodes the data and transmits them to a display device 30 for displaying.
- FIG. 2 shows a color key extraction and color substitution circuit used in a graphics/ video pipeline in processor 20 according to the present invention.
- each incoming pixel has three color components (RGB or YUV) with 8 bits per component.
- These color components are evaluated by evaluation circuits 37, 137 and 237, respectively, on their color component intensities.
- circuit 37 is used for determining whether an incoming color component R/Y is within a predefined color component intensity range in a spectrum between the darkest R/Y and the lightest R/Y.
- evaluation circuit 137 is used for determining whether an incoming color component G/U is within a predefined color component intensity range in a spectrum between the darkest G/U and the lightest G/U.
- evaluation circuit 237 is used for determining whether an incoming color component B/V is within a predefined color component intensity range in a spectrum between the darkest B/V and the lightest B/V.
- the color component R/Y is masked bit by bit by a mask value in a ColorKeyAnd register 38 via an AND gate 40. This mask value is also used to mask bit by bit the values stored in ColorKey registers 42 and 48 via AND gates 44 and 50, respectively.
- the values in registers 42 and 48 are predefined upper and lower boundary values for establishing the predefined color component intensity range for evaluating the color component R/Y.
- the mask value is determined based on the applications, e.g., whether to key on a specific color or a color range, whether to pre-process the image, and the picture contents.
- the upper and lower boundary values are also application dependent.
- the masked value at the output of AND gate 40 is evaluated against the masked upper and lower boundary values via comparators 46 and 52 to determine whether the masked color component is within the masked predefined color intensity.
- comparator 46 will output a first indication signal (e.g., logic 1) to an AND gate 60.
- comparator 52 will provide a second indication signal (e.g., logic 1) to AND gate 60. If it is determined that the masked value is within the masked predefined color component intensity range, i.e., when both the first and second indication signals are provided to AND gate 60, AND gate 60 will output a first positive comparison signal (e.g., logic 1) for the color component R Y. Otherwise, AND gate 60 will output a first negative comparison signal (e.g., logic 0).
- Evaluation circuits 137 and 237 operate in the same manner as evaluation circuit 37. If the color components G/U and B/V are each within their masked predefined color component intensity range, circuits 137 and 237 will output second and third positive comparison signals (e.g., logic 1), respectively. Otherwise, evaluation circuits 137 and 237 will output second and third negative comparison signals (e.g., logic 0), respectively.
- second and third positive comparison signals e.g., logic 1
- second and third negative comparison signals e.g., logic 0
- the mask value is all 1 's, so that the mask operation is not effectively performed and the upper and lower boundary values define the color component intensity range.
- block 64 may output a match signal (e.g., logic 1) to indicate that there is a match between the incoming color and the predefined key color.
- a match signal e.g., logic 1
- FIG. 3 is a ROP (raster operation) table used for programming block 64.
- ROP raster operation
- the ROP bit assigned to the combination i.e., appearing next to the combination
- the ROP bit is set (logic 1)
- it indicates a match and causes block 64 to output a match signal.
- the ROP bit is reset (logic 0), it indicates no match.
- one or more ROP bits may be set, depending on the applications. This scheme provides the flexibility of allowing one to manipulate the sensitivity of one or more color components. For example, one may be interested in a match of only two color components (e.g., R Y and G/U) for a particular incoming color and would not care about the third component (e.g., B/V). In such a case, ROP bit 6 and 7 will be set to indicate a match on the combinations "110" and "111" for Kl, K2 and K3 in comparison with the key color.
- ROP bit 6 and 7 will be set to indicate a match on the combinations
- color substitution may be optionally performed by enabling an AND gate 72 via an enabling signal from a ColorKeyReplaceEn register 76. For example, if subsequent filtering is to be done, color substitution will be performed. To perform color substitution, a logic 1 will be output by AND gate 72 to activate multiplexers 86, 186, and 286 and select the replacement values stored in ColorKeyReplace registers 80, 180, and 280 for the R Y, G/U, B/V components, respectively to replace the original incoming values. As an example, a gray color may be preferred. Thus, the pixel values of the color components for a gray color are used as the replacements.
- the resulting image will have a change in the brightness, but not in the color tone.
- the outputs of multiplexers 86, 186 and 286 are provided to mixers (not shown) for combining with the background color.
- the data will go through conversion and filtering processes to limit visible artifacts in the final image. It should be noted that the present invention may also be used with other types of color components, such as Y, Cr, Cb.
Abstract
Description
Claims
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020027008841A KR20020067608A (en) | 2000-11-10 | 2001-11-06 | High quality color key extraction apparatus |
JP2002542142A JP2004514338A (en) | 2000-11-10 | 2001-11-06 | High quality color key extraction device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US70999800A | 2000-11-10 | 2000-11-10 | |
US09/709,998 | 2000-11-10 |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2002039752A2 true WO2002039752A2 (en) | 2002-05-16 |
WO2002039752A3 WO2002039752A3 (en) | 2002-10-10 |
Family
ID=24852184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/EP2001/013019 WO2002039752A2 (en) | 2000-11-10 | 2001-11-06 | High quality color key extraction apparatus |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP2004514338A (en) |
KR (1) | KR20020067608A (en) |
TW (1) | TW535419B (en) |
WO (1) | WO2002039752A2 (en) |
Cited By (2)
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 |
EP1935185A2 (en) * | 2005-09-22 | 2008-06-25 | Pelco | Method and apparatus for superimposing characters on video |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3536312B2 (en) * | 1992-06-10 | 2004-06-07 | セイコーエプソン株式会社 | Video processing device and computer system |
-
2001
- 2001-11-06 WO PCT/EP2001/013019 patent/WO2002039752A2/en not_active Application Discontinuation
- 2001-11-06 JP JP2002542142A patent/JP2004514338A/en active Pending
- 2001-11-06 KR KR1020027008841A patent/KR20020067608A/en not_active Application Discontinuation
- 2001-12-21 TW TW090131857A patent/TW535419B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Non-Patent Citations (1)
Title |
---|
PATENT ABSTRACTS OF JAPAN vol. 1995, no. 01, 28 February 1995 (1995-02-28) & JP 06 295339 A (SEIKO EPSON CORP), 21 October 1994 (1994-10-21) * |
Cited By (3)
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 |
EP1935185A2 (en) * | 2005-09-22 | 2008-06-25 | Pelco | Method and apparatus for superimposing characters on video |
EP1935185A4 (en) * | 2005-09-22 | 2011-08-24 | Pelco Inc | Method and apparatus for superimposing characters on video |
Also Published As
Publication number | Publication date |
---|---|
KR20020067608A (en) | 2002-08-22 |
JP2004514338A (en) | 2004-05-13 |
WO2002039752A3 (en) | 2002-10-10 |
TW535419B (en) | 2003-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4727425A (en) | Pixel color modification using look-up tables in image reproduction system | |
US20040233217A1 (en) | Adaptive pixel-based blending method and system | |
US20110002551A1 (en) | Compressive coding device and visual display control device | |
EP0457297A2 (en) | Display apparatus | |
KR20050094891A (en) | Method and apparatus for combining video signals to one comprehensive video signal | |
US5247589A (en) | Method for encoding color images | |
US20030115613A1 (en) | Method and apparatus for converting a color space of OSD | |
JPH08248932A (en) | Discrimination method of mixed picture pixel data format in data stream | |
WO2002039752A2 (en) | High quality color key extraction apparatus | |
EP1704556B1 (en) | Method and system to combine a digital graphics object and a digital picture | |
US4870479A (en) | Video graphics memory storage reduction technique | |
KR100831564B1 (en) | High quality video and graphics pipeline | |
US6714180B1 (en) | Automatic control of gray scaling algorithms | |
US6763135B1 (en) | Image processing apparatus | |
US6961068B2 (en) | Method for converting monochrome images | |
KR0155925B1 (en) | Digital color image | |
US20120075323A1 (en) | Method and apparatus for generating and processing graphic data | |
JP3230533B2 (en) | Image processing apparatus and method | |
JPH06214543A (en) | Picture display device | |
KR19990021843A (en) | Process for coding image sequences in a transmitter unit | |
CN113382257A (en) | Encoding method, encoding device, electronic equipment and computer readable storage medium | |
JPS63108865A (en) | Color image processor and its manufacture | |
CN111095919A (en) | Video fusion method and device and storage medium | |
JP2002354241A (en) | Image processing method, image processor, image forming device, and computer readable recording medium | |
JPH05183761A (en) | Picture processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A2 Designated state(s): JP KR |
|
AL | Designated countries for regional patents |
Kind code of ref document: A2 Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020027008841 Country of ref document: KR |
|
ENP | Entry into the national phase |
Ref country code: JP Ref document number: 2002 542142 Kind code of ref document: A Format of ref document f/p: F |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2001989455 Country of ref document: EP |
|
WWP | Wipo information: published in national office |
Ref document number: 1020027008841 Country of ref document: KR |
|
WWW | Wipo information: withdrawn in national office |
Ref document number: 2001989455 Country of ref document: EP |
|
AK | Designated states |
Kind code of ref document: A3 Designated state(s): JP KR |
|
AL | Designated countries for regional patents |
Kind code of ref document: A3 Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |