A graphics data unit and method for a television receiver

Abstract: A graphics data unit (17) for a digital television receiver (10) that uses a spatial light modulator (16). The graphics data unit (17) has a graphics processor (22), which offloads graphics processing tasks, such as for closed captioning and on-screen display, from a main processor (14). The graphics data unit (17) also has a character memory (24), which stores fonts for closed caption and on-screen display characters. A read-only memory (22a) stores graphics primitives. The character fonts and the graphics primitives may be adapted to compensate for staggered pixel layouts of the spatial light modulator (16).

Description: TECHNICAL FIELD OF THE INVENTION This invention relates to television receivers, and more particularly to a graphics data unit as defined in the precharacterizing portion of claim 1. Further, the invention relates to a method of providing graphics displays on a television display screen by use of such a unit. BACKGROUND OF THE INVENTION Today's television receivers are increasingly likely to provide special graphics features such as closed captioning and on-screen displays. The information for closed captioning is a part of the standard television broadcast signal, for example, line 21 of the NTSC signal. The information for on-screen displays is provided by a hand-held remote control unit, with which the user changes operating parameters such as channel and volume. The remote control unit transmits infra-red signals, which the television receiver detects to display channel and other control-related information on the display screen. In existing receivers, devices for detecting closed captioning and on-screen display information provide analog outputs. These devices are suitable for analog displays, such as cathode ray tubes. A captioning decoder to be used in a television receiver having a cathode-ray tube display is known from IEEE Transactions on Consumer Electronics, vol. 38, No. 3. August 1992, pages 261-267, XP000311847, Hurley N.F. "A Single Chip Line 21 Captioning Decoder". The decoder is a single-chip CMOS device known as LITOD (Line Twenty One Decoder), which acquires, decodes and displays Line 21 captioning data from a 525 line composite video signal. The decoder may be controlled directly for use as a stand-alone decoder or in 1 2 C mode which also allows for producing on-screen display captions. However, analog output is not useful for digital displays, such as spatial light modulators, which have an array of pixel elements that are addressed with digital display data. In this context reference is made to U.S. Patent No. 5,079,544, which discloses a video display system which can receive and display a number of different video signals having different formats utilizing a processor to extract the image from a stream of digital signals to produce a digitized image to be displayed by a digital spatial light modulator. For SLMs, the analog closed captioning and on-screen display signals must be converted to digital form. Another characteristic of SLMs is the use of "staggered" pixel arrays, in which the pixel elements are not laid out in square grid patterns. These staggered patterns are advantageous in terms of overall picture quality. However, when the image contains a vertical line, the line may appear jagged, an effect that is especially apparent in the characters used for closed captioning and on-screen displays. SUMMARY OF THE INVENTION According to one aspect of the present invention, there is provided a graphics data unit for a television receiver comprising the features of the characterizing portion of claim 1. The method of the invention comprises the steps defined in claim 7. Other aspects of the invention are features for compensating vertical lines of graphics data and vertical lines in an incoming video signal and other features defined in the claims. For graphics data, a graphics primitive memory stores a line drawing primitive that compensate vertical lines for the effects of the staggered pixel layout. For video signals, the graphics processor detects edges and determines whether they should be compensated. An advantage of the invention is that the use of a graphics processor for closed captioning and on-screen displays eliminates the need for additional analog-to-digital converters. The result is a less expensive and more versatile receiver. In addition to closed captioning and on-screen displays, other types of graphics displays can be easily overlaid on, or even substituted for, a television broadcast display. For example, a user could have a picture-in-picture type of graphics sub-display generated by any type of conventional input device. The SLM may have staggered pixel element arrays, without compromising the accurate representation of graphics displays. Alpha-numeric characters, as well as any other type of graphics image having vertical lines, are more visually appealing. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a digital television receiver having a graphics unit in accordance with the invention. Figure 2 is a block diagram of the graphics unit of Figure 1. Figures 3 and 4 illustrate grid and staggered pixel layouts, respectively. Figures 5 - 7 illustrate how graphics characters are compensated for staggered pixel layouts. Figure 8 illustrates how a line in a graphics image is compensated for a staggered pixel layout. Figures 9 - 11 illustrate how vertical edges represented by incoming video data are detected and evaluated to determine the need to compensated for a staggered pixel layout. DETAILED DESCRIPTION OF THE INVENTION Figure 1 illustrates certain components of a digital television receiver 10. It should be understood that only components used for obtaining output pixel data are shown; components used for tasks such as synchronization and audio signal processing are not shown. This invention is directed to a receiver 10 that has a graphics data unit 17 in accordance with the invention. A more complete description of the other components, and of the overall operation of an SLM-based digital television system is set out in U.S. Patent No. 5,079,544, entitled "Standard Independent Digitized Video System", and in U.S Patent Serial No. 08/147,249 (Atty Dkt No. TI-17855), entitled " Digital Television System", both assigned to Texas Instruments Incorporated. U.S. Patent Serial No. 07/678,761, entitled "DMD Architecture and Timing for Use in a Pulse-Width Modulated Display System", describes a method of formatting video data for use with a DMD-based display system and a method of modulating bit-planes to provide varying pixel brightness. The use of a DMD-based display system with a color wheel to provide sequential color images is described in U.S. Patent Serial No. 07/809,816, entitled "White Light Enhanced Color Field Sequential Projection". These patent applications are assigned to Texas Instruments Incorporated. The video input may be any television signal. For purposes of this description, it is assumed that the input signal has a closed caption component. As an overview of receiver 10, a signal interface 11 provides conventional signal interface functions, such as tuning and filtering. It may also perform tasks such as synchronization signal removal, not related to the subject of the invention. A/D converter and Y/C separator 12 are shown as a single unit. A/D conversion may be followed by digital Y/C separation, or alternatively, analog Y/C separation may be followed by A/D conversion. In any event, the output of separator 12 is samples of luminance and chrominance data. Processing memory 13 stores pixel data during processing. Typically processing memory 13 has a field buffer for storing fields of data so that tasks such as motion detection and de-interlacing may be performed. Main processor 14 performs various video processing algorithms, such as converting the digital signals from color difference signals to RGB, de-interlacing, and de-gamma correction. Main processor 14 may also be programmed to perform vertical edge compensation, as explained below in connection with Figures 9 - 11. The logic for implementing vertical edge compensation could be implemented with a read-only memory 14a for storing instructions for these tasks or as a logic circuit. Display memory 15 receives display-ready data and formats it for delivery to SLM 16. SLM 16 is characterized by individually addressable pixel elements, which are capable of being turned on or off simultaneously. Images are formed by addressing those pixels that are to be turned on during an image frame, and by controlling the length of time per frame that each pixel element is on. An example of an SLM is a digital mirror device (DMD) manufactured by Texas Instruments Incorporated. Details of a suitable DMD are described in U.S. Patent No. 4,956,619, entitled "Spatial Light Modulator", assigned to Texas Instruments Incorporated. A feature of SLM 16 is that it receives data in "bit-planes". In each bit-plane, all pixels of a frame are represented by one bit of data. For example, where each pixel is represented by 24 bits per frame, 24 bit-planes of date are delivered to SLM 16 for each frame. For each pixel element of a bit-plane, its bit of data determines whether or not that pixel element will be on or off during the time assigned to that bit-plane. A graphics data unit 17 also provides data to display memory 15, but this data represents "graphic" rather than video images. More specifically, graphics data unit 17 provides three types of graphics data: closed captioning, on-screen displays, and user-generated graphics. Typically, closed captioning and on-screen display occupy a predetermined sub-space of a display frame. User-drawn graphics may occupy a sub-space or a full frame. Special features of graphics data unit 17 for generating graphics data are described below in connection with Figures 2 - 8. A data input interface 19 is in data communication with graphics data unit 17, which has an I/O port for receiving this graphics data. Any type of device for delivering image data to a processor may be used, including a modem for receiving graphics data via a telephone or television cable. The image data could be user-generated, such as with a drawing pad or disk drive. The image "data" may include pixel data or programming from which an image may be generated. Data input interface 19 separates these types of data. Pixel data is delivered to processor memory 13 and follows the main data path. Graphics code is delivered to graphics data unit 17. The graphics data generated by graphics data unit 17 is delivered to display memory 15, and thereby inserted into the display-ready data stream after the video data has been processed. In particular, all progressive scan processing has already been performed on the video data. Upon output from frame memory 15, each bit-plane of data contains the video data, and the graphics data if any, in appropriate pixel locations. A frame memory 15 for controlling the placement of picture-in-picture sub-displays within a main display is described in U.S. Patent Serial No.08/160,334 (Atty Dkt No. TI-17404), entitled "Digital Memory for Display System Using Spatial Light Modulator". Similar techniques could be used for locating graphics sub-displays. Figure 2 illustrates graphics data unit 17 in further detail. As indicated, graphics data unit 17 is a processor-controlled unit. It has a special graphics processor 22, which performs conventional remote control tasks, and delivers decoded command data to main processor 14 for execution. Graphics processor 22 also facilitates pixel data generation, but handles graphics rather than video data. Although main processor 14 and graphics processor 22 are shown as two different processors, a single processor could be used for both, provided that it has the characteristics described herein. Graphics processor 22 may be any one of a number of commercially available graphics processors. These processors are programmable and are characterized by features that facilitate graphics displays. For example, graphics processor 22 includes a read-only memory 22a that stores "primitives". These primitives are sets of instructions that permit the pixel data for graphics attributes, such as lines and circles, to be quickly generated. An example of a suitable graphics processor 22 is the TMS340 family of processors manufactured by Texas Instruments Incorporated. For closed caption displays, closed caption detector 21 detects the portion of the video signal that contains the closed caption information. In the NTSC signal, this information is on line 21. Detector 21 converts this signal to digital form, and delivers it to graphics processor 22, which determines what alpha-numeric characters are to be displayed and where they are to be located on the image frame. The characters are generated by character generator 23, which retrieves them from a character memory 24. Graphics processor 22 associates the character patterns with pixel data and delivers the pixel data to frame memory 15. Graphics processor 22 is synchronized to main processor 14 so that the closed captioning appears on the display screen in conventional manner. Graphics processor 22 also generates on-screen displays, which are not necessarily limited to alpha-numeric characters. For example, an on-screen display might include a moving "bar" that indicates a volume level. The input for the on-screen display is provided by an infra-red signal from remote control unit 18, as detected and converted to digital code by I/R detector 25. Like the characters for closed captioning, the characters for on-screen displays are generated by character generator 23 using stored patterns from character memory 24. An advantage of graphics processor 22 is that it may receive graphics data, including graphics generating instructions, from an external source. This data may be received optically via remote control unit 18 or electronically via input device 19. For optical data input, remote unit 18 is modified to provide standard computer keyboard input, as well as receiver control input. It may also provide "pointing" input, which permits the user to draw graphics by tracing them directly on the display screen. For electronic data input, graphics processor 22 has an input/output port 29 for receiving downloaded instructions and data. These instructions might call for character generation using character generator 23 and character memory 24. Also, the instructions might call graphics primitives stored in a read-only memory 22a. Figures 3 and 4 are each a plan view of a portion of SLM 16, and illustrate two types of pixel element layouts. In Figure 3, the pixel elements 31 are laid out in a grid pattern. In Figure 4, the pixel elements 41 are laid out in an staggered pattern, in which alternating pixel rows are offset by one-half the pixel width. Although the staggered type of pixel layout is advantageous in terms of overall picture quality, it can cause visual distortions when used to display industry-standard alpha-numeric character fonts. For example, if the letter "T" were to be displayed using the standard character font, the vertical portion of the "T" would become jagged. In displays having staggered pixel layouts, jagged vertical lines are avoided by storing the affected characters in a compensated format. That is, all characters having vertical lines are formed so as to reduce the visual distortion. When these alpha-numeric characters are displayed, the result is a more accurate representation of the character. Figure 5 illustrates how the letter "T" is stored to avoid the jagged edge effect. For purposes of example, the letter is formed by using pixels within a sub-array having a size of 7 by 9 pixels. Some industry-standard fonts are for "non-proportional" spacing, with each letter being formed within a sub-array that is a constant size for each letter. Other industry-standard fonts are for "proportional" spacing, with the letters being formed with sub-arrays that are variably sized. For non-proportional spacing, the pattern and size of the characters are stored in character memory 24. For proportional spacing, the pattern is stored and the size is determined by run-time programming stored in memory 22a. This invention applies to a compensated font set for either type of spacing. As illustrated in Figure 5, the horizontal portion of the "T" is formed as in the industry-standard "T", being centered with respect to the center pixel of its row of pixels. However, the vertical portion of the "T" is formed by using an extra pixel on every other line. Where the horizontal portion is on an odd line, each odd line has a center pixel, and each even line has a center boundary. To form the vertical line, the center pixels of odd rows are used. The two pixels adjacent to the center boundary of the even rows are used. If the horizontal portion were on an even line, each even line would have a center pixel and each odd line would have a center boundary. The center pixels of the even rows and the two pixels adjacent to the center boundary of the odd rows would be used. Figure 6 illustrates a similar process for forming the letter "H". Again, the horizontal portion is formed as with conventional fonts. The vertical portions are formed by using alternating rows of pixels and pixel pairs. For each alpha-numeric character having vertical lines, the most appealing pattern of pixels is chosen. More than one pattern may be possible for any given character. For example, Figure 7 illustrates an alternative pattern for the letter "H". However, a common characteristic of the compensated characters is that vertical lines are formed from alternating rows of single pixels and pixel pairs. One set of alternating rows has single pixels that represent the line. The other set of alternating rows has a pair of pixels centered under the single pixel above or below it. If desired, the pairs of pixels can be made slightly less intense than the single pixels. This "evens" out the pixels so that the vertical line is more likely to appear straight. Typically, as illustrated in Figures 5 - 7, characters are formed by using single lines of pixels that are one pixel wide. However, the concepts described herein would apply to thicker vertical lines, in which case, an additional pixel would be added on every other row. Referring again to Figure 2, graphics processor 22 is programmed to perform a similar vertical line compensation for other graphics displays. When graphics processor 22 receives code calling for a vertical line to be drawn, it calls a graphics primitive, which is programmed so that the vertical line is drawn with an extra pixel on every other line, similar to the vertical lines of characters discussed above. This vertical line primitive may be executed by various types of logic circuits, such as by being stored in memory 22a for execution by processor 22, or by a programmed logic device. The compensation is performed as the lines are drawn. Figure 8 is an example of a compensated vertical line, as drawn by graphics processor 22. As shown by the first pixel of each row, the pixels are staggered to the right. The uncompensated line would have been drawn with the kth pixel of rows j through j+n. As shown, the kth pixel of alternating lines is offset from the kth pixel above and below it. To compensate for the jagged line that would otherwise appear, on rows j+1, j+3, .... j+n, pixel k-1 is also used to draw the line. Alternatively, on rows j, j+2, .... j + n -1, pixel k+1 could be used to draw the line. As is the case with characters, the pixels on the rows having the extra pixel could be made less intense. Referring again to Figure 1, main processor 14 could be programmed to perform vertical edge compensation for video data. This compensation is performed "on the fly" for each frame as vertical edges are detected. For vertical line compensation, main processor 14 first detects when incoming pixel data represents a vertical edge. Known edge detection techniques can be used to detect these edges. Figure 9 illustrates a portion of an image, whose pixels represent an uncompensated right vertical edge. For example, this portion of the image might be the edge of a tall building in an image of a city skyline. The staggered pixel layout results in a jagged edge. The kth pixel of rows j through j+n represent the "true" edge as represented by the pixel data. This true edge is detected by using processor 14 to determine that there is a segment of similarly valued pixels in a column (column k), whose values have a high contrast with pixels of an adjacent column (column K+1). If a vertical edge is detected, main processor 14 then determines whether the edge should be compensated. Figures 10 and 11 illustrate how the jagged edge effect increases according to the thickness of an uncompensated vertical line. In Figure 10, the line is one pixel wide. The line has a "straight" portion having a thickness, d, which is 1/2 pixel wide. The jagged portions have a thickness, e, which is 1/2 pixel wide on each side of the straight portion. Thus, the ratio of the jagged thickness, e, to the straight thickness, d, is 1/2 to 1/2 (1:1). By compensating the line and adding the next adjacent pixel on every other line, the ratio is changed to 1/2 to 1 (1:2), a 50% decrease. In Figure 11, the line is two pixels wide. The ratio of jagged (distance e) to straight (distance d) is 1/2 to 3/2 (1:3). By compensating the line, the ratio changes to 1/2 to 4/2 (1:4), a 8.33% decrease. Thus, the thinner the line, the greater the jagged edge effect and the greater the desirability for compensation. Thus, main processor 14 has a read-only memory 14a, which stores instructions to detect edges and determine whether they should be compensated. As an example, where edge detection is performed with digital filtering techniques, the bandpass can be varied according to the width of a line desired to be compensated. Alternatively, these functions could be implemented with a programmed logic circuit. Also, as in the case of graphics data, for compensated lines, main processor 14 may be programmed to vary the intensity of the rows having the extra pixel. For the edges of thicker lines, as an alternative to adding extra pixels, compensation could be performed by varying the intensity of the pixels that "stick out". Although not shown in Figure 1, graphics data unit 17 could be used with a receiver 10 that has a CRT display rather than an SLM 16. For such receivers, the data is converted back to analog form and scanned to the CRT instead of being formatted and delivered to SLM 16.

