GB2279533A - Method of chromakeying a background signal into parts of a foreground signal fixed by a predetermined key color - Google Patents

Method of chromakeying a background signal into parts of a foreground signal fixed by a predetermined key color Download PDF

Info

Publication number
GB2279533A
GB2279533A GB9412428A GB9412428A GB2279533A GB 2279533 A GB2279533 A GB 2279533A GB 9412428 A GB9412428 A GB 9412428A GB 9412428 A GB9412428 A GB 9412428A GB 2279533 A GB2279533 A GB 2279533A
Authority
GB
United Kingdom
Prior art keywords
signal
foreground
color
key color
control signal
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
GB9412428A
Other versions
GB9412428D0 (en
GB2279533B (en
Inventor
Rainer Gehrman
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
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
Priority claimed from DE19934321010 external-priority patent/DE4321010A1/en
Application filed by Philips Electronics NV filed Critical Philips Electronics NV
Publication of GB9412428D0 publication Critical patent/GB9412428D0/en
Publication of GB2279533A publication Critical patent/GB2279533A/en
Application granted granted Critical
Publication of GB2279533B publication Critical patent/GB2279533B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Studio Circuits (AREA)

Abstract

A method of inserting a background signal (BG) into parts of a foreground signal (FG), fixed by a predetermined key color (KC), in which a control signal (k) is derived from the foreground signal (FG), which control signal assumes a first value when the foreground signal (FG) represents a color in the region of the key color (KC) and a second value when the foreground signal (FG) represents a different color and in which the control signal (k) has a transition range between the two values, and in which a difference between the vector of the background signal (BG) and the vector of a signal (KC) representing the key color, influenced by the control signal (k), is vectorially added to the foreground signal (FG). A further improvement of the picture quality while using a small number of components is achieved in that the background signal (BG), the signal (KC) representing the key color and the foreground signal (FG) each comprise a component representing the blue component (Cb) and the red component (Cr) as well as a luminance component (Y) and, as regards all their components, said signals are combined in the corresponding, afore-mentioned manner. <IMAGE>

Description

Method of and arrangement for inserting a background signal into parts of a foreground signal fixed by a predetermined key color.
The invention relates to a method of inserting a background signal into parts of a foreground signal, which parts are fixed by a predetermined key color, in which method a control signal is derived from the foreground signal, which control signal assumes a first value when the foreground signal represents a color in the region of the key color and a second value when the foreground signal represents a different color, in which the control signal has a transition range between the two values, and in which a difference, influenced by the control signal, between the vector of the background signal and the vector of a signal representing the key color is vectorially added to the foreground signal. The invention relates also to an arrangement for performing this method.
A method of inserting a background signal into parts of a foreground signal of the above kind, in which method a vector, influenced by the control signal, of the difference between the background signal and a predetermined key color is added to the foreground signal, is disclosed in British Patent Application No. 9226888.7 (GB-A2,263,040). In the most general formulation of the teachings in that application no detailed explanation of the structure of the background signal, of the signal representing the key color and of the foreground signal is given, because the teachings therein are independent of the special implementation of these signals. In a special implementation of the teachings of said application, given components of these signals are preferably to be processed in accordance with the teachings of the application.In accordance with those teachings, particularly only the chrominance signals are processed, whereas another method is chosen for processing the luminance signals, in which method the luminance component is not extracted subtractively but is rather complementarily faded.
Smooth transitions between the picture parts given by the foreground signal and the background signal can then be obtained and particularly the blue fringes can be effectively reduced. Fading of the luminance signals with the complement of the control signal derived from the chrominance components supersedes the additional determination of a separate control signal from the luminance components for the purpose of fading these components.
It is an object of the invention to achieve a further improvement of the picture quality while using a small number of components.
According to the invention, in a method of the type described in the opening paragraph this object is achieved in that the background signal, the signal representing the key color and the foreground signal each comprise a component representing the blue component and the red component as well as a luminance component and, as regards all their components, said signals are combined in the corresponding, afore-mentioned manner.
In the method according to the invention the luminance component is thus treated in the same way as the chrominance components (blue component and red component), which is in contrast to the preferred embodiment of the aforementioned application. This method proves to be particularly advantageous when the control factor in the color plane reflects the actual share of the key color in a mixing signal and is not derived from an arbitrarily chosen, closed key color region. In the preferred method according to the aforementioned application each share of a mixing color in the signal representing the key color is linearly exchanged for a correspondingly large share of the color components of the background signal in the case of a correct determination of the control signal.A good quality of the color reproduction is then obtained in that the control signal represents the true share of the mixing color in the key color. The present invention now proves that this control signal-influenced exchange of the signal representing the key color for the background signal does not only lead to better results for the color components but also for the luminance components of the signals.
It is particularly advantageous that in accordance with the present invention no control signal which is new and independent as compared with the teachings of British Patent Application 9226888.7 is to be generated for fading the luminance component, which control signal is to represent the correct share of the luminance component of the signal representing the key color. In fact it turns out that the control signal determined for the chrominance components can also be successfully used for fading the luminance components.In accordance with the teachings of the said application the control signal is determined in such a way that its value represents the relative share of the signal representing the key color, which share is present in a mixing signal at an edge of an object represented in the foreground or being present in a shady part of the blue wall in front of which the object is recorded in the foreground signal. The control signal represents this relative share as regards the largest possible saturation occurring in the picture.All proportional values of the signal representing the key color formed by variation of the control signal are then located on a straight line when the signals to be processed are represented in the color plane, which straight line starts at the origin of this color plane, where the control signal disappears, and ends at the point in the color plane which represents the key color, where the control signal assumes the value 1.
These and other aspects of the invention will become apparent from and elucidated with reference to the embodiments described hereinafter.
Fig. 1 shows the afore-described situations with reference to the color plane in which the chrominance signals Cb for blue and Cr for red are shown in the system of coordinates. By corresponding linear combination of these chrominance signals, the chromaticity to be represented is obtained, in which the colors red (R), green (G) and blue (B) can be found in the color planes at the corners of the hexagon shown. The point KC(Cr,Cb) represents the color of the blue wall in the example shown; for this point the control signal k assumes the value 1.Between the origin of the system of coordinates subtended by Cb and Cr, where the control signal disappears (k = 0), and the chromaticity value of the blue wall at the key color KC(Cr,Cb) the control signal k varies between the values 0 and 1; at such a variation a straight line between the origin and the point KC(Cr,Cb) is obtained in the color plane. The control signal k known already from British Patent Application No. 9226888.7 represents the relative share of the chrominance signal of the key color KC(Cr,Cb), which share is present in a mixing signal at an edge of an object represented in the foreground signal or being present in a shady area of the blue wall. This relative share is derived from the largest possible saturation occurring in the picture. Consequently, all proportional values of the key color are located on the described straight line in the color plane between the origin (k = 0) and the key color at KC(Cr,Cb) for which k = 1, because these proportional values have been obtained by fading of the key color.
It appears that this situation is also relevant for the luminance component Y. For the purpose of explanation, reference is made to Fig. 2 showing an indicated, isometric representation of the color space. This space is subtended by the color plane shown in Fig. 1 whose coordinates Cb and Cr are shown in Fig. 2 again, as well as by a diagram axis representing the luminance component Y, which axis is perpendicular to the color plane. In the color space, a luminance component KC(Y) is associated with the signal value KC(Cr,Cb) of the key color in the color plane; the signal representing the key color thus has the value KC(Y,Cr,Cb) in the color space.If a straight line is subtended between the origin of the color space, which is simultaneously the origin of the color plane, and the signal value KC(Y,Cr,Cb), the shares of the key color faded by variation of the control signal k, including its luminance component, are obtained on this straight line. With the relative color component of the signal KC representing the key color, which signal is described by the control signal k, a relative luminance component along the axis Y is defined simultaneously. Consequently, no new control signal needs to be introduced for fading the luminance component.Preferably, the maximum value of the luminance component to be used, i.e. the luminance component of the key color KC(Y), is not arbitrarily chosen, but it should correspond exactly to the value of the luminance component of the blue wall at those positions where the amount of the chrominance signal KC(Cr,Cb) of all points on the blue wall assumes the highest value.
The method according to the invention particularly leads to a good reproduction of reflexes and shades on transparent objects which are represented in the original picture as slightly varying shades of the color blue. In the keying process - i.e.
separation of the foreground objects to be inserted in the background from the key color - a "presumed" luminance component is also defined, according to the invention, when the actually found chrominance signal component has been determined, as is shown by the straight line in Fig. 2. The luminance components corresponding to the straight line are completely replaced when the foreground object is inserted in the background.
Deviations of the foreground mixing signal or of the luminance component of this signal from the straight line, as shown in Fig. 2, should, however, have their origin in the luminance component of the foreground signal, i.e. they are not caused by irregularities of the blue wall. Consequently, they are retained as such. Based on the linear determination of each proportional value of the signal KC representing the key color up to the highest possible value, each nuance of a deviation from the straight line is detected and represented as an object in the foreground signal, i. e. it is superimposed on the background signal.
In accordance with an advantageous further embodiment of the method according to the invention, an output signal with an inserted background is formed in accordance with the following equation which is valid for all components: OUT(Y,Cr,Cb) = FG(Y,Cr,Cb) + + k". [BG(Y,Cr,Cb) - KC(Y,Cr,Cb)].
The transition range then extends preferably as far as the centre of the foreground colors and the control signal represents the vectorial, relative color component of the key color in a mixing color. Particularly the blue fringes are eliminated in this way.
In an arrangement for performing the method according to the invention all components of the background signal and the signal representing the key color can be applied to a first adder in such a way that the signal representing the key color is subtracted from the background signal, that an output of the adder is connected to a first input of a multiplier, to whose second input the control signal can be applied, and that an output of the multiplier is connected to a first input of a second adder, to whose second input the foreground signal can be applied.
An example of such an arrangement is shown in Fig. 3. The reference numeral 100 denotes a memory whose output 101 supplies the signal KC(Y,Cr,Cb) representing the key color. This signal KC comprises both a luminance component and as chrominance components - a blue component Cb and a red component Cr. It is applied to a first input 102 of a first adder 103. The first input 102 of the first adder 103 is either formed as a subtracting input, as is shown in Fig. 3, or the sign of the signal KC is already inverted in the memory 100. A background signal BG(Y,Cr,Cb) with all its components (luminance component, red component, blue component) is applied to a second input 104 of the first adder 103.The output 105 of the first adder 103 supplies a signal representing the difference between the background signal BG and the signal KC representing the key color and this signal is applied to a first input 106 of a multiplier 107. The multiplier 107 has a second input 108 which receives the control signal k. The difference signal from the first input 106 is multiplied by this control signal k. The signal thus formed, which is supplied at the output 109 of the multiplier 107, represents the control signal-influenced difference between the background signal and the signal representing the key color. It is applied to a first input 110 of a second adder 111 whose second input 112 receives the foreground signal FG with all its components (Y,Cr,Cb). The output signal OUT is then supplied at the output 113 of the second adder 111, which output signal also consists of a luminance component, a blue component and a red component.
The arrangement shown in Fig. 3 further comprises a control signal memory 114 which, as described in British Patent Application No. 9226888.7, may be implemented as a write-read memory. The control signal k is generated from the foreground signal FG in this control signal memory 114 in the manner described in that application.

Claims (6)

Claims:
1. A method of inserting a background signal (BG) into parts of a foreground signal (FG), which parts are fixed by a predetermined key color (KC), in which method a control signal (k) is derived from the foreground signal (FG), which control signal assumes a first value when the foreground signal (FG) represents a color in the region of the key color (KC) and a second value when the foreground signal (FG) represents a different color, in which the control signal (k) has a transition range between the two values, and in which a difference, influenced by the control signal (k), between the vector of the background signal (BG) and the vector of a signal (KC) representing the key color is vectorially added to the foreground signal (FG), characterized in that the background signal (BG), the signal (KC) representing the key color and the foreground signal (FG) each comprise a component representing the blue component (Cb) and the red component (Cr) as well as a luminance component (Y) and, as regards all their components, said signals are combined in the corresponding, aforementioned manner.
2. A method as claimed in Claim 1, characterized in that an output signal (OUT) with an inserted background is formed in accordance with the following equation which is valid for all components: OUT(Y,Cr,Cb) = FG(Y,Cr,Cb) + + k. [BG(Y,Cr,Cb) - KC(Y,Cr,Cb)].
3. A method as claimed in Claim 1 or 2, characterized in that the transition range extends as far as the centre of the foreground colors and the control signal (k) represents the vectorial, relative color component (KC(Cr)) of the key color (KC) in a mixing color.
4. An arrangement for performing the method as claimed in Claim 1, 2 or 3, characterized in that all components of the background signal (BG) and the signal (KC) representing the key color can be applied to a first adder (103) in such a way (at 104 and 102, respectively) that the signal (KC) representing the key color is subtracted from the background signal (BG), in that an output (105) of the adder (103) is connected to a first input (106) of a multiplier (107), to whose second input (108) the control signal (k) can be applied, and in that an output (109) of the multiplier (107) is connected to a first input (110) of a second adder (111), to whose second input (112) the foreground signal can be applied
5. A method of inserting a background signal into parts of a foreground signal substantially as described herein with reference to the accompanying drawings.
6. An arrangement for inserting a background signal into parts of a foreground signal substantially as described with reference to the accompanying drawings.
GB9412428A 1993-06-24 1994-06-21 Method of and arrangement for inserting a background signal into parts of a foreground signal fixed by a predetermined key color Expired - Fee Related GB2279533B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE19934321010 DE4321010A1 (en) 1991-12-30 1993-06-24 Method and arrangement for inserting a background signal into parts of a foreground signal which are defined by a predetermined keying colour

Publications (3)

Publication Number Publication Date
GB9412428D0 GB9412428D0 (en) 1994-08-10
GB2279533A true GB2279533A (en) 1995-01-04
GB2279533B GB2279533B (en) 1997-07-16

Family

ID=6491130

Family Applications (1)

Application Number Title Priority Date Filing Date
GB9412428A Expired - Fee Related GB2279533B (en) 1993-06-24 1994-06-21 Method of and arrangement for inserting a background signal into parts of a foreground signal fixed by a predetermined key color

Country Status (2)

Country Link
JP (1) JPH0746626A (en)
GB (1) GB2279533B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2263040A (en) * 1991-12-30 1993-07-07 Philips Nv Inserting a background image into parts of a foreground image using chromakey.

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2263040A (en) * 1991-12-30 1993-07-07 Philips Nv Inserting a background image into parts of a foreground image using chromakey.

Also Published As

Publication number Publication date
GB9412428D0 (en) 1994-08-10
JPH0746626A (en) 1995-02-14
GB2279533B (en) 1997-07-16

Similar Documents

Publication Publication Date Title
US4707727A (en) Apparatus for providing an indication that a color represented by a Y, R-Y, B-Y color television signal is validly reproducible on an RGB color display device
US5381184A (en) Method of and arrangement for inserting a background signal into parts of a foreground signal fixed by a predetermined key color
US5937104A (en) Combining a first digital image and a second background digital image using a key color control signal and a spatial control signal
US5400081A (en) Chroma keyer with correction for background defects
US5196922A (en) Digital image generation
EP0264965A2 (en) Video difference key generator
CA2271631A1 (en) Device and process for producing a composite picture
JP3456818B2 (en) Color correction device
GB2256557A (en) Television image keying systems processing
US5382980A (en) Method of and arrangement for inserting a background signal into parts of a foreground signal fixed by a predetermined key color
US5313304A (en) Chroma keyer with fringe control offset
US5526060A (en) Luma/chroma decoder with demodulated control signal
US5831604A (en) Alpha blending palettized image data
US5231478A (en) Adaptive control signal generator for an adaptive luminance/chrominance separator
US5719640A (en) Chromakey method and associated circuit arrangement
US5251016A (en) Chroma keyer with secondary hue selector
KR0160718B1 (en) The compensation method for a contour contained in color signal and circuit for imbodimenting the same in color video apparatus
JPH10145808A (en) Method and device for generating synthetic video signal
GB2279533A (en) Method of chromakeying a background signal into parts of a foreground signal fixed by a predetermined key color
US5973753A (en) Method and circuit arrangement for separating luminance and chrominance signals of a CVBS signal
US5436671A (en) Method of separating a foreground picture signal from a mixed picture signal, using gamma correction, and arrangement for performing said method
EP1370091A1 (en) Image processing
GB2398692A (en) Colour correction
GB2044036A (en) Colour Separation Overlay of Television Signals
JPH0344172A (en) Contour correction circuit

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 19990621