(19)
(11) EP 1 619 651 A1

(12) EUROPEAN PATENT APPLICATION

(43) Date of publication:
25.01.2006 Bulletin 2006/04

(21) Application number: 04291878.9

(22) Date of filing: 23.07.2004
(51) International Patent Classification (IPC): 
G09G 3/28(2006.01)
G09G 3/20(2006.01)
(84) Designated Contracting States:
AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LI LU MC NL PL PT RO SE SI SK TR
Designated Extension States:
AL HR LT LV MK

(71) Applicant: DEUTSCHE THOMSON-BRANDT GMBH
78048 Villingen-Schwenningen (DE)

(72) Inventors:
  • WEITBRUCH, sebastien
    92648 Boulogne Cedex (FR)
  • THEBAULT, Cedric
    92648 Boulongne cedex (FR)
  • CORREA, Carlos
    92648 Boulogne cedex (FR)

(74) Representative: Ruellan-Lemonnier, Brigitte 
THOMSON multimedia, Licensing and Intellectual Property, 46 Quai Alphonse Le Gallo
92100 Boulogne Billancourt
92100 Boulogne Billancourt (FR)

   


(54) Method and device for processing video data by combining error diffusion and dithering


(57) For improving the grey scale portrayal, several dithering methods are used: Cell-based dithering, multi-mask dithering or error diffusion. Each of them has specific disadvantages. A simple combination of them does not bring expected advantages. However, an improvement is obtained if the result of the multi-mask dithering (4') is used for controlling the error diffusion (2) by a switch (8), for example.




Description


[0001] The present invention relates to a method for processing video data for display on a display device having a plurality of luminous elements corresponding to the pixels of a picture, wherein the time of a video frame or field is divided into a plurality of sub-fields during which the luminous elements can be activated for light emission in small pulses corresponding to a sub-field code word of n bits used for encoding the p possible video levels lighting a pixel, comprising the steps of: performing an error diffusion and another dithering for reducing a quantization error. Furthermore, the present invention relates to a corresponding device for processing video data.

Background



[0002] A PDP utilizes a matrix array of discharge cells, which can only be "ON", or "OFF". Also unlike a CRT or LCD in which grey levels are expressed by analogue control of the light emission, a PDP controls the grey level by modulating the number of light pulses per frame (sustain pulses). This time-modulation will be integrated by the eye over a period corresponding to the eye time response. Since the amplitude video is portrayed by the number of light pulses, occurring at a given frequency, more amplitude means more light pulses and thus more "ON" time. For this reason, this kind of modulation is also known as PWM, pulse width modulation. This PWM is responsible for one of the PDP image quality problems: the poor grey scale portrayal quality, especially in the darker regions of the picture. This is due to the fact, that displayed luminance is linear to the number of pulses, but the eye response and sensitivity to noise is not linear. In darker areas the eye is more sensitive than in brighter areas. This means that even though modern PDPs can display ca. 256 discrete grey levels, quantization error will be quite noticeable in the darker areas.

[0003] To achieve a better grey scale portrayal, within the internal data processing a dithering signal is added to a processed video signal, before truncation to the final video grey scale amplitude resolution. Dithering is a well-known technique from the technical literature, used to reduce the effects of quantization noise due to a reduced number of displayed resolution bits. Dithering, by adding artificial levels in-between, improves grey scale portrayal, but adds high frequency low amplitude dithering noise, perceptible to the human viewer only at a small viewing distance. There are mainly two kinds of dithering used for PDP:
  • Cell-Based dithering (EP1269457)and its enhanced version: Multi-Mask dithering (EP1262947), which improves grey scale portrayal but adds high frequency low amplitude dithering pattern (e.g. checker pattern). The content of both documents is incorporated herein by reference. This concept of dithering is based on the spatial and temporal eye integration function. In other words, it is possible to display levels located between the value 1 and 2 by simply mixing these values spatially and temporally. However, it is not possible to render more than 3 additional bits with this method without introducing disturbing low frequency flickering. The major advantage of this concept is that the unnatural dithering pattern introduced by this method is quite invisible at a normal viewing distance. Moreover, this method is independent of the picture content.
  • Error-Diffusion: it improves grey scale portrayal and generates no dithering pattern. This method is based on a distribution of fractional parts to the neighbouring cells. But it adds a noise mainly in the darker areas (which becomes more noticeable for static pictures without temporal noise). In theory it is possible to render more bits with this method but after a certain limit the gain is no more visible but the noise increases. Finally, it can be said that this method has the disadvantage of adding noise visibly even at a normal viewing distance but it is more natural for moving pictures. Furthermore, this method is dependent on the picture content.


[0004] In the following, the necessity of dithering is pointed out in detail. As mentioned before, plasma uses PWM (pulse width modulation) to generate the different shades of grey. Contrarily to CRTs where luminance is approximately quadratic to applied cathode voltage, luminance is linear to the number of discharge pulses. Therefore an approximately digital quadratic degamma function has to be applied to video before the PWM.

[0005] Due to this degamma function, for smaller video levels, many input levels are mapped to the same output level. In other words, for darker areas, the output number of quantization bits is smaller than the input number, in particular values smaller than 16 (when working with 8 bit for video input) are all mapped to value 0 (this corresponds to four bit resolution which is actually unacceptable for video). Indeed, the output value corresponding to an input video level of 11, is:

in the case of a gamma value of 2.2 (standard video). However, a 8-bit display like a PDP will not be able to render the fractional part. Therefore, if nothing special is done, the low input levels are all mapped to 0 and so on.

[0006] However, as already said, dithering is a known technique for avoiding losing amplitude resolution bits to truncation. It only works if the resolution is available before truncation, which is the present case (if more bits are used for degamma). Dithering can in principle bring back as many bits as those lost by truncation. However dithering noise frequency decreases, and therefore becomes more noticeable, with the number of dithering bits.

[0007] 1 bit of dithering corresponds to multiply the number of available output levels by 2, 2 bits of dithering multiply by 4, and 3 bits of dithering multiply by 8 the number of output levels.
The required amount of fractional bits mandatory to render the first input video level (1) is 10 bits since

and 0.00129 × 210 ≥1.

[0008] Cell-based dithering adds a dithering pattern that is defined for every cell of the panel and not for every pixel (3 cells) of this panel. A panel pixel is composed of three cells: red, green and blue. This has the advantage of rendering the dithering noise finer and thus less noticeable to the human viewer. The difference can directly be seen in Fig. 1.

[0009] The multi-mask dithering represents an improved version of the cell-based dithering by using different kinds of dithering functions depending of the fractional part to be rendered. For instance, for 3bit dithering able to render 8 different fractional parts of the value x, 8 different masks will be used (cf.EP 1 262 947) as described below:
x.000 -
mask 0
x.125 -
mask 1
x.250 -
mask 2
x.375 -
mask 3
x.500 -
mask 4
x.625 -
mask 5
x.750 -
mask 6
x.875 -
mask 7


[0010] Some examples of masks are given in the following table, wherein each frame or mask covers 4 X 4 = 16 cells.



[0011] These patterns have been chosen in order to reduce the size of the noisy static patterns, line flicker, and also the noise introduced by asymmetries between the different dithering patterns. The main advantage of the solution is that the masks are fix and do not depend on the video content of the picture. However, only 3 bits can be rendered, which corresponds to the minimum input value of 8 (all values between 0 and 8 are lost, as can be gathered from the above equation of the degamma function).

[0012] In contrast to dithering, error diffusion is a neighbourhood operation that quantizes the current pixel signal for example by keeping the integer part of the signal value) and then transfers the quantization error (fractional part) onto future pixels. Formally, Floyd and Steinberg ("An adaptive algorithm for spatial greyscale" in Proc. Soc. Information Display, 1976, vol 17, no. 2, pp. 75-78) define the output pixel y[n] by adjusting and rounding the pixel signal, i.e. the input pixel x[n] such that: y[h]=int(x[n]+xe[n]) where xe[n] is the diffused error (fractional part) accumulated during previous iterations as

