This application claims the benefit, under 35 U.S.C. §119, of European Patent Application No. 07301120.7 filed Jun. 18, 2007.
The invention relates to a method and a device for encoding the video level of a pixel of a picture into a subfield code word in a display device. It can be applied to every display device using a PWM (Pulse Width Modulation) technology and subfields for displaying video picture.
The sub-field encoding part of a display using PWM technology is one of the most important parts of the display device since the encoding is responsible of the gray-scale portrayal (linearity and level of noise dithering) and of the motion rendition (level of false contour).
The goal of the sub-field encoding is to fill up a sub-fields memory with subfields data. The subfield data of a pixel is a code word wherein each bit is representative of the state, “ON” or “OFF”, of this pixel during a subfield of the video frame. This sub-fields memory will be read during the next frame, sub-field by sub-field, whereas it is written pixel by pixel. This information is used directly to control the display device.
The subfield encoding step is generally done after a degamma function as shown in
In a standard approach, the encoding step is implemented by using a simple look-up table. A subfield code word is associated with each video level.
Some problems can not be solved at all or in a simple way when using this standard approach. This is the case of line load effect problem where the light emitted by a current pixel for a given video level can vary according to the load of the line of pixels to which the current pixel belongs. This problem can not be solved completely by using the standard approach. It is the same for the linearity problem when an average power level is controlled in the display device.
The line load effect is illustrated by
EP 1 768 088 discloses a recursive method to compute the sub-field code word from the bit associated with the most significant sub-field (sub-field having the highest weight) to the bit associated with the least significant sub-field (sub-field having the lowest weight). If the video level to be encoded is greater than or equal to a threshold associated with the sub-field, a state “ON” (or “1”) is allocated to the bit corresponding to this sub-field. The threshold associated with a given sub-field is the sum of the weights of the sub-field having a lower weight than the considered sub-field plus one.
This recursive method has a contour noise level similar to a standard coding without false contour optimization. This is due to the fact that each sub-field has a hard switch function i.e. a sub-field is not used at all if the video level to be encoded is lower than a threshold and is used completely for all the video levels equal to or greater than this threshold.
It is an object of the present invention to disclose a method adapted to reduce the false contour effects.
The basic idea of the invention is to make the sub-fields transitions smoother. This means that from a certain level the sub-field starts to be progressively used.
The invention relates to a method for encoding a video level of a pixel of a picture to be displayed by a display device into a code word called subfield code word, a weight being associated with each bit of the subfield code word, each bit having a state “ON” or “OFF” and causing light emission during an own period, called subfield, of a video frame when its state is “ON”, the duration of the light emission period for said bit being proportional to the weight associated with said bit, wherein at least two bits of the subfield code word are computed recursively one after the other from the bit having the most significant weight to the bit having the least significant weight. According to the invention, for determining the state of at least one bit of said at least two bits of subfield code word, the method comprises the steps of
Preferably, according to a given predetermined criteria, the probability to allocate a state “ON” to said bit is equal to the relative distance between the video level to be encoded by said bit and the following bits of the subfield code word and the first threshold associated with said bit.
In a first embodiment, the video level to be encoded by said bit and the followings bits of the sub-field code word for a current pixel of the picture to be displayed is equal to the video level to be encoded for said current pixel minus the video level already encoded by the preceding bits of said sub-field code word.
In a second embodiment, the video level to be encoded by said bit, called current bit, and the followings bits of the sub-field code word for a current pixel of the picture to be displayed is determined by the steps of:
Since the computation of the sub-field code word is carried out from the bit having the most significant weight to the bit having the least significant weight, the preceding bits designate the bits having a more significant weight than the current bit and the following bits designate the bits having a less significant weight than the current bit.
The invention concerns also a device for implementing this method. For determining the state of a current bit of said subfield code word, this device comprises
To compute the video level to be encoded by the bits of the subfield code word following the current bit in accordance with the method of the first embodiment, the device further comprises
To compute the video level to be encoded by the bits of the subfield code word following the current bit in accordance with the method of the second embodiment, the device further comprises
Exemplary embodiments of the invention are illustrated in the drawings and are explained in more detail in the following description. In the drawings:
The basic idea of the invention is to make the sub-fields transitions smoother. This means that, from a certain level, the sub-field starts to be used progressively.
This is made possible by the help of specific sub-fields called adaptive sub-fields; the weight of each sub-field is split into two components: a fixed part and an adaptive part, the sum of the fixed part and the adaptive part being equal to the sub-field weight. For the adaptive part, soft switches are introduced, which are based on a dithering scheme. Two switching values, one low switching value and one high switching value, are defined for each sub-field. These values are thresholds which define a soft switch. The low switching value is a threshold from which the sub-field starts to be partly used (i.e. all video levels smaller than this threshold do not use the corresponding sub-field at all) while the high switching value is a threshold from which the sub-field is fully used (i.e. all video levels bigger than this threshold use the corresponding sub-field). With this concept, the bigger the adaptive parts are, the less visible the contour noise are.
The invention will be now described for a 10 sub-fields coding using the following weights:
For these subfields, the maximal value of the adaptive part, the fixed part, the low switching value and the high switching value can be defined as follows:
The adaptive part indicated in this table is the maximum value of the adaptive part that can be used. The adaptive part has a variable size depending on the video level to be encoded and goes from 0 to the maximum value indicated in this table. Each adaptive part is computed recursively from the most significant sub-field (SF10) to the least significant sub-field (SF1). The maximal adaptive part is equal to the difference between the high switching value and the low switching value.
The idea of the invention is illustrated by
In this latter case (video level between the low and the high switching values), the probability of switching the sub-field on is selected as equal to the relative distance of the video level to the low switching value. This means that this probability is nil if the video level is equal to the low switching value and that this probability is maximal (i.e. equal to 1) if the video level is equal to the high switching value. This probability is equal to ½ for the mean value of the switching values. The probability of switching on the sub-field is rendered by dithering. This means that every sub-field can use dithering but these dithering functions should preferably not be correlated in order to reduce the dithering visibility. So if a pattern dithering is foreseen, only the most significant used sub-field should advantageously use it. The other sub-fields should advantageously use random dithering.
Thus, according to the invention, for a given sub-field, if the video level to be encoded is smaller than the low switching value, then the adaptive part is equal to 0. If the video level to be encoded is greater than the high switching value, then the adaptive part is equal to the adaptive part value indicated in the previous table. In the other cases, the adaptive part is equal to the difference between the video level to be encoded and the low switching value.
The invention and the mechanism of adaptive sub-fields will be now described by a first basic encoding example. In this example, we want to encode the first line of the picture of
In
A video level of 200 is to be encoded for the white pixels of the cross. This video level is encoded recursively from the last sub-field to the first sub-field. So, we start by the last sub-field which is the 10th sub-field.
First Recursive Step:
Since 200≧189 (189 is the high switching value of the 10th sub-field), the white pixels use the 10th sub-field and are encoded in X X X X X X X X X 1. X designates a bit not yet defined for the corresponding sub-field. 1 means that the corresponding sub-field is used (the cell emits light during this sub-field) and 0 means that the corresponding sub-field is not used. The adaptive part for the white pixels is equal to 14 because the video level to be encoded is greater than the high switching value. So the remaining video level to be encoded is equal to 200−14−66=120.
Second Recursive Step:
Since 116<120<126 (120 is lying in the soft switching part of the 9th sub-field), a part of the white pixels uses the 9th sub-field, while another part do not use it. So from now, two types of pixels have to be distinguished (more exactly, it should have been cells instead of pixels but it is simpler to use the word pixels): pixels A which uses the considered sub-field and pixels B that do not use it. The partition between pixels A and B is made by dithering. Since this is the first sub-field for which these pixels use dithering, this dithering can be a pattern dithering as mentioned before.
So 4 pixels over 10 white pixels
use this sub-field and 6 over 10 do not use it. This means that only 2 pixels over 10 use the 9th sub-field on the first line since only one half of the pixels are white pixels.
So 40% of white pixels (pixels A) are encoded in X X X X X X X X 1 1 and 60% of white pixels (pixels B) are encoded in X X X X X X X X 0 1.
The adaptive part of the white pixels (A and B) is equal to the difference between the video level to be encoded 120 and the low switching value; i.e. 4 (=120−116). So the remaining video level to be encoded for the pixels A is equal to 120−4−49=67 and the remaining video level to be encoded for the pixels B is equal to 120−4=116.
Third Recursive Step:
Pixels A:
Since 67≦74 (74 is the low switching value of the 8th sub-field), the pixels A do not use the 8th sub-field and are encoded in X X X X X X X 0 1 1. The adaptive part of these pixels is equal to zero and so the remaining video level to be encoded is still equal to 67.
Pixels B:
Since 116≧82 (82 is the high switching value of the 8th sub-field), the pixels B use the 8th sub-field and are encoded in X X X X X X X 1 0 1. The adaptive part for these pixels is equal to 8 and the remaining video level to be encoded for the pixels B is equal to 116−8−34=74. The repartition of the white pixels is always 40% pixels A, 60% pixels B.
Fourth Recursive Step:
Pixels A:
Since 67≧51 (51 is the high switching value of the 7th sub-field), the pixels A use the 7th sub-field and are encoded in X X X X X X 1 0 1 1. The adaptive part for these pixels is equal to 6 and the remaining video level to be encoded for the pixels A is equal to 67−6−23=38.
Pixels B:
Since 74≧51 (51 is the high switching value of the 7th sub-field), the pixels A use the 7th sub-field and are encoded in X X X X X X 1 1 0 1. The adaptive part for these pixels is equal to 6 and the remaining video level to be encoded for the pixels B is equal to 74−6−23=45.
Fifth Recursive Step:
Pixels A:
Since 38≧31 (=the high switching value of the 6th sub-field), the pixels A use the 6th sub-field, and so are encoded in X X X X X 1 1 0 1 1. The adaptive part is equal to 5 for these pixels, and so the video level to be encoded is equal to 38−5−14=19.
Pixels B:
Since 45≧31 (31 is the high switching value of the 6th sub-field), the pixels B use the 6th sub-field and are encoded in X X X X X 1 1 1 0 1. The adaptive part for these pixels is equal to 5 and the remaining video level to be encoded for the pixels B is equal to 45−5−14=26.
Sixth Recursive Step:
Pixels A:
Since 19≧18 (18 is the high switching value of the 5th sub-field), the pixels A use the 5th sub-field and are encoded in X X X X 1 1 1 0 1 1. The adaptive part of these pixels is equal to 4 and the remaining video level to be encoded for the pixels A is equal to 19−4−8=7.
Pixels B:
Since 26≧18 (18 is the high switching value of the 5th sub-field), the pixels B use the 5th sub-field and are encoded in X X X X 1 1 1 1 0 1. The adaptive part is equal to 4 for these pixels and the remaining video level to be encoded for the pixels A is equal to 26−4−8=14.
Seventh Recursive Step:
Pixels A:
Since 7≦7 (7 is the low switching value of the 4th sub-field), the pixels A do not use the 5th sub-field and are encoded in X X X 0 1 1 1 0 1 1, and the remaining video level to be encoded is still equal to 7.
Pixels B:
Since 14≧10 (10 is the high switching value of the 4th sub-field), the pixels B use the 4th sub-field and are encoded in X X X 1 1 1 1 1 0 1. The adaptive part is equal to 3 for these pixels and the remaining video level to be encoded for the pixels B is equal to 14−3−4=7.
Eighth Recursive Step:
Since 7≧5 (5 is the high switching value of the 3rd sub-field), all the white pixels use the 3rd sub-field and the pixels A are encoded in X X 1 0 1 1 1 0 1 1 while the pixels B are encoded in X X 1 1 1 1 1 1 0 1. The adaptive part is equal to 2 for all the white pixels and the remaining video level to be encoded is equal to 7−2−2=3.
Ninth Recursive Step:
Since 3≧3 (3 is the high switching value of the 2nd sub-field), all the white pixels use the 2nd sub-field and the pixels A are encoded in X 1 1 0 1 1 1 0 1 1 while the pixels B are encoded in X 1 1 1 1 1 1 1 0 1. The adaptive part is equal to 2 for all the white pixels and the remaining video level to be encoded is equal to 3−2−0=1.
Tenth and Last Recursive Step:
Since 1≧1 (1 is the high switching value of the 1st sub-field), all the white pixels use the 1st sub-field and the pixels A are encoded in 1 1 1 0 1 1 1 0 1 1 while the pixels B are encoded in 1 1 1 1 1 1 1 1 0 1.
So finally 40% of the white pixels (pixels A) are encoded in 1 1 1 0 1 1 1 0 1 1, and 60% of white pixels (pixels B) are encoded in 1 1 1 1 1 1 1 1 0 1. The pixels A have a luminance equal to 1+2+4+12+19+29+59+80=206 and the pixels B a luminance equal to 1+2+4+7+12+19+29+42+80=196. And so in average (for the white pixels), the level is equal to 40%*206+60%*196=200, which is exactly the video level to be rendered.
Some non-uniformities can be apparent due to a phenomenon called “line load effect”. Indeed, the luminance of a subfield can vary depending on the load of the line of pixels to be displayed. The load of a line is the number of pixels in a “ON” state in this line of pixels. So it is evaluated as soon as all required information is known. For example, it can be evaluated at the end of the loading of the picture in a memory of the display device but, in order to limit the time delay, it usually will be evaluated after each line. For a perfect display device where the luminance of a sub-field on a pixel is only a function of the pixel itself (display device without line load effect), the luminance of the pixel can be evaluated directly since the luminance of a sub-field is roughly the same for all pixels of the picture. For a display device where the luminance on a line is dependent on the load distribution on this line (e.g. line load effect), the luminance of a sub-field can only be evaluated when the sub-field has been encoded for the whole line. The line load effect can be seen as a luminance loss on a line. Nevertheless it is equivalent to say that when a sub-field is used on a whole line its luminance is decreased by n % in comparison to its luminance on a line where it is not used and to say that when the sub-field is not used on a line its luminance is increased by
compared to its luminance when it is used on the whole line. The reference luminance is different, but the effect is the same. For example, it is equivalent when a sub-field is used on a whole line its luminance is decreased by 20% in comparison to its luminance on a line where it is not used and to say that when the sub-field is not used on a line its luminance is increased by 25% compared to its luminance when it is used on the whole line. Thus, in the
In a second encoding example, the same picture (
So on the first line, the level 210 has to be encoded for the white pixels.
First Line, First Recursive Step:
Since 210≧189 (189 is the high switching value of the 10th sub-field), the white pixels use the 10th sub-field and are encoded in X X X X X X X X X 1. The adaptive part for the white pixels is equal to 14. The load of this sub-field on this line is equal to ½. So the luminance of the adaptive part is equal to 14·(1+(1−½)×0.25)=15.75 and the luminance of the fixed part is equal to 66·(1+(1−½)×0.25)=74.25. So the remaining video level to be encoded is equal to 210−15.75−74.25=120.
First Line, Second Recursive Step:
Since 116<120<126 (120 is lying in the soft switching part of the 9th sub-field), a part of the white pixels use the 9th sub-field while another part do not use it. So we have to distinguish the pixels which use it (pixels A) and the others (pixels B). The partition between pixels A and B is made by dithering. Since this is the first sub-field for which these pixels use dithering, this dithering can be a pattern dithering.
So 4 pixels over 10 white pixels
use this sub-field and 6 over 10 do not use it. This means that only 2 pixels over 10 use the 9th sub-field on the first line since only one half of the pixels are white pixels.
So 40% of white pixels (pixels A) are encoded in X X X X X X X X 1 1 and 60% of white pixels (pixels B) are encoded in X X X X X X X X 0 1.
The adaptive part of the white pixels (A and B) is equal to 4 (=120−116). The load of the 9th sub-field is equal to 20% (since only the pixels A use it). And so the luminance of the adaptive part for the white pixels is equal to 4·(1+(1−0.2)×0.25)=4.8, and the luminance of the fixed part is equal to 49·(1+(1−0.2)×0.25)=58.8. So the remaining video level to be encoded for the pixels A is equal to 120−4.8−58.8=56.4 and the remaining video level to be encoded for the pixels B is equal to 120−4.8=115.2.
First Line, Third Recursive Step:
Pixels A:
Since 56.4<74 (74 is the low switching value of the 8th sub-field), the pixels A do not use the 8th sub-field and are encoded in X X X X X X X 0 1 1. The adaptive part of these pixels is equal to zero and the remaining video level to be encoded is still equal to 56.4.
Pixels B:
Since 115.2≧82 (82 is the high switching value of the 8th sub-field), the pixels B use the 8th sub-field and are encoded in X X X X X X X 1 0 1. The adaptive part for these pixels is equal to 8.
The load of the 8th sub-field is equal to 30% (since only the pixels B use it). So the luminance of the adaptive part of the pixels B is equal to 8·(1+(1−0.3)×0.25)=9.4 and the luminance of the fixed part is equal to 34·(1+(1−0.3)×0.25)=39.95.
So the remaining video level to be encoded for the pixels B is equal to 115.2−9.4−39.95=65.85 and the repartition on the first line is: 50% black pixels, 20% pixels A, 30% pixels B.
First Line, Fourth Recursive Step:
Pixels A:
Since 56.4≧51 (51 is the high switching value of the 7th sub-field), the pixels A use the 7th sub-field and are encoded in X X X X X X 1 0 1 1. The adaptive part for these pixels is equal to 6.
Pixels B:
Since 65.85≧51 (51 is the high switching value of the 7th sub-field), the pixels A use the 7th sub-field and are encoded in X X X X X X 1 1 0 1. The adaptive part for these pixels is equal to 6.
The load of the 7th sub-field is equal to ½ since all white pixels (A and B) use it. So the luminance of the adaptive part of the pixels A and B (which is in this case the same) is equal to 6·(1+(1−½)×0.25)=6.75 and the luminance of the fixed part is equal to 23·(1+(1−½)×0.25)=25.875.
So the remaining video level to be encoded for the pixels A is equal to 56.4−6.75−25.875=23.775 and for the pixels B 65.85−6.75−25.875=33.225.
First Line, Fifth Recursive Step:
Pixels A:
Since 23.775<26 (26 is the low switching value of the 6th sub-field), the pixels A do not use the 6th sub-field and are encoded in X X X X X 0 1 0 1 1. The adaptive part is equal to zero for these pixels and so the remaining video level to be encoded is still equal to 23.775.
Pixels B:
Since 33.225≧31 (31 is the high switching value of the 6th sub-field), the pixels B use the 6th sub-field and are encoded in X X X X X 1 1 1 0 1. The adaptive part for these pixels is equal to 5.
The load of the 6th sub-field is equal to 30% since only the pixels B use it. So the luminance of the adaptive part of the pixels B is equal to 5·(1+(1−0.3)×0.25)=5.875 and the luminance of the fixed part is equal to 14·(1+(1−0.3)×0.25)=16.45. So the remaining video level to be encoded for the pixels B is equal to 33.225−5.875−16.45=10.9.
First Line, Sixth Recursive Step:
Pixels A:
Since 23.775≧18 (18 is the high switching value of the 5th sub-field), the pixels A use the 5th sub-field and are encoded in X X X X 1 0 1 0 1 1. The adaptive part of these pixels is equal to 4.
Pixels B:
Since 10.9<14 (14 is the low switching value of the 5th sub-field), the pixels B do not use the 5th sub-field and are encoded in X X X X 0 1 1 1 0 1. The adaptive part is equal to zero for these pixels and so the remaining video level to be encoded is still equal to 10.9.
The load of the 5th sub-field is equal to 20% since only the pixels A use it. So the luminance of the adaptive part of the pixels A is equal to 4·(1+(1−0.2)×0.25)=4.8 and the luminance of the fixed part is equal to 8·(1+(1−0.2)×0.25)=9.6. So the remaining video level to be encoded for the pixels A is equal to 23.775−4.8−9.6=9.375.
First Line, Seventh Recursive Step:
Pixels A:
Since 7<9.375<10 (9.375 is lying between the switching values of the 4th sub-field), a part of the pixels A use the 4th sub-field while another part do not use it. So we have to distinguish the pixels A which use it (pixels A1) and the others (pixels A2). The partition between pixels A1 and A2 is made by dithering. But since these pixels have already used dithering on one sub-field (the 9th), this dithering is advantageously not a pattern dithering but a random one (or error diffusion).
So 79.17% of the pixels A
use the 4th sub-field and 20.83% do not use it. So the pixels A1 are encoded in X X X 1 1 0 1 0 1 1 and the pixels A2 in X X X 0 1 0 1 0 1 1.
The adaptive part of the pixels A (A1 and A2) is equal to 2.375 (=9.375−7).
Pixels B:
Since 10.9≧10 (10 is the high switching value of the 4th sub-field), all the pixels B use the 4th sub-field and are encoded in X X X 1 0 1 1 1 0 1. The adaptive part is equal to 3 for these pixels.
The load of the 4th sub-field is equal to 45.83% since 79.17% of pixels A use it (this means 79.17%*20%=15.83% of the whole line) and all pixels B (this means 30% of the whole line). So the luminance of the adaptive part of the pixels A (A1 and A2) is equal to 2.375·(1+(1−0.4583)×0.25)=2.697, the luminance of the adaptive part of the pixels B is equal to 3·(1+(1−0.4583)×0.25)=3.406 and the luminance of the fixed part is equal to 4·(1+(1−0.4583)×0.25)=4.542. So the remaining video level to be encoded for the pixels A1 is equal to 9.375−2.697−4.542=2.137, the remaining video level to be encoded for the pixels A2 is equal to 9.375−2.697=6.678 and the remaining video level to be encoded for the pixels B is equal to 10.9−3.406−4.542=2.952.
The repartition on the first line is: 50% black pixels, 15.83% pixels A1, 4.17% pixels A2 and 30% pixels B.
First Line, Eighth Recursive Step:
Pixels A1:
Since 2.137<3 (3 is the low switching value of the 3rd sub-field), the pixels A1 do not use the 3rd sub-field and are encoded in X X 0 1 1 0 1 0 1 1. The adaptive part is equal to zero for these pixels and the remaining video level to be encoded is still equal to 2.137.
Pixels A2:
Since 6.678≧5 (5 is the high switching value of the 3rd sub-field), the pixels A2 use the 3rd sub-field and are encoded in X X 1 0 1 0 1 0 1 1. The adaptive part is equal to 2 for these pixels.
Pixels B:
Since 2.952<3 (3 is the low switching value of the 3rd sub-field), the pixels B do not use the 3rd sub-field and are encoded in X X 0 1 0 1 1 1 0 1. The adaptive part is equal to zero for these pixels and so the remaining video level to be encoded is still equal to 2.952.
The load of the 3rd sub-field is equal to 4.17% since only the pixels A2 use it. So the luminance of the adaptive part of the pixels A2 is equal to 2·(1+(1−0.0417)×0.25)=2.479 and the luminance of the fixed part is equal to 2·(1+(1−0.0417)×0.25)=2.479. So the remaining video level to be encoded for the pixels A2 is equal to 6.678−2.479−2.479=1.72.
First Line, Ninth Recursive Step:
Pixels A1:
Since 1<2.137<3 (2.137 is lying between the switching values of the 2nd sub-field), a part of the pixels A1 use the 2nd sub-field while another part do not use it. So we have to distinguish the pixels A1 which use it (pixels A11) and the others (pixels A12). The partition between pixels A11 and A12 is made by dithering. But since these pixels have already used dithering on other sub-fields, this dithering is advantageously not a pattern dithering and is a random one (or error diffusion).
So 56.85% of the pixels A1
use the 2nd sub-field and 43.15% do not use it. So the pixels A11 are encoded in X 1 0 1 1 0 1 0 1 1 and the pixels A12 in X 0 0 1 0 1 0 1 1.
The adaptive part of the pixels A1 (A11 and A12) is equal to 1.137 (=2.137−1).
Pixels A2:
Since 1<1.72<3 (1.72 is lying between the switching values of the 2nd sub-field), a part of the pixels A2 use the 2nd sub-field while another part do not use it. So we have to distinguish the pixels A2 which use it (pixels A21) and the others (pixels A22). The partition between pixels A21 and A22 is made by dithering. But since these pixels have already used dithering on other sub-fields, this dithering is advantageously not a pattern dithering but is a random one (or error diffusion).
So 36% of the pixels A2
use the 2nd sub-field and 64% do not use it. So the pixels A21 are encoded in X 1 1 0 1 0 1 0 1 1 and the pixels A22 in X 0 1 0 1 0 0 1 1.
The adaptive part of the pixels A1 (A11 and A12) is equal to 0.72 (=1.72−1).
Pixels B:
Since 1<2.952<3 (2.952 is lying between the switching values of the 2nd sub-field), a part of the pixels B use the 2nd sub-field while another part do not use it. So we have to distinguish the pixels B which use it (pixels B1) and the others (pixels B2). The partition between pixels B1 and B2 is made by dithering. But since these pixels have already used dithering on other sub-fields, this dithering is advantageously not a pattern dithering but is a random one (or error diffusion).
So 97.6% of the pixels B use the 2nd sub-field and 2.4% do not use it. So the pixels B1 are encoded in X 1 0 1 0 1 1 1 0 1 and the pixels B2 in X 0 0 1 0 1 1 1 0 1.
The adaptive part of the pixels B (B1 and B2) is equal to 1.952 (=2.952−1). The repartition on the first line is: 50% black pixels, 9% pixels A11, 6.83% pixels A12, 1.5% pixels A21, 2.67% pixels A22, 29.28% pixels B1 and 0.72% pixels B2.
The load of the 2nd sub-field is equal to 39.78% since the pixels A11, A21 and B1 use it. So the luminance of the adaptive part of the pixels A1 is equal to 1.137·(1+(1−0.3978)×0.25)=1.308, the luminance of the adaptive part of the pixels A2 is equal to 0.72·(1+(1−0.3978)×0.25)=0.828, the luminance of the adaptive part of the pixels B is equal to 1.952·(1+(1−0.3978)×0.25)=2.246 and the luminance of the fixed part is equal to 0 (for this sub-field there is no fixed part). So the remaining video level to be encoded for the pixels A11 is equal to 2.137−1.308=0.829, for the pixels A12: 2.137−1.308=0.829, for the pixels A21: 1.72−0.828=0.892, for the pixels A22: 1.72−0.828=0.892, for the pixels B1: 2.952−2.246=0.706 and for the pixels B2: 2.952−2.246=0.706.
First Line, Tenth Recursive Step:
Since all the remaining video levels to be encoded for the white pixels are all comprised between the switching values of the first pixel (0 and 1), they all need to use dithering.
Pixels A11:
Since 0<0.829<1 (0.829 is lying between the switching values of the 1st sub-field), a part of the pixels A1 use the 1st sub-field while another part do not use it. So we have to distinguish the pixels A11 which use it (pixels A111) and the others (pixels A112). The partition between pixels A111 and A112 is made by dithering. But since these pixels have already used dithering on other sub-fields, this dithering is advantageously not a pattern dithering and is a random one (or error diffusion).
So 82.9% of the pixels A11
use the 1st sub-field and 17.1% do not use it. So the pixels A111 are encoded in 1 1 0 1 1 0 1 0 1 1 and the pixels A112 in 0 1 0 1 1 0 1 0 1 1.
The adaptive part of the pixels A11 (A111 and A112) is equal to 0.829 (=0.829−0).
Pixels A12:
Since 0<0.829<1 (0.829 is lying between the switching values of the 1st sub-field), a part of the pixels A12 use the 1st sub-field while another part do not use it. So we have to distinguish the pixels A12 which use it (pixels A121) and the others (pixels A122). The partition between pixels A121 and A122 is made by dithering. But since these pixels have already used dithering on other sub-fields, this dithering is advantageously not a pattern dithering and is a random one (or error diffusion).
So 82.9% of the pixels A12
use the 1st sub-field and 17.1% do not use it. So the pixels A121 are encoded in 1 0 0 1 1 0 1 0 1 1 and the pixels A122 in 0 0 0 1 1 0 1 0 1 1.
The adaptive part of the pixels A12 (A121 and A122) is equal to 0.829 (=0.829−0).
Pixels A21:
Since 0<0.892<1 (0.892 is lying between the switching values of the 1st sub-field), a part of the pixels A21 use the 1st sub-field while another part do not use it. So we have to distinguish the pixels A21 which use it (pixels A211) and the others (pixels A212). The partition between pixels A211 and A212 is made by dithering. But since these pixels have already used dithering on other sub-fields, this dithering is advantageously not a pattern dithering and is a random one (or error diffusion).
So 89.2% of the pixels
use the 1st sub-field and 10.8% do not use it. So the pixels A211 are encoded in 1 1 1 0 1 0 1 0 1 1 and the pixels A212 in 0 1 1 0 1 0 1 0 1 1.
The adaptive part of the pixels A21 (A211 and A212) is equal to 0.892 (=0.892−0).
Pixels A22:
Since 0<0.892<1 (0.892 is lying between the switching values of the 1st sub-field), a part of the pixels A22 use the 1st sub-field while another part do not use it. So we have to distinguish the pixels A22 which use it (pixels A221) and the others (pixels A222). The partition between pixels A221 and A222 is made by dithering. But since these pixels have already used dithering on other sub-fields, this dithering is advantageously not a pattern dithering and is a random one (or error diffusion).
So 89.2% of the pixels
use 1st sub-field and 10.8% do not use it. So the pixels A221 are encoded in 1 0 1 0 1 0 1 0 1 1 and the pixels A222 in 0 0 1 0 1 0 1 0 1 1.
The adaptive part of the pixels A22 (A221 and A222) is equal to 0.892 (=0.892−0).
Pixels B1:
Since 0<0.706<1 (0.706 is lying between the switching values of the 1st sub-field), a part of the pixels B1 use the 1st sub-field while another part do not use it. So we have to distinguish the pixels B1 which use it (pixels B11) and the others (pixels B12). The partition between pixels B11 and B12 is made by dithering. But since these pixels have already used dithering on other sub-fields, this dithering is advantageously not a pattern dithering and is a random one (or error diffusion).
So 70.6% of the pixels
use 1st sub-field and 29.4% do not use it. So the pixels B11 are encoded in 1 1 0 1 0 1 1 1 0 1 and the pixels B12 in 0 1 0 1 0 1 1 1 0 1.
The adaptive part of the pixels B1 (B11 and B12) is equal to 0.706 (=0.706−0).
Pixels B2:
Since 0<0.706<1 (0.706 is lying between the switching values of the 1st sub-field), a part of the pixels B2 use the 1st sub-field while another part do not use it. So we have to distinguish the pixels B2 which use it (pixels B21) and the others (pixels B22). The partition between pixels B21 and B22 is made by dithering. But since these pixels have already used dithering on other sub-fields, this dithering is advantageously not a pattern dithering and is a random one (or error diffusion).
So 70.6% of the pixels
use the 1st sub-field and 29.4% do not use it. So the pixels B21 are encoded in 1 0 0 1 0 1 1 1 0 1 and the pixels B22 in 0 0 0 1 0 1 1 1 0 1.
The adaptive part of the pixels B2 (B21 and B22) is equal to 0.706 (=0.706−0).
Finally we get the following pixels categories for the first line:
The load of the 1st sub-field is equal to 38.02% since the pixels A11, A121, A211, A221, B11 and B21 use it.
The luminance of each sub-field on the first line can be evaluated
From these video levels, we can calculate back the luminance of each pixel category:
And so in average (for the white pixels), we get 210 for the white pixels on the first line.
On the middle line, without explaining in detail,
So the load and the luminance of the sub-fields are:
This means that the pixels have the following luminance:
So in average, the pixels of middle line have a luminance equal to 210.
So the recursive coding process is still correct, and at the same time the false contour effect is reduced.
Finally, the method of the invention can be summarized as shown in
A device 10 adapted for implementing the inventive method is proposed at
The recursive encoding circuit 100 comprises n encoding blocks, one for each subfield (n being the number of subfield). Each encoding block generates a bit of the sub-field code word. In the following description, each subfield is denoted SFi, i being the number of the subfield. SFn designates the subfield with the highest weight (also denoted most significant subfield) and SF1 designates the subfield with the lowest weight (also denoted least significant subfield). Each encoding block receives from the controller 200 the high switching value denoted HSVi and the low switching value denoted LSVi both associated with the subfield SFi, the fixed part FPi and the maximal adaptive part MaxAPi associated with the subfield SFi and a remaining video level RVi coming from the preceding encoding block or the degamma circuit and outputs a sub-field code bit Bi corresponding to the bit of sub-field code word associated with the subfield SFi. The bit Bi is stored in the subfields memory.
More particularly, the encoding block associated with the subfield SFn receives a video level coming from the degamma circuit and the values HSVn, LSVn, MaxAPn and FPn associated with the subfield SFn from the controller 200 and outputs a subfield code bit Bn and the remaining video level RVn to be encoded by the following encoding blocks. The encoding block associated with the subfield SFi, iε[2 . . . n−1] receives the remaining video level RVi+1 and the values HSVi, LSVi, MaxAPi and FPi associated with the subfield SFi from the controller 101 and outputs the subfield code bit Bi and the remaining video level RVi to be encoded by the following encoding blocks. The last encoding block associated with the subfield SF1 receives the remaining video level RV2 and the values HSV1, LSV1, MaxAP1 and FP1 and outputs the subfield code bit B1.
A possible schematic diagram of the encoding block associated with the subfield SFi, iε[2 . . . n], is shown at
an adder circuit 107i for adding the adaptive part APi outputted by the comparator circuit 103i to the video level outputted by the multiplication circuit 106i, and
The encoding block associated with the subfield SF1 is little bit different from the other ones. A possible schematic diagram of this block is shown at
For implementing the second embodiment of the invention, the block diagram of
The encoding block associated with the subfield SF1 is identical to the block shown at
The different line memories of the device can be combined in one single memory. Some of these separate circuits can also be grouped together. Furthermore the recursive coding can be applied for coding only significant bits of the sub-field code word. That means that the embodiments described here are specified as examples and a person skilled in the art can realize other embodiments of the invention which remain within the scope of the invention as specified in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
07301120 | Jun 2007 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
6396508 | Noecker | May 2002 | B1 |
6559816 | Koo et al. | May 2003 | B1 |
7345682 | Honda et al. | Mar 2008 | B2 |
7804509 | Thebault et al. | Sep 2010 | B2 |
20030137473 | Weitbruch et al. | Jul 2003 | A1 |
20080204372 | Correa et al. | Aug 2008 | A1 |
Number | Date | Country |
---|---|---|
1 426 915 | Jun 2004 | EP |
1426915 | Sep 2004 | EP |
1 768 088 | Mar 2007 | EP |
1768088 | Mar 2007 | EP |
2001083929 | Mar 2001 | JP |
2005031467 | Feb 2005 | JP |
2005128133 | May 2005 | JP |
2007086788 | Apr 2007 | JP |
Number | Date | Country | |
---|---|---|---|
20080310824 A1 | Dec 2008 | US |