CA1165433A - Chroma keying system - Google Patents

Chroma keying system

Info

Publication number
CA1165433A
CA1165433A CA000357703A CA357703A CA1165433A CA 1165433 A CA1165433 A CA 1165433A CA 000357703 A CA000357703 A CA 000357703A CA 357703 A CA357703 A CA 357703A CA 1165433 A CA1165433 A CA 1165433A
Authority
CA
Canada
Prior art keywords
signals
signal
color
video
comparator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
CA000357703A
Other languages
French (fr)
Inventor
Richard S. Bannister
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.)
Grass Valley Group Inc
Original Assignee
Grass Valley Group Inc
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 Grass Valley Group Inc filed Critical Grass Valley Group Inc
Application granted granted Critical
Publication of CA1165433A publication Critical patent/CA1165433A/en
Expired 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

Abstract

CHROMA KEYING SYSTEM

Abstract of the Disclosure A chroma keying system which prevents the pro-duction of a chroma key signal when the primary color signals are equal is described. This system ef-fectively prevents chroma keys on monochrome portions of color foreground camera signals. These monochrome portions are typically caused by uneven studio light-ing and the resulting shadows and reflections. The system includes a comparator which compares the R, G, and B signals and generates an inhibit signal there-from. This inhibit signal is then used to prohibit the generation of a chroma key signal.

Description

CHROMA KEYING SYSTEM

Background of the Invention The present invention relates to electronic cir-cuitry for generating special effects in color tele-vision and, more particularly, to systems for re-placing selected portions of a foreground image with abackground image when desired.

- - Various systems exist for keying out selected portions of a foreground image such as may be provided by a foreground television camera and replacing the keyed out portions with a background image such as may be provided by a background television camera. Ex-amples of such systems are provided by U.S. Patent No.
3 r7~1~' S~ .~
3 778,4-r~2 for Blue Screen Travelling Matte System 15 granted to L.C. Hanseman on December 11, 1973 and U.S.
Patent No. 3,560,638 granted to Ole Skrydstrup and John D. Ross for Chroma Keying System Utilizing Remote Controlled Chroma Keyer on February 2, 1971.

