1. Field of the Invention
The invention relates in general to video processing, and more particularly to a de-interlacing method that compensates a de-interlaced pixel with reference to a luminance difference between a reference block of a reference frame and a current block of a current frame.
2. Description of the Related Art
De-interlacing is the process of converting interlaced video into a non-interlaced form. When displaying an interlaced video on a progressive display, de-interlacing has to be performed.
It is therefore an object of the invention to provide a de-interlacing method that compensates a de-interlaced pixel with reference to a reference block and a current block.
Moreover, it is an object of the invention to provide a compensating method that uses a luminance difference between the current block and the reference block to adjust the luminance of the de-interlaced pixel.
The invention achieves the above-identified object by providing a de-interlacing method that compensates a de-interlaced pixel in a current block of a current frame. First, a reference block of a reference frame, which is determined to be most matched to the current block, is identified. Next, the luminance of the de-interlaced pixel is determined based on the reference block. Then, the luminance of the de-interlaced pixel is compensated based on the current block and the reference block.
The invention achieves the above-identified object by providing a compensating method that compensates the luminance of a de-interlaced pixel. First, an average luminance of the current block and an average luminance of the reference block are determined. Next, the luminance of the de-interlaced pixel is adjusted according to a luminance difference between the current block and the reference block, such that the luminance of the de-interlaced pixel is more appropriate and the display quality is improved.
Other objects, features, and advantages of the invention will become apparent from the following detailed description of the preferred but non-limiting embodiments. The following description is made with reference to the accompanying drawings.
In step 210, identify a reference block of the reference frame 110, which is determined to be most matched to the current block 126 of the current frame 120, wherein the pixel 121 is positioned in the current block 126. In this embodiment, the reference block 116 is determined to be the matched block.
Next, in step 220, determined the luminance of the pixel 121 in the current block 126 of the current frame 120 based on the reference block 116 of the reference frame 110. In this embodiment, the pixel 121 corresponds to the reference pixel 111 in the reference block 116 and the luminance of the pixel 121 is determined to be the luminance of the reference pixel 111, such as Ld.
Afterwards, in step 230, compensate the luminance Ld of the pixel 121 with reference to the current block and the reference block, which will be explained in more details below.
Next, in step 320, the luminance Ld of the pixel 121 is adjusted with reference to a luminance difference between the current block 126 and the reference block 116, that is, (La1−La2). For example, the luminance of the pixel 121 may be adjusted by an amount being proportional to the luminance difference (La1−La2). In this embodiment, the luminance of the pixel 121 can be adjusted by an amount being equal to the luminance difference (La1−La2). Accordingly, the luminance of the pixel 121 may be determined to be the luminance Ld of the reference pixel 111 plus the difference (La1−La2), that is, Ld+(La1−La2). However, the luminance difference to compensate the pixel 121 can be used differently and not limited thereto.
In this embodiment, the luminance of the pixel 121 in the reference block 126 is determined to be the luminance of the corresponding pixel 111. However, the luminance of the pixel 121 can be also obtained with reference to the reference block 116 in different ways.
In this embodiment, the current block 126 and the reference block 116 are exemplified by 3×3 blocks. However, the de-interlacing method and the compensating method are applicable even when the current block and the reference block are differently sized.
With the present invention, when the current block 126 is generally brighter than the reference block 116, the pixel 121 in the current block 126, which looks dark since the luminance of the pixel 121 is determined to be the luminance of the reference pixel 111 in the reference block 116, may be then adjusted to be brighter based on the luminance difference.
Likewise, when the current block 126 is generally darker than the reference block 116, the pixel 121 in the current block 126, which looks bright since the luminance of the pixel 121 is determined to be the luminance of the reference pixel 111 in the reference block 116, may be then adjusted to be darker based on the luminance difference.
By applying the present method, the luminance of the de-interlaced pixel is compensated and becomes more consistent with the luminance of the neighboring pixels, thus improving the display quality.
While the invention has been described by way of example and in terms of a preferred embodiment, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.
Number | Name | Date | Kind |
---|---|---|---|
4670772 | Bolger | Jun 1987 | A |
4794387 | Sanders, Jr. | Dec 1988 | A |
4924458 | Obara | May 1990 | A |
5473383 | Sezan et al. | Dec 1995 | A |
5691774 | Yasuda et al. | Nov 1997 | A |
6166772 | Voltz et al. | Dec 2000 | A |
6166773 | Greggain et al. | Dec 2000 | A |
6609977 | Shimizu et al. | Aug 2003 | B1 |
6680732 | Yoo | Jan 2004 | B2 |
20020080801 | Derks | Jun 2002 | A1 |
20050008161 | Olsen et al. | Jan 2005 | A1 |
20060038836 | Abe et al. | Feb 2006 | A1 |
20060072043 | Ando | Apr 2006 | A1 |
20060103745 | Nagaishi et al. | May 2006 | A1 |
20060187356 | Ogura | Aug 2006 | A1 |
20070091997 | Fogg et al. | Apr 2007 | A1 |
20070103588 | MacInnis et al. | May 2007 | A1 |
20070153123 | Pan et al. | Jul 2007 | A1 |
20070177056 | Zhou et al. | Aug 2007 | A1 |
20070237238 | Xia et al. | Oct 2007 | A1 |
20070242080 | Hamada et al. | Oct 2007 | A1 |
20080089404 | Okazaki et al. | Apr 2008 | A1 |
20090279608 | Jeon et al. | Nov 2009 | A1 |
20090322857 | Jacobs et al. | Dec 2009 | A1 |
20110184237 | Homan et al. | Jul 2011 | A1 |
Number | Date | Country |
---|---|---|
417933 | Jan 2001 | TW |
I268703 | Dec 2005 | TW |
200616446 | May 2006 | TW |
Number | Date | Country | |
---|---|---|---|
20080219353 A1 | Sep 2008 | US |