De-interlacing method and method of compensating a de-interlaced pixel

Information

  • Patent Grant
  • 8644379
  • Patent Number
    8,644,379
  • Date Filed
    Wednesday, March 7, 2007
    17 years ago
  • Date Issued
    Tuesday, February 4, 2014
    10 years ago
Abstract
A luminance compensating method of compensating a de-interlaced pixel in a current block of a current frame with reference to a reference block of a reference frame is provided. First, calculate an average luminance of the current block and an average luminance of the reference block. Next, adjust the luminance of the de-interlaced pixel by a luminance difference between the average luminance of the current block and the average luminance of the reference block, such that the luminance of the de-interlaced pixel is more appropriate and the display quality is improved.
Description
BACKGROUND OF THE INVENTION

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.



FIG. 1 shows two de-interlaced frames sequentially obtained using conventional motion compensated de-interlacing. In FIG. 1, all the pixels, e.g. pixel 121, in a current block, e.g. block 126, of a current frame are defined as the pixels, e.g. pixel 111, in the corresponding block, e.g. block 116, of a reference frame, which may also reference the pixels in the corresponding block of another reference frame obtained even earlier. Since half the scan lines, e.g. odd/even scan lines, in these reference frames are interpolated or estimated, a luminance error due to recursive references may propagate.


SUMMARY OF THE INVENTION

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.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 shows a conventional motion compensated de-interlacing;



FIG. 2 shows a flowchart of a motion compensated de-interlacing method that compensates a de-interlaced pixel according to an embodiment of the present invention; and



FIG. 3 shows a flowchart of a luminance compensating method that compensates the luminance of a de-interlaced pixel.





DETAILED DESCRIPTION OF THE INVENTION


FIG. 2 shows a flowchart of a motion-compensated de-interlacing method that compensates a de-interlaced pixel according to an embodiment of the present invention. The de-interlacing method in FIG. 2 is exemplified by pixel 121 in FIG. 1.


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.



FIG. 3 shows a flowchart of a luminance compensating method that compensates the luminance of the pixel 121. In step 310, an average luminance La1 of the current block 126 and an average luminance La2 of the reference block 116 are determined. In the current block 126, the luminance La1 may be determined by averaging the luminance of all the received pixels positioned, e.g. on the scan lines 123 and 125 without other to-be-de-interlaced pixels positioned, e.g. on the scan line 124, while the average luminance La2 of the reference block 116 may be determined by averaging the luminance of all the pixels within the reference block 116.


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.

Claims
  • 1. A method of compensating luminance of a display module for sequentially displaying a reference frame and a current frame of the display module, the method compensating the luminance of a de-interlaced pixel in a current block of the current frame with reference to a reference block of the reference frame, the method comprising the steps of: calculating an average luminance of the current block and an average luminance of the reference block; andadjusting the luminance of the de-interlaced pixel by an amount that is proportional to a luminance difference between the current block and the reference block;wherein the average luminance of the current block is determined by averaging the luminance of all received pixels positioned on odd/even scan lines, excluding other to-be-de-interlaced pixels positioned on even/odd scan lines, in the current block, while the average luminance of the reference block is determined by averaging the luminance of all the pixels in the reference block, and the luminance of the de-interlaced pixel is determined by a reference pixel in the reference block, the reference pixel corresponding to the de-interlaced pixel, plus the luminance difference.
  • 2. The method according to claim 1, wherein the amount is equal to the luminance difference.
  • 3. The method according to claim 1, wherein the current block and the reference block are 3×3 blocks.
  • 4. A de-interlacing method for de-interlacing a pixel in a current block of a current frame for a display module, comprising: identifying a reference block of a reference image, which is most matched to the current block of the current frame;determining the luminance of a de-interlaced pixel with reference to the reference block; andcompensating the luminance of the de-interlaced pixel with reference to the current block and the reference block;wherein the average luminance of the current block is determined by averaging the luminance of all received pixels positioned on odd/even scan lines, excluding other to-be-de-interlaced pixels positioned on even/odd scan lines, in the current block, while the average luminance of the reference block is determined by averaging the luminance of all the pixels in the reference block, and the luminance of the de-interlaced pixel is determined by a reference pixel in the reference block, the reference pixel corresponding to the de-interlaced pixel, plus the luminance difference.
  • 5. The method according to claim 4, wherein the compensating step further comprises: calculating an average luminance of the current block and an average luminance of the reference block; andadjusting the luminance of the de-interlaced pixel by an amount being proportional to a luminance difference between the current block and the reference block.
  • 6. The method according to claim 4, wherein the amount is equal to the luminance difference.
  • 7. The method according to claim 4, wherein the current block and the reference block are 3×3 blocks.
US Referenced Citations (25)
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
Foreign Referenced Citations (3)
Number Date Country
417933 Jan 2001 TW
I268703 Dec 2005 TW
200616446 May 2006 TW
Related Publications (1)
Number Date Country
20080219353 A1 Sep 2008 US