The Hanseman patent provides an example of a travelling matte system in which the foreground and background~ ~ignals are algebraically combined such as ` by use of suppression networks to produce the com-posite signal. In the particular arrangement disclosed in the Hanseman patent a color difference signal is - derived by subtracting the sum of the red and green components of the foreground signal from twice the value of the blue component. The foreground signal is selectively suppressed by a network which acts to subtract the blue component from the total signal. The background signal components are applied to multi-pliers where they are selectively suppressed by the color difference signal.

The Skrydstrup patent discloses a keying system in which the output is effectively switched between the foreground and background to generate the com-posite signal. In one embodiment of this invention th nonencoded camera outputs are matrixed to form R, B, and Y ~luminance) signals. These signals are passed through multipliers whose control ports have a d.c.
input proportional to the sine and cosine of a hue applied thereto. The outputs of the multipliers are summed to produce the key signal Vk = (R-y)sine t (~-Y)cose. ïne key signal is subsequently delayed by the amount necessary to bring it into the correct time relationship with the encoded background and fore-ground camera signals. The key signal is then ampli-fied and clipped before it is u$ed to switch between the background and foreground cameras. A clip control is provided to set a threshold below which a key signal is not produced.

The optimum setting of the clip control is depen-dent upon the ambient lighting conditions in th~ tele-". vision production studio. For example, in a studio using a blue background where illumination is uneven, the clip control may have to be set near zero so that all the blue portions of the scene produce a key signal. Thus, it would be possible for the chroma keyer to produce a key from undesired monochrome por-tions of the foreground signal. These monochrome por-tions include very dark shadows and bright speculari-ties caused by reflections.

According to the present invention there is pro-vided an apparatus for switching a plurality of video signals so as to produce a video signal that repre-sents a composite image according to a selected color 3~ in one of the video signals, comprising color selector means for producing an electrical control signal which represents a selectable hue or range of hues in one of said video si~nals, and a comparator responsive to B

1 i65433 primary color signals contained in said one video signal for inhibiting production of said electrical control signal when said primary color signals are of approximately equal amplitude.

In a preferred embodiment of the invention, pro-duction of the electrical control signal is inhibited in response to monochrome portions of a foreground camera signal, which are identified on the basis of the well-known fact that during monochrome portions of I0 a color television signal the RGB ! signals are equal.

The invention, both as to organization and opera-_ tion,_ ~ay be best understood by--reference to the following description in conjunction with the accom-panying drawing figures wherein like reference numer-als refer to like elements and in which:

FIG. 1 is a block diagram illustrating how the present invention may be used in a video switching system;

FIG. 2 is a color circle vector diagram illustra-ting the color difference vectors;

FIG. 3 is a detailed block diagram of the present invention;

FIG. 4 is a schematic of comparator 25 of FIG. 3;

~: 25 FIG. 5 is a graph of the voltage at point A in :~ FIG. 4; and FIG. 6 is a schematic of function generator 200 of FIG. 3.

1 16r~433 -3a-FIG. 1 illustrates in block diagram ~orm a chroma keying system in which the present invention may be utilized. Video signals representative of a background picture being televised originate from a suitable source shown only in block form and designated video source l; video signals representative of a foreground picture being televised originate from a suitable source shown only in block form and designated video source 2. The video signa~s originating from video source 1 are ~ncoded composite ~ ,,,, ~

1 1~5~33 ( -4-video signals and are coupled to a means 10 such as a conventional mixer for combining separate input signals linearly in the desired proportion to produce an output signal. The video signals originating from video source 2 define a plurality of signals; encoded composite video coupled to means 10 and the primary color signals red (R), green (G), and blue (B) of the foreground picture. Video source 2 may include a de-coder for converting the encoded video to the above primary color signals. An alternate video source, not shown, may be provided to supply additional encoded or primary color signals. Such a source may be a video tape recorder, or the like.

Each of the primary color signals is coupled to a means 20 such as a conventional resistive matrix which converts the three primary color signals to two pri-mary color signals and a luminance signal (Y). These signals are next coupled to a means 30 which is a chroma key generator for generating a chroma key signal and may have a remotely operable control means 35 for selectirg a color represented by the chroma key signal. Means internal to the chroma key generator 30 utilize the above primaPy color signals and luminance signal to generate two of the three well-known color difference signals: (B-Y), (R-Y) and (G-Y). The signals generated are, of course, dependent upon the input signals. In the preferred embodiment illustrated in Fig. 1, matrix 20 produces the R, B, and Y signals.
Corsequently, the color difference signals produced by chroma key generator 30 are: (B-Y) and R-Y). Those skilled in the art are aware that the (R-Y) and (G-Y) difference signals may also be used. Chroma key gen-erator 30 produces the subject difference signals with multipliers whose control ports have a dc input signal proportional to the sine and the cosine of a hue voltage applied thereto. The outputs of these multi-pliers are summed to produce the chroma key signal: Vk = (R-Y)s~n~ + (B-Y)cos~.

This chroma key generator is well known to those skilled in the art for providing a signal to alternate the input selection of the switching system in accordance with a selected color and is generally operated by a key select means 40 5 receiving the chroma key signal via switch means 50. The selected chroma key signal is next coupled to a means 60 such as a pattern processor for processing the chroma key signal and other conventional effects applied thereto via the means 70. Outputs, A control and B control of processor 60 generated 10 therein in accordance with normal practice, are coupled to mixer 10 to control the combining of the background and fore-ground video signals generated by video sources 1 and 2 to provide an output signal which is displayed on ou~put device 15 .
The above-described system departs from existing systems as hereinafter described to provide an improved chroma keying ~ystem. Coupled to receive the RGB signals is means 25 de-fining a three-level comparator. Comparator 25 produces an inhibit signal when the RGB signals are essentially equal in 20 amplitude. The inhibit signal is subtracted from the key signal and thereby inhibits the chroma keyer from generating a key signal from monochrome portions of the foreground scene.
The present invention takes advantage of the well-known principle that when monochrome television signals are encoded 25 according to the N.T.S.C. color standards, the amplitudes of the individual R, G, and B signals are nearly equal. The principles of N.T.S.C. color encoding are illustrated in the publication Colour Television, Volume 1 Principles and Practice, Carnt, P.S., and Townsend, G.B., Iliffe Books Ltd., London:
30 1961, pp. 78-116.
X

1 165~33 For a peak white signal, the following color signals exist:
R = G = B = 1 then Y = 0.30 (1) ~ 0.59 (1) + 0.11 (1) = 1 s so that B-Y = 1-1 = 0 and R-Y = 1-1 = 0 Similarly, for a grey signal, the following color signals exist:
R = G = B 3 0.2 then Y = 0.30 (0.2) + 0.59 (0.2) + 0.11 (0.2) = 0.2 so tha~ B-Y = 0.2 - 0.2 = 0 and R-Y = 0.2 - 0.2 = 0 The above derivation may be performed for all shades of grey up to black where:
R = G = B = 0 with similar results. Consequently, all monochrome colors would be located at the origin of the vector diagram of FIG. 2. This diagram illustrates the well-known fact that any color may be defined on a color circle in terms of the two color difference vectors (R-Y) and (B-Y).
Reference should now be made to FIG. 3`. wherein I
have illustrated in more detail the navel aspects of the present invention. As previously described, the nonencoded RGB signals from video source 2 are coupled to matrix 20 wherein they are transformed into R, B, and Y signals. These signals are combined in multi-pliers 100 and 110 to produce the well-known color difference signals R-Y and B-Y. These multipliers may be a commercially available type such as a MC1496.
These multipliers are controlled by function generator 200. The products of multipliers 100 and 110 are the (R-Y)sin~ and (B-Y)cos~ signals. The (R-Y)sin~ and (B-Y)cos~ signals are linearly added in adder 120 to .

