This application claims the benefit, under 35 U.S.C. §119 of EP Patent Application 06301274.4 filed 20 Dec. 2006.
The present invention relates to a method and an apparatus for processing video pictures especially for dynamic false contour effect compensation.
The plasma display technology now makes it possible to achieve flat colour panels of large size and with limited depth without any viewing angle constraints. The size of the screens may be much larger than the classical CRT picture tubes would have ever allowed.
Plasma Display Panel (or PDP) utilizes a matrix array of discharge cells, which could only be “on” or “off”. Therefore, unlike a Cathode Ray Tube display device or a Liquid Crystal Display device in which gray levels are expressed by analog control of the light emission, a PDP controls gray level by a Pulse Width Modulation of each cell. This time-modulation is integrated by the eye over a period corresponding to the eye time response. The more often a cell is switched on in a given time frame, the higher is its luminance or brightness. Let us assume that we want to dispose of 8 bit luminance levels i.e. 255 levels per color. In that case, each level can be represented by a combination of 8 bits with the following weights:
To realize such a coding, the frame period can be divided in 8 lighting sub-periods, called sub-fields, each corresponding to a bit and a brightness level. The number of light pulses for the bit “2” is the double as for the bit “1”; the number of light pulses for the bit “4” is the double as for the bit “2” and so on . . . . With these 8 sub-periods, it is possible through a combination to build the 256 gray levels. The eye of the observers integrates over a frame period these sub-periods to catch the impression of the right gray level. The
The light emission pattern introduces new categories of image-quality degradation corresponding to disturbances of gray levels and colors. These is defined as “dynamic false contour effect” since it corresponds to disturbances of gray levels and colors in the form of an apparition of colored edges in the picture when an observation point on the PDP screen moves. Such failures on a picture lead to the impression of strong contours appearing on homogeneous area. The degradation is enhanced when the picture has a smooth gradation, for example like skin, and when the light-emission period exceeds several milliseconds.
When an observation point on the PDP screen moves, the eye follows this movement. Consequently, it no more integrates the same cell over a frame (static integration) but it integrates information coming from different cells located on the movement trajectory and it mixes all these light pulses together, which leads to a faulty signal information.
Basically, the false contour effect occurs when there is a transition from one level to another with a totally different sub-field code. The European patent application EP 1 256 924 proposes a code with n sub-fields which permits to achieve p gray levels, typically p=256, and to select m gray levels, with m<p, among the 2n possible sub-fields arrangements when working at the encoding or among the p gray levels when working at the video level so that close levels have close sub-field codes i.e. sub-field codes with close temporal centers of gravity. As seen previously, the human eye integrates the light emitted by Pulse Width Modulation. So if you consider all video levels encoded with a basic code, the temporal center of gravity of the light generation for a sub-field code is not growing with the video level. This is illustrated by the
where—sfwi is the sub-field weight of ith sub-field;
The center of gravity SfCGi of the seven first sub-fields of the frame of
So, with this definition, the temporal centers of gravity of the 256 video levels for a 11 sub-fields code with the following weights, 1 2 3 5 8 12 18 27 41 58 80, can be represented as shown in
Such a monotone curve is shown in
In this case, 40 levels (m=40) are selected among the 256 possible levels. These 40 levels permit to keep a good video quality (gray-scale portrayal). This is the selection that can be made when working at the video level, since only few levels, typically 256, are available. But when this selection is made at the encoding, there are 2n different sub-field arrangements, and so more levels can be selected as seen on the
The main idea of this Gravity Center Coding, called GCC, is to select a certain amount of code words in order to form a good compromise between suppression of false contour effect (very few code words) and suppression of dithering noise (more code words meaning less dithering noise).
The problem is that the whole picture has a different behavior depending on its content. Indeed, in area having smooth gradation like on the skin, it is important to have as many code words as possible to reduce the dithering noise. Furthermore, those areas are mainly based on a continuous gradation of neighboring levels that fits very well to the general concept of GCC as shown on
However, let us analyze now the situation on the border between the woman forehead and the woman hairs as presented on the
In the
So a solution is to select locally the best coding scheme (in terms of noise/dynamic false contour effect trade-off) for every area in the picture. In this way, the gradient based coding disclosed in the European patent application EP 1 522 964 can be a good solution to reduce or remove the false contour effect when the video sequence is coded by a gravity center coding of EP 1 256 924. The idea is to use a “normal” gravity center coding for areas that have a smooth gradation (low gradient) in the signal level, and a reduced set of codes (=a subset of the set of normal gravity center codes) for the areas that undergo a high gradient variation in the signal level (transition). A reduced set of codes comprising 11 code words is for example shown in
So the gradient based coding disclosed in EP 1 522 964 is considered as a good solution to reduce the dynamic false contour effects in the different areas or regions of the picture. But, it remains some dynamic false contour effects on the boundary between two areas (i.e. between an area coded by codes of a reduced set (high gradient) and an area coded by codes of a “normal” set (low gradient)). Dynamic false contour effects are introduced due to the shift between the two sets of codes. This is mainly due to a non optimal selection of the boundary position where the two neighbouring pixels are coded with two different codes that are not fully compatible even if coming from the same skeleton.
It is a subject of this invention to remove at least a part of the remaining false contour effects.
As the set of codes needed for coding the high gradient areas is itself a subset from the set of codes needed for coding the other areas of the picture, it is proposed according to the invention to shift the boundary between the two areas and to put it, for each horizontal line of pixels, at a pixel that can be coded by a code belonging to the two sets. So, the picture areas coded by codes of the high gradient set are extended. It comes from the observation that there is almost no false contour effect between any two neighbouring pixels coded by two codes belonging to the same set.
So the invention concerns a method for processing video pictures for dynamic false contour effect compensation, each pixel of the video pictures having at least one colour component (RGB), the colour component values being digitally coded with a digital code word, hereinafter called sub-field code word, wherein to each bit of a sub-field code word a certain duration is assigned, hereinafter called sub-field, during which a colour component of the pixel can be activated for light generation, comprising the steps of:
Thus, if it is possible to shift the boundary between two areas coded by two different sets of codes and to put it at a pixel that can be coded by a code belonging to the two sets, dynamic false contour effects are absolutely eliminated.
Preferably, the extension of the second type area is limited to P pixels.
In a specific embodiment, P is a random number comprised between a minimum number and a maximum number.
In a specific embodiment, the number P changes at each line or at each group of m consecutive lines.
In a specific embodiment, in each set of sub-field code words, the temporal centre of gravity for the light generation of the sub-field code words grows continuously with the corresponding video level except for the low video level range up to a first predefined limit and/or in the high video level range from a second predefined limit. The video gradient ranges are advantageously non-overlapping and the number of codes in the sets of sub-field code words decreases as the average gradient of the corresponding video gradient range gets higher.
The invention concerns also an apparatus for processing video pictures for dynamic false contour effect compensation, each pixel of the video pictures having at least one colour component (RGB), the colour component values being digitally coded with a digital code word, hereinafter called sub-field code word, wherein to each bit of a sub-field code word a certain duration is assigned, hereinafter called sub-field, during which a colour component of the pixel can be activated for light generation, comprising:
Exemplary embodiments of the invention are illustrated in the drawings and are explained in more detail in the following description. In the drawings:
The principle of the invention can be easily understood with the help of
The principle of the invention is to shift, for each horizontal line of pixels, the area coded by the second set (the boundary between the area coded by the first set and the area coded by the second set is shifted) until it meets a pixel that can be coded by the two sets (yellowish green pixels). This shift is shown in the
In some cases, the pixels (yellowish green pixels) that can be coded by codes of both sets can be far from the initial boundary and it can introduce unnecessary noise in the extended part of the area coded by the second set. Therefore, a criterion for limiting the extension of the area of pixels coded by the second set is advantageously introduced to reduce this noise. So, in a preferred embodiment, the extension of the area including pixels coded by the second set is limited to P pixels for each horizontal line. In this case, the area coded by the second set is extended until it meets a pixel that can be coded by both sets or the extension is equal to P pixels.
After limiting the code extension, the dynamic false contour can not be seen even if the extension is not followed by a common pixel (pixel that can be coded by both sets) because the end of the extension is not uniform. The extension stops in a random way. Indeed if it is not possible to eliminate the dynamic false contour effect by extending the area coded by the second set up to a common pixel, then scattering the dynamic false contour effect is a solution. If the initial boundary is random, the dynamic false contour effect is scattered. To be sure that the dynamic false contour effect is scattered, the number P of pixels of the extension is advantageously selected randomly for each line or each group of m consecutive lines in a range of n possible values. For example, the range comprises five values [3, 4, 5, 6, 7] and so P can be randomly one of these five values.
A device implementing the invention is presented on
where γ is around 2.2 and MAX represents the highest possible input video value.
The output signal of this block is advantageously more than 12 bits to be able to render correctly low video levels.
It is forwarded to a partitioning module 2, which is for example a classical gradient extraction filter, to partition the picture into at least first type area (for example high gradient area) and second type area (low gradient area). In theory, it is also possible to perform the partitioning or gradient extraction before the gamma correction. In the case of a gradient extraction it can be simplified by using only the Most Significant Bits (MSB) of the incoming signal (e.g. 6 highest bits). The partitioning information is sent to an allocating module 3, which allocates appropriate set of sub-field codes to be used for encoding current input value. A first set is for example allocated for the low gradient areas of the picture and a second set (which is a subset of the first set) is allocated for the high gradient areas. The extension of the areas coded by the second set as defined before is implemented in this block. Depending on the allocated set, the video has to be rescaled to the number of levels of this set (for example, 11 levels if the code set illustrated by
The invention is not limited to the embodiments described previously. In particular, first and second sets of codes other than those presented here can be used.
The invention is applicable to any display device based on a duty-cycle modulation (or pulse width modulation—PWM) of light emission. In particular it is applicable to plasma display panels (PDP) and DMD (digital micro-mirror devices) based display devices.
Number | Date | Country | Kind |
---|---|---|---|
06301274 | Dec 2006 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
6661470 | Kawakami | Dec 2003 | B1 |
7176939 | Weitbruch et al. | Feb 2007 | B2 |
20040183820 | Kawahara et al. | Sep 2004 | A1 |
20050237277 | Kawahara | Oct 2005 | A1 |
20060050979 | Kawahara | Mar 2006 | A1 |
Number | Date | Country |
---|---|---|
1271461 | Jan 2003 | EP |
1522964 | Apr 2005 | EP |
11085101 | Mar 1999 | JP |
200369922 | Mar 2003 | JP |
2005115384 | Apr 2005 | JP |
Entry |
---|
Search report dated Jun. 6, 2007. |
Number | Date | Country | |
---|---|---|---|
20080204372 A1 | Aug 2008 | US |