where ye [n] represents the various fractional parts such as ye[n] =(x[n]+ xe[n]) - y[n]

[0013] Although error-diffusion images are very pleasant to the eye (introduced noise being similar to natural video noise), the algorithm does generate some unwanted textures (depending on picture content) that can be very objectionable and that never happens with a matrix solution like the multi-mask dithering.

[0014] The error diffusion process itself consists of three steps. First, a modified input is formed as the sum of the original input value and the diffused past errors (located above and left of the current pixel). In the second step, this modified error is rounded to yield the output. As the last step, the quantization error (rest of fractional part) is calculated as the difference between the modified input and the final output. Then, this quantization error will be spread to the neighbouring pixels by weighting it with a coefficient that can be chosen in various ways.

[0015] Fig. 2 illustrates this principle. At the first stage of the example, the value of the current pixel is 4.5. Then, this value is rounded to 4 generating an error of 0.5. This error will be diffused on three neighboring pixels using three different coefficients (0.5 for the right pixel, 0.3 for the bottom right and 0.2 for the bottom one). Normally, the coefficients are chosen in order to keep the energy constant (sum of coefficient is 1). This is mandatory to keep a good stability in the picture. After these steps, the values of three pixels have changed:







[0016] Then, the process will continue with the current pixel having the value 5.1.

