Motion adaptive scan conversion using directional edge interpolation

Abstract: A method for processing video data to produce a progressively scanned signal from an input of conventional interlaced video. The data is received at a processor (1), used to determine a motion signal (26) over time between field of the data. The motion signal is filtered to remove errors and then further filtered to spread out the determined motion signal. Edge information (30) is located and combined with the motion signal to produce an integrated progressive-scan signal (36) for display on a video display device with sharper edges and less noise in motion between fields.

Description: BACKGROUND OF THE INVENTION Field of the Invention This invention relates to digital video systems, more particularly to the display of video sequences motion on digital video systems. Background of the Invention As television moves from an analog system to a digital system, several problems arise. One such problem occurs in the depiction of moving objects across the field of display. When an object moves across the display in an analog system, the edges, or the object boundaries, remain true to life, with no real difficulties in portraying curves, diagonals and other features of the objects in motion. One example of an edge would be the curve of a red ball against a blue background. However, in a pixelated display with individual cells instead of lines of continuous images, the edge integrity becomes harder to maintain. An additional problem is that most conventional televisions use an interlaced format, where the display device draws every other line during one interval, then draws the missing lines in the second interval. In a digital television using such techniques as progressive scan, where every line is "drawn" during the same interval, the missing data from the second interval must be interpolated. Interpolation of moving objects creates artifacts, or visual images that have errors in them. Rounded edges on an object such as a ball present no real problems when stationary. The curves smooth out through the use of prior field data of the stationary object. Without the use of prior field data, a curve would have a jagged edge, looking much like a stair step or serrated edge. When the object move, however, previous field data can no longer be used due to the lack of correlation between the present field and the past field. Hence, line averaging techniques using the current field are often employed for the interpolation process. Simple line averaging techniques suffer from a lack of perceived resolution which is evidenced by blurring and serrated edges. These visual artifacts are due to an interpolation process that does not take into consideration the actual edge content of the data. These adaptive techniques used have been unsatisfactory in resolving moving edges. The resulting picture has artifacts such as the serrated edges mentioned above, that detract from the advantages of high-definition television (HDTV) or the generally sharper picture possible in digital televisions. Some method is needed that allows the display to portray moving edges in keeping with the clarity and sharpness available in digital television, that also is usable in the higher speed environment of progressive scan without a huge increase in the processing requirements. US-A-5051826 describes a method of processing video data, comprising the steps of receiving video data, determining a motion signal from said data, finding edge information in said data, filtering said motion signal and using said filtered motion signal and said edge information to produce a progressive-scan signal for use on a display device. The method steps are performed by electrical circuits. US-A-5019903, WO-A-9104636 and IEEE 1993 International Conference on consumer electronics, June 1993, Rosemont, IL, USA, pages 40-41, Kalevo et al. : "Motion compensated deinterlacing" each disclose a method of processing video data, comprising the steps of receiving said video data; determining a motion signal from said data; filtering said motion signal; finding edge information in said data; and using said filtered motion signal and said edge information to produce a progressive-scan signal for use on a display device. SUMMARY OF THE INVENTION An interlaced-to-progressive-scan conversion process is disclosed herein. The process employs motion-compensated interpolation. It performs motion detection with the use of median-filtered inter-frame difference signals. The process is edge adaptive, using edge orientations from the original interlace picture. The process provides for motion detection that has a low susceptibility to noise, while also providing for an adaptive interpolation process with preserves the integrity of edges found in the original interlaced picture. The process results in a picture with sharper moving edges and lower noise, overall resulting in a better scene presentation for the viewer. BRIEF DESCRIPTION OF THE DRAWINGS For a more complete understanding of the present invention and for further advantages thereof, reference is now made to the following Detailed Description taken in conjunction with the accompanying Drawings in which: Figure 1 shows a flow chart of a motion adaptive interlace-to-progressive-scan conversion. Figure 2 shows an exploded view of a flow chart of a motion adaptive interlace-to-progressive-scan conversion with a more detailed description of the process of generating motion and edge detection signals. Figures 3a-b show graphical examples of a process to determine a motion signal. Figures 4a and 4b shows graphical representation of a median filtering process. Figure 5 shows a graphical example of edge detection. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Motion adaptive interlaced-to-progressive-scan conversion (IPC) is used to eliminate artifacts attributed to the interlaced scanning format, where each field contains every other line and the two are interlaced into a complete field. IPC techniques use the weighted sum of a motion signal, k, along with inter- and intra-field values. One example of an IPC method is shown in Figure 1. In Figure 1, the discussion is to merely point out what signals travel where and at what times. The functionality of the signals and the purposes behind the delays will be discussed in Figure 2. The luminance signal, Y travels to Scan-line Video Processor (SVP) #1 along path 10. The same signal is passed unchanged to SVP #2, along path 12. Path 14 takes Y and delays it one field at 'Field DL' 16. This delayed field is passed directly to SVP #2 along path 18. Before travelling to SVP #1, however, the already-once-delayed signal goes through a one-line horizontal delay at '1H' 20, and another field delay at 'Field DL' 22. The twice-delayed signal now travels to SVP #1 along path 24. SVP #1 produces three signals. The first signal is k' at line 26. It is delayed one field and reprocessed to aid in the production of the motion signal k at line 28. The edge information exits SVP #1 on line 30 and enters SVP #2. SVP #2 has the following inputs: the original luminance signal Y on line 12, a once-delayed Y signal on line 18, a motion signal k on line 28, an edge information signal on line 30; and two color difference signals, R-Y and B-Y on lines 32 and 34, respectively. SVP #2 has output signals Y p , for luminance proscan on line 36, and color difference signals R-Y and B-Y on lines 38 and 39. It must be understood that the processes performed in SVP #2 could possible be performed in a different section of SVP #1. However, for ease of discussion, it is more understandable to use two SVPs. Motion Signal Processing Looking at the various signals and their function in producing the proscan output Y p , turn now to Figure 2. Figure 2 shows a more detailed schematic of the internal processes of each SVP. The area enclosed in the upper dashed-line box is SVP #1 from Figure 1. The original Y signal again resides on line 10. As it enters SVP #1, lines 14 and 40 tap off of it. Line 14 delays the signal for one field at 'Field DL' 16 because of the manner in which motion is detected. In order to determine the magnitude of motion, a comparison must be made between the current field and the twice-delayed field. This once-delayed luminance field is then passed to SVP #2 along path 18. Path 14 continues to '1H' delay 20 to prevent any odd/even line mismatch between the delayed fields. It delays the field one horizontal line. The field is then delayed again at 'Field DL' 22. This twice-delayed field passes along path 24. The current field entering the system on path 10 then subtracts the twice-delayed field on path 24, giving a comparison value of the two fields. A graphical representation of this motion signal determination is shown in Figures 3a and 3b. The field difference is found by comparing the current field with the previous field at the difference sign in Figure 3a. The interpolated pixel X is determined using the motion signal k, in conjunction with the spatial neighbor pixels of X, as well as pixel Z from the previous field, in Figure 3b. This diagram brings together the concepts of edge information and the motion signal which will be discussed further in reference to Figure 5. Because the comparison value is a signed number, it has nine bits. By taking the absolute value of the value at 'ABS' 42, this is reduced to an eight-bit number. The nonlinear function 'NL' 44 then reduces the eight bits to four for passage into the median filter 45. The median filtering process is shown in Figure 4a. By median filtering the motion signal, any point noise sources can be eliminated, thus adding reliability to the motion signal. To find the lowest noise target data, the median filter uses the values of neighboring data points to find the target data as shown in Figure 4a. Variables V 0 , V 1 , V 2 , V 3 , and V 4 represent the data points surrounding and including the point being interpolated, as shown in Figure 4b. Two of the given values are compared and the extreme of these is removed in step 46. This filtering process can process either the maximum values and use the lowest value for median determination, or it can process the minimum values and use the highest value for median determination. The sought after result is to find the middle value of the five inputs. Rather than restrict the discussion, these maximum or minimum values will be referred to as 'extreme' values. If this were the implementation where the maximum values are processed, step 46 functions as shown in Figure 4c. If V 1 is greater than or equal to V 0 , then S 0 equals 0, otherwise, S 0 equals 1. The output of step 50, on line 52, is V 0 if S 0 is 0, as shown in Figure 3c. This means that V 0 is smaller than V 1 . This process continues until at step 54, the set of extremes D 0 through D 3 represent the four highest or lowest values. This set is further reduced to a set of the three highest or lowest values, C 0 through C 2 , by step 56. In steps 58 and 60 the three highest or lowest values are sorted to find the opposite extreme of those three variables. For example if the values C 0 through C 2 are the largest three values, steps 58 and 60 determine which is the minimum of the three. This then becomes the median value. The above example is for a 5-tap median filter. More or less taps can be used. At some point, the number of SVP instructions will rise to a point that the extra precision advantage is no longer greater than the number of instructions required. That point must be determined by each designer. However, at this point a 5-tap filter has been determined to be the best compromise between instruction count and precision obtained. Returning now to Figures 1 and 2, the output of the median filter on line 26 is then sent in a feedback loop as signal k' as shown on the same line in Figure 1. Signal k' is the motion signal for the previous field. The remaining processing done on motion signal k' is shown in more detail in Figure 2. Dashed line 27 represents the processes done on motion signal k' from line 26. This step temporally (time-based) filters the signal by using a series of field delay lines 'FIELD DL' and horizontal delay '1H' in conjunction with the values determined from the median filtering process. Dashed line 29 encompasses the spatial filtering performed after the temporal filtering. The spatial filtering step comprises a vertical low pass filter 'VLPF' and a horizontal low pass filter 'HLPF' both of which serve to eliminate noise in the final motion signal, k, which is output from SVP #1 on line 28. The temporal filter 27 and the spatial filter 29 have a tendency to spread the motion signal outward in a spatial manner. Therefore, any noise or errors in that signal tend to propagate. The heretofore unknown advantage of using the median filter before these filters is that the median filter eliminates the noise and prevents its propagation to the neighboring pixels, resulting in a much clearer picture. Another problem that was previously mentioned is the detection of edges in conjunction with motion. While edge detection and motion signal processing are two separate topics, and can be implemented separately, edge information really only takes effect in the presence of motion. Therefore the motion signal processing can influence the amount of edge information used for interpolation of the missing lines. Edge Detection Referring back now to Figures 1 and 2, the discussion moves to the edge information output on line 30 in Figure 1. A more detailed diagram of the process is shown in Figure 2. The edge detector 43 uses the inputs of line 10, the original luminance signal, and the luminance signal that has been delayed one horizontal line, along path 40. This process is shown graphically in Figure 5. Similar to Figure 3b, the pixel X has neighbors A-F. The direction of the edge could be determined to be any combination of the above neighbors and the below neighbors, not including redundant edge directions. For example, AD, BE, and CF are all vertical edges and do not require more than one designation of direction. Therefore the possible edge directions are AE, AF, BE, CD and CE. Note that AE and BF are the same edge, as are CE and BD. These designation of AF, etc., designate the absolute value of the difference between the two variables. AF is the absolute value of A - F. If the maximum of the 5 values AE, AF, BE, CD and CE minus the minimum of these values is greater than a predetermined threshold value, then the edge direction is selected to be the minimum of the 5 values. Otherwise, the edge is determined to be BE, or vertical. One way to implement this is to assign each possible edge direction a value that is passed to the second SVP, thereby informing SVP #2 which interpolation to use. An example of the assignment of these values is shown in the table below, the values being in base 2 and X designating a 'DO NOT CARE.' DIRECTION VALUE AE 1111 = 15 AF 110X = 12, or 13 BE 1110 = 14 CD 0XXX = 1-7 CE 10XX = 8-11 Returning to Figure 2, this edge information is transmitted on path 30 to SVP #2. There the edge information on path 30 is combined with the original luminance signal, a horizontally line-delayed luminance signal at the 'PIXEL SELECT' step 70. Here the SVP performs a process where it selects two pixels according to edge information. The two signals 72 and 74 are weighted equally at 1/2 and combined. This resulting signal is input to the 'MIX' step on line 76, where it is processed with a field-delayed luminance signal from line 18, and the motion signal, k, on line 28. The resulting output on line 36 is the interpolated proscan output signal, Y p . Additionally, the color difference signals R-Y and B-Y are output from SVP #2 on lines 38 and 39. As was previously mentioned, all of the above could possibly be performed in the same SVP, such as SVP #1. In that case, the edge information and motion signal would be considered to be made available for further processing instead of transmitted to SVP #2. The above process allows an interlaced signal to be converted to progressive scan, or proscan, with sharper edges and motion. The objects in motion in the scene have lower noise, giving a better picture to the viewer. Additionally, these processes can be installed in the scan-line video processors already necessary to the IPC process since the overall process uses a minimum number of instructions that can be implemented in the SVPs' unused portions. It is possible that all of the above steps could be performed in different active areas of one processor. Thus, although there has been described to this point a particular embodiment for an interlace-to-progressive scan process, it is not intended that such specific references be considered as limitations upon the scope of this invention except in-so-far as set forth in the following claims.