Claims: A graphics data unit (17) for a television receiver, comprising: a detector (21) for detecting a closed caption component of a television signal and for converting said signal to closed caption data, said graphics data unit (17) characterized in that its output data are for display on a spatial light modulator (16), said spatial light modulator (16) having a staggered pixel layout and that it further comprises: a graphics processor (22) for receiving said closed caption data and for determining what characters are to be generated; a character generator (23) in data communication with said graphics processor, for generating pixel data representing said characters; and a first memory (24) in data communication with said character generator, for storing pixel patterns representing said characters, wherein said memory stores said characters in a form that substantially converts staggered vertical lines caused by said staggered pixel layout into smooth vertical lines. The graphics data unit of claim 1, wherein said processor (22) is in data communication with a second memory (22a) for storing vertical line drawing instructions that compensate for the effects of said staggered pixel array. The graphics data unit of claim 2, further comprising an infrared detector (25) for receiving infrared signals from a remote control unit (18) and for decoding said infrared signals into a program for generating graphics images, and wherein said graphics processor (22) executes said progam, using said vertical line drawing instructions. The graphics data unit of claim 2 or claim 3, wherein said graphics processor (22) has an input/output port (29) for electronically receiving data from an external source, and wherein a read-only memory stores programming data to decode said image data and associate said image data with said vertical line drawing instructions. The graphics data unit of claim 1, wherein said graphics unit further comprises: an infrared detector (25) for receiving infrared signals from a remote control unit (18), and for decoding said signals into a program for generating graphic images: and an input/output unit for receiving a program for generating graphic images and sending it to said graphics processor (22). The graphics data unit of claim 5, wherein said vertical line drawing instructions include instructions for adding an extra pixel adjacent to alternating pixels of said vertical line. A method for using a television receiver to display vertical lines on a television display having staggered pixel elements, comprising the steps of: storing a set of fonts whose vertical lines are compensated for the vertical effect of said staggered pixel layout; receiving a closed caption signal; decoding said closed caption signal to determine what characters are to be displayed; accessing said characters to be displayed from said set of fonts; and displaying said characters in a compensated format. The method of claim 7, wherein said step of storing said set of fonts is performed by adding an extra pixel to alternating rows of said vertical lines. The method of claim 8, wherein said step of storing said set of fonts is further performed by varying the intensity of pixels of vertical lines on said alternating rows. The method of any of claims 7 to 9, further comprising the steps of: storing vertical line drawing instructions, which include instructions that compensate for the effects of said staggered pixel array; receiving graphics commands that call said vertical line drawing instructions; and displaying at least one vertical line in a compensated format. The method of claim 10, wherein said step of storing vertical line drawing instructions is performed by storing instructions for adding an extra pixel to alternating rows of said vertical line. The method of any of claims 7 to 11, further comprising the steps of: storing a set of instructions for detecting edges of incoming video data; storing instructions for compensating said edges for the effect of said jagged pixel array; and displaying at least one vertical line of an image represented by said incoming video data in compensated format. The method of claim 12, wherein said step of storing instructions for compensating edges is performed by storing instructions for adding an extra pixel to alternating rows of said edge.

Inventors: GOVE ROBERT J, HEIMBUCH SCOTT D, MEYER RICHARD C, REDER JOHN R, GOVE,ROBERT J., HEIMBUCH,SCOTT D., MEYER,RICHARD C., REDER,JOHN R.
Applicants: TEXAS INSTRUMENTS INC, TEXAS INSTRUMENTS INCORPORATED
Application year: 1994
Main classification: H04N5
IPC codes: H04N5