[0017] The main disadvantage of the concept is its dependency from the picture content. Indeed the spread error depends on the value of the current pixel and its effect is only visible on its neighbors and is thus picture dependent. Moreover, the rendition of very low levels is based on some spread pixels far from each other since the spread error is too small to have rapid effect. Finally the effect is more a noise on a low level than a real visible level.

[0018] On the one hand, there is a multi-mask cell-based matrix dithering able to render 3 bits of fractional part in a quite invisible way, on the other hand up to 10 bits are mandatory to have a greyscale quality similar to CRT standards. Moreover, the error diffusion alone is able to render more levels but in such a noisy way that the final picture quality is not enhanced as it could be: the results will be only good at a very long viewing distance that is not the main application for very large screens today.

[0019] A combination of error diffusion and multi-mask dithering might help to render more bits of fractional part if one can keep the major advantages of both concepts: quite invisible dithering pattern with more bits (8 bits will be studied as example in the following parts of this document).

[0020] A simple possibility for combining these algorithms is shown in Fig. 3

[0021] The general representation "8.8 bits" means 8-bit integer and 8-bit fractional part. Since the 8 bits of the fractional part shall be handled differently, they will be decomposed in the 3 MSBs followed by 5 LSBs described as "3.5". Finally, the 16-bits of information are described under the form 8.3.5 bits.

[0022] In the case of Fig. 3, the 8 bits of video information are forwarded to a degamma block 1. This block 1 will perform the quadratic degamma function with 16 bits resolution in order to deliver 8.3.5 bits of information. The 5 lowest bits will be diffused in block 2 following a standard error diffusion principle as explained before. Therefore, after this block 2, there are only 8.3 bits of information (5 LSBs being diffused before, symbolized by adder 3). The 3bits of the fractional part are used to select the appropriate mask 4 from the multi-mask dithering function 4, 5, which will be applied to the picture depending on the frame number, pixel position and colour (R, G or B). At this position, the output value of the mask is either 000 (corresponding to value "0") or 111 (corresponding to value "1") that is added to the current 8.3 bit value. After that a simple truncation 6 will deliver a standard 8-bit integer to the display 7.

