EP1619651A1 - Method and device for processing video data by combining error diffusion and dithering - Google Patents
Method and device for processing video data by combining error diffusion and dithering Download PDFInfo
- Publication number
- EP1619651A1 EP1619651A1 EP04291878A EP04291878A EP1619651A1 EP 1619651 A1 EP1619651 A1 EP 1619651A1 EP 04291878 A EP04291878 A EP 04291878A EP 04291878 A EP04291878 A EP 04291878A EP 1619651 A1 EP1619651 A1 EP 1619651A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- pixel
- dithering
- error
- cell
- error diffusion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2007—Display of intermediate tones
- G09G3/2059—Display of intermediate tones using error diffusion
- G09G3/2062—Display of intermediate tones using error diffusion using error diffusion in time
- G09G3/2066—Display of intermediate tones using error diffusion using error diffusion in time with error diffusion in both space and time
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2007—Display of intermediate tones
- G09G3/2059—Display of intermediate tones using error diffusion
- G09G3/2062—Display of intermediate tones using error diffusion using error diffusion in time
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0247—Flicker reduction other than flicker reduction circuits used for single beam cathode-ray tubes
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/2007—Display of intermediate tones
- G09G3/2044—Display of intermediate tones using dithering
- G09G3/2051—Display of intermediate tones using dithering with use of a spatial dither pattern
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/28—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using luminous gas-discharge panels, e.g. plasma panels
- G09G3/288—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using luminous gas-discharge panels, e.g. plasma panels using AC panels
Definitions
- 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.
- 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.
- 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.
- 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.
- PWM pulse width modulation
- 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).
- 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.
- 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.
- 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.
- 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.
- 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:
- 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.
- Floyd and Steinberg An adaptive algorithm for spatial greyscale
- y [ h ] int(x [ n ] +x e [ n ] )
- 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.
- Fig. 2 illustrates this principle.
- 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.
- 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.
- 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).
- 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.
- 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).
- 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.
- a simple truncation 6 will deliver a standard 8-bit integer to the display 7.
- 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:
- the error diffusion is applied under the control of the cell-based pixel-based or multi-mask dithering.
- a annoying artefacts can be avoided.
- 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.
- 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.
- 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.
- the error diffusion for smaller quantization errors may be accumulated for one cell or one pixel.
- 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.
- the error to be added to a pixel or a cell by error diffusion may be limited to a maximum error.
- a maximum error is 1. This limitation guarantees that the error does not increase unduly.
- 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.
- 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.
- the diffused error is refused, and will be re-injected via swith 8 inside the error diffusion block 2.
- the error diffusion will only be applied in a multi-mask matrix manner keeping all advantages of this concept.
- 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).
- FIG. 5 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.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Transforming Electric Information Into Light Information (AREA)
Abstract
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
- 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.
- 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.
- 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 - 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.
- 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.
- 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:
- 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.
- 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 - 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.
- 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 -
- 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).
- 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]+x e [n]) where xe [n] is the diffused error (fractional part) accumulated during previous iterations as
- 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.
- 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.
- 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:
- Then, the process will continue with the current pixel having the value 5.1.
- 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.
- 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.
- 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).
- A simple possibility for combining these algorithms is shown in Fig. 3
- 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.
- In the case of Fig. 3, the 8 bits of video information are forwarded to a
degamma block 1. Thisblock 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 inblock 2 following a standard error diffusion principle as explained before. Therefore, after thisblock 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 theappropriate mask 4 from themulti-mask dithering function simple truncation 6 will deliver a standard 8-bit integer to thedisplay 7. - 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
- 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.
- The
input 8 bits of video information are forwarded to thedegamma block 1. Thisblock 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 anerror diffusion block 2 thereby passing an adder 3'. The 3 MSBs of the fractional part of the output from thedegamma block 1 are used to define the output of the multi-mask dithering 4', this being 1 or 0. Aswith 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 theerror diffusion block 2. If the output of the multi-mask 4' is 0, the diffused error is refused, and will be re-injected viaswith 8 inside theerror diffusion block 2. The resulting diffused error xe' and the fractional part ye' are: - 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).
- 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 alimiter 9. The rest being re-injected again inside the error diffusion block as shown in Figure 5. -
- The above described embodiments are directed to a PDP. However, any other kind of digital display may profit from the present invention.
Claims (10)
- 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. - Method according to claim 1, wherein error diffusion (2) for a pixel or cell is performed if said value of dithering (4') is "1".
- 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.
- 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.
- Method according to one of the preceding claims, wherein a diffused error is accumulated for one cell or pixel.
- 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.
- Method according to claim 6, wherein the maximum error is 1.
- 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. - Device according to claim 8, wherein error diffusion for a pixel or cell is performed if said value of dithering is "1".
- Device according to claim 8 or 9, wherein a diffused error is accumulatable for one cell or pixel.
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP04291878A EP1619651A1 (en) | 2004-07-23 | 2004-07-23 | Method and device for processing video data by combining error diffusion and dithering |
EP20050106222 EP1619649B1 (en) | 2004-07-23 | 2005-07-07 | Method and device for processing video data by combining error diffusion and another dithering |
KR1020050065710A KR20060053933A (en) | 2004-07-23 | 2005-07-20 | Method and device for processing video data by combining error diffusion and another dithering |
MXPA05007706A MXPA05007706A (en) | 2004-07-23 | 2005-07-20 | Method and device for processing video data by combining error diffusion and another dithering. |
US11/186,471 US7738719B2 (en) | 2004-07-23 | 2005-07-21 | Method and device for processing video data by combining error diffusion and another dithering |
JP2005212923A JP5074675B2 (en) | 2004-07-23 | 2005-07-22 | Video data processing method and apparatus by combination of error diffusion and other dithering |
CNB2005100849052A CN100573632C (en) | 2004-07-23 | 2005-07-25 | By the method and apparatus of combined error diffusion with another dithering process video data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP04291878A EP1619651A1 (en) | 2004-07-23 | 2004-07-23 | Method and device for processing video data by combining error diffusion and dithering |
Publications (1)
Publication Number | Publication Date |
---|---|
EP1619651A1 true EP1619651A1 (en) | 2006-01-25 |
Family
ID=34931280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP04291878A Withdrawn EP1619651A1 (en) | 2004-07-23 | 2004-07-23 | Method and device for processing video data by combining error diffusion and dithering |
Country Status (2)
Country | Link |
---|---|
EP (1) | EP1619651A1 (en) |
CN (1) | CN100573632C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120114039A1 (en) * | 2010-11-09 | 2012-05-10 | Sony Computer Entertainment Inc. | Video coding methods and apparatus |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4549418B2 (en) * | 2008-03-04 | 2010-09-22 | シャープ株式会社 | Image processing apparatus, image processing method, image forming apparatus, program, and recording medium |
CN105208363B (en) * | 2015-09-17 | 2018-02-09 | 暴风集团股份有限公司 | Method to trembling the compensation of tone integral quantization in color space conversion |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6069609A (en) * | 1995-04-17 | 2000-05-30 | Fujitsu Limited | Image processor using both dither and error diffusion to produce halftone images with less flicker and patterns |
EP1262947A1 (en) * | 2001-06-01 | 2002-12-04 | Thomson Licensing S.A. | Method and apparatus for processing video picture data for a display device |
-
2004
- 2004-07-23 EP EP04291878A patent/EP1619651A1/en not_active Withdrawn
-
2005
- 2005-07-25 CN CNB2005100849052A patent/CN100573632C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6069609A (en) * | 1995-04-17 | 2000-05-30 | Fujitsu Limited | Image processor using both dither and error diffusion to produce halftone images with less flicker and patterns |
EP1262947A1 (en) * | 2001-06-01 | 2002-12-04 | Thomson Licensing S.A. | Method and apparatus for processing video picture data for a display device |
Non-Patent Citations (1)
Title |
---|
WEITBRUCH S ET AL: "NEW METACODE CODING CONCEPT FOR IMPROVING PDP GRAY-SCALE QUALITY", JOURNAL OF THE SOCIETY FOR INFORMATION DISPLAY, SOCIETY FOR INFORMATION DISPLAY, SAN JOSE, US, vol. 11, no. 3, 2003, pages 485 - 491, XP001180890, ISSN: 1071-0922 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120114039A1 (en) * | 2010-11-09 | 2012-05-10 | Sony Computer Entertainment Inc. | Video coding methods and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN100573632C (en) | 2009-12-23 |
CN1725278A (en) | 2006-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7738719B2 (en) | Method and device for processing video data by combining error diffusion and another dithering | |
US7312767B2 (en) | Method and device for compensating burn-in effects on display panels | |
KR100464528B1 (en) | Display driving method | |
EP1256924B1 (en) | Method and apparatus for processing video pictures | |
US20070030285A1 (en) | Method and device for processing video data for display on a display device | |
JP2006023754A (en) | Plasma display apparatus and image processing method thereof | |
US7742109B2 (en) | Adaptive noise reduction for digital display panels | |
US20100053200A1 (en) | Method and device for coding video levels in a plasma display panel | |
US7729557B2 (en) | Method and device for processing video data to be displayed on a display device | |
US20010005186A1 (en) | Method of and unit for displaying an image in sub-fields | |
EP1705631A2 (en) | Plasma display panel driving apparatus, signal processing method for plasma display panel and image display apparatus for plasma display panel | |
KR20070035885A (en) | Image processing method for plasma display panel | |
US7633468B2 (en) | Image processing apparatus and method of plasma display panel | |
JP2006065329A (en) | Dithering method and apparatus | |
KR101429130B1 (en) | Method and apparatus for processing video pictures | |
EP1619651A1 (en) | Method and device for processing video data by combining error diffusion and dithering | |
EP1619649B1 (en) | Method and device for processing video data by combining error diffusion and another dithering | |
JP4032737B2 (en) | Image processing device | |
US20060221239A1 (en) | Method and device for processing video data for display on a display device | |
EP1522964B1 (en) | Method for processing video pictures for false contours and dithering noise compensation | |
JP3518205B2 (en) | Image display device | |
KR100738816B1 (en) | Image Processing Device and Method for Plasma Display Panel | |
KR20070022596A (en) | Method and device for processing video data to be displayed on a display device | |
KR100625548B1 (en) | Image Processing Device and Method for Plasma Display Panel | |
KR100579933B1 (en) | Image processing device and method for plasma display panel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): 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 |
|
AX | Request for extension of the european patent |
Extension state: AL HR LT LV MK |
|
AKX | Designation fees paid | ||
REG | Reference to a national code |
Ref country code: DE Ref legal event code: 8566 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |
|
18D | Application deemed to be withdrawn |
Effective date: 20060726 |