Background of the Invention
The present invention relates to television vectorscope displays, and more particularly to a method for automatically finding color bar information in a television video signal for display on a vectorscope.
Vectorscope displays are primarily designed for the display of color bar signals found in a conventional television video signal. Conventional vectorscopes allow an operator to select a horizontal line for display, but the color bar information is not always on the same horizontal line from signal to signal, and some signals may not have any color bars at all. Therefore occasionally a search for color bars is required, which means an operator has to look at each horizontal line in sequence until a color bar signal is located.
What is desired is a method for automatically finding color bars in a television video signal.
Summary of the Invention
Accordingly the present invention provides a method for automatically finding color bars in a television by searching each horizontal line, from a starting horizontal line one beyond that currently being displayed on a vectorscope, in sequence for a yellow burst of color. The yellow burst is checked for proper amplitude compared to color burst or horizontal sync. Then the color angle for each of the other color bursts is demodulated and checked relative to the yellow burst. The color bursts also are checked to assure that their luminance components decrement in amplitude from a white level. When a horizontal line having color bars is identified, the line number is returned for display along with the vectorscope display for the same line. If a complete frame of video data is processed without the identification of color bars, a message is displayed indicating the absence of color bars in the video signal.
The objects, advantages and other novel features of the present invention will be apparent from the following detailed description when read in conjunction with the appended claims and attached drawing.
Brief Description of the Drawing
FIG. 1 is a block diagram of an instrument which uses the color bar autofind of the present invention.
FIG. 2 is a plan view of a front panel for the instrument of FIG. 1.
FIG. 3 is a waveform monitor display of a horizontal line of video data including color bars.
FIG. 4 is a vectorscope display of the horizontal line of video data of FIG. 3.
Description of the Preferred Embodiment
Referring now to FIGS. 1 and 2 an instrument 10 is shown having a video input signal, such as a television video signal. The video signal is conventionally processed in the analog domain by an analog processor 12, digitized by a digitizer 14, and stored in an acquisition memory 16. The acquisition memory 16 is connected to a communications bus 18 to which also are connected a central processing unit (CPU) 20 with associated ROM 22 and RAM 24, and a display interface unit 26. The display interface unit 26 includes the RAM 24, a display memory 28 and an interface circuit 30. The contents of the display memory 28 are displayed on a screen 32. The digitized video data from the acquisition memory 16 is processed by the CPU 20 according to the functions and parameters input by an operator via function buttons 34 and a rotary encoder knob 36 on a front panel, and via interaction with the screen. The processed data is stored in the display memory 28 together with appropriate scales, cursors and display information.
As shown in FIG. 3 a typical television video horizontal line waveform 40 having color bars is displayed on the screen 32 as on a waveform monitor. The waveform 40 has a horizontal sync pulse 42 at the beginning of the horizontal line followed by a color burst pulse 44. Next is a white luminance bar 46 followed by the color bursts 48 for the six primary colors: yellow, cyan, green, magenta, red and blue. For the FCC color bar standard a black burst 50 occurs at the end of the horizontal line, otherwise for the SMPTE standard the color bursts 48 are expanded to fill the horizontal line. The corresponding vectorscope display, selected by the VECTOR function button 34a, is shown in FIG. 4 with the demodulated color bars displayed as a conventional color bar signature 52 within the vectorscope graticule 54. The CPU 20 processes the chrominance information from the digitized video data in the acquisition memory 16 to produce the vectorscope display. Using a touch panel for the screen 32 a command, or "soft" key, area 56 includes "buttons" for various functions including a color bar soft key 56a. Contact of the color bar key 56a initializes the color bar autofind.
Initially the color bar autofind routine of the CPU 20 looks at the end of each line at a point 60 just prior to the horizontal sync pulse to determine if the chrominance amplitude exceeds a threshold value. If the value at the point 60 exceeds the threshold value, the color bar autofind routine looks for SMPTE color bars, otherwise it looks for full field color (FFC) bars. The only difference between the two color bar standards is the position of the center point for each color burst. At the location of a yellow center point 62 the video data from the acquisition memory 16 is tested to determine if the chrominance amplitude exceeds a threshold amplitude as compared with the larger of the color burst 44 or the horizontal sync pulse 42. If the amplitude of the yellow burst 63 is large enough, then the center points of the subsequent color burst positions, determined by incrementing the starting sample point 62 for the yellow color bar by the appropriate number of data samples corresponding to the color standard being applied, are checked by demodulating the color angle and checking to see that each angle is related to yellow within a given tolerance. Also the luminance for each color burst is checked to assure that the luminance component decrements in amplitude for successive color bars with respect to white. If any tests fail, then the line number is incremented and the tests repeated until either color bars are found or until all the horizontal lines of a picture frame have been checked, i.e., 525 for the NTSC system or 625 for the PAL system. The resulting line number and a message are displayed in an information area 58 of the screen 32 together with the vectorscope color bar signature 52.
If the search for color bars started from a line which already has color bars, then the color bar autofind routine will return the next color bars found which may be in the opposite video field or may be the same starting line. The soft keys may be replaced with function buttons 34 on the front panel 38. Also for a multi-function instrument 10, once the color bars 48 are found, the operator may contact a waveform soft key 56b to display the same horizontal line in a waveform monitor format as shown in FIG. 3.
Thus the present invention provides a method for automatically finding color bars in a television video signal by checking each successive horizontal video line in a picture frame for a color bar pattern, and displaying the line number and color bar signature in a vectorscope format when found.