[0023] The concept described here is simple and obvious. However, it does not work properly. Indeed, in this concept both ditherings are applied independently one after the other. This lies in some kind of interferences on the screen in the form of vertical or diagonal periodical structures. These periodical structures are quite annoying and disable a great part of the dithering function so that finally, the rendition of the fractional part does not achieve the 8 target bits.

[0024] In view of that it is the object of the present invention to provide a method and a device for processing video data which guarantee a better picture quality.

[0025] According to the present invention this object is solved by a method for processing video data for display on a display device having a plurality of luminous elements corresponding to the pixels of a picture, wherein the time of a video frame or field is divided into a plurality of sub-fields during which the luminous elements can be activated for light emission in small pulses corresponding to a sub-field code word of n bits used for encoding the p possible video levels lighting a pixel, comprising the steps of:

performing cell-based, pixel-based or multi-mask dithering for reducing a quantization error and performing an error diffusion also for reducing the quantization error, wherein error diffusion for a pixel or cell, being a luminous element for said pixel, is performed in dependency of a value of dithering for said pixel or cell.



[0026] Furthermore, there is provided a device for processing video data for display on a display device having a plurality of luminous elements corresponding to the pixels of a picture, wherein the time of a video frame or field is divided into a plurality of sub-fields during which the luminous elements can be activated for light emission in small pulses corresponding to a sub-field code word of n bits used for encoding the p possible video levels lighting a pixel, comprising: dithering means for performing cell-based, pixel-based or multi-mask dithering in order to reduce a quantization error and diffusion means for performing error diffusion also in order to reduce the quantization error, wherein an output signal of said dithering means is fed to said diffusion means so that error diffusion for a pixel or cell, being a luminous element for said pixel, is performable in dependency of said output signal.

[0027] Advantageously, the error diffusion is applied under the control of the cell-based pixel-based or multi-mask dithering. Thus, a annoying artefacts can be avoided.

[0028] Preferably, the error diffusion for a pixel or a cell is performed if the value of dithering is "1". Since the values of dithering usually are "0" or "1" these values can also be used as switching bits.

[0029] The code words should be processed with more than n bits, so that fractional parts of code words can be formed, and the error diffusion is applicable on all bits of a fractional part. However, best results are obtained, if the result of a cell-based, pixel-based or multi-mask dithering is used as switching parameter for switching on and off the error diffusion.

[0030] Particularly, the highest bit or a couple of the highest bits of a fractional part may be used for determining the value of the cell-based, pixel-based or multi-mask dithering. Thus, only larger quantization errors initiate an error diffusion, whereas the error diffusion for smaller quantization errors may be accumulated for one cell or one pixel. Thus, error diffusion can be performed depending on the content of the picture. If an error is not diffused it may be stored for a future pixel.

[0031] The error to be added to a pixel or a cell by error diffusion may be limited to a maximum error. Preferably, such maximum error is 1. This limitation guarantees that the error does not increase unduly.

Drawings



[0032] The present invention will now be described in more detail along with the following drawings, showing in:
Fig. 1
the principle of pixel-based and cell-based dithering;
Fig. 2
the principle of error diffusion;
Fig. 3
a block diagram of the combination of multi-mask dithering and error diffusion;
Fig. 4
a block diagram of an improved combination of multimask dithering and error diffusion according to a first embodiment of the present invention; and
Fig. 5
a block diagram of a second embodiment of the present invention

Exemplary embodiments



[0033] The main issue of combining the error diffusion with the multi-mask/cell-based dithering should be to achieve a rendition of more bits of fractional part while keeping the advantage of a structure of dithering similar to the multi-mask. According to the present invention this is achieved by a diffusion of all 8 bits of fractional part but the error will only be applied on cells having their multi-mask value at 1. In order to determine the value of the multi-mask, the three highest bits of the fractional part will be chosen. This concept is illustrated in Fig. 4.

