Character and other graphical generating system and method for video display

Abstract: A character generating system is disclosed having a source of batches of video keying signals representing different characters combined with further keying signals representing a background for the respective character. The video keying signals are confined to one value range and said further keying signals are confined to a different value range. The system effects spatial transformation of the combined signals and responds to the values of the spatially transformed combined signals to derive shape signals corresponding to the further keying signals and to derive shade signals corresponding to the video keying signals. In response to the shape and shade signals different video signals are provided respectively representing the character and the background both spatially transformed as the combined signals were spatially transformed.

Description: This invention relates to a character generating system for use in, and a method of, keying at least one character into a picture. Character generating systems are already known and are useful for generating captions for TV programmes in which batches of digital video keying signals, each representing a character profile in a font of characters, are stored for example in a disc store. When a particular character is required for use in a caption, the respective video keying signals are read from the store, and may then be subjected to 3D manipulation to change the orientation (spin), position or size of the character, or transform it in some other way as required in the caption. The transformed video keying signals may then be written into a framestore along with other manipulated characters for subsequent reading of the caption. A character generator of this kind is described in our British patent application published as GB-A-2137856. Features other than characters can also be generated by such systems. Also, EP-A-122,098 discloses a system in which a caption held in a caption framestore is inserted by a keyer into a background image held in a background framestore. One change which is sometimes required when using a character generating system is to place a border round or form a shadow of one or more of the characters (or features). With existing character generating systems such a change is difficult to achieve and still maintain anti-aliased quality. An object of the present invention is to provide an improved character generating system including means to provide the character within a background, such as a border or a shadow, which can be subject to manipulation in the same way as the character without adding undue complexity to the system. GB-A-2099258 describes a video key edge generator for increasing the size of an associated border, drop shadow and/or outline. An input video signal is supplied to several switchable delay circuits and logic gates to produce a delayed video signal, a so-called OR key signal and an outline key signal. The outline key is a delayed version of the OR key. The input video signal, the delayed video signal, the OR key signal and the outline key signal are input to a switching arrangement which selectively inputs the signals together with a background video signal and a matte video signal where the video signals are combined by a multiplier circuit under the control of the keying signals to produce an output composite video signal. The output signal represents the characters in the caption placed over the background with each character having an associated border, or the like, "colorised" by the matte colour. The form of the border is determined by the switched configuration of the delay circuits and the multiplier circuit. According to one aspect of the present invention there is provided a character generating system for use in keying at least one character into a picture, the system comprising: means for providing a combined keying signal comprising a first digital keying signal for use in keying a signal for a character into a signal representing said picture and a second digital keying signal associated with the first keying signal for keying a signal for a background for said character into said picture signal, the first and second keying signals being respectively confined to mutually exclusive discrete ranges of digital values; transforming means for effecting a spatial transformation of the combined keying signal to derive a spatially transformed combined keying signal; separating means for separating the first and second keying signals from the spatially transformed combined signal to produce respective spatially transformed first and second keying signals; and keying means responsive to said spatially transformed first and second keying signals for keying said signal for said character and said signal for said background into said picture signal, thereby to provide a signal representing said transformed character and background keyed into the picture. According to another aspect of the invention there is provided a method of keying at least one character into a picture, the method comprising: providing a combined keying signal comprising a first digital keying signal for use in keying a signal for a character into a signal representing said picture and a second digital keying signal for use in keying a signal for a background for said character into said picture signal, the first and second keying signals being respectively confined to mutually exclusive discrete ranges of digital values; effecting a spatial transformation of the combined keying signal to derive a spatially transformed combined keying signal; separating the first and second keying signals from the spatially transformed combined signal to produce respective spatially transformed first and second keying signals; and using the spatially transformed first and second keying signals in order to key respective signals for said character and for said background for the character into said picture signal, thereby to provide a signal representing said transformed character and background keyed into the picture. One advantage provided by the invention is that if the first and second digital keying signals have anti-aliasing or soft edging properties, these properties are preserved in the transformed signals not only at the edge of the selected character, but also at the edge of the added border or shadow. In an embodiment of the invention, to be described in detail hereinafter the transforming means can effect 3D transformations. Nevertheless, only one transforming means is required for transforming both the first and second signals simultaneously, since the identity of the two signals is preserved in the combined signal through the manipulation. The above and further features of the invention are set forth with particularity in the appended claims and together with advantages thereof will become clearer from consideration of the following detailed description of an exemplary embodiment of the invention given with reference to the accompanying drawings. In the drawings: Figure 1 is a schematic block diagram of a character generating system embodying the invention; Figures 2a to 2d are diagrams illustrating the manner in which the system of Figure 1 dilates and differentiates video signals defining a character and a background therefor; Figures 3a and 3b illustrate the function of look up tables used in the system of Figure 1; and Figures 4a and 4b illustrate shade and shape signals used in the system of Figure 1. Referring to Figure 1 of the drawings, reference 1 denotes a source, such as a store, of digital video keying signals representing different characters. Each character is represented by a batch of video keying signals defining the respective character arranged in a sequence of lines defining a small rectangular frame or tile, as described for example in our published Patent No. 2137856B. The source 1 may be a disc store and one batch of video keying signals is stored for every character available in the store. Normally the store will hold signals defining many different fonts of characters. The video signals may be eight bit signals, so that a signal value in the range from 0 to 255 can be stored for each picture point. Figure 2a shows a representative character A for which it is assumed video keying signals are stored in the store 1, while Fig. 2b shows the envelope of the video keying signals for a sequence of picture points along the line 2 in Fig. 2a. As indicated the video keying signals may have the values 255 at picture points lying within the boundary of the character except at a few points close to the boundary. For picture points outside the boundary, the video signals have the value 0. As indicated by the inclination of the envelope between value 0 and 255, a few video signals for picture points close to the boundary have values which increase on moving in from the boundary, and lie between 0 and 255. These signals are so called anti-aliasing signals which prevent ragged edges appearing in a picture on which the characters may be introduced. The number of these anti-aliasing signals encountered on moving inward from any boundary is small, in the ranges from 2 to 10 say, and a minimum of two is desirable for the purposes of the present invention as will appear, one having a value below 127 and the other having a value above 128. The video keying signals representing any character can be selected from the source 1 by operator choice, using known means. When selection is made, the video keying signals are applied to a dilating circuit 3 and are also applied directly as a key signal K to a keying circuit 4. The video keying signals for picture points occurring along each of the series of lines in the character are applied in succession to the circuits 3 and 4. The dilating circuit is of known form and it serves to transform the video keying signal in the respective batch to represent a projected version of the character. Thus for example the envelope of the signals derived from the dilating circuit, relating to picture points along the line 2, is transformed from Fig. 2b to Fig. 2c and the effect is of dilating the original character A of Figure 2a to that having the boundaries shown by dotted lines. One method of dilation is achieved by transforming the value of the video keying signal at each picture point in the tile to the highest value of any picture point enclosed within a square matrix of say 15 x 15 depending on the amount of dilation required. For example considering picture point 5 on Fig. 2a, its value is transformed to the highest value for any picture point within the matrix 6. Thus picture point 5 takes the value of a picture point just on the boundary of character A. Similarly for picture point 7 at the other side of the character, on the same line. It can readily be seen that repetition of this transformation for all picture point in the tile will produce a dilation such as represented in Fig. 2a and Fig. 2c. The transformed video signals delivered from the dilating circuit 3 are applied to a divide-by-two circuit 8 which reduces the range of values of the transformed signals to 0 to 127. The resultant reduced value signals called "data" are then applied to the keying circuit 4 which as aforesaid receives the untransformed video keying signal from the source or store 1. The keying circuit 4 receives a second input representing the maximum signal value used in the system, namely 255 in this example. Reference 4a represents a delay device to compensate for delays in the circuits 3 and 8. The keying circuit 4 is arranged to pass to the output, for each picture point, a signal defined by: K 256 x 255 + (1 - K 256 ) x data where K is in the range 0 - to 255 Consideration of this expression will show that for picture points where the original video keying signals have value zero, the output equals the half value data signals and when the original video signals have value 255, the output is practically equal to said original video keying signals. For a picture point where the original video keying signal has an intermediate anti-aliasing value, the output has an anti-aliasing value between 127 and 255. The result of the operation of the keying circuit is to produce video signals for picture points in the line 2, the values of which have an envelope such as shown in Fig. 2d. The output of the circuit 4 is a combination of signals comprising signals in one value range derived from the video keyin signals and signals in a different value range derived from said data signals. For example in producing 3D transformation, signals for a particular pixel may be drived by interpolating adjacent combination signals. If the interpolation is carried out between anti-aliasing values, the interpolations will be bounded by adjacent pixel values, and signal level separations will be maintained. If interpolation is between values in the different amplitude ranges the edge of the character may shift slightly, as required. The video signals from the keying circuit 4 are passed to a processing circuit 9, which is capable of producing 3D manipulation of the modulated shape signals, to change the orientation position, size or other parameter of the character represented by the signals. Such processing circuits are of known form, for example as used in the Cypher character generating system manufactured by the present assignee, (Quantel Limited, Newbury, Berkshire, England) or as described in UK Patent 2137856 B. The use of the processing circuit as illustrated in Figure 1 has the advantage that only one circuit is required since the border information and the original character information are combined in one signal when applied to the processing circuit. The processing circuit may transform the video keying signals applied to it in such a way that the envelope of signal values for picture points in line 2 might be changed substantially from that shown on Fig. 2d by reason of movement to new addresses, but such change make little difference to the operation of the means for adding borders. The modulated shape signals output from the processing circuit 9 are applied to a circuit 10 including two look up tables LUT 11 and LUT 12. The first of these tables, called the "shape" table has a input/output characteristic such as represented in Fig. 3a. Thus, digital input signals having values in the range 0 to v₁ (just under 127) are expanded to the range from 0 to 255, and all input signals having a value exceeding v₁, are limited at the value 255. Therefore, LUT 11 demodulates the envelope Fig 2d and converts it back to the original dilated envelope of Fig. 2c, the signal output Fig. 4b defining the shape of the character to be displayed. The second table, LUT 12, carries out the converse function; all input signals having values in the range from 0 to v₂ just over 127 are reduced to value 0, whilst modulation signals having values in the range v₂ to 255 are expanded to the range from 0 to 255. This effect produce signals which correspond closely to the original signals derived from the store 1 and these signals are called "colour shade" (Fig 4a). We thus have signals from LUT 11 and LUT 12 respectively defining the outer border of the dilated character, and the boundary of the original character (subject of course to any transformation of the character in the circuit 9). The shape and shade signals are applied to buffer store 13 where they are stored in readiness for inserting the character into a picture, assumed to be a television picture though it could be a picture for printing or reproduction in other ways. Reference 14 denotes a frame store, and it will be assumed to store video signals defining a television picture in which it is required to introduce the character defined by the aforesaid shade and shape signals. When the introduction is carried out, the video signals representing the television picture are read from the store 14 in raster format. The video signals are each of three components, say RGB, so that the picture can be reproduced in colour, and the three components signals for successive picture points are applied to three keying circuits 15 (one for each colour component). The keying circuits derive second inputs from three further RGB keying circuits 16. The shape signals are applied as keying signals to the circuits 15 and the colour shade signals are applied as keying signals to the circuits 16. The two inputs to the circuits 16 are RGB components which represent respectively the character colour and the border colour. The signals are variable at the choice of the operator. For example, the border colour could be chosen to be black or white, whilst the character colour might be say red or orange. The shade and shape signals from the buffer 13 are read in such synchronisation with the frame store 14 that they coincide with video signals from the location in the picture where the character is to be placed. The keying circuit 16 is set up to produce an output, for any one picture point, represented by C = character colour x shade signal 256 + (1- shade signal 256 ) x border colour; where shade signal is in the range 0 - 255. This forms the second input to the keying circuit 15, which produces an output represented by P = C x shape signal 256 + 1- shape signal 256 x Frame Store signals where the shape signal is in the range 0 - 255. It can be shown that, when all picture points have been processed, the result is the original framestore picture having superimposed on it the selected character, provided with the required border. The colours of the character and the border can be selected by the operator. Moreover, anti-aliasing is preserved both at the edge of the border and the original character outline. In an alternative form of the invention, source 1 is arranged to store the combined signals representing the character complete with background already in place, so that it can be fed directly to the transforming circuit 9. Thus the circuit 3, 4, 4a and 8 are not required, and previously derived combination signals are provided by the source 1. The invention is not confined to enclosing characters within a border representing a dilated version of the character. It can be applied to forming a shadow for a character or providing some other form of background. In the case of a shadow the further signals can be produced by "delaying" the video keying signals to form the "shadow". The shadow may be displaced in any direction from the character depending on the assumed direction from which the shadow is projected. In order to form the shadow, the circuit operates otherwise as described with reference to Figures 1 to 4. The invention can be used for television and also for printing.