1 16~433 obtain the chroma keying signal which has the form:
Vk = (R-Y)cos~ + tB-Y)sin~
which is the equation of a hue on the color circle of FIG. 2.
This principle is known from U.S. Patent No. 3,560,638 granted 5 to Ole Skrydstrup, et al., February 2, 1971. The keying signal is coupled to means 130 which may be an amplifier having both non-inverting and inverting inputs. In which case, the keying signal is coupled to the non-inverting input and an inhibit signal from comparator 25 is coupled to the inverting 10 input. The inhibit signal is produced as a result of comparing the RBG signals. When R = B = G, an inhibit signal is pro-duced and subtracted from the key signal by amplifier 130 to produce a null and thus, disable the chroma key switching function.
If a key signal is produced it is coupled to delay means 140 which is necessary to compensate for encoder delays normally present in television cameras. The delayed key signal is then coupled to gain-controlled multiplier 160.
Amplifier 170 amplifies and limits the key signal to approx-20 imately one volt.
One embodiment of comparator 25 is shown in schematic form in PIG. 4. The RGB signals from video source 2 are the input signals to comparator 25. The red (R) signal is coupled to the base of NPN transistor 320, the green (G) signal is 25 coupled to the base of NPN transistor 310, and the blue ~B) signal is coupled to the base of NPN transistor 300. Tran-sistors 300, 310 and 320 are selected to have closely matched operating characteristics. The collector of transistor 300 is connected through resistor 301 to a suitable positive 30 power supply designated ~V. The collectors of transistors 310 and 320 are similarly connected, through resistors 311 and 321, respectivelyJ to the same positive power supply, ~V.
Resistors 301, 311 and 321 are of equal value. The emitter of each transistor ~r~
.~, .

300, 310 and 320 is connected to current source 305 which is, in turn, connected to a suitable negative power supply designated -V. The collector of tran-sistor 300 is connected to the base of NPN transistor 350. The collectors of transistors 310 and 320 are connected to the base of NPN transistors 340 and 330, respectively. Transistors 330, 340 and 350 are select-ed to have closely matched operating characteristics.
~he collector of each transistor 330, 340, and 350 is directly connected to the ~V power supply. The emitter of each transistor 330, 340, and 350 is connected, through a diode, to a point designated A in FIG. 4 and from there to the -V power supply. Point A is con-nected to the base of PNP transistor 360, the col-lector of which is connected to the ~V power supply via a diode and a resistor. The collector of tran-sistor 360 is connected to the -V power supply through a resistor. The output or inhibit signal is taken from the collector of transistor 360.
The above-described circuit functions as a three-level comparator. Since such circuits are well-known to those skilled in the art a detailed description of circuit operation will not be given here. When the RGB
signals are equal, the voltage at point approaches its maximum negative value. FIG. 5 is a graph of the voltage at point A with two of the input signals held constant; for example, R = G, while the B signal is varied from 0.3 volts above to 0.3 volts below the other two signal levels.
' When the RGB signals are equal, transistors 300, 310, and 320 draw an equal amount of current from current source 305. Therefore, the base drive to tran-sistors 330, 340, and 350 is equal and the voltage at point A is at its maximum negative value. If, however, ; the level of one of the signals increases. one of the transistors 300, 310, or 320 draws more current than , the other two. This imbalance causes the voltage at point A to rise according to the curve shown in FIG~
5. Transistor 360 inverts the si~nal at point A before it is fed to amplifier 130.
The above-illustrated case .is simplified for the sake of clarity. More complex situations can and do exist in actual operation of the system. But the overall result is the same: when R = G = B, the voltage at point A in FIG. 4 is at its maximum negative value and when the RGB signals differ by more than a few tenths of a volt, the voltage at point A
rises to a minimum negative value.