[0034] The input 8 bits of video information are forwarded to the degamma block 1. This block 1 will perform the quadratic function with 16 bits resolution in order to deliver 8.3.5 bits of information. The complete information is input into an error diffusion block 2 thereby passing an adder 3'. The 3 MSBs of the fractional part of the output from the degamma block 1 are used to define the output of the multi-mask dithering 4', this being 1 or 0. A swith 8 is controlled by the output of the multi-mask block 4'. In case of 1, the error diffused to this pixel is accepted and added by adder 3' to the pixel before going to the error diffusion block 2. If the output of the multi-mask 4' is 0, the diffused error is refused, and will be re-injected via swith 8 inside the error diffusion block 2. The resulting diffused error xe' and the fractional part ye' are:



[0035] The error diffusion will only be applied in a multi-mask matrix manner keeping all advantages of this concept. On the other hand, the value applied in a multi-mask manner, is 8-bit fractional and follows the error diffusion principle. As illustrated in Fig. 4 the error diffused can be up to 1.8 bits since the error can be accumulated on a higher number of iterations (if often rejected).

[0036] An improved embodiment of the invention is shown in Fig. 5. Since the error diffused to one pixel can be, depending on the multi-mask value, re-injected inside the error diffusion block 2, it is easy to understand that the error can increase a lot. Therefore, an improvement of the concept will be to limit the error that can be added to the current pixel to a maximum by a limiter 9. The rest being re-injected again inside the error diffusion block as shown in Figure 5.

[0037] The updated concept is similar to the previous one, excepted the fact that the error added to the pixel is limited to 1.0, the rest being re-injected again in the error diffusion block 2 as described below:



[0038] The above described embodiments are directed to a PDP. However, any other kind of digital display may profit from the present invention.


Claims

1. Method for processing video data for display on a display device (7) having a plurality of luminous elements corresponding to the pixels of a picture, wherein the time of a video frame or field is divided into a plurality of sub-fields during which the luminous elements can be activated for light emission in small pulses corresponding to a sub-field code word of n bits used for encoding the p possible video levels lighting a pixel, comprising the steps of:

- performing cell-based, pixel-based or multi-mask dithering (4') for reducing a quantization error and

- performing an error diffusion (2) also for reducing the quantization error,


characterized in that

- error diffusion (2) for a pixel or cell, being a luminous element for said pixel, is performed in dependency of a value of dithering (4') for said pixel or cell.


 
2. Method according to claim 1, wherein error diffusion (2) for a pixel or cell is performed if said value of dithering (4') is "1".
 
3. Method according to one of the preceding claims, wherein the code words are processed with more than n bits, so that values lying between the values of rendered code words can be formed, and the error diffusion (2) is applied on all bits of each of these values.
 
4. Method according to claim 3, wherein the highest bit or a couple of the highest bits of a fractional part is/are used for determining the value of said dithering.
 
5. Method according to one of the preceding claims, wherein a diffused error is accumulated for one cell or pixel.
 
6. Method according to one of the preceding claims, wherein the error to be added to a pixel or cell by error diffusion (2) is limited to a maximum error.
 
7. Method according to claim 6, wherein the maximum error is 1.
 
8. Device for processing video data for display on a display device (7) having a plurality of luminous elements corresponding to the pixels of a picture, wherein the time of a video frame or field is divided into a plurality of sub-fields during which the luminous elements can be activated for light emission in small pulses corresponding to a sub-field code word of n bits used for encoding the p possible video levels lighting a pixel, comprising:

- dithering means (4') for performing cell-based, pixel-based or multi-mask dithering in order to reduce a quantization error and

- diffusion means (2) for performing error diffusion also in order to reduce the quantization error


characterized in that

- an output signal of said dithering means (4') is fed to said diffusion means (2) so that error diffusion for a pixel or cell, being a luminous element for said pixel, is performable in dependency of said output signal.


 
9. Device according to claim 8, wherein error diffusion for a pixel or cell is performed if said value of dithering is "1".
 
10. Device according to claim 8 or 9, wherein a diffused error is accumulatable for one cell or pixel.
 




Drawing



















Search report