Claims: A method of processing video data, comprising the steps of: receiving said video data (Y); determining a motion signal (28) from said data (Y); filtering said motion signal (28); finding edge information (30) in said data (Y); and using said filtered motion signal (28) and said edge information (30) to produce a progressive-scan signal (36) for use on a display device, said method being characterized in receiving said video data (Y) at a processor (SVP#1) and performing said determining and finding steps with said processor (SVP#1); producing said progressive-scan signal (36) with a video processor (SVP#2) that operates on one scan line of said video data; and in that said filtering step further comprises the steps of: performing a series of comparisons (46, 54) between pairs of data values for a set of N data values (V 0 , V 1 , V 2 , V 3 , V 4 ), N being an odd number, to determine from each pair of data values either a maximum or a minimum value, referred to as an extreme value; updating a current extreme value of said set of data values (V 0 , V 1 , V 2 , V 3 , V 4 ) as each one of said series of comparisons is performed; comparing each data value of said set with the current extreme value, then storing the opposite extreme value; repeating said updating and said comparing steps with said stored values until (N+1)/2 values are remaining; and finding (58, 60) a final extreme value of said remaining values, wherein said final extreme value is the median value of said N data values (V 0 , V 1 , V 2 , V 3 , V 4 ).

Inventors: CLATANOFF TODD A, GOVE ROBERT J, MARKANDEY VISHAL, OHARA KAZUHIRO, CLATANOFF, TODD A., GOVE, ROBERT J., MARKANDEY,VISHAL, OHARA,KAZUHIRO
Applicants: TEXAS INSTRUMENTS INC, TEXAS INSTRUMENTS INCORPORATED
Application year: 1995
Main classification: H04N5
IPC codes: H04N7, H04N5, G06T7