This application claims the benefit of Korean Patent Application Nos. 2002-80504, filed on Dec. 16, 2002, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.
1. Field of the Invention
The present invention relates to an image signal format detection apparatus and method, and more particularly, to an image signal format detection apparatus and method capable of detecting images converted from progressive format images to interlace format images by an application of a 2:2 pull-down algorithm.
2. Description of the Related Art
In general, an image display device employs either an interlace scan mode or a progressive scan mode. The interlace scan mode is used for general TVs and the like, and includes a division of one image frame into two fields and a display of the fields on a screen one after the other, in order, when displaying one image. At this time, the two fields are referred to as a top field and bottom field, an upper field and lower field, an odd field or even field, and so on. On the other hand, the progressive scan or non-interlace scan mode is used for computer monitors, digital TVs, and so on, and includes a display of an entire frame image, all at once, by dealing with one image frame, as a frame unit, e.g., film being displayed on a screen.
For example, in case of 480-line National Television System Committee (NTSC) interlace scan mode (precisely, 487 valid lines in 525 lines), one frame is divided into two 240-line fields for display, and the divided 240-line fields, as noted above, are displayed on a screen one after the other every 1/60 seconds (480/60 i). On the other hand, the progressive scan mode completely displays the entire frame image, e.g., a 480-line image, all at once every 1/60 seconds (480/60 p). Accordingly, a progressive format image based on the progressive scan mode has a better image quality compared to an interlace format image.
One of the typical video formats that is closely related to such a progressive scan mode is a DVD movie formatted for display on an analog television and initially produced on film, since the original sources for almost all DVD movie titles released in recent years are produced on film first. Movies are produced at 24 frames per second, differently from NTSC TV programs. In the case of a DVD movie, it is, of course, possible to directly manufacture a DVD including the original images of 24 frames, as in an original film movie. However, since a majority of image display devices, such as general analog televisions, at present adopt the interlace scan mode, it is more practical to produce DVD movie titles in the interlace scan mode.
Accordingly, a process is required for converting a 24-frame progressive film into 60-field interlace images, which is typically referred to as a 3:2 pull-down or a “telecine.” The 3:2 pull-down process is a process that converts two 24 Hz frames into five 60 Hz fields, producing three fields repeatedly from the first frame and two fields from the second frame.
Meanwhile, 30-frame-per-second progressive format images are typically used for advertisement broadcasts, music videos, or the like, for which a 2:2 pull-down, similar to the 3:2 pull-down, is used. That is, the 2:2 pull-down refers to a process for converting 30-frame progressive format film into 60-field interlace format images.
However, as it has become more necessary to exchange data among devices using different scan modes as the use of image display devices employing the progressive scan mode increases, an interlaced-to-progressive conversion (IPC) method becomes necessary to convert the interlace scan mode into the progressive scan mode. During such an IPC process, if it is known that a currently input image is a 2:2 pull-down-converted image, a complete progressive format image before the 2:2 pull-down can be easily obtained merely by combining interlace format fields. Accordingly, before implementing the IPC method, it becomes necessary to detect whether a field to be interpolated is for a previously 2:2 pull-down converted image.
Conventional systems mainly use the 3:2 pull-down, and conventional technologies have been disclosed, especially, in U.S. Pat. No. 5,398,071 entitled “Film To Video Format Detection For Digital Television” for methods for detecting such 3:2 pull-down format images. However, few or no technologies have been known to detect 2:2 pull-down format images through a relatively simple structure. Therefore, an image signal format detection apparatus and method is desired to detect the 2:2 pull-down format through a relatively simple structure.
The present invention has been devised to solve the above and/or other problems, so it is an aspect of the present invention to provide an image format detection apparatus and method capable of detecting whether an image was previously generated by a 2:2 pull-down image format, through a relatively simple structure.
Additional aspects and/or advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
To achieve the above and/or other aspects of the present invention, there is provided an image signal format detection apparatus, including a first summed absolute difference (SAD) value calculation unit to calculate, from a previous field, a current field, and a next field of an image signal with time-consecutive fields, a first SAD value with reference to pixel values of the current field and the previous field, a second SAD value calculation unit to calculate a second SAD value with reference to pixel values of the current field and the next field, a pattern generation unit to generate a detection pattern based on a result of a comparison of the first and the second SAD values, and a pattern analysis unit to store the detection pattern, compare the stored detection pattern with a predetermined verification pattern, and determine whether the image signal is an image signal generated by a 2:2 pull-down.
To achieve the above and/or other aspects of the present invention, there is provided a deinterlacing apparatus for converting an interlace scan mode image signal into a progressive scan mode image signal, including the above format detection unit, a 2:2 pull-down compensation unit, and an interlace-to-progressive conversion unit, wherein the input image to the deinterlacing apparatus is selectively deinterlaced by the deinterlacing apparatus based either on the 2:2 pull-down compensation unit or the interlace-to-progressive conversion unit based on an output of the format detection unit.
To achieve the above and/or other aspects of the present invention, there is provided an image signal format detection method, calculating, from a previous field, a current field, and a next field of a time-consecutive image signal, a first summed absolute difference (SAD) value with reference to pixel values of the current field and the previous field, calculating a second SAD value with reference to pixel values of the current field and the next field, generating a detection pattern based on a result of a comparison of the first and second SAD values, and storing the detection pattern, comparing the stored detection pattern with a predetermined verification pattern, and determining whether the image signal is an image signal generated by a 2:2 pull-down.
To achieve the above and/or other aspects of the present invention, there is provided a deinterlacing method for converting an interlace scan mode image signal into a progressive scan mode image signal, including outputting a deinterlaced image signal selectively based on interpolation values from either a 2:2 pull-down compensation operation or an interlace-to progressive conversion operation based on the above image signal format detection method.
To achieve the above and/or other aspects of the present invention, there is provided a deinterlacing apparatus for converting an interlace scan mode image signal into a progressive scan mode image signal, including a format detection unit to detect a format of an input image based on a comparison of summed absolute difference values between fields of the input image, a 2:2 pull-down compensation unit, and an interlace-to-progressive conversion unit, wherein the input image to the deinterlacing apparatus is selectively deinterlaced by the deinterlacing apparatus based either on the 2:2 pull-down compensation unit or the interlace-to-progressive conversion unit based on an output of the format detection unit.
The comparison of the summed absolute difference values between fields of the input image can be based on a comparison of the result of the following two equations:
wherein fn−1(i,j) denotes a value of a pixel at row i and column j in a previous field, fn(i,j) denotes a value of a pixel at row i and column j in a current field, and fn+1(i,j) denotes a value of a pixel at row i and column j in a next field, with M−1 and N−1 denoting maximum values of i and j, respectively, for an image of M×N size.
The above and/or other aspects and advantages of the present invention will become and more readily appreciated from the following description of the embodiments taken in conjunction with the accompanying drawings in which:
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments are described below to explain the present invention by referring to the figures.
The first and second SAD value calculation units 100 and 110 input an image signal formed with plural fields, consecutive in time. At this time, a currently input field is referred to as a current field, and fields ahead of and behind the current field are referred to as a previous field and a next field, respectively. The first SAD value calculation unit 100 calculates a first SAD value with reference to pixel values of the current field and the previous field. The second SAD value calculation unit 110 calculates a second SAD value with reference to pixel values of the current field and the next field.
The pattern generation unit 120 compares the first and second SAD values calculated in the first and second SAD value calculation units 100 and 110, and generates a detection pattern based on a result of the comparison. The pattern analysis unit 130 stores the detection pattern generated by the pattern generation unit 120, compares a predetermined pre-stored verification pattern with a series of stored detection patterns, and decides whether the inputted image signal is a 2:2 pull-down format image generated by a 2:2 pull-down. A stored detection pattern may similarly be generated by sequentially incorporating the output of the comparison, of the first and second SAD values, in a single pattern, e.g., a series.
fn−1(i,j) denotes a value of a pixel at row i and column j in a previous field, fn(i,j) denotes a value of a pixel at row i and column j in a current field, and fn+1(i,j) denotes a value of a pixel at row i and column j in a next field. Further, M−1 and N−1 denote maximum values of i and j, respectively, that is, for an image of M×N size.
The SAD comparator 123 of the pattern generation unit 120 compares the magnitudes of the first and second SAD values calculated in the first and second SAD value calculation units 100 and 110 respectively (S210), and generates a detection result according to a result of the comparison (S215). The comparison of the first and second SAD values is carried out in the SAD comparator 123 of the pattern generation unit 120. The multiplexer 125, in the pattern generation unit 120, receives values of “1” and “0”, respectively, and outputs either the input value of “1” or the value of “0” according to the controls of the SAD comparator 123. The value output from multiplexer 125 becomes a detection pattern.
If the above process is carried out with respect to the fields 302, 311, 312, and 321, the values output from the multiplexer 125 become the series “. . . 0101 . . . ”. Likewise, when the image is a 2:2 pull-down format image, the multiplexer 125 will repeatedly output values of “0” and “1.”
The detection patterns output from the multiplexer 125 are stored in a pattern buffer 133. Accordingly, a value stored in the pattern buffer 133 becomes “. . . 0101 . . . ” of certain length.
A detection pattern series of “. . . 0101 . . . ” stored in the pattern buffer 133 is compared with a verification pattern stored in the pattern storage 135 (S225). The verification pattern stored in the pattern storage 135 is a pattern, for example, “. . . 0101 . . . ”, of certain repetition period, based on the 2:2 pull-down.
It is then determined whether the series of “. . . 0101 . . . ” of the detection pattern stored in the pattern buffer 133 matches with a verification pattern, for example, “. . . 0101 . . . ”, stored in the pattern storage 135 (S230).
If the detection pattern, stored in the pattern buffer 133, matches with the verification pattern stored in the pattern storage 135, a 2:2 pull-down mode signal is generated (S230 and S235). Conversely, if the patterns do not match, it is decided that the detection pattern is not a 2:2 pull-down format image.
Through the above process, it can be determined whether an input field is a 2:2 pull-down format field produced by the 2:2 pull-down. Such an image signal format detection apparatus can, accordingly, be applied to an IPC process and the like.
The format detection unit 400, through one of the above processes, e.g., described in
As described above, the present invention can detect whether an input image is an image produced by a 2:2 pull-down, based on SAD values between fields. Further, the image signal format detection apparatus and method according to the present invention can be easily implemented due to a relatively simple structure. Such image signal format detection apparatuses and methods can be applied to interlaced-to-progressive conversion (IPC) methods or the like, enabling good quality images to be effectively obtained.
Although a few embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in this embodiment without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2002-0080504 | Dec 2002 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
4731651 | Matsumoto et al. | Mar 1988 | A |
5111511 | Ishii et al. | May 1992 | A |
5153719 | Ibenthal | Oct 1992 | A |
5398071 | Gove et al. | Mar 1995 | A |
5400083 | Mizusawa | Mar 1995 | A |
5568196 | Hamada et al. | Oct 1996 | A |
5796437 | Muraji et al. | Aug 1998 | A |
5844630 | Yamauchi | Dec 1998 | A |
5982444 | Kato et al. | Nov 1999 | A |
5995154 | Heimberger et al. | Nov 1999 | A |
6014182 | Swartz | Jan 2000 | A |
6058140 | Smolenski | May 2000 | A |
6061100 | Ward et al. | May 2000 | A |
6108041 | Faroudja et al. | Aug 2000 | A |
6201577 | Swartz | Mar 2001 | B1 |
6297848 | Westerman | Oct 2001 | B1 |
6370198 | Washino | Apr 2002 | B1 |
6559890 | Holland et al. | May 2003 | B1 |
6580463 | Swartz | Jun 2003 | B2 |
6700622 | Adams et al. | Mar 2004 | B2 |
6757022 | Wredenhagen et al. | Jun 2004 | B2 |
6891571 | Shin et al. | May 2005 | B2 |
6937655 | De Haan et al. | Aug 2005 | B2 |
6989845 | Okamoto et al. | Jan 2006 | B1 |
20020149703 | Adams et al. | Oct 2002 | A1 |
20030189667 | Chow | Oct 2003 | A1 |
Number | Date | Country |
---|---|---|
0 883 298 | Dec 1998 | EP |
1 091 580 | Apr 2001 | EP |
1 100 267 | May 2001 | EP |
1 168 842 | Jan 2002 | EP |
1 198 137 | Apr 2002 | EP |
198 139 | Apr 2002 | EP |
2 258 580 | Feb 1993 | GB |
03-280681 | Dec 1991 | JP |
04-137892 | May 1992 | JP |
07-288780 | Oct 1995 | JP |
2001-028735 | Jan 2001 | JP |
2002-016944 | Jan 2002 | JP |
2002-57993 | Feb 2002 | JP |
2001-90568 | Oct 2001 | KR |
2001-2659 | Jan 2002 | KR |
WO 9524100 | Sep 1995 | WO |
0016561 | Mar 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20040114048 A1 | Jun 2004 | US |