Claims: A character generating system for use in keying at least one character into a picture, the system comprising: means (1, 3, 4, 4a, 8) for providing a combined keying signal comprising a first digital keying signal for use in keying a signal for a character into a signal representing said picture and a second digital keying signal associated with the first keying signal for keying a signal for a background for said character into said picture signal, the first and second keying signals being respectively confined to mutually exclusive discrete ranges of digital values; transforming means (9) for effecting a spatial transformation of the combined keying signal to derive a spatially transformed combined keying signal; separating means (10) for separating the first and second keying signals from the spatially transformed combined signal to produce respective spatially transformed first and second keying signals; and keying means (14 to 16) responsive to said spatially transformed first and second keying signals for keying said signal for said character and said signal for said background into said picture signal, thereby to provide a signal representing said transformed character and background keyed into the picture. A system as claimed in claim 1, further comprising keying signal source (1) for providing said first digital keying signal, deriving means (3, 8) for deriving from the first keying signal said second digital keying signal and combining means (4) for combining said first and second keying signals to produce said combined keying signal. A system as claimed in claim 1 or 2, wherein the deriving means comprises a signal dilating circuit (3) for dilating the first keying signal so that the second keying signal represents a dilated version of the first keying signal. A system as claimed in claim 1, 2 or 3, wherein the background for said character represents a shadow of the character. A system as claimed in any preceding claim, wherein said separating means (10) comprises a first look up table (11) responsive to one discrete range of said combined keying signal to derive said spatially transformed first keying signal, and a second look up table (12) responsive to the other discrete range of said combined keying signal to derive said spatially transformed second keying signal. A system as claimed in any preceding claim, wherein the first and second digital keying signals and the combined keying signal are each represented by eight bit binary signals, and the system further comprises reducing means for reducing the range of the first and second keying signals to enable the same to be represented by the combined keying signal. A method of keying at least one character into a picture, the method comprising: providing a combined keying signal comprising a first digital keying signal for use in keying a signal for a character into a signal representing said picture and a second digital keying signal for use in keying a signal for a background for said character into said picture signal, the first and second keying signals being respectively confined to mutually exclusive discrete ranges of digital values; effecting a spatial transformation of the combined keying signal to derive a spatially transformed combined keying signal; separating the first and second keying signals from the spatially transformed combined signal to produce respective spatially transformed first and second keying signals; and using the spatially transformed first and second keying signals in order to key respective signals for said character and for said background for the character into said picture signal, thereby to provide a signal representing said transformed character and background keyed into the picture. A method as claimed in claim 7, wherein the first and second digital keying signals and the combined keying signal are each represented by eight bit binary signals, and the method further comprises reducing the range of the first and second keying signals to enable the same to be represented by the combined keying signal.

Inventors: KELLAR PAUL RODERICK NOEL, SEARBY ANTHONY DAVID, STONE DAVID ROWLAND, KELLAR, PAUL RODERICK NOEL, SEARBY, ANTHONY DAVID, STONE, DAVID ROWLAND
Applicants: QUANTEL LTD, QUANTEL LIMITED
Application year: 1988
Main classification: G06T11
IPC codes: G09G5, H04N5, G09G1