1. Field of the Invention
The present invention relates to a display image enhancement apparatus and method and, more particularly, to an apparatus and method for enhancing the quality of image on a display, such as a television, monitor, or other types of displays.
2. Discussion of the Related Art
Typically, broadcast video signals (NTSC/PAL) are interlaced to reduce the bandwidth needed for broadcasting purposes. This allows for relatively high refresh rates, thereby reducing large area flickering. Interlacing video signals, however, reduce the vertical resolution of the displayed image.
As shown in
CRT monitors typically support video signals in both the interlaced format and progressive format. However, some of the more recently developed display devices, such as some TFT-LCDs, do not support interlaced video signals. Thus, in order to display interlaced video signals, such as the traditional broadcast signals (NTSC/PAL), on these new display devices, the interlaced signals must be converted into the progressive format. The device for converting interlaced signals into the progressive format is referred to as a “de-interlace engine,” “line doubler,” or “resolution enhancer.”
Since interlaced signals include, for a given refresh cycle, only a half of the lines of a full image, the other half of the lines must be generated in order to convert interlaced signals into progressive signals. For example, if the interlaced signals include the odd lines of the image, the even lines must be generated to convert the signals into the progressive format. One simple method of such a conversion is referred to as the “Bob-deinterlacer.” The Bob-deinterlacer generates the extra lines (e.g., even lines) of pixels by simply taking the average value of the available signals for pixels (e.g., odd lines) directly above and directly below. Although this conversion method is simple and easy to implement, it often results in blurry images and causes zig-zagging, especially at lines or edges in the image at low angles (i.e., lines or edges that are close to being horizontal or vertical).
There are various deinterlacing techniques. These techniques include linear filtering methods, such as spatial filtering, temporal filtering, and VT filtering. The Bob-deinterlacer is an example of a linear deinterlacer. Also, non-linear or adaptive techniques can be utilized to generate additional lines of pixels, including for example, motion adaptive, edge-dependent interpolation, and correlation techniques. These various linear and non-linear deinterlacing techniques are described in “De-interlacing—an overview,” G. de Haan, et al., Proceedings of the IEEE Vol. 86, No. 9, September 1998, which is incorporated herein by reference. To a varying extent, these various deinterlacing techniques similarly suffer from the drawback of blurry images and/or zig-zagging. In addition, some of these techniques are also difficult to implement.
Correlation is a technique for generating additional pixels by using the relationship among the neighboring pixels. For example, in the image shown in
In order to process a line or an edge in the image having a low angle (i.e., near horizontal or near vertical line or edge) effectively, the window of neighboring pixels used for the correlation technique needs to be expanded. However, with an expanded window, a differential value of a pixel pair far apart from each other is not easily distinguishable from a difference caused by noise in the transmitted video image signal. Also, with an expanded window, the deinterlacing process becomes less efficient as more input values must be used to calculate additional pixels.
Moreover, the correlation technique is not effective in displaying thin line objects because thin line objects cannot easily be distinguished from the background. For example, if the dotted line through pixels F and K in
Accordingly, the present invention is directed to a display image enhancement apparatus and method that substantially obviates one or more of the problems due to limitations and disadvantages of the related art.
An object of the present invention is to provide a system that is capable of converting an interlaced signal into a progressively scanned signal with improved quality of the displayed image, especially at low angle (i.e., near horizontal or near vertical) edges or at thin lines in the image.
Another object of the present invention is to provide a system that uses substantial angle observation (time based) and regional observation (area based) techniques to convert an interlaced signal into a progressive format with improved image quality, especially at low angle edges and thin lines in the image.
Yet another object of the present invention is to provide an improved deinterlacing system that uses a relatively large window of pixels efficiently to generate additional pixels while minimizing the effects of any noise in the input video signals.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
To achieve these and other advantages and in accordance with the purpose of the present invention, as embodied and broadly described, the display image enhancement apparatus for use in generating additional pixel data from input image data, wherein a window of input pixel data is used to generate data for an additional pixel to be placed substantially in the center of the window, includes memory elements capable of receiving a chain of input pixel data and storing at least the window of input pixel data, the window of input pixels including a plurality of pixel pairs each of which respectively represents an angle of correlation; instant angle detection circuitry capable of receiving the input pixel data stored in the memory elements and determining an instant angle having the highest correlation based on differential values of at least some of the pixel pairs, wherein a differential value is the difference between the values of pixels in a pixel pair; substantial angle detection circuitry capable of determining a substantial angle having the highest correlation based on filtered differential values of at least some of the pixel pairs; angle confirmation circuitry capable of determining an interpolation angle based on the instant angle and the substantial angle; and an interpolator capable of determining the value of the additional pixel based on the values of pixels in the pixel pair corresponding to the interpolation angle.
In another aspect of the invention, the display image enhancement apparatus for use in generating additional pixel data from input image data, wherein a window of input pixel data includes a plurality of regions and is used to generate data for an additional pixel to be placed substantially in the center of the window, includes memory elements capable of receiving a chain of input pixel data and storing at least the window of input pixel data, the window of input pixels including a plurality of pixel pairs each of which respectively represents an angle of correlation; instant angle detection circuitry capable of receiving the pixel data stored in the memory elements and determining an instant angle having the highest correlation based on differential values of at least some of the pixel pairs, wherein a differential value is the difference between the values of pixels in a pixel pair and wherein the instant angle detection circuitry includes a differential calculator capable of calculating differential values of at least some of the pixel pairs in the window, a global region detector capable of selecting a representative pixel pair from each of the regions, determining the representative pixel pair having the lowest differential value among the representative pixel pairs, and selecting the region represented by the representative pixel pair with the lowest differential value, a first valley detector capable of comparing the differential values of consecutive sets of immediately adjacent pixel pairs within the selected region and determining a pixel pair having a differential value that is smaller than the differential values of available immediately adjacent pixel pairs to the left and to the right in the selected region, and angle finding circuitry capable of determining an angle corresponding to the pixel pair determined by the first valley detector as the instant angle; and an interpolator capable of determining the value of the additional pixel based on the values of pixels in the pixel pair corresponding to the instant angle.
In yet another aspect of the invention, the display image enhancement apparatus for use in generating additional pixel data from input image data, wherein a window of input pixel data is used to generate data for an additional pixel to be placed substantially in the center of the window, includes memory elements capable of receiving a chain of input pixel data and storing at least the window of input pixel data, the window of input pixels including a plurality of pixel pairs each of which respectively represents an angle of correlation; a differential calculator capable of calculating a differential value of at least some of the pixel pairs in the window based on the input pixel data, wherein a differential value is the difference between the values of pixels in a pixel pair; substantial angle detection circuitry capable of determining a substantial angle having the highest correlation based on filtered differential values of at least some of the pixel pairs, wherein the substantial angle detection circuitry includes a recursive filter capable of filtering the differential values of at least some of the pixel pairs in the window and outputting the filtered differential values; and an interpolator capable of determining the value of the additional pixel based on the values of pixels in the pixel pair corresponding to the substantial angle.
In another aspect of the invention, the display image enhancement method for use in generating additional pixel data from input image data, wherein a window of input pixel data is used to generate data for an additional pixel to be placed substantially in the center of the window, includes receiving a chain of input pixel data and storing at least the window of input pixel data in memory elements, the window of input pixels including a plurality of pixel pairs each of which respectively represents an angle of correlation; determining differential values of at least some of the pixel pairs based on the input pixel data stored in the memory elements, wherein a differential value is the difference between the values of pixels in a pixel pair; determining an instant angle having the highest correlation based on the differential values of at least some of the pixel pairs; determining a substantial angle having the highest correlation based on filtered differential values of at least some of the pixel pairs; determining an interpolation angle based on the instant angle and the substantial angle; and determining the value of the additional pixel based on the values of pixels in the pixel pair corresponding to the interpolation angle.
In yet another aspect of the invention, the display image enhancement method for use in generating additional pixel data from input image data, wherein a window of the pixel data includes a plurality of regions and is used to generate data for an additional pixel to be placed substantially in the center of the window, includes receiving a chain of input pixel data and storing at least the window of input pixel data in memory elements, the window of input pixels including a plurality of pixel pairs each of which respectively represents an angle of correlation; determining differential values of at least some of the pixel pairs in the window, wherein a differential value is the difference between the values of pixels in a pixel pair; determining an instant angle having the highest correlation based on differential values of at least some of the pixel pairs, wherein the determining of the instant angle includes selecting a representative pixel pair from each of the regions, determining the representative pixel pair having the lowest differential value among the representative pixel pairs, selecting the region represented by the representative pixel pair with the lowest differential value, comparing the differential values of consecutive sets of immediately adjacent pixel pairs within the selected region and determining a first valley pixel pair, wherein the first valley pixel pair has a differential value that is smaller than the differential values of available immediately adjacent pixel pairs to the left and to the right in the selected region, and determining an angle corresponding to the first valley pixel pair as the instant angle; and determining the value of the additional pixel based on the values of pixels in the pixel pair corresponding to the instant angle.
In another aspect of the invention, the display image enhancement method for use in generating additional pixel data from input image data, wherein a window of the pixel data is used to generate data for an additional pixel to be placed substantially in the center of the window, includes receiving a chain of input pixel data and storing at least the window of input pixel data in memory elements, the window of input pixels including a plurality of pixel pairs each of which respectively represents an angle of correlation; calculating a differential value of at least some of the pixel pairs in the window based on the input pixel data stored in the memory elements, wherein a differential value is the difference between the values of pixels in a pixel pair; determining a substantial angle having the highest correlation based on filtered differential values of at least some of the pixel pairs, wherein the step of determining the substantial angle includes filtering the differential values of at least some of the pixel pairs in the window using a recursive filter; and determining the value of the additional pixel based on the values of pixels in the pixel pair corresponding to the substantial angle.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention. In the drawings:
Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings.
As shown in
As shown in
The instant angle detection circuitry 2 may alternatively employ the first valley detection technique in detecting the instant angle with the highest correlation. For example, starting with the pixel pair at the 90° correlation (i.e., DM), the instant angle detection circuitry 2 compares differential values of pixel pairs. For example, in the 7-by-2 window of pixels shown in
Even in the event that the pixel pair GJ has a smaller differential value than the pixel pair EL, the instant angle detection circuitry 2 employing the first valley detection technique would output the angle corresponding to the first detected valley in differential value (i.e., 45° in the counterclockwise direction) as the instant angle with the highest correlation. The instant angle detection circuitry 2 may be configured to begin searching for the first valley at any of the pixel pairs, including from the smallest angle in the counterclockwise direction (e.g., GJ) to the smallest angle in the clockwise direction (e.g., AP), from the smallest angle in the clockwise direction to the smallest angle in the counterclockwise direction, and from 90° (e.g., DM).
Exemplary embodiments of the instant angle detection circuitry 2 are illustrated in
However, when the differential values of pixel pairs do not vary greatly from one pixel pair to another, as shown for example in
The substantial detection circuitry 3 determines the angle of the highest correlation based on filtered differential values. In the exemplary embodiment, the substantial detection circuitry 3 calculates a filtered differential value for a given angle based on differential values for that angle detected in the previously stored window or windows of pixel data (i.e., in a previous cycle or cycles) as well as the differential values for that angle detected in the currently stored window of pixel data. It may also utilize the differential values for the given angle detected in subsequently stored window or windows of pixel data (i.e., in a subsequent cycle or cycles). For example, in
Similarly, pixel pairs B(J−1), CJ, DK, EL, FM, GN, (G+1)O and similarly oriented pixel pairs to the left and to the right of the window in
The substantial angle detection circuitry 3 can be implemented in several different ways. In one exemplary embodiment, the substantial detection circuitry 3 incorporates a recursive filter to filter the differential values of the pixel pairs calculated by the instant angle detection circuitry 2. Then, the filtered differential values of pixel pairs are processed as in the instant angle detection circuitry 2 to determine the angle with the highest correlation. Another way to implement the substantial angle detection technique is to store the previously determined angles of the highest correlation and use a weighted average value of the previously determined angles along with the currently determined angle to determine the substantial angle.
Exemplary embodiments of the substantial angle detection circuitry 3 are illustrated in
As shown in
For example, in the window as shown in
As shown in
If the detected instant angle is found to be unreliable, then the angle confirmation circuitry 5 selects as the interpolation angle either the substantial angle or an weighted average of the two detected angles with the substantial angle given more weight. As discussed above, the examples where the instant angle detection is unreliable include when the detected instant angle is significantly different from the detected substantial angle, when the differential value of each pixel pair within the window remains relatively constant from pixel pair to pixel pair (see, e.g.,
In the event the regional measurement circuitry 4 detects a man-made pattern (see, e.g.,
The angle confirmation circuitry 5 outputs the calculated interpolation angle to the interpolation circuitry 7. Alternatively, the calculated interpolation angle may be input to a low pass filter (LPF) 6 as shown in
The instant angle detection circuitry 2 (
Also, the instant angle detection can be implemented by dividing the window into multiple regions, comparing the differential values of the representative pixel pairs to select the region likely having the highest correlation, and determining the pixel pair in the selected region with the lowest differential value and highest correlation. In an exemplary embodiment shown in
If the B2-N2 pair has the lowest differential value, it is likely that the highest correlation will be found in the B7-N7 pair to B2-N2 pair region. If the U-D pair has the lowest differential value, the center region likely has the highest correlation. Finally, if the A2-N2 pair has the lowest differential value of the three, the A2-P2 pair to A7-P7 pair region likely has the highest correlation.
In the example shown in
Once the region likely having the highest correlation is selected, the first valley detector 23 determines the pixel pair with the lowest differential value within the selected region. For example, in the example shown in
As shown in
Depending on the particular application or the display device used, the use of the substantial angle detection circuitry 3 and regional measurement circuitry 4, along with the angle confirmation circuitry 5, (see
Also, in another embodiment, the display image enhancement device of the present invention does not employ the instant angle detection circuitry 2, regional measurement circuitry 4, or angle confirmation circuitry 5 (see
The substantial angle detection circuitry 3 (
The filtered differential value for a given angle may, for example, be calculated as follows:
F0=WinDin+WdDd,
wherein F refers to a filtered differential value, W refers to a weighting constant with the combination of all weighting constants equaling 1, Din refers to an unfiltered differential value calculated by the differential calculator 11 or 21 in the instant angle detection circuitry, Dd refers to the accumulated data (i.e., a combination of previously calculated differential values corresponding to the same angle), and 0 refers to the current cycle. Exemplary sets of coefficients of the recursive filter include:
It will be apparent to those skilled in the art that various modifications and variations can be made in the display image enhancement apparatus and method of the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.