F~IG. 6 is a schematic of one embodiment of func-tion generator 200. Such circuits are well known;
therefore only a brief description will be provided herein. The sine and cosine voltages developed by function generator 200 control multipliers 100 and 110. The cosine voltage is developed by transistors 400 and 405 and operational amplifier 410~ Amplifier 410 may be a MC1458 or other suitable operational amplifier. With hue control potentiometer 190 at ground, transistor 4.00 is on and transistor 405 is off. Amplifier 410 then behaves as a non-inverting amplifier with unity gain. As hue control potentio-meter 190 is turned to its half-way point, transistor 405 begins conducting and reduces the voltage at the non-inverting input of amplifier 410. This causes amplifier 410 to operate as a non-inverting amplifier with unity gain. The sine voltage is generated by transistors 415, 425, 430, and 435 and amplifier 420.
When the hue control potentiometer 190 is at ground, the base of transistor 425 is at ground and the base of transistor 430 is at approximately -3.3 volts.
Also, transistor 415 is saturated and the voltage at the non-inverting input of amplifier 420 is near ground. As the voltage from hue control potentiometer 190 increases, the voltage at the non-inverting input 1~6$~33 --1 o--of amplifier 420 follows the voltage at the base of transistor 425 until transistor 415 comes out of satu-ration. Amplifier 420 now functions a unity gain inver-ting amplifier until transistor 435 saturates. When transistor 435 saturates, the voltage at the non-inverting input of amplifier 420 again follows the ~ase voltage of transistor 425. The function generator outputs change direction rather abruptly producing a triangular output. However, the points are smoothed by overdriving the control ports of multipliers 100 and 110.

In summary, what has been described is a chroma keying system which prevents the production of a chroma key signal when the RGB signals are equal. This has the effect of preventing chroma keys on monochrome portions of color foreground camera signals. These monochrome portions are typically caused. by uneven lighting and reflections.
While there has been shown and described the preferred embodiment of the present invention, it will be apparent to those skilled in the art that many changes and modifications may be made without depart-ing from the invention in its broader aspects. There-fore, the appended claims are intended to cover all such modifications and changes that fall within the scope of the invention.

' ' '

Claims (11)

1. Apparatus for switching a plurality of video signals so as to produce a video signal that repre-sents a composite image according to a selected color in one of the video signals, comprising color selector means for producing an electrical control signal which represents a selectable hue or range of hues in one of said video signals, and a comparator responsive to primary color signals contained in said one video signal for inhibiting production of said electrical control signal when said primary color signals are of approximately equal amplitude.
2. Apparatus according to claim 1, in combina-tion with a source of a plurality of color video signals including primary color signals, and a matrix coupled to said source for developing color difference signals from said primary color signals, said color selector means being responsive to said color differ-ence signals and said comparator being responsive to the primary color signals provided by said source, said comparator being operative to produce an inhibit signal when said primary color signals are of approx-imately equal amplitude, said inhibit signal being coupled to the color selector means for inhibiting production of the electrical control signal.
3. Apparatus according to claim 2, wherein said electrical control signal is a chroma key signal and the apparatus further comprises a pattern processor responsive to the chroma key signal for developing mixer control signals, and a video mixer responsive to a least two of said video signals and said mixer control signals to produce a video signal representing a composite image.
4. Apparatus according to claim 2 or 3, wherein said source comprises a device for generating encoded color signals and a decoder responsive to the encoded color signals to produce the primary color signals therefrom.
5. Apparatus according to claim 1, wherein the comparator comprises a three-level video comparator.
6. Apparatus according to claim 3, wherein the color selector comprises means for summing said elec-trical control signal and said inhibit signal.
7. Apparatus according to claim 2, wherein said matrix is a resistive matrix.
8. Apparatus according to claim 3, further com-prising an effects amplifier for providing special effects in said composite image.
9. Apparatus according to claim 3, wherein said color selector comprises a chroma key generator includ-ing externally operable control means for selecting said selectable hue or range of hues.
10. Apparatus according to claim 9, wherein said externally operable control means comprise means for developing at least two control signals which are go degrees out of phase with each other and have the form (R-Y) sine and and (B-Y) cos.theta., where .theta. is a func-tion of said externally operable control means and (B-Y) and (R-Y) define the color difference signals.
11. Apparatus according to claim 9, wherein said chroma key generator comprises means for summing the chroma key signal and the inhibit signal.
CA000357703A 1979-09-04 1980-08-06 Chroma keying system Expired CA1165433A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US7195679A 1979-09-04 1979-09-04
US71,956 1979-09-04

