Device and method for processing an image to be displayed with a reduced number of colors
View Patent ↗A method and a device for processing an image to be displayed with a reduced number n of color components are disclosed. The method comprises, for at least one of the color components, a reduction operation that is carried out by means of a dynamic round off dependent on the position (x, y) of the pixel to display. Thus, in a very simple way, image processing preventing the occurrence of artifacts, flickering or other flaws that the reduction of the number of colors would inevitably produce, can be realized.
1. A method for processing an image meant to be displayed with a reduced number n of color components, the method comprising:
coding each one of n color components; and
reducing at least one of the n color components, such reduction being carried out by means of a dynamic round off based on a set of thresholds that are selected by means of a sample counter,
wherein the dynamic round off is set by means of a set of three thresholds ¼, ½ and ¾ that are successively used in the reduction operation for each one of the color components.
2. The method according to claim 1 , wherein the distribution of the thresholds is symmetrical with respect to the value 0.5.
3. The method according to claim 1 , wherein the thresholds are fractions of two raised to a power.
4. The method according to claim 1 , wherein the order of use of the three thresholds is fixed in order to encourage a direction close to 45 degrees on the image display system.
5. A device for processing an image with color reduction on a group of n color components, the device comprising: means for coding each of n color components; and means for reducing at least one of the color components by means of a dynamic round based on a set of threshold that's are selected by means of a sample counter wherein the dynamic round off is set by means of a set of three thresholds ¼, ½ and ¾ wherein each threshold is successively used in the reduction operation for each considered one of the color components.
6. The device according to claim 5 , wherein a distribution of the set of thresholds is symmetrical with respect to the value 0.5.
7. The device according to claim 5 , wherein the order of use of thresholds of the set of three thresholds is fixed in order to encourage a direction close to 45 degrees on an image display system.
8. The device according to claim 5 , wherein the thresholds are fractions of two raised to a power.
9. An image display system, comprising:
a memory;
an image processing circuit, communicatively coupled with the memory;
means, communicatively coupled with the image processing circuit, for coding each of n color components of an image; and
means, communicatively coupled with the image processing circuit, for reducing at least one of the color components by means of a dynamic round off based on a set of thresholds which are selected by means of a sample counter, wherein the dynamic round off is set by means of a set of three thresholds ¼, ½ and ¾ that are successively used in the reduction operation for each considered one of the color components.
10. The system of claim 9 , wherein a distribution of the set of thresholds is symmetrical with respect to the value 0.5.
11. The system of claim 9 , wherein the order of use of three thresholds of the set of thresholds is fixed in order to encourage a direction close to 45 degrees on the image display system.
12. The system of claim 9 , wherein each threshold of the set of thresholds is a fraction of two raised to a power.