This application claims priority of Japanese Patent Application No. 2015-128732, filed on Jun. 26, 2015, the disclosure which is incorporated herein by reference.
The present invention relates to a display panel driver, display device and display panel driving method, more particularly, to a display panel driver and display device adapted to color reduction and a display panel driving method suitably performed in the same.
A system including a display device is often required to reduce power consumption. Power consumption reduction is one of the most important issues especially in portable terminals, such as smart phones, tablets and PDAs (personal digital assistants), and therefore a display device incorporated in a portable terminal (e.g. a liquid crystal display device) is strongly desired to reduce power consumption.
To achieve power consumption reduction, a system including a display device, e.g. a portable terminal, may be placed in a low power consumption operation state (e.g. a standby state) in accordance with the necessity. In this case, the display device may stop operating, or perform an operation to show a simple display screen (e.g. a display screen only showing the present time).
The inventors are, however, considering that the usability of a system, e.g. a portable terminal, is enhanced if the system is capable of displaying an image with an improved image quality to some extent in a low power consumption state. For example, the usability of a portable terminal would be largely improved if the portable terminal is capable of display a wallpaper with an improved image quality to some extent when the portable terminal is placed in the standby state.
Accordingly, there is a need for a technique for displaying an image with an improved image quality with reduced power consumption.
The following is a list of prior arts which may be related to the present invention. Japanese Patent Application Publication No. 2010-74506 A discloses image processing in which image data of a block composed of 8×8 pixels are color-reduced (or compressed) to three or four-color images.
Japanese Patent Application Publication No. H09-270923 A discloses a binarization process in which a threshold value is determined by using values of a dither matrix and input data of a pixel of interest are compared with the threshold value.
Japanese Examined Patent Application Publication No. H06-50522 B2 discloses a technique in which one of four tables are selected by using lower two bits of a first graylevel signal as an address, and a second graylevel signal is generated by adding an amendment value contained in the selected table to the upper four bits.
Japanese Patent Gazette No. 3,125,560 B2 discloses a technique for obtaining a pseudo graylevel output, the technique involving separating an x-bit input signal into upper n bits (where n is the bit width of a display device) and lower m bits (m=x−n), transforming the lower m bits into an one-bit output through pseudo graylevel processing, and sequentially adding the one-bit output to the upper n bits.
Japanese Patent Gazette No. 4,601,279 B2 discloses a technique for achieving an image display with an improved image quality by using a frame rate control as well as a dithering process.
Japanese Patent Gazette No. 4,646,549 B2 discloses a technique of displaying an image corresponding to display data, wherein selected one of first and second operations is performed, the first operation including storing upper and lower bits of first image data as the display data in a display memory, and the second operation including storing upper bits of first and second image data as the display data in the display memory.
Japanese Patent Gazette No. 5,632,691 B2 discloses a technique in which the graylevel of each color is modified by uniformly performing a bit shift on RGB data to thereby adjust the brightness.
Accordingly, one objective of the present invention is to provide a technique for displaying a quality-improved image with reduced power consumption. A person skilled in the art would understand other objectives and new features of the present invention from the disclosure given below.
In one embodiment, a display panel driver is provided which drives a display panel which includes a plurality of source lines and a plurality of pixel columns each comprising a plurality of pixels arrayed in a first direction in which the source lines are extended, the pixels including subpixels respectively connected to associated one of the source lines. The display panel driver includes: a dithering section receiving first m-bit image data and generating second image data by performing dithering on the first image data with n-bit dither values, wherein m is an integer of three or more and n is an integer from 2 to m; and a driver circuit driving the plurality of source lines of the display panel in response to the second image data. The dither values are each selected from elements of a dither table, each of the elements is an n-bit value. In calculating the second image data corresponding to first pixels belonging to a first pixel column of the plurality of pixel columns, the dither values are selected from elements in a first column of the dither table in response to addresses of the first pixels. In calculating the second image data corresponding to second pixels belonging to a second pixel column adjacent to the first pixel column in a second direction perpendicular to the first direction, the dither values are selected from elements in a second column of the dither table in response to addresses of the second pixels. All the elements of the first column of the dither table belong to a half of the elements of the dither table having smaller values, and all the elements of the second column of the dither table belong to the other half of the elements of the dither table having larger values.
In another embodiment, a display panel driver is provided which drives a display panel including a plurality of pixels. The display panel driver includes: a dithering section receiving first m-bit image data and generating second image data by performing dithering on the first image data with n-bit dither values, wherein m is an integer of three or more and n is an integer from 2 to m; and a driver circuit driving the plurality of source lines of the display panel in response to the second image data. The dither values are each selected from elements of a dither table, each of the elements is an n-bit value. In calculating the second image data for the respective pixels of the display panel, the dither values are each selected from the elements of the dither table in response to addresses of the pixels. The frequency distribution of values of the elements of the dither table is uneven.
In still another embodiment, a display panel driver is provided which drives a display panel including a plurality of pixels each comprising a given number of subpixels. The display panel driver includes: a brightness calculation circuit generating m-bit corrected image data by performing a gamma correction on input image data, m being an integer three or more; a dithering section receiving the corrected image data and generating binary image data representing each of graylevels of the subpixels of the plurality of pixels as a first value or a second value, by performing dithering on the corrected image data with n-bit dither values, n being an integer from 2 to m; and a driver circuit driving the display panel in response to the binary image data.
The above-described display panel driver may be incorporated in a display device including a display panel.
The present invention allows displaying a quality-improved image with reduced power consumption.
The above and other advantages and features of the present invention will be more apparent from the following description taken in conjunction with the accompanied drawings, in which:
The invention will be now described herein with reference to illustrative embodiments. Those skilled in the art would recognize that many alternative embodiments can be accomplished using the teachings of the present invention and that the invention is not limited to the embodiments illustrated for explanatory purposed. It will be appreciated that for simplicity and clarity of illustration, elements in the Figures have not necessary drawn to scale. For example, the dimensions of some of the elements are exaggerated relative to other elements.
Various embodiments of the present invention will be described in the following. It should be noted that the same or similar elements may be denoted by the same or corresponding reference numerals in the disclosure given below.
The liquid crystal display panel 3 includes a display region 7 in which images are displayed, and a gate line driver circuit 8. Arranged in the display region 7 are a plurality of pixels 11, a plurality of gate lines 12 and a plurality of source lines 13. The gate line driver circuit 8 drives the gate lines 12 under a control by the controller driver 4. In the present embodiment, the gate line driver circuit 8 is formed on a glass substrate of the liquid crystal display panel 3 with a GIP (gate in panel) technique.
In the following description, an XY coordinate system is defined in the display region 7 of the liquid crystal display panel 3. The X-axis direction of the XY coordinate system is defined in the direction in which the gate lines 12 are extended and the Y-axis direction is defined in the direction in which the source lines 13 are extended. In the following, the position of each pixel 11 may be represented by addresses X and Y, where the address X specifies the X coordinate of the XY coordinate system and the address Y defines the Y coordinate.
The pixels 11 are arrayed in rows and columns in the display region 7. In the following, an array of pixels 11 arrayed in one column in the Y axis direction may be referred to as a pixel column. Although two pixel columns (more strictly, some of pixels 11 of the two pixel columns) are illustrated in
Each pixel 11 includes an R subpixel 14R, a G subpixel 14G and a B subpixel 14B, which display the red (R), green (G) and blue (B) colors, respectively. In the present embodiment, the R subpixels 14R of pixels 11 arrayed in the same pixel column are connected to the same source line 13. Similarly, the G subpixels 14G of pixels 11 arrayed in the same pixel column are connected to the same source line 13 and the B subpixels 14B of pixels 11 arrayed in the same pixel column are connected to the same source line 13. It should be noted that the R, G and B subpixels 14R, 14G and 14B may be collectively referred to as the subpixels 14 if the corresponding colors thereof are not distinguished.
In the present embodiment, the image data DIN received from the processor 2 are generated as data indicating the graylevel of each subpixel 14 with eight bits. This means that the number of allowed graylevels of the R, G and B subpixels 14R, 14G and 14B are 256 in the present embodiment, and the image data DIN represents the color of each pixel 11 with 24 bits. It should be noted however that the number of bits used to indicate the graylevel of each subpixel 14 of each pixel 11 is not limited to eight.
In the following, a part of image data DIN indicating the graylevel of an R subpixel 14R may be referred to as R data DINR. Similarly, a part of the image data DIN indicating the graylevel of a G subpixel 14G may be referred to as the G data DING and a part of the image data DIN indicating the graylevel of a B subpixel 14B may be referred to as the B data DINB.
The controller driver 4 operates as a display panel driver that drives the liquid crystal display panel 3 and also as a controller that performs various controls in the display device 1. First, the controller driver 4 drives the source lines 13 of the liquid crystal display panel 3 in response to the image data DIN and the control data DCTRL received from the processor 2. Furthermore, the controller driver 4 controls the backlight control IC 6 and the gate line driver circuit 8 in response to the control data DCTRL.
The backlight 5 is driven by the backlight control IC 6 to illuminate the liquid crystal display panel 3. The backlight control IC 6 drives the backlight 5 under a control of the controller driver 4. When driving the backlight 5, the backlight control IC 6 controls the brightness of the backlight 5 in response to a control signal received from the controller driver 4.
The command control circuit 21 forwards the image data DIN received from the processor 2 to the image memory 22. Additionally, the command control circuit 21 controls various circuits of the controller driver 4 in response to the control data DCTRL received from the processor 2. Examples of the controls performed by the command control circuit 21 are as follows: First, the command control circuit 21 generates an image processing control signal indicating the image processing to be performed by the image processing circuit 23. Second, the command control circuit 21 controls grayscale voltages generated by the grayscale voltage generator circuit 25. Third, the command control circuit 21 feeds commands and control parameters included in the control data DCTRL to the timing control circuit 27 to thereby control the timing control circuit 27. Furthermore, the command control circuit 21 controls the backlight control IC 6.
The image memory 22 temporarily stores therein the image data DIN received from the processor 2 through the command control circuit 21. In the present embodiment, the image memory 22 has a capacity enough to store image data DIN corresponding to one frame image. When V×H pixels 11 are provided in the display region 7 of the liquid crystal display panel 3 and each pixel 11 includes three subpixels 14, for example, image data DIN indicating the graylevels of V×H×3 subpixels 14 are stored in the image memory 22.
The image processing circuit 23 is responsive to the image processing control signal received from the command control circuit 21 for performing desired image processing on the image data DIN received from the image memory 22. To achieve image processing depending on the position of a target pixel (the pixel 11 of interest of the image processing of the image data DIN), the image processing circuit 23 receives address data indicating the addresses X and Y of the target pixel. The image data output from the image processing circuit 23 may be referred to as processed image data DOUT, hereinafter. Also, parts of the processed image data DOUT indicating the graylevels of the R, G and B subpixels 14R, 14G and 14B may be referred to as processed R data DOUTR, processed G data DOUTG and processed B data DOUTB, respectively, hereinafter. The processed image data DOUT are transferred to the source line driver circuit 24.
In the present embodiment, the image processing circuit 23 is configured to perform “eight-color halftoning” on the image data DIN. The “eight-color halftoning” referred to herein is image processing for transforming original image data (in the present embodiment, the image data DIN read out from the image memory 22) into image data in which the number of allowed colors of each pixel 11 is eight, that is, the number of allowed graylevels of each of the R, G and B subpixels 14R, 14B and 14B is two. When the “eight-color halftoning” is performed, the processed image data DOUT are generated as three-bit data indicating “turn-on” and “turn-off” of the R, G and B subpixel 14R, 14G and 14B; the “turn-on” referred to herein means a state in which the subpixel 14 of interest is driven with a drive voltage corresponding to the highest graylevel, and the “turn-off” referred to herein means a state in which the subpixel 14 of interest is driven with a drive voltage corresponding to the lowest graylevel. In other words, when the eight-color halftoning is performed, the processed image data DOUT are generated as binary image data indicating each of the graylevels of the R, G and B subpixels 14R, 14G and 14B with selected one of the highest graylevel (first value) and the lowest graylevel (second value). As described later in detail, the display device 1 of the present embodiment is configured to perform specially-designed eight-color halftoning in the image processing circuit 23, thereby reducing the power consumption of the display device 1 with a sufficient image quality.
Hereinafter, the operation mode in which the image processing circuit 23 performs the eight-color halftoning may be referred to as the eight-color halftoning mode. When the controller driver 4 is placed into the eight-color halftoning mode, the image processing circuit 23 performs the eight-color halftoning. It should be noted that the image processing circuit 23 may be configured to perform different image processing in addition to the eight-color halftoning. In this case, the image processing circuit 23 performs image processing specified by the image processing control signal received from the command control circuit 21 in accordance with the necessity.
The source line driver circuit 24 drives the source lines 13 of the liquid crystal display panel 3 in response to the processed image data DOUT received from the image processing circuit 23. In detail, the source line driver circuit 24 includes a display latch section 24a and a DA converter 24b. The display latch section 24a sequentially latches the processed image data DOUT output from the image processing circuit 23 and temporarily stores therein the latched image data. The display latch section 24a has a capacity enough to store processed image data DOUT corresponding to pixels 11 of one horizontal line (that is, pixels 11 connected to one gate line 12). The display latch section 24a forwards the processed image data DOUT latched from the image processing circuit 23 to the DA converter 24b.
The DA converter 24b performs a digital-analog conversion on the processed image data DOUT received from the display latch section 24a to generate drive voltages corresponding to the graylevels of the respective subpixels 14 specified in the processed image data DOUT. The DA converter 24b output the generated drive voltages to the corresponding source lines 13 to thereby drive the source lines 13. In generating the drive voltages, grayscale voltages supplied from the grayscale voltage generator circuit 25 are used. In the present embodiment, grayscale voltages V0+-V255+ and V0−-V255− are supplied from the grayscale voltage generator circuit 25; the grayscale voltages V0+-V255+ are a set of voltages from which a “positive” drive voltage is selected and the grayscale voltages V0+-V255+ are a set of voltages from which a “negative” drive voltage is selected. In the present Specification, the polarity of a drive voltage is defined in comparison with the voltage on the common electrode of the liquid crystal display panel 3, which is referred to as the common level VCOM. A “positive” drive voltage has a voltage level higher than the common level VCOM and a “negative” drive voltage has a voltage level lower than the common level VCOM. When subpixels 14 of pixels 11 in a certain horizontal line are driven, grayscale voltages corresponding to the polarities of the drive voltages and the graylevels of the respective subpixels 14 specified by the processed image data DOUT are selected from the grayscale voltages received from the grayscale voltage generator circuit 25 and the selected grayscale voltages are output to the corresponding source lines 13.
The grayscale voltage generator circuit 25 supplies the grayscale voltages V0+-V255+ and V0−-V255− to the DA converter 24b.
The grayscale voltage generator circuit 25 includes a grayscale reference voltage generator circuit 31, M positive-side gamma amplifiers 320 to 32M-1, M negative-side gamma amplifiers 330 to 33M-1, a positive-side ladder resistor 34, a negative-side ladder resistor 35 and a control circuit 36.
The grayscale reference voltage generator circuit 31 generates grayscale reference voltages VREF(0)+ to VREF(M-1)+ and VREF(0)− to VREF(M-1)−. The grayscale reference voltages VREF(0)+ to VREF(M-1)+ are a set of voltages used to generate the grayscale voltages V0+ to V255+. The grayscale reference voltage VREF(0)+, which is the lowest voltage among the grayscale reference voltages VREF(0)+ to VREF(M-1)+, is set to the same voltage level as the positive grayscale voltage V0+, which corresponds to the lowest graylevel, and the grayscale reference voltage VREF(M-1)+, which is the highest voltage among the grayscale reference voltages VREF(0)+ to VREF(M-1)+, is set to the same voltage level as the positive grayscale voltage V255+, which corresponds to the highest graylevel. Similarly, the grayscale reference voltages VREF(0)− to VREF(M-1)− are a set of voltages used to generate the grayscale voltages V0− to V255−. The grayscale reference voltage VREF(0)−, which is the highest voltage among the grayscale reference voltages VREF(0)− to VREF(M-1)−, is set to the same voltage level as the negative grayscale voltage V0−, which corresponds to the lowest graylevel, and the grayscale reference voltage VREF(M-1)−, which is the lowest voltage among the grayscale reference voltages VREF(0)− to VREF(M-1)−, is set to the same voltage level as the negative grayscale voltage V255−, which corresponds to the highest graylevel. The gamma characteristics of the controller driver 4 can be adjusted by controlling the grayscale reference voltages VREF(0)+ to VREF(M-1)+ and VREF(0)− to VREF(M-1)−.
The positive-side gamma amplifiers 320 to 32M-1 are each configured as a voltage follower. The positive-side gamma amplifiers 320 to 32M-1 respectively output the same voltages as the grayscale reference voltages VREF(0)+ to VREF(M-1)+ received from the grayscale reference voltage generator circuit 31. The output of the positive-side gamma amplifier 320, which outputs the grayscale reference voltage VREF(0)+, is connected to one end of the positive-side ladder resistor 34 and the output of the positive-side gamma amplifier 32M-1, which outputs the grayscale reference voltage VREF(M-1)+, is connected to the other end of the positive-side ladder resistor 34. The positive-side gamma amplifiers 321 to 32M-1 are connected to intermediate positions of the positive-side ladder resistor 34.
Similarly, the negative-side gamma amplifiers 330 to 33M-1 are each configured as a voltage follower. The negative-side gamma amplifiers 330 to 33M-1 respectively outputs the same voltages as the grayscale reference voltages VREF(0)− to VREF(M-1)− received from the grayscale reference voltage generator circuit 31. The output of negative-side gamma amplifier 330, which outputs the grayscale reference voltage VREF(0)− is connected to one end of the negative-side ladder resistor 35 and the output of the negative-side gamma amplifier 33M-1, which outputs the grayscale reference voltage VREF(M-1), is connected to the other end of the negative-side ladder resistor 35. The negative-side gamma amplifiers 331 to 33M-2 are connected to intermediate positions of the negative-side ladder resistor 35.
The positive-side ladder resistor 34 generates the grayscale voltages V0+ to V255+ from the grayscale reference voltages VREF(0)+ to VREF(M-1)+ received from the positive-side gamma amplifiers 320 to 32M-1 through voltage dividing. The voltages generated on the both ends of the positive-side ladder resistor 34, that is, the grayscale reference voltages VREF(0)+ and VREF(M-1)+ are output as the grayscale voltages V0+ and V255+ as they are and the voltages generated on intermediate positions of the positive-side ladder resistor 34 are output as the grayscale voltages V1+ to V254+.
Similarly, the negative-side ladder resistor 35 generates the grayscale voltages V0− to V255− from the grayscale reference voltages VREF(0)− to VREF(M-1)− received from the negative-side gamma amplifiers 330 to 33M-1 through voltage dividing. The voltages generated on the both ends of the negative-side ladder resistor 35, that is, the grayscale reference voltages VREF(0)− and VREF(M-1)− are output as the grayscale voltages V0− and V255− as they are and the voltages generated on intermediate positions of the negative-side ladder resistor 35 are output as the grayscale voltages V1− to V254−.
The control circuit 36 controls the grayscale reference voltage generator circuit 31, the positive-side gamma amplifiers 320 to 32M-1 and the negative-side gamma amplifiers 330 to 33M-1 in response to the grayscale voltage control signal received from the command control circuit 21. More specifically, the control circuit 36 controls the voltage levels of the grayscale reference voltages VREF(0)+ to VREF(M-1)+ and VREF(0)−to VREF(M-1)−, which are output from the grayscale reference voltage generator 31, in response to the grayscale voltage control signal.
Additionally, the control circuit 36 controls the start and stop of the operations of the positive-side gamma amplifiers 320 to 32M-1 and the negative-side gamma amplifiers 330 to 33M-1. In the present embodiment, as described later in detail, when the controller driver 4 is placed into the eight-color halftoning mode (that is, when the eight-color halftoning is performed by the image processing circuit 23), the operations of the gamma amplifiers other than the gamma amplifiers 320, 32M-1, 330 and 33M-1, which outputs the grayscale voltage V0+ and V0− corresponding to the lowest graylevel and the grayscale voltage V255+ and V255− corresponding to the highest graylevel, are stopped. This effectively reduces the power consumption in the eight-color halftoning mode.
Referring back to
The timing control circuit 27 supplies timing control signals to various circuits of the controller driver 4 in response to commands and control parameters received from the command control circuit 21 to thereby achieve a timing control of the controller driver 4.
It should be noted that the gamma characteristics of the source line driver circuit 24 are determined by the distribution of the grayscale voltages V0+ to V255+ and V0− to V255− generated by the grayscale voltage generator circuit 25 when multiple-graylevel image data are supplied to the source line driver circuit 24 (that is, when the controller driver 4 is not placed in the eight-color halftoning mode). Desired gamma characteristics can be achieved in the source line driver circuit 24 by adjusting the distribution of the voltage levels of the grayscale voltages V0+ to V255+ and V0− to V255− in accordance with the desired gamma characteristics. It is possible to set the source line driver circuit 24 to desired gamma characteristics by controlling the grayscale reference voltages VREF(0)+ to VREF(M-1)+ and VREF(0)− to VREF(M-1)− since the grayscale voltages V0+ to V255+ and V0− to V255− are generated from the grayscale reference voltages VREF(0)+ to VREF(M-1)+ and VREF(0)− to VREF(M-1)− as described above.
When image processing is performed in the image processing circuit 23, the gamma characteristics of the controller driver 4 as a whole are determined as the superposition of the gamma characteristics of the image processing performed in the image processing circuit 23 and the gamma characteristics of the source line driver circuit 24. To display an image with proper brightness, it would be desired to set the gamma characteristics of the controller driver 4 as a whole so that the gamma characteristics of the controller driver 4 matches with the voltage-transmittance characteristics of the liquid crystal display panel 3.
In the display device 1 of the present embodiment, when a normal operation is performed, image processing is performed on the image data DIN read out from the image memory 22 by the image processing circuit 23 in accordance with the necessity and the liquid crystal display panel 3 is driven in response to the processed image data DOUT obtained by this image processing. It should be noted that the image processing by the image processing circuit 23 may be omitted if not necessary.
When power consumption reduction is desired, on the other hand, the controller driver 4 is placed into the eight-color halftoning mode. When the controller driver 4 is placed in the eight-color halftoning mode, the image processing circuit 23 generates the processed image data DOUT through the eight-color halftoning. The eight-color halftoning mode effectively contributes the power consumption reduction as discussed in the following.
First, it is possible to reduce the power consumption by stopping unnecessary ones of the gamma amplifiers included in the grayscale voltage generator circuit 25 (operational amplifiers used to generate the grayscale voltages) in the eight-color halftoning mode. In the configuration of the grayscale voltage generator circuit 25 illustrated in
Second, the power consumption can be effectively reduced by reducing the frame rate when the controller driver 4 is placed in the eight-color halftoning mode. In the eight-color halftoning mode, the reduction of the frame rate does not so affect the image quality due to the nature of liquid crystal used in the liquid crystal display panel 3.
The eight-color halftoning mode is especially useful when the portable terminal incorporating the display device 1 is placed in the standby state. In the standby state, the reduction in the power consumption is strongly desired, and it is therefore effective for power consumption reduction to place the controller driver 4 in the eight-color halftoning mode. It should be also noted that it is not usually required to display a moving picture in the standby state, and the image quality is therefore hard to be deteriorated when the controller driver 4 is placed into the eight-color halftoning mode and the frame rate is reduced.
One feature of the display device 1 of the present embodiment lies in the eight-color halftoning performed in the image processing circuit 23. In the following, a description is given of the eight-color halftoning performed in the present embodiment.
The simplest way to achieve eight-color halftoning for many-graylevel image data is to determine the “turn-on” or “turn-off” of each subpixel depending on the most significant bit of data indicating the graylevel of each pixel. It is possible to display an image in which the number of allowed colors of each pixel is eight, by “turning on” a subpixel of each pixel when the most significant bit of the data indicating the graylevel of the subpixel is “1” and “turning off” a subpixel of each pixel when the most significant bit of the data indicating the graylevel of the subpixel is “0”. Such eight-color halftoning, however, largely deteriorates the image quality as understood from
The eight-color halftoning may be considered as color reduction processing which truncates an increased number of bits from image data. Accordingly, dithering, which is one of the known color reduction techniques with reduced deterioration of image quality, is one of promising techniques as eight-color halftoning. In general, dithering is achieved by adding a dither value that is randomly determined to image data and truncating a desired number of lower bits. For example, eight-color halftoning with respect to image data that represent the graylevel of each subpixel with eight bits may be achieved by adding an eight-bit dither value to image data of each subpixel (the resultant value obtained by the addition is a nine-bit value) and truncating lower eight bits.
One problem which has been discovered through an inventors' study of eight-color halftoning based on such dithering is that the brightness of the image displayed on the basis of the image data obtained by the eight-color halftoning undesirably differs from that of the original image. In the following, a description is given of the origin of this phenomenon.
According to an inventors' consideration, eight-color halftoning based on dithering using a dither value that is randomly-determined corresponds to image processing with a gamma value γ of one.
When dithering is performed on image data of a certain subpixel with a dither value that is randomly determined, the probability that the subpixel is “turned on” increases proportionally to the graylevel of the subpixel specified by the image data increases. The probability that the subpixel is “turned on” is 0% when the graylevel specified for a certain subpixel is zero, 100% when the graylevel specified for a certain subpixel is 255. When the graylevel specified for a certain subpixel is 128, the subpixel is turned off for a dither value from zero to 127 and turned on for a dither value from 128 to 255. In other words, the subpixel is turned on with a probability of 50% and turned off with a probability of 50%, when the graylevel is 128. Accordingly, the effective brightness of the subpixel in the displayed image is 50% of the allowed highest brightness. As thus discussed, the probability that a certain subpixel is turned on increases proportionally to the graylevel specified for the subpixel and the effective brightness of the subpixel in the displayed image also increases proportionally to the graylevel specified for the subpixel. This implies that the gamma value is one with respect to the dithering with a dither value that is randomly determined.
Meanwhile, the above-described setting of the gamma characteristics of the source line driver circuit 24 with the grayscale voltages does not work when an image is displayed on the basis of image data obtained by the eight-color halftoning, because there are only subpixels of the highest graylevel and the lowest graylevel in the image. Since the intermediate grayscale voltages V1+ to V254+ and V1− to V254− are not used in the eight-color halftoning mode, the setting of the grayscale voltages V1+ to V254+ and V1− to V254− does not influence the gamma characteristics of the source line driver circuit 24.
This results in that the gamma characteristics of the controller driver 4 as a whole do not match the gamma characteristics of the liquid crystal display panel 3 in the eight-color halftoning mode, and the brightness of the image actually displayed on the liquid crystal display panel 3 undesirably differs from that of the original image. In general, the gamma characteristics of a driver that drives a liquid crystal display panel should be set to a gamma value of 2.2; however, the gamma value of the eight-color halftoning based on dithering with a dither value that is randomly determined is one, and therefore the displayed image is made too bright in the eight-color halftoning mode. For gamma characteristics of a gamma value of 2.2, for example, the brightness of a subpixel should be about 22% of the allowed highest brightness when the graylevel specified in image data for the subpixel is 128; however, the brightness of the subpixel is set to 50% of the allowed highest brightness, when the eight-color halftoning is performed based on dithering with a dither value that is randomly determined. The same applies to the remaining graylevels. The column (c) of
To address this problem, the image processing circuit 23 of the present embodiment is configured to perform a gamma correction (brightness correction) and dithering in eight-color halftoning and to thereby improve the quality of an image displayed on the liquid crystal display panel 3 in response to the processed image data DOUT obtained by the eight-color halftoning. In the following, a description is given of an exemplary configuration of the image processing circuit 23 and eight-color halftoning performed in the image processing circuit 23 in the present embodiment.
The brightness calculation sections 41R, 41G and 41B respectively perform a gamma correction on R data DINR, G data DING and B data DINB of the image data DIN received from the image memory 22, to thereby generates corrected R data DGAMMAR, corrected G data DGAMMAG and corrected B data DGAMMAB, respectively. When the gamma value of the gamma correction is γ, corrected R data DGAMMAR, corrected G data DGAMMAG and corrected B data DGAMMAB are ideally calculated in accordance with the following expressions (1a) to (1c), respectively:
Note that expressions (1a) to (1c) are in accordance with the strict expression of the gamma correction. The parameter m is the number of bits of the R data DINR, G data DING and B data DINB. When m=8, expressions (1a) to (1c) can be rewritten as follows:
In one embodiment, the brightness calculation sections 41R, 41G and 41B performs a gamma correction with a gamma value γ of 2.2.
Since the gamma correction involves exponentiation as described above, the circuit sizes of the brightness calculation sections 41R, 41G and 41B are undesirably increased when the gamma correction is performed in accordance with the strict expression of the gamma correction. To reduce the circuit size of the brightness calculation sections 41R, 41G and 41B, the brightness calculation sections 41R, 41G and 41B may be configured to generate the corrected R data DGAMMAR, corrected G data DGAMMAG and corrected B data DGAMMAB through table lookup to a lookup table describing the values of the corrected R data DGAMMAR, corrected G data DGAMMAG and corrected B data DGAMMAB data D for each of the allowed values of the R data DINR, G data DING and B data DINB.
The brightness calculation sections 41R, 41G and 41B may be configured to calculate the corrected R data DGAMMAR, corrected G data DGAMMAG and corrected B data DGAMMAB by using a polynomial expression approximating the strict expression of the gamma correction. Since the circuit size of hardware implementing a calculation in accordance with a polynomial expression can be reduced compared with that implementing an exponential calculation, the circuit sizes of the brightness calculation sections 41R, 41G and 41B can be effectively reduced by calculating the corrected R data DGAMMAR, corrected G data DGAMMAG and corrected B data DGAMMAB by using a polynomial expression approximating the strict expression of the gamma correction.
The gamma values of the gamma corrections performed by the brightness calculation sections 41R, 41G and 41B may be configured individually for the respective colors (that is, individually for the brightness calculation sections 41R, 41G and 41B) when color adjustment is further performed.
The dither value feeding section 42 feeds a dither value DDITHER to each of the dithering sections 43R, 43G and 43B. In the present embodiment, the number of bits of the dither value DDITHER is m, which is the same as the number of bits of the corrected R data DGAMMAR, corrected G data DGAMMAG and corrected B data DGAMMAB. The dither value feeding section 42 contains a dither table 44 in which allowed values of the dither value DDITHER are described as the elements. The dither value feeding section 42 selects the dither value DDITHER from the elements of the dither table 44 in response to the addresses X and Y of the target pixel (that is, the pixel 11 of interest of the eight-color halftoning). In the present embodiment, the dither table 44 includes 16×16 elements. The number of bits of the dither value DDITHER is eight and therefore each element takes a value from “0” to “255”. The elements of the dither table 44 are determined to be different from each other. In other words, the dither table 44 includes one element that takes each of the values from “0” to “255”.
The dithering sections 43R, 43G and 43B respectively perform dithering on the corrected R data DGAMMAR, corrected G data DGAMMAG and corrected B data DGAMMAB to thereby generate the processed R data processed G data DOUTG and processed B data DOUTR. The processed R data DOUTR, processed G data DOUTG and processed B data DOUTB, which are data obtained through eight-color halftoning by the eight-color halftoning circuit section 23a, are one-bit data.
The dithering section 43R includes an adder 45R and a binarization circuit 46R. The adder 45R performs an addition of the corrected R data DGAMMAR, the most significant bit MSB [DGAMMAR] of the corrected R data DGAMMAR and the dither value DDITHER received from the dither value feeding section 42. The binarization circuit 46R determines the value of the processed R data DOUT depending on whether or not a carry occurs in the addition performed by the adder 45R. When a carry occurs in the addition performed by the adder 45R, the binarization circuit 46R sets the processed R data DOUTR to a value of “1”, and otherwise to a value of “0”.
In other words, the dithering section 43R calculates the processed R data DOUTR as follows:
D
OUT
R=1,when DGAMMAR+MSB[DGAMMAR]+DDITHER is 256 or more, and (1)
D
OUT
R=0, when DGAMMAR+MSB[DGammaR]+DDITHER is less than 256. (2)
It should be noted that the reason why the most significant bit MSB [DGAMMAR] is added is that DOUTR should be unconditionally set to “1”, when the corrected R data DGAMMAR is 255 and DOUTR should be unconditionally set to value “0”, when the corrected R data DGAMMAR is “0”.
The dithering sections 43G and 43B are configured and operated similarly to the dithering section 43R, except for that the dithering sections 43G and 43B respectively receive the corrected G data DGAMMAG and corrected B data DGAMMAB in place of the corrected R data DGAMMAR. More specifically, the dithering section 43G includes an adder 45G and a binarization circuit 46G and the dithering section 43B includes an adder 45B and a binarization circuit 46B.
The adder 45G performs an addition of the corrected G data DGAMMAG, the most significant bit MSB [DGAMMAG] of the corrected G data DGAMMAG and the dither value DDITHER received from the dither value feeding section 42. The binarization circuit 47 determines the value of the processed G data DOUTG depending on whether or not a carry occurs in the addition performed by the adder 45G. When a carry occurs in the addition performed by the adder 45G, the binarization circuit 46G sets the processed G data DOUTG to a value of “1”, and otherwise to a value of “0”.
Similarly, the adder 45B performs an addition of the corrected B data DGAMMAB, the most significant bit MSB[DGAMMAB] of the corrected B data DGAMMAB and the dither value DDITHER received from the dither value feeding section 42. The binarization circuit 46B determines the value of the processed B data DOUTB depending on whether or not a carry occurs in the addition performed by the adder 45B. When a carry occurs in the addition performed by the adder 45B, the binarization circuit 46B sets the processed B data DOUTB to a value of “1”, and otherwise to a value of “0”.
The R subpixel 14R of the target pixel is “turned on” when the processed R data DOUTR is calculated as the value “1” for the R subpixel 14R and the R subpixel 14R is “turned off”, when the processed R data DOUTR is calculated as the value “0”. Similarly, the G subpixel 14G of the target pixel is “turned on” when the processed G data DOUTG is calculated as the value “1” for the G subpixel 14G and the G subpixel 14G is “turned off”, when the processed G data DOUTG is calculated as the value “0”. Furthermore, the B subpixel 14B of the target pixel is “turned on” when the processed B data DOUTB is calculated as the value “1” for the B subpixel 14B and the B subpixel 14B is “turned-off”, when the processed B data DOUTB is calculated as the value “0”.
Illustrated in
When the value of the image data DINk is 128, the corrected image data DGAMMAk is calculated as 56 in the gamma correction by the brightness calculation section 41k. It should be noted that the value of “56” is obtained as a result of the gamma correction with a gamma value of 2.2.
Furthermore, the addition of the corrected image data DGAMMAk, the most significant bit MSB [DGAMMAk] of the corrected image data DGAMMAk and the dither value DDITHER received from the dither value feeding section 42 is performed by the adder 45k. When a carry occurs in this addition, that is, when the sum of the corrected image data DGAMMAk, the most significant bit MSB [DGAMMAk] and the dither value DDITHER is 256 or more, the processed image data DOUTk is calculated as “1”. When no carry occurs in the addition, that is, when the sum of the corrected image data DGAMMAk, the most significant bit MSB [DGAMMAk] and the dither value DDITHER is less than 256, the processed image data DOUTk is calculated as “0”.
Discussed below is the case when the above-described processing is performed on image data DINk of the subpixels 14 of the color “k” for pixels 11 arrayed in 16 columns and 16 rows. When the value of the corrected image data DGAMMAk is 56, the processed image data DOUTk is calculated as “1” for 56 of the 16×16 pixels 11. This is because the dither values DDITHER are selected as different values from 0 to 255 for the 16×16 pixels 11, and therefore a carry occurs in the addition by the adder 45k for the 56 of the 16×16 pixels 11. Accordingly, the subpixels 14 of color k are turned on in 56 of the pixels 11 arrayed in 16 rows and 16 columns. This implies that the effective brightness of the subpixels 14 of color k of the 16×16 pixels 11 is substantially 22% of the allowed maximum brightness in the displayed image. As thus discussed, the eight-color halftoning of the present embodiment effectively achieves the gamma characteristics of a gamma value of 2.2, which matches the characteristics of the liquid crystal display panel 3. The column (d) of
As thus described, the eight-color halftoning of the present embodiment based on dithering allows obtaining a quality-improved image which represents the spatial changes in the graylevel. The eight-color halftoning of the present embodiment further achieve matching of the gamma characteristics of the controller driver 4 as a whole with the characteristics of the liquid crystal display panel 3, since the image data DIN are subjected to the gamma correction to obtain corrected image data DGAMMA and dithering is performed on the corrected image data DGAMMA. This implies that the eight-color halftoning of the present embodiment allows displaying an image having substantially the same brightness as the original image on the liquid crystal display panel 3.
Although embodiments of eight-color halftoning are described in the above, attention should be paid to the fact that the problem that the gamma characteristics setting of the source line driver circuit 24 through the adjustment of the grayscale voltages does not work also applies to color reduction processing which truncates an increased number of bits from image data. Also in the case when image data that represent the graylevel of each subpixel 14 with eight bits are color-reduced to image data that represent the graylevel of each subpixel 14 with two bits, for example, the gamma characteristics cannot be sufficiently controlled by adjusting the grayscale voltages, because only four of the positive grayscale voltages and four of the negative grayscale voltages are used.
Also with respect to color reduction reducing an increased number of bits from image data other than eight-color halftoning, it is effective to perform a gamma correction by the brightness calculation sections 41R, 41G and 41B and subsequently perform dithering by the dithering sections 43R, 43G and 43B. In this case, in one embodiment, the brightness calculation sections 41R, 41G and 41B performs a gamma correction on the R data DINR, G data DING and B data DINB of the image data DIN to thereby generate corrected R data DGAMMAR, corrected G data DGAMMAG and corrected B data DGAMMAB which represent the graylevel of each subpixel 14 with m bits. The dithering sections 43R, 43G and 43B perform dithering on the corrected R data DGAMMAR, corrected G data DGAMMAG and corrected B data DGAMMAB with a dither value DDITHER of n bits, n being an integer from two to m, to thereby generate processed R data DOUTR, processed G data DOUTG and processed B data DOUT.
It should be noted however that the approach of the present embodiment, which involves a gamma correction and subsequent dithering, are especially useful for eight-color halftoning, since the eight-color halftoning severely suffers from the problem that the setting of the gamma characteristics of the source line driver circuit 24 with the grayscale voltages does not work effectively.
The eight-color halftoning circuit section 23b includes a dither value feeding section 42 and dithering sections 43R, 43G and 43B. The dither value feeding section 42 includes a dither table 44A and selects a dither value DDITHER from the elements of the dither table 44A in response to the addresses X and Y of the target pixel (the pixel 11 of interest of the eight-color halftoning). The dither table 44A includes 16×16 elements and each element takes a value from “0” to “255”. It should be noted however that, as described later in detail, two of the elements of the dither table 44A may take the same value in the present embodiment.
The dithering sections 43R, 43G and 43B respectively perform dithering on the R data DINR, G data DING and B data DINB of the image data DIN to generate processed R data DOUTR, processed G data DOUTG, and processed B data DOUTB, respectively. It should be noted that the eight-color halftoning circuit section 23b illustrated in
The adder 45R performs an addition of the R data DINR, the most significant bit MSB[DINR] of the R data DINR and the dither value DDITHER received from the dither value feeding section 42. The binarization circuit 46R determines the value of the processed R data DOUTR depending on whether or not a carry occurs in the addition performed by the adder 45R. When a carry occurs in the addition performed by the adder 45R, the binarization circuit 46R sets the processed R data DOUTR to a value of “1”, and otherwise to a value of “0”.
The adder 45G performs an addition of the G data DING, the most significant bit MSB [DING] of the G data DING and the dither value DDITHER received from the dither value feeding section 42. The binarization circuit 46G determines the value of the processed G data DOUTG depending on whether or not a carry occurs in the addition performed by the adder 45G. When a carry occurs in the addition performed by the adder 45G, the binarization circuit 46G sets the processed G data DOUTG to a value of “1”, and otherwise to a value of “0”.
The adder 45B performs an addition of the B data DINB, the most significant bit MSB[DINB] of the B data DINB and the dither value DDITHER received from the dither value feeding section 42. The binarization circuit 46B determines the value of the processed B data DOUTB depending on whether or not a carry occurs in the addition performed by the adder 45B. When a carry occurs in the addition performed by the adder 45B, the binarization circuit 46B sets the processed B data DOUTB to a value of “1”, and otherwise to a value of “0”.
The eight-color halftoning circuit section 23b illustrated in
One discovery of the inventors is that it is possible to achieve various brightness corrections (e.g., a gamma correction and a contrast correction) through dithering with a dither table in which the frequency distribution of the values of elements is properly determined. In the following disclosure, the frequency distribution of the values of the elements of the dither table means the distribution of the number N(p) of elements which take a value of p. In general, a dither table (dither matrix) used in dithering is determined so that the number of elements taking each of the allowed values is one, that is, N(p)=1 for any p. For a 16×16 dither table including 256 elements, for example, the values of the 256 elements are determined as different values from 0 to 255 in general. As discussed above, dithering with a thus-configured dither table exhibits gamma characteristics of a gamma value of one. On the other hand, using a dither table with an uneven frequency distribution (that is, a dither table in which the number N(p) of the elements of a value of p depends on p) allows performing various image processing concurrently with the dithering. It should be noted that, when the frequency distribution is uneven, this implies that there exist integers p1 and p2 from 0 to 2k−1 for which the number N(p1) of the elements of the value of p1 in the dither table is different from the number N(p2) of the elements of the value of p2.
Discussed below is the case when eight-color halftoning is performed on image data that represent the graylevel of each subpixel 14 with m bits, through dithering with an m-bit dither value. More specifically, discussed below is the case when the “turn-on” and “turn-off” of a specific subpixel 14 is determined depending on occurrence of a carry in the addition to calculate the sum DINk+MSB [DINk]+DDITHER. In this case, if the values of the respective elements of the dither table are determined so that the following requirements (a) and (b) are satisfied for the allowed values of p of the image data DINk of the specific subpixel 14, the brightness of the specific subpixel 14 becomes q (that is, q/(2m−1) times of the allowed maximum brightness) in the displayed image:
Requirement (a): for p<(2m−1)/2, q elements of 2m elements of the dither table are equal to or larger than 2m−p, and
Requirement (b): for p>(2m−1)/2, q elements of 2m elements of the dither table are equal to or larger than 2m−p−1.
This scheme effectively allows achieving a desired brightness correction.
Discussed below is an example in which, for 8-bit image data DINk of a certain subpixel 14, the value of the image data DINk is 128 and the desired brightness of the subpixel 14 in the display image is (that is, 56/255 times of the allowed maximum brightness). In this case, it is possible to set the subpixel 14 to the desired brightness if the dither table is determined so that 56 elements of the 256 elements of the dither table have a value of 127 or more.
where floor(x) is the floor function, which is the largest integer less than or equal to x. The addition of a value of 0.5 and the floor function (x) are introduced only for rounding; a different rounding technique may be used instead.
More specifically, the dither table 44A illustrated in
where α(i, j) is the value of the element in the i-th rows and j-th column of the dither table 44 illustrated in
In general, the dither table 44A for performing a gamma correction with a gamma value γ can be generated through the following procedure:
(1) Generate a first dither table in which the number of elements taking each allowed values is one (that is, N(p)=1 for any p), through a commonly-used method.
(2) Perform a transformation on the first dither table in accordance with the following expression (5):
where α(i, j) is the value of the element in the i-th row and the j-th column of the first dither table, and β(i, j) is the value of the element in the i-th row and the j-th column of the second dither table obtained by this transformation.
In the present embodiment, the addition of the image data DINk, the most significant bit MSB[DINk] and the dither value DDITHER received from the dither value feeding section 42A is performed by the adder 45k and when a carry occurs in this addition, that is, when the sum of the image data DINk, the most significant bit MSB[DINk] and the dither value DDITHER is 256 or more, the processed image data DOUTk is calculated as a value of “1”. When no carry occurs in this addition, that is, when the sum of the image data DINk, the most significant bit MSB[DINk] and the dither value DDITHER is less than 256, the processed image data DOUTk is calculated as a value of “0”.
In the present embodiment, the dither value feeding section 42A selects the dither value DDITHER to be supplied to the adder 45k from the elements of the dither table 44A illustrated in
Discussed below is the case when the above-described image processing is performed on image data Dink of the subpixels 14 of color k for 16×16 pixels 11. When the dither table 44A illustrated in
In an alternative embodiment, a plurality of dither tables corresponding to different gamma values are prepared and selected one of the dither tables is used to supply a dither value. In this case, the gamma value γ can be switched by switching the dither table used to supply the dither value.
The configuration of the eight-color halftoning circuit section 23c illustrated in
The dither value feeding section 42A receives a gamma correction control signal from the command control circuit 21 and selects a dither table corresponding to a gamma value specified by the gamma correction control signal from the dither table 44A-1 to 44A-M. For example, when a gamma value of γt is specified by the gamma correction control signal, the dither value feeding section 42A selects the dither table 44A-t. The dither value feeding section 42A selects a dither value DDITHER from the elements of the selected dither table. The dither value DDITHER is selected from the elements of the selected dither table in response to the addresses X, Y of the target pixel (the pixel 11 of interest of the eight-color halftoning). The configuration of
In another alternative embodiment, dither tables are individually prepared for the respective colors and dither values are individually supplied to the dithering sections 43R, 43G and 43B. This allows individually setting the gamma values of the gamma corrections performed on image data DIN for the respective colors.
The dither value feeding section 42B supplies dither values DDITHERR, DDITHERG, DDITHERB to the dithering sections 43R, 43G and 43B, respectively. In the configuration illustrated in
The dither value feeding section 42B is responsive to the addresses X and Y of the target pixel (the pixel 11 of interest of the eight-color halftoning) for selecting the dither value DDITHERR from the elements of the R dither table 44R, selecting the dither value DDITHERG from the elements of the G dither table 44G and selecting the dither value DDITHERB from the elements of the B dither table 44B.
The dithering sections 43R, 43G and 43B respectively perform dithering on the R data DINR, G data DING and B data DINB of the image data DIN by using the dither values DDITHERR, DDITHERG and DDITHERB received from the dither value feeding section 42B, respectively, to thereby generate processed R data DOUTR, processed G data DOUTG and processed B data DOUTB, respectively.
In detail, the adder 45R of the dithering section 43R performs an addition of the R data DINR, the most significant bit MSB[DINR] of the R data DINR and the dither value DDITHERR received from the dither value feeding section 42B. The binarization circuit 46R determines the value of the processed R data DOUTR depending on whether or not a carry occurs in the addition performed by the adder 45R. When a carry occurs in the addition performed by the adder 45R, the binarization circuit 46R sets the processed R data DOUTR to a value of “1”, and otherwise to a value of “0”.
The adder 45G of the dithering section 43G performs an addition of the G data DING, the most significant bit MSB [DING] of the G data DING and the dither value DDITHERG received from the dither value feeding section 42B. The binarization circuit 46G determines the value of the processed G data DOUTG depending on whether or not a carry occurs in the addition performed by the adder 45G. When a carry occurs in the addition performed by the adder 45G, the binarization circuit 46G sets the processed G data DOUTG to a value of “1”, and otherwise to a value of “0”.
The adder 45B of the dithering section 43B performs an addition of the B data DINR, the most significant bit MSB[DINB] of the B data DINB and the dither value DDITHERB received from the dither value feeding section 42B. The binarization circuit 46B determines the value of the processed B data DOUTB depending on whether or not a carry occurs in the addition performed by the adder 45B. When a carry occurs in the addition performed by the adder 45B, the binarization circuit 46B sets the processed B data DOUTB to a value of “1”, and otherwise to a value of “0”.
The eight-color halftoning circuit section 23d thus configured can perform gamma corrections on the image data DIN in accordance with the gamma values γR, γG and γB, which are individually specified for the respective colors.
Each of the dither tables used to generate the dither values DDITHERR, DDITHERG and DDITHERB may be selected from a plurality of dither tables.
More specifically, the dither value feeding section 42C selects one of the plurality of dither tables 44A-1 to 44-M for each of red (R), green (G) and blue (B), in response to the gamma values γR, γG and γB of the gamma corrections to be performed for red (R), green (G) and blue (B), respectively. For red, for example, the dither value feeding section 42C selects a dither table corresponding to the gamma value γR from the dither tables 44A-1 to 44A-M. The same goes for green and blue. The dither value feeding section 42C further selects the dither values DDITHERR, DDITHERG and DDITHERB from the dither tables selected for red, green and blue, respectively. The dither values DDITHERR, DDITHERG and DDITHERB are selected from the elements of the corresponding dither tables in response to the addresses X and Y of the target pixel (the pixel of interest of the eight-color halftoning). Such configuration allows individually setting and switching the gamma values γ of the gamma corrections of image data DIN for the respective colors.
Although embodiments of eight-color halftoning are specifically described in the above, attention should be paid to the fact that the problem that the gamma characteristics setting of the source line driver circuit 24 through the adjustment of the grayscale voltages does not work generally applies to color reduction processing which truncates an increased number of bits from image data. Also with respect to color reduction reducing an increased number of bits from image data other than eight-color halftoning, it is effective to perform dithering in the dithering sections 43R, 43G and 43B by using a dither table generated so as to achieve a gamma correction. In this case, in one embodiment, the dithering sections 43R, 43G and 43B perform dithering on the R data DINR, G data DING and B data DINB which represent the graylevels of the respective subpixels 14 with m bits, by using a dither value DDITHER of n bits, n being an integer from two to m. It should be noted however that the approach of the present embodiment, which involves gamma correction and dithering with a dither table having a properly-determined frequency distribution, are especially useful for eight-color halftoning, since the eight-color halftoning severely suffers from the problem that the setting of the gamma characteristics of the source line driver circuit 24 with the grayscale voltages does not work effectively.
Although the above-described disclosure is directed to gamma correction, various image processing, including contrast corrections, may be achieved in general by properly determining the frequency distribution of the values of the elements of a dither table. Especially, when a dither table including elements of m-bit values is used to accommodate m-bit image data DINk (that is, when n is equal to m), it is possible to achieve desired image processing by preparing the dither table so as to satisfy the following requirements:
Requirement (a): for p<(2m−1)/2, f(q) elements of 2m elements of the dither table are equal to or larger than 2m−p, and
Requirement (b): for p>(2m−1)/2, f(q) elements of 2m elements of the dither table are equal to or larger than 2m−p−1,
where f(p) is the desired brightness of a subpixel 14 of color k in the displayed image in the case when the graylevel of the subpixel 14 is specified as p in the image data DINk. It should be noted that f(p) is the function corresponding to the desired image processing.
In one embodiment, a gamma correction may be performed by the brightness calculation sections 41R, 41G and 41B while a contrast correction is achieved concurrently with the dithering performed by the dithering sections 43R, 43G and 43B.
For example, a contrast correction can be achieved by using a dither table 44C determined so as to satisfy the above-described requirements (a) and (b) defined with the function f(p), the graph of which is illustrated in
In the configuration illustrated in
The configuration of the eight-color halftoning circuit section 23g illustrated in
In an alternative embodiment, the contrast correction may be individually configured for each color by individually selecting a dither table for each color and individually supplying a dither value generated by using the selected dither table to each of the dithering sections 43R, 43G and 43B.
The difference is that the eight-color halftoning circuit section 23h illustrated in
The dither value feeding section 42F selects a dither table specified by the contrast correction control signal for each of red, green and blue from the dither tables 44C-1 to 44C-M. The dither value feeding section 42F further selects the dither values DDITHERR, DDITHERG and DDITHERB from the dither tables selected for red, green and blue, respectively. The dither values DDITHERR, DDITHERG, and DDITHERB are respectively selected from the elements of the corresponding dither tables in response to the addresses X and Y of the target pixel (the pixel 11 of interest of the eight-color halftoning). This configuration allows individually setting and switching the contrast correction for each color.
In the first and second embodiments, eight-color halftoning (or many-bit color reduction) is achieved through dithering to represent the changes in the graylevel in a pseudo manner. This effectively improves the image quality.
One issue of the eight-color halftoning through dithering is an increase in the power consumption due to large variations in the voltages on the respective source lines 13. As described above, each subpixel 14 is “turned on” or “turned off” in the eight-color halftoning. Since dithering represents the graylevel in a pseudo manner by spatially distributing the “turned-on” subpixels 14, an increased number of “turned-on” subpixels 14 are positioned adjacent to “turned-off” subpixels 14, especially when an intermediate graylevel is displayed. When a “turned-on” subpixel 14 is positioned adjacent to a “turned-off” subpixel 14 and these subpixels 14 are connected with the same source line 13, this requires driving the source line 13 from the voltage corresponding to the allowed lowest graylevel to that corresponding to the allowed highest graylevel or vice versa. This implies that the power consumption is increased.
In the present embodiment, as discussed later in detail, the values of elements of a dither table are determined so as to suppress an increase in the power consumption due to dithering. In the following, a description is given of the contents of a dither table used in the present embodiment. It should be noted that, in the following description, pixels 11 arrayed in one column in the direction in which the source lines 13 are extended (that is, the Y-axis direction) may be collectively referred to as a “pixel column”. According to this notation, the address X of each pixel 11 specifies the pixel column in which each pixel 11 is positioned.
In this configuration, many of subpixels 14 of pixels 11 in the pixel column for which dither values are selected from the elements in the one of the adjacent two columns (the first column) of the dither table are “turned off” and many of subpixels 14 of pixels 11 in the pixel column for which dither values are selected form the elements in the other of the adjacent two columns (the second column) are “turned on”. In this case, a decreased number of “turned-on” subpixels 14 are adjacent to “turned-off” subpixels 14 with respect to each source line 13. This reduces the number of times of driving each source line 13 from the voltage corresponding to the lowest graylevel to the voltage corresponding to the highest graylevel and vice versa, thereby reducing the power consumption.
It should be noted that memory elements storing the respective values of the elements of the dither table are not necessarily spatially (or physically) arrayed in rows and columns in an actual implementation. In this application, a “column” of a dither table does not necessarily mean a column in a physical or special arrangement, but a group of elements associated with the same address X. In the following, a description is given of examples of a dither table for which the values of respective elements are determined as described above.
In the dither table 44 illustrated in
When dithering is performed with the dither table 44 thus configured, an increased number of subpixels 14 of the pixels 11 in pixel columns corresponding to addresses X for which the values of the lower four bits X[3:0] are even numbers are “turned off” and an increased number of subpixels 14 of the pixels 11 in pixel columns corresponding to addresses X for which the values of the lower four bits X[3:0] are odd numbers are “turned on”. Accordingly, the number of times of driving each source line 13 from the voltage corresponding to the lowest graylevel to the voltage corresponding to the highest graylevel and vice versa is reduced and this effectively reduces the power consumption.
In an alternative embodiment, all the elements in the columns of the dither table 44 corresponding to addresses X for which the values of the lower four bits [3:0] are even numbers (that is, the least significant bit is “0”) belong to a half of the 256 elements having large values, and all the elements in the columns corresponding to addresses X for which the values of the lower four bits [3:0] are odd numbers (that is, the least significant bit is “1”) belong to the other half of the 256 elements having smaller values. Also in this case, the power consumption is reduced due to the same principle.
In the dither table 44A illustrated in
When dithering is performed with the dither table 44A thus configured, an increased number of subpixels 14 of the pixels 11 in pixel columns corresponding to addresses X for which the values of the lower four bits X[3:0] are even numbers are “turned off” and an increased number of subpixels 14 of the pixels 11 in the pixel columns corresponding to addresses X for which the values of the lower four bits X[3:0] are odd numbers are “turned on”. Accordingly, the number of times of driving each source line 13 from the voltage corresponding to the lowest graylevel to the voltage corresponding to the highest graylevel and vice versa is reduced and this effectively reduces the power consumption.
In an alternative embodiment, all the elements in the columns of the dither table 44A corresponding to addresses X for which the values of the lower four bits [3:0] are even numbers (that is, the least significant bit is “0”) belong to a half of the 256 elements having large values, and all the elements in the columns corresponding to addresses X of the dither table 44A for which the values of the lower four bits [3:0] are odd numbers (that is, the least significant bit is “1”) belong to the other half of the 256 elements having smaller values. Also in this case, the power consumption is reduced due to the same principle.
Also with respect to the eight-color halftoning circuit sections 23c, 23d and 23e illustrated in
In the dither table 44C illustrated in
When dithering is performed with the dither table 44C thus configured, an increased number of subpixels 14 of the pixels 11 in the pixel columns corresponding to addresses X for which the values of the lower four bits X[3:0] are even numbers are “turned off” and an increased number of subpixels 14 of the pixels 11 in the pixel columns corresponding to addresses X for which the values of the lower four bits X[3:0] are odd numbers are “turned on”. Accordingly, the number of times of driving each source line 13 from the voltage corresponding to the lowest graylevel to the voltage corresponding to the highest graylevel and vice versa is reduced and this effectively reduces the power consumption.
In an alternative embodiment, all the elements in the columns of the dither table 44C corresponding to addresses X for which the values of the lower four bits [3:0] are even numbers (that is, the least significant bit is “0”) belong to a half of the 256 elements having large values, and all the elements in the columns of the dither table 44C corresponding to addresses X for which the values of the lower four bits [3:0] are odd numbers (that is, the least significant bit is “1”) belong to the other half of the 256 elements having smaller values. Also in this case, the power consumption is reduced due to the same principle.
Also with respect to the eight-color halftoning circuit sections 23g and 23h illustrated in
It should be noted that performing a gamma correction is not necessarily required in the present embodiment in view of power consumption reduction. Even in the case when the brightness calculation sections 41R, 41G and 41B are removed from the configuration illustrated in
As discussed in the third embodiment, the power consumption can be effectively reduced by the approach in which the values of the respective elements of the dither table are determined so that all the elements in one of adjacent two columns (first column) of a dither table belong to a half of 2n elements of the dither table having smaller values, and all the elements in the other of the adjacent two columns (second column) belong to the other half of the 2n elements having larger values. When this approach is combined with a column inversion driving method, however, the average voltage level of the source lines 13 over the liquid crystal display panel 3 may become largely different from the common level VCOM (the voltage level on the common electrode) of the liquid crystal display panel 3. This is not preferable since it may cause flickering. Flickering is easy to be observed especially when the leakage current of the liquid crystal display panel 3 is large.
When a column inversion driving method is used, subpixels 14 connected to adjacent source lines 13 are driven with drive voltages of opposite polarities. In
Meanwhile, when the values of the respective elements of the dither table are determined so that all the elements in one of adjacent two columns (first column) of a dither table belong to a half of 2n elements of the dither table having smaller values, and all the elements in the other of the adjacent two columns (second column) belong to the other half of the 2n elements having larger values, an increased number of subpixels 14 of the pixels 11 belonging to the one of the adjacent two pixel columns are “turned on”, while an increased number of subpixels 14 of the pixels 11 belonging to the other of the adjacent two pixel columns are “turned off”. In the example illustrated in
This undesirably causes a large difference between the number of the subpixels 14 driven with positive drive voltages out of the “turned on” subpixels 14 and the number of the subpixels 14 driven with negative drive voltages. In the example illustrated in
To address this problem, in the present embodiment, a dither table is used which is configured so that two columns in which all the elements belong to a half of the elements of the dither table having smaller values and two columns in which all the elements belong to the other half of the elements of the dither table having larger values are alternately repeated.
Meanwhile, subpixels 14 connected to adjacent source lines 13 are driven with drive voltages of opposite polarities. In
As a result, the difference between the number of subpixels 14 driven with positive drive voltages of the “turned-on” subpixels 14 and the number of subpixels 14 driven with negative drive voltages of the “turned-on” subpixels 14 is reduced. In the example illustrated in
A similar discussion applies to the pixel columns corresponding to the addresses X for which the values of the lower four bits X[3:0] are “2” and “3”. Also with respect to the pixel columns corresponding to the addresses X for which the values of the lower four bits X[3:0] are “2” and “3”, subpixels 14 connected to three source lines 13 are driven with positive drive voltages and subpixels 14 connected to the other three source lines 13 are driven with negative drive voltages. An increased number of subpixels 14 are “turned on” in the pixel columns corresponding to the addresses X for which the values of the lower four bits X[3:0] are “2” and “3”, while the number of the subpixels 14 driven with positive drive voltages of the “turned-on” subpixels 14 is almost same as that of the subpixels 14 driven with negative drive voltages.
Accordingly, the average voltage level on the source lines 13 over the liquid crystal display panel 3 is hard to become largely different from the common level VCOM (the voltage level on the common electrode) of the liquid crystal display panel 3, even when a column inversion driving method is used.
In the dither table 44 illustrated in
When dithering is performed with the dither table 44 thus configured, an increased number of subpixels 14 of the pixels 11 in the pixel columns corresponding to addresses X for which the values of the lower four bits X[3:0] are 4i and 4i+1 are “turned off” and an increased number of subpixels 14 of the pixels 11 in the pixel columns corresponding to addresses X for which the values of the lower four bits X[3:0] are 4i+2 and 4i+3 are “turned on”. Accordingly, the number of times of driving each source line 13 from the voltage corresponding to the lowest graylevel to the voltage corresponding to the highest graylevel and vice versa is reduced and this effectively reduces the power consumption. In addition, the number of the subpixels 14 driven with positive drive voltages of the “turned-on” subpixels 14 is almost same as that of the subpixels 14 driven with negative drive voltages, even when a column inversion driving method is used. Accordingly, the average voltage level on the source lines 13 over the liquid crystal display panel 3 is hard to become largely different from the common level VCOM (the voltage level on the common electrode) of the liquid crystal display panel 3, even when the column inversion driving method is used.
In an alternative embodiment, all the elements in the columns of the dither table 44 corresponding to addresses X for which the values of the lower four bits [3:0] are 4i and 4i+1 belong to a half of the 256 elements having large values, and all the elements in the columns of the dither table 44 corresponding to addresses X for which the values of the lower four bits [3:0] are 4i+2 and 4i+3 belong to the other half of the 256 elements having smaller values.
In the dither table 44A illustrated in
Also when dithering is performed with the dither table 44A thus configured, the power consumption is effectively reduced and the average voltage level on the source lines 13 over the liquid crystal display panel 3 is hard to become largely different from the common level VCOM (the voltage level on the common electrode) of the liquid crystal display panel 3, even when a column inversion driving method is used.
In an alternative embodiment, all the elements in the columns of the dither table 44A corresponding to addresses X for which the values of the lower four bits [3:0] are 4i and 4i+1 belong to a half of the 256 elements having large values, and all the elements in the columns of the dither table 44A corresponding to addresses X for which the values of the lower four bits [3:0] are 4i+2 and 4i+3 belong to the other half of the 256 elements having smaller values.
It should be noted that, also with respect to the eight-color halftoning circuit sections 23c, 23d and 23e illustrated in
In the dither table 44C illustrated in
When dithering is performed with the dither table 44C thus configured, an increased number of subpixels 14 of the pixels 11 in the pixel columns corresponding to addresses X for which the values of the lower four bits X[3:0] are 4i and 4i+1 are “turned off” and an increased number of subpixels 14 of the pixels 11 in the pixel columns corresponding to addresses X for which the values of the lower four bits X[3:0] are 4i+2 and 4i+3 are “turned on”. Accordingly, the number of times of driving each source line 13 from the voltage corresponding to the lowest graylevel to the voltage corresponding to the highest graylevel and vice versa is reduced and this effectively reduces the power consumption. In addition, the number of the subpixels 14 driven with positive drive voltages of the “turned-on” subpixels 14 is almost same as that of the subpixels 14 driven with negative drive voltages, even when a column inversion driving method is used. Accordingly, the average voltage level on the source lines 13 over the liquid crystal display panel 3 is hard to become largely different from the common level VCOM (the voltage level on the common electrode) of the liquid crystal display panel 3, even when the column inversion driving method is used.
In an alternative embodiment, all the elements in the columns of the dither table 44C corresponding to addresses X for which the values of the lower four bits [3:0] are 4i and 4i+1 belong to a half of the 256 elements having large values, and all the elements in the columns of the dither table 44C corresponding to addresses X for which the values of the lower four bits [3:0] are 4i+2 and 4i+3 belong to the other half of the 256 elements having smaller values.
It should be noted that, also with respect to the eight-color halftoning circuit sections 23g and 23h illustrated in
It should be also noted that, as is the case of the third embodiment, performing a gamma correction is not necessarily required in the fourth embodiment in view of power consumption reduction. Even in the case when the brightness calculation sections 41R, 41G and 41B are removed from the configuration illustrated in
Although various embodiments are specifically described in the above, the present invention must not be construed as being limited to the above-described embodiments; it would be apparent to a person skilled in the art that the present invention may be implemented with various modifications. It should be also noted that two or more of the above-described embodiments may be combined in an actual implementation as long as no technical contradiction occurs.
Number | Date | Country | Kind |
---|---|---|---|
2015128732 | Jun 2015 | JP | national |