Publications (1)

Publication Number Publication Date
CA1165433A true CA1165433A (en) 1984-04-10

Family

ID=22104655

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000357703A Expired CA1165433A (en) 1979-09-04 1980-08-06 Chroma keying system

Country Status (6)

Country Link
JP (1) JPS604638B2 (en)
CA (1) CA1165433A (en)
DE (1) DE3032629C2 (en)
FR (1) FR2464606A1 (en)
GB (1) GB2059219B (en)
NL (1) NL8004868A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4408221A (en) * 1981-09-22 1983-10-04 Mccoy Reginald F H Television chroma-key systems
JPS60501680A (en) * 1983-06-13 1985-10-03 アルテイマツト コ−ポレ−シヨン Automatically encoded signal color image synthesis
JPS6266791A (en) * 1985-09-16 1987-03-26 ザ・グラス・バレ−・グル−プ・インコ−ポレイテツド Chroma-key unit
US4947255A (en) * 1988-09-19 1990-08-07 The Grass Valley Group, Inc. Video luminance self keyer
GB9109999D0 (en) * 1991-05-09 1991-07-03 Quantel Ltd Improvements in or relating to keying systems and methods for television image processing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3778542A (en) * 1970-11-30 1973-12-11 Technicolor Blue screen travelling matte system
NL7509871A (en) * 1975-08-20 1977-02-22 Philips Nv COLOR TV CHROMA KEY SIGNAL GENERATOR.
US4041527A (en) * 1976-03-15 1977-08-09 The Grass Valley Group, Inc. Video effects generator

Also Published As

Publication number Publication date
JPS5637786A (en) 1981-04-11
NL8004868A (en) 1981-03-06
GB2059219B (en) 1984-05-16
JPS604638B2 (en) 1985-02-05
DE3032629C2 (en) 1982-09-23
FR2464606A1 (en) 1981-03-06
FR2464606B1 (en) 1983-12-23
GB2059219A (en) 1981-04-15
DE3032629A1 (en) 1981-03-26

Similar Documents

Publication Publication Date Title
US4319266A (en) Chroma keying system
JP2946151B2 (en) Chroma key generation circuit
EP0147394B1 (en) Automated encoded signal color image compositing
US4481529A (en) Tricolor video signal generator, such as a video game, usable _with a monochrome picture display device
CA1096486A (en) Colour television chroma keying signal generator
JPS62230188A (en) White balancing device for color video camera
CA1105132A (en) Video effects generator
KR970004181B1 (en) Image control apparatus of camcorder
US5251016A (en) Chroma keyer with secondary hue selector
CA1165433A (en) Chroma keying system
US5428402A (en) Tint detection circuit for automatically selecting a desired tint in a video signal
JP2727041B2 (en) Non-additive video mixing device
US4152720A (en) Contrast correction arrangements
KR920002002Y1 (en) Color signal auto-control circuit
GB933938A (en) Improvements in or relating to television
JPS6266791A (en) Chroma-key unit
GB2168564A (en) Improvements in or relating to keying of video signals
GB2176671A (en) Separation overlay
JPH05252532A (en) Video signal processor
JPS58117787A (en) Chromakey device
JPH0148715B2 (en)
JPS60248092A (en) Special effect generator
JPH0453386A (en) Emphasis device for electronic view finder
JPH0746875B2 (en) Magnetic recording / reproducing device
JPS58104587A (en) Color video camera

Legal Events

Date Code Title Description
MKEX Expiry