# Patent

## Title
Display device, display panel driver, image processing apparatus and image processing method

## Abstract

A display panel driver includes: a correction calculation section which performs correction calculations on input image data to generate saturation-enhanced output image data and a drive circuitry driving the display panel in response to the output image data and a starting point control section. The correction calculation section generates red (R) data, green (G) data and blue (B) data of the output image data by performing the correction calculations on R data, G data and B data of the input image data, respectively. The starting point control section controls the positions of starting points of the input-output curves of the correction calculations.

## Background
CROSS REFERENCE
This application claims priority of Japanese Patent Application No. 2014-023879, filed on Feb. 10, 2014, the disclosure which is incorporated herein by reference.
TECHNICAL FIELD
The present invention relates to a display device, a display panel driver, an image processing apparatus and an image processing method, in particular, to process image data for saturation enhancement of display images in a display device, a display panel driver, an image processing apparatus.
BACKGROUND ART
The saturation enhancement processing is one of the known image processing techniques applied to image data. In a display device which originally has a relatively narrow color gamut, for example, performing saturation enhancement processing on image data effectively compensates the color gamut in images actually displayed on the display screen. More specifically, a liquid crystal display device which uses a white backlight undesirably has a narrow color gamut compared to recent OLED (organic light emitting diode) display devices, and therefore an enlargement of the color gamut is often required to achieve beautiful coloring. Saturation enhancement processing to image data allows enlarging the effective color gamut to meet such a requirement.
Saturation enhancement processing is also used to recover the saturation, when the saturation of an image is deteriorated by an auto contrast optimization (ACO). In a typical auto contrast optimization, a contrast enhancement is achieved in response to characterization data obtained by analyzing image data (for example, the luminance histogram or the average picture level (APL) of the image); note that a contrast enhancement is disclosed in Japanese patent No. 4,198,720 B, for example. In a typical auto contrast optimization, however, the saturation, that is, the differences among the grayscale levels of the red color (R), the green color (G) and the blue color (B) may be reduced, because a common contrast enhancement is performed for the red, green and blue colors, as is understood from FIG. 1A. To address this problem, saturation enhancement processing is often performed on image data obtained by a contrast enhancement.
According to a study of the inventors, however, there is a room for improvement in known saturation enhancement techniques to achieve appropriate saturation enhancement with a reduced circuit size.
Such a situation is especially severe when different image processing (such as contrast enhancement) is performed in series with saturation enhancement processing. FIG. 1B illustrates an example of a system in which saturation enhancement processing is performed after contrast enhancement processing. In order to achieve an improved contrast enhancement, output image data obtained by the contrast enhancement processing needs to have a wider bit width than that of input image data, to avoid gradation collapse in the contrast enhancement processing. When input image data to be subjected to contrast enhancement processing represent the grayscale level of each of the red, green and blue colors with eight bits, for example, the output image data of the contrast enhancement processing may be generated as image data which represent the grayscale level of each of the red, green and blue colors with 10 bits. When the output image data of the contrast enhancement processing are further subjected to saturation enhancement processing, the image data obtained by the saturation enhancement processing need to have a further wider bit width. When the output image data of the contrast enhancement processing represent the grayscale level of each of the red, green and blue colors with 10 bits, for example, the output image data of the saturation enhancement processing may be generated as image data which represent the grayscale level of each of the red, green and blue colors with 12 bits. The increase in the bit widths of the input and output image data of the saturation enhancement processing, however, undesirably increases the size of the circuit used for the saturation enhancement processing.
As a technique potentially related to the present invention, Japanese Patent Application Publication No. 2010-79119 A discloses a technique in which red-green-blue (RGB) data are transformed into hue-saturation-value (HSV) data and the saturation enhancement is achieved in the HSV color space. Japanese Patent Application Publication No. H06-339017 A discloses a saturation enhancement in which the red (R), green (G), blue (B) values of a saturation-enhanced image are respectively calculated by subtracting products of an enhancement coefficient and the differences between I and the original R, G, and B values from I, where I is the maximum value of the R, G, and B values of each pixel.
SUMMARY
Therefore, embodiments of the present invention provide an apparatus and method for image processing which achieve saturation enhancement with a reduce circuit size, and a display panel driver and display device using the same.
Other objectives and new features of the present invention would be understood from the disclosure in the Specification and attached drawings.
In an aspect of the present invention, a display device includes: a display panel and a display panel driver driving the display panel. The display panel driver includes: a correction calculation section which performs correction calculations on input image data to generate saturation-enhanced output image data; a drive circuitry driving the display panel in response to the output image data; and a starting point control section. The correction calculation section generates R data of the output image data by performing a first correction calculation on R data of the input image data, generates G data of the output image data by performing a second correction calculation on G data of the input image data, and generates B data of the output image data by performing a third correction calculation on B data of the input image data. The starting point control section controls a position of a starting point of a first input-output curve corresponding to an input-output relation of the first correction calculation; a position of a starting point of a second input-output curve corresponding to an input-output relation of the second correction calculation; and a position of a starting point of a third input-output curve corresponding to an input-output relation of the third correction calculation.
In another aspect of the present invention, a display panel driver for driving a display panel includes: a correction calculation section which performs correction calculations on input image data to generate saturation-enhanced output image data, a drive circuitry driving the display panel in response to the output image data and a starting point control section. The correction calculation section generates R data of the output image data by performing a first correction calculation on R data of the input image data, generates G data of the output image data by performing a second correction calculation on G data of the input image data, and generates B data of the output image data by performing a third correction calculation on B data of the input image data. The starting point control section controls a position of a starting point of a first input-output curve corresponding to an input-output relation of the first correction calculation; a position of a starting point of a second input-output curve corresponding to an input-output relation of the second correction calculation; and a position of a starting point of a third input-output curve corresponding to an input-output relation of the third correction calculation.
In still another aspect of the present invention, an image processing apparatus includes: a correction calculation section which performs correction calculations on input image data to generate saturation-enhanced output image data; and a starting point control section. The correction calculation section generates R data of the output image data by performing a first correction calculation on R data of the input image data, generates G data of the output image data by performing a second correction calculation on G data of the input image data, and generates B data of the output image data by performing a third correction calculation on B data of the input image data. The starting point control section controls a position of a starting point of a first input-output curve corresponding to an input-output relation of the first correction calculation; a position of a starting point of a second input-output curve corresponding to an input-output relation of the second correction calculation; and a position of a starting point of a third input-output curve corresponding to an input-output relation of the third correction calculation.
In still another aspect of the present invention, an image processing method includes: generating saturation-enhanced output image data by performing correction calculations on input image data. The step of generating the output image data includes: generating R data of the output image data by performing a first correction calculation on R data of the input image data; generating G data of the output image data by performing a second correction calculation on G data of the input image data; generating B data of the output image data by performing a third correction calculation on B data of the input image data; and controlling a position of a starting point of a first input-output curve corresponding to an input-output relation of the first correction calculation; a position of a starting point of a second input-output curve corresponding to an input-output relation of the second correction calculation; and a position of a starting point of a third input-output curve corresponding to an input-output relation of the third correction calculation.
The present invention provides an apparatus and method for image processing which achieve saturation enhancement with a reduce circuit size.



BRIEF DESCRIPTION OF THE DRAWINGS
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:
FIG. 1A illustrates a reduction in saturation caused by a contrast enhancement;
FIG. 1B illustrates an example of a system which performs a contrast enhancement and saturation enhancement in series;
FIG. 2 is a conceptual diagram illustrating saturation enhancement processing in one embodiment of the present invention;
FIG. 3 is a block diagram illustrating an exemplary configuration of a display device in a first embodiment of the present invention;
FIG. 4 is a circuit diagram schematically illustrating the configuration of each subpixel;
FIG. 5 is a block diagram illustrating an exemplary configuration of a driver IC in the first embodiment;
FIG. 6 is a flowchart illustrating an exemplary procedure of the saturation enhancement processing of the first embodiment;
FIG. 7 is a graph illustrating an example of a function used to determine an enhancement coefficient in the first embodiment;
FIG. 8 is a graph illustrating the relation between R data, G data and B data of input image data and R data, G data and B data of output image data in the first embodiment;
FIG. 9 is a block diagram illustrating an exemplary configuration of a driver IC in a second embodiment of the present invention;
FIG. 10 illustrates a gamma curve specified by each correction point data set and contents of a correction calculation (or gamma correction) in accordance with the gamma curve;
FIG. 11 is a block diagram illustrating an example of the configuration of an approximate gamma correction circuit in the second embodiment;
FIG. 12 is a block diagram illustrating an example of the configuration of a correction point data calculation circuit in the second embodiment.
FIG. 13 is a flowchart illustrating the procedure of contrast enhancement processing and saturation enhancement processing in the second embodiment;
FIG. 14 is a graph illustrating the relation among APL, γ_PIXELk and a correction point data set CP_Lk in one embodiment;
FIG. 15 a graph illustrating the relation among APL, γ_PIXELk and a correction point data set CP_Lk in another embodiment;
FIG. 16 is a graph schematically illustrating the shapes of gamma curves respectively corresponding to correction point data sets CP#q and CP#(q+1) and the gamma curve corresponding to the correction point data set CP_Lk;
FIG. 17 is a conceptual diagram illustrating a technical significance of modification of the correction point data set CP_Lk on the basis of variance data DCHR_σ2;
FIG. 18 illustrates correction point control data CP1_contk to CP4_contk; and
FIG. 19 is a graph illustrating the relation between R data DINR, G data DING and B data DINB of input image data DIN and R data DOUTR, G data DOUTG and B data DOUTB of output image data DOUT in the second embodiment.



DESCRIPTION OF EMBODIMENTS
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 should be noted that same, similar or corresponding elements are denoted by the same or similar reference numerals in the following description.
FIG. 2 is a conceptual diagram illustrating saturation enhancement processing in one embodiment of the present invention. In the saturation enhancement processing in the present embodiment, saturation-enhanced output image data DOUT are generated by performing correction calculations on input image data DIN. Here, the input image data DIN include R data DINR (data indicating a grayscale level of the red color), G data DING (data indicating a grayscale level of the green color) and B data DINB (data indicating a grayscale level of the blue color). Correspondingly, the output image data DOUT include R data DOUTR, G data DOUTG and B data DOUTB.
In the present embodiment, a saturation enhancement is achieved by individually adjusting the position of the starting point of a curve indicating the input-output relation of the correction calculation (that is, the relation between the value of input image data and that of output image data) for each color. In the following, a curve indicating the input-output relation of a correction calculation may be referred to as “input-output curve”. Note that a “starting point” means the point on an input-output curve for input image data with the allowed minimum value. The term “input-output curve” means to include the case when the input-output relation is linear, that is, the case when the input-output relation is represented with a straight line.
In detail, in the saturation enhancement processing in the present embodiment, R data DOUTR of output image data DOUT are generated by performing a first correction calculation on R data DINR of input image data DIN. Correspondingly, G data DOUTG of the output image data DOUT are generated by performing a second correction calculation on G data DING of the input image data DIN, and B data DOUTB of the output image data DOUT are generated by performing a third correction calculation on B data DINB of the input image data DIN. In FIG. 2, the left graph illustrates the input-output curve of the first correction calculation, the center graph illustrates the input-output curve of the second correction calculation, and the right graph illustrates the input-output curve of the third correction calculation.
In the present embodiment, the saturation enhancement is achieved by controlling the position of the starting point CP0R of the input-output curve corresponding to the input-output relation of the first correction calculation, the position of the starting point CP0G of the input-output curve corresponding to the input-output relation of the second correction calculation, and the position of the starting point CP0B of the input-output curve corresponding to the input-output relation of the third correction calculation.
Such saturation enhancement processing allows enhancing the saturation with a simple calculation. This effectively reduces the size of the circuit used to perform the saturation enhancement processing. In addition, the saturation enhancement processing of the present embodiment is easy to be combined with other image processing techniques, such as contrast enhancement. For example, a saturation enhancement is achieved by adjusting the position of the starting point of the input-output curve, while a contrast enhancement is achieved by determining the overall shape of the input-output curve. This feature is also advantageous for reducing the size of the circuit used to perform the saturation enhancement processing.
In one embodiment, in saturation enhancement processing with respect to input image data DIN associated with a certain pixel, the position of the starting point CP0R of the input-output curve of the correction calculation performed on the R data DINR of the input image data DIN is determined in response to the difference DINR−YPIXEL, where YPIXEL is the luminance value of the certain pixel calculated from the input image data DIN. Correspondingly, the position of the starting point CP0G of the input-output curve of the correction calculation performed on the G data DING of the input image data DIN is determined in response to the difference DING−YPIXEL, and the position of the starting point CP0B of the input-output curve of the correction calculation performed on the B data DINB of the input image data DIN is determined in response to the difference DINB−YPIXEL.
Since the luminance value YPIXEL is a value determined as a weighted average of the R data DINR, G data DING and B data DINB, at least one of the differences DINR−YPIXEL, DING−YPIXEL and DINB−YPIXEL is positive and at least another one is negative. Accordingly, the saturation can be enhanced by determining the positions of the starting points CP0R, CP0G and CP0B on the basis of the differences DINR−YPIXEL, DING−YPIXEL and DINB−YPIXEL. FIG. 2 illustrates saturation enhancement processing in the case when the difference DINR−YPIXEL is positive and the differences DING−YPIXEL and DINB−YPIXEL are negative.
In one embodiment, in saturation enhancement processing for an image displayed in a certain frame period (or vertical synchronization period), the starting points CP0R, CP0G and CP0B may be determined in response to the average saturation of the frame image displayed in the certain frame period. This effectively allows an improved saturation enhancement suitable for the average saturation of the frame image.
In one embodiment, the position of the starting point CP0R is determined on the basis of the product of the difference DINR−YPIXEL and an enhancement coefficient INST determined as described below, the position of the starting point CP0G is determined on the basis of the product of the difference DING−YPIXEL and the enhancement coefficient INST, and the position of the starting point CP0B is determined on the basis of the product of the difference DINB−YPIXEL and the enhancement coefficient INST. The enhancement coefficient INST is determined as the minimum value of enhancement coefficients INSTR, INSTG and INSTB, where the enhancement coefficients INSTR, INSTG and INSTB are obtained from the R data DINR, G data DING, and B data DINB of the input image data DIN, respectively. The enhancement coefficients INSTR, INSTG, and INSTB are calculated with a predetermined function f(x) as follows:

INSTR=f(DINR),

INSTG=f(DING), and

INSTB=f(DINB),

where f(x) is a function satisfying the following conditions:

(a) f(x) takes the maximum value when x is β;

(b) f(x) monotonically increases as x increases when x is less than β; and

(c) f(x) monotonically decreases as x increases when x is more than β.

β is determined as DINMAX/2 or the integer closest to DINMAX/2 (if there are two integers closest to DINMAX/2, one selected from the two closest integers), where DINMAX is the allowed maximum value of the R data DINR, G data DING, and B data DINB. When the R data DINR, G data DING, and B data DINB are eight bit data, for example, the allowed maximum value DINMAX is “255” and β is “127” or “128”.

According to such saturation enhancement processing, the saturation is enhanced more strongly when the values of the R data DINR, G data DING, and B data DINB (that is, the grayscale values of the red, green and blue colors) are about a half of the allowed maximum value DINMAX and this effectively achieves improved saturation enhancement.
Also in this case, the positions of the starting points CP0R, CP0G and CP0B may be controlled in response to the average saturation SAVE in the frame image. More specifically, the position of the starting point CP0R is controlled in response to the product of the enhancement coefficient INST, the difference DINMAX−SAVE and the difference DINR−YPIXEL. Correspondingly, the position of the starting point CP0G may be controlled in response to the product of the enhancement coefficient INST, the difference DINMAX−SAVE and the difference DING−YPIXEL, and the position of the starting point CP0B may be controlled in response to the product of the enhancement coefficient INST, the difference DINMAX−SAVE, and the difference DINB−YPIXEL.
In the following, a description is given of more specific embodiments of the present invention.
First Embodiment
FIG. 3 is a block diagram illustrating an exemplary configuration of a display device in a first embodiment of the present invention. The display device of the present embodiment, which is configured as a liquid crystal display device denoted by numeral 1, includes an LCD (liquid crystal display) panel 2 and a driver IC (integrated circuit) 3.
The LCD panel 2 includes a display region 5 and a gate line drive circuit 6 (also referred to as GIP (gate in panel) circuit). Disposed in the display region 5 are a plurality of gate lines 7 (also referred to as scan lines or address lines), a plurality of data lines 8 (also referred to as signal lines or source lines) and pixels 9. In the present embodiment, the number of the gate lines 7 is v and the number of the data lines 8 is 3h; the pixels 9 are arranged in v rows and h columns in the display region 5, where v and h are integers equal to or more than two. In the following, the horizontal direction of the display region 5 (that is, the direction in which the gate lines 7 are extended) may be referred to as X-axis direction and the vertical direction of the display region 5 (that is, the direction in which the data lines 8 are extended) may be referred to as Y-axis direction.
In the present embodiment, each pixel 9 includes three subpixels: an R subpixel 11R, a G subpixel 11G and a B subpixel 11B, where the R subpixel 11R is a subpixel corresponding to the red color (that is, a subpixel displaying the red color), the G subpixel 11G is a subpixel corresponding to the green color (that is, a subpixel displaying the green color) and the B subpixel 11B is a subpixel corresponding to the blue color (that is, a subpixel displaying the blue color). Note that the R subpixel 11R, G subpixel 11G and B subpixel 11B may be collectively referred to as subpixel 11 if not distinguished from each other. In the present embodiment, subpixels 11 are arrayed in v rows and 3h columns on the LCD panel 2. Each subpixel 11 is connected with one corresponding gate line 7 and one corresponding data line 8. In driving respective subpixels 11 of the LCD panel 2, gate lines 7 are sequentially selected and desired drive voltages are written into the subpixels 11 connected with a selected gate line 7 via the data lines 8. This allows setting the respective subpixels 11 to desired grayscale levels to thereby display a desired image in the display region 5 of the LCD panel 2.
FIG. 4 is a circuit diagram schematically illustrating the configuration of each subpixel 11. Each subpixel 11 includes a TFT (thin film transistor) 12 and a pixel electrode 13. The TFT 12 has a gate connected with a gate line 7, a source connected with a data line 8 and a drain connected with the pixel electrode 13. The pixel electrode 13 is disposed opposed to the opposing electrode (common electrode) 14 of the LCD panel 2 and the space between each pixel electrode 13 and the opposing electrode 14 is filled with liquid crystal. Although FIG. 4 illustrates the subpixel 11 as if the opposing electrode 14 may be separately disposed for each subpixel 11, a person skilled in the art would appreciate that the opposing electrode 14 is actually shared by the subpixels 11 of the entire LCD panel 2.
Referring back to FIG. 3, the driver IC 3 drives the data lines 8 and also generates gate line control signals SGIP for controlling the gate line drive circuit 6. The drive of the data lines 8 is responsive to input image data DIN and synchronization data DSYNC received from a processor 4 (for example, a CPU (central processing unit)). It should be noted here that the input image data DIN are image data corresponding to images to be displayed in the display region 5 of the LCD panel 2, more specifically, data indicating the grayscale levels of each subpixel 11 of each pixel 9. In the present embodiment, the input image data DIN represent the grayscale level of each subpixel 11 of each pixel 9 with eight bits. In other words, the input image data DIN represent the grayscale levels of each pixel 9 of the LCD panel 2 with 24 bits. The synchronization data DSYNC are used to control the operation timing of the driver IC 3; the generation timing of various timing control signals in the driver IC 3, including the vertical synchronization signal VSYNC and the horizontal synchronization signal HSYNC, is controlled in response to the synchronization data DSYNC. Also, the gate line control signals SCIP are generated in response to the synchronization data DSYNC. The driver IC 3 is mounted on the LCD panel 2 with a surface mounting technology such as a COG (chip on glass) technology.
FIG. 5 is a block diagram illustrating an example of the configuration of the driver IC 3. The driver IC 3 includes an interface circuit 21, a linear function correction circuit 22, a color reduction circuit 23, a latch circuit 24, a grayscale voltage generator circuit 25, a data line drive circuit 26, a timing control circuit 27, and a starting point control circuit 28.
The interface circuit 21 receives the input image data DIN and synchronization data DSYNC from the processor 4 and forwards the input image data DIN to the linear function correction circuit 22 and the synchronization data DSYNC to the timing control circuit 27.
The linear function correction circuit 22 performs saturation enhancement processing as described above; the linear function correction circuit 22 generates output image data DOUT by performing saturation enhancement processing on the input image data DIN.
In the following, data indicating the grayscale level of an R subpixel 11R of input image data DIN may be referred to as input image data DINR. Correspondingly, data indicating the grayscale level of a G subpixel 11G of input image data DIN may be referred to as input image data DING and data indicating the grayscale level of a B subpixel 11B of input image data DIN may be referred to as input image data DINB. Similarly, data indicating the grayscale level of an R subpixel 11R of the output image data DOUT may be referred to as output image data DOUTR. Correspondingly, data indicating the grayscale level of a G subpixel 11G of the output image data DOUT may be referred to as output image data DOUTG, and data indicating the grayscale level of a B subpixel 11B of the output image data DOUT may be referred to as output image data DOUTB.
In the present embodiment, straight lines are used as the input-output curves of the saturation enhancement processing performed in the linear function correction circuit 22 (that is, the curves indicating the input-output relation between the input image data DIN inputted to the linear function correction circuit 22 and the output image data DOUT outputted from the linear function correction circuit 22), and the positions of the starting points of the input-output curves are specified by starting point control data CP0_contR, CP0_contG and CP0_contB received from the starting point control circuit 28. Here, the starting point control data CP0_contR specifies the position of the starting point of the input-output curve of the processing to be performed on the R data DINR of the input image data DIN. Correspondingly, the starting point control data CP0_contG specifies the position of the starting point of the input-output curve of the processing to be performed on the G data DING of the input image data DIN and the starting point control data CP0_contB specifies the position of the starting point of the input-output curve of the processing to be performed on the B data DINB of the input image data DIN.
The number of bits of the R data DOUTR, G data DOUTG and B data DOUTB of the output image data DOUT is larger than that of the R data DINR, G data DING and B data DINB of the input image data DIN. This effectively avoids losing information of the grayscale levels of pixels in the correction calculation. In the present embodiment, in which the R data DINR, G data DING, and B data DINB of the input image data DIN are generated as 8-bit data, the R data DOUTR, G data DOUTG and B data DOUTB of the output image data DOUT may be, for example, generated as 10-bit data.
The color reduction circuit 23, the latch circuit 24, the grayscale voltage generator circuit 25 and the data line drive circuit 26 function in total as a drive circuitry which drives the data lines 8 of the display region 5 of the LCD panel 2 in response to the output image data DOUT generated by the linear function correction circuit 22. Specifically, the color reduction circuit 23 performs a color reduction on the output image data DOUT generated by the linear function correction circuit 22 to generate color-reduced image data DOUT_D. The latch circuit 24 latches the color-reduced image data DOUT_D from the color reduction circuit 23 in response to a latch signal SSTB received from the timing control circuit 27 and forwards the color-reduced image data DOUT_D to the data line drive circuit 26. The grayscale voltage generator circuit 25 feeds a set of grayscale voltages to the data line drive circuit 26. In one embodiment, the number of the grayscale voltages fed from the grayscale voltage generator circuit 25 may be 256 (=28) in view of the configuration in which the grayscale level of each subpixel 11 of each pixel 9 is represented with eight bits. The data line drive circuit 26 drives the data lines 8 of the display region 5 of the LCD panel 2 in response to the color-reduced image data DOUT_D received from the latch circuit 24. In detail, the data line drive circuit 26 selects desired grayscale voltages from the set of the grayscale voltages received from the grayscale voltage generator circuit 25 in response to color-reduced image data DOUT_D, and drives the corresponding data lines 8 of the LCD panel 2 to the selected grayscale voltages.
The timing control circuit 27 performs timing control of the entire drive IC 3 in response to the synchronization data DSYNC. In detail, the timing control circuit 27 generates the latch signal SSTB in response to the synchronization data DSYNC and feeds the generated latch signal SSTB to the latch circuit 24. The latch signal SSTB is a control signal instructing the latch circuit 24 to latch the color-reduced data DOUT_D. Furthermore, the timing control circuit 27 generates a frame signal SFRM in response to the synchronization data DSYNC and feeds the generated frame signal SFRM to the starting point control circuit 28. It should be noted here that the frame signal SFRM is a control signal which informs the starting point control circuit 28 of the start of each frame period; the frame signal SFRM is asserted at the beginning of each frame period. The vertical synchronization signal VSYNC generated in response to the synchronization data DSYNC may be used as the frame signal SFRM. The timing control circuit 27 also generates coordinate data D(X, Y) indicating the coordinates of the pixel 9 for which the input image data DIN currently indicate the grayscale levels of the respective subpixels 11 thereof and feeds the generated coordinate data D(X, Y) to the starting point control circuit 28. When input image data DIN which describe the grayscale levels of the respective subpixels 11 of a certain pixel 9 are fed to the starting point control circuit 28, the timing control circuit 27 feeds the coordinate data D(X, Y) indicating the coordinates of the certain pixel 9 in the display region 5 to the starting point control circuit 28.
The starting point control circuit 28 controls the saturation enhancement processing performed in the linear function correction circuit 22. The starting point control circuit 28 generates the above-described starting point control data CP0_contR, CP0_contG and CP0_contB in response to the input image data DIN, to thereby control the position of the starting point of the input-output curve of the processing performed on the input image data Dr for each color. More specifically, the starting point control circuit 28 includes an average saturation calculation section 28a, a luminance difference calculation section 28b, an enhancement coefficient calculation section 28c, and a starting point control data generator section 28d. 
The average saturation calculation section 28a calculates the average saturation SAVE of each frame image (that is, the image displayed in the display region 5 of the LCD panel 2 in each frame period), from the input image data DIN.
The luminance difference calculation section 28b calculates, for each pixel 9, the difference Rdist between the R data DINR and the luminance value YPIXEL, the difference Gdist between the G data DING and the luminance value YPIXEL, and the difference Bdist between the B data DINB and the luminance value YPIXEL, from the input image data DIN associated with each pixel 9.
The enhancement coefficient calculation section 28c calculates an enhancement coefficient INST from the R data DINR, G data DING, and B data DINB of the input image data DIN for each pixel 9. As described later, the enhancement coefficient INST is a coefficient indicating the degree of the saturation enhancement in the saturation enhancement processing.
The starting point control data generator section 28d generates the starting point control data CP0_contR, CP0_contG, and CP0_contB in response to the average saturation SAVE calculated by the average saturation calculation section 28a, the differences Rdist, Gdist, and Bdist calculated by the luminance difference calculation section 28b and the enhancement coefficient INST calculated by the enhancement coefficient calculation section 28c. In the saturation enhancement processing of input image data DIN associated with a certain pixel 9 with respect to a certain frame period, the starting point control data CP0_contR, CP0_contG, and CP0_contB used for the saturation enhancement processing for the certain pixel 9 are calculated on the basis of the average saturation SAVE of the frame image displayed in the certain frame period, the differences Rdist, Gdist, and Bdist and the enhancement coefficient INST calculated from the R data DINR, G data DING, and B data DINB of the input image data DIN associated with the certain pixel 9.
FIG. 6 is a flowchart illustrating the saturation enhancement processing in the present embodiment, more specifically, the processing performed in the starting point control circuit 28 and the linear function correction circuit 22. Overall, the saturation enhancement processing in the present embodiment includes calculation of starting point control data CP0_contR, CP0_contG, and CP0_contB (steps S11 to S14) and processing on the input image data DIN on the basis of the starting point control data CP0_contR, CP0_contG, and CP0_contB (step S15).
The following processing is performed in the calculation of the starting point control data CP0_contR, CP0_contG, and CP0_contB.
At step S11, the average saturation SAVE of the frame image displayed in each frame period is calculated from the input image data DIN. The saturation S of a certain pixel 9 is calculated as the difference between the maximum value and minimum value of the R data DINR, G data DING, and B data DINB of the input image data DIN associated with the certain pixel 9. The average saturation SAVE of a certain frame image is calculated as the average of the saturations of all the pixels 9 in the frame image. More specifically, the average saturation SAVE of a certain frame image is calculated in accordance with the following expressions (1a) and (1b):




  
    
      
        
          S
          j
        
        =
        
          
            max
            ⁡
            
              (
              
                
                  R
                  j
                
                ,
                
                  G
                  j
                
                ,
                
                  B
                  j
                
              
              )
            
          
          -
          
            min
            ⁡
            
              (
              
                
                  R
                  j
                
                ,
                
                  G
                  j
                
                ,
                
                  B
                  j
                
              
              )
            
          
        
      
    
    
      
        (
        
          1
          ⁢
          
            
          
          ⁢
          a
        
        )
      
    
  
  
    
      
        
          S
          AVE
        
        =
        
          
            
              ∑
              j
            
            ⁢
            
              
            
            ⁢
            
              S
              j
            
          
          Data_count
        
      
    
    
      
        (
        
          1
          ⁢
          
            
          
          ⁢
          b
        
        )
      
    
  




where Rj, Gj, and Bj are the values of the R data DINR, data DING and B data DINB associated with pixel j of the frame image and Sj is the saturation of pixel j. In the above, max(Rj, Gj, Bj) is the maximum value of Rj, Gj, and Bj and min(Rj, Gj, Bj) is the minimum value of Rj, Gj, and Bj. Data_count is the number of the pixels 9 in the display region 5 (the number of the pixels 9 in the frame image) and Σ represents the sum with respect to all the pixels 9 in the display region 5. As described above, the average saturation SAVE is calculated by the average saturation calculation section 28a. It is only necessary to calculate the average saturation SAVE once for each frame period.

The luminance value YPIXEL of each pixel 9 is further calculated from the input image data DIN and the difference Rdist between the R data DINR and the luminance value YPIXEL, the difference Gdist between the G data DING and the luminance value YPIXEL and the difference Bdist between the B data DINB and the luminance value YPIXEL are calculated from the input image data DIN associated with each pixel 9. The luminance value YPIXEL and the differences Rdist, Gdist, and Bdist are calculated by the luminance difference calculation section 28b. 
In detail, the luminance value YPIXEL of each pixel j is calculated as a weighted average of the values Rj, Gj, and Bj of the R data DINR, G data DING, and B data DINB of the input image data DIN in accordance with the following expression (2a)

YPIXEL=aRj+bGj+cBj,  (2a)

where a, b, and c are weights given to the R data DINR, G data DING, and B data DINB, respectively. The weights a, b, and c are larger than zero and satisfy the following expression (2b):

a+b+c=1.  (2b)

The weights a, b, and c used for the calculation of the luminance value YPIXEL depend on the definition of the luminance value YPIXEL.

According to ITU-R BT.709, for example, the luminance value Y is given by the following expression:

YPIXEL=0.2126·Rj+0.7152·Gj+0.0722·Bj.  (2c)

This expression implies that the weights a, b and c are defined as follows:

a=0.2126,
b=0.7152, and
c=0.0722.
The difference Rdist between the R data DINR and the luminance value YPIXEL, the difference Gdist between the G data DING and the luminance value YPIXEL, and the difference Bdist between the B data DINB and the luminance value YPIXEL are calculated in accordance with the following expressions (3a) to (3c):

Rdist=Rj−YPIXEL  (3a)

Gdist=Gj−YPIXEL, and  (3b)

Bdist=Bj−YPIXEL.  (3c)

At step S13, an enhancement coefficient INST associated with each pixel 9 is further calculated from the input image data DIN associated with each pixel 9. The calculation of the enhancement coefficient INST is achieved by the enhancement coefficient calculation section 28c as described above. The enhancement coefficient INST is calculated for each pixel 9 as described below: First, enhancement coefficients INSTR, INSTG, and INSTB are respectively calculated for R data DINR, G data DING, and B data DINB of the input image data DIN associated with each pixel 9.
The enhancement coefficients INSTR, INSTG, and INSTB are calculated with a function f(x) as follows:

INSTR=f(DINR),  (4a)

INSTG=f(DING), and  (4b)

INSTB=f(DINB),  (4c)

where f(x) is a function satisfying the following conditions (a) to (c):

(a) f(x) takes the maximum value when x is β;

(b) f(x) monotonically increases as x increases when x is less than β; and

(c) f(x) monotonically decreases as x increases when x is more than β.

β may be determined as DINMAX/2 or the integer closest to DINMAX/2 (if there are two integers closest to DINMAX/2, one selected from the two integers), where DINMAX is the allowed maximum value of the R data DINR, G data DING, and B data DINB. In the present embodiment in which the R data DINR, G data DING, and B data DINB are eight bit data, for example, the allowed maximum value DINMAX is “255” and β is “127” or “128”.
Note that expressions (4a) to (4b) can be rewritten as the following expressions (5a) to (5c):

INSTR=f(Rj),  (5a)

INSTG=f(Gj), and  (5b)

INSTB=f(Bj)  (5c)

where Rj, Gj, and Bj are the values of the R data DINR, G data DING, and B data DINB of the input image data DIN associated with pixel j.

FIG. 7 is a graph illustrating a specific example of a function used to determine the enhancement coefficients INSTR, INSTG, and INSTB. In one embodiment, the enhancement coefficients INSTR, INSTG, and INSTB associated with pixel j may be calculated from the values Rj, Gj, and Bj of the R data DINR, G data DING, and B data DINB of the input image data DIN associated with pixel j in accordance with the following expressions (6a) to (6c):




  
    
      
        
          INST
          R
        
        =
        
          {
          
            
              
                
                  
                    reg
                    β
                  
                  ·
                  
                    
                      R
                      j
                    
                    β
                  
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      R
                      j
                    
                  
                  ≤
                  β
                
              
            
            
              
                
                  
                    reg
                    β
                  
                  ·
                  
                    
                      
                        D
                        IN
                        MAX
                      
                      -
                      
                        R
                        j
                      
                    
                    β
                  
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      R
                      j
                    
                  
                  >
                  β
                
              
            
          
        
      
    
    
      
        (
        
          6
          ⁢
          a
        
        )
      
    
  
  
    
      
        
          INST
          G
        
        =
        
          {
          
            
              
                
                  
                    reg
                    β
                  
                  ·
                  
                    
                      G
                      j
                    
                    β
                  
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      G
                      j
                    
                  
                  ≤
                  β
                
              
            
            
              
                
                  
                    reg
                    β
                  
                  ·
                  
                    
                      
                        D
                        IN
                        MAX
                      
                      -
                      
                        G
                        j
                      
                    
                    β
                  
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      G
                      j
                    
                  
                  >
                  β
                
              
            
          
        
      
    
    
      
        (
        
          6
          ⁢
          b
        
        )
      
    
  
  
    
      
        
          INST
          B
        
        =
        
          {
          
            
              
                
                  
                    reg
                    β
                  
                  ·
                  
                    
                      B
                      j
                    
                    β
                  
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      B
                      j
                    
                  
                  ≤
                  β
                
              
            
            
              
                
                  
                    reg
                    β
                  
                  ·
                  
                    
                      
                        D
                        IN
                        MAX
                      
                      -
                      
                        B
                        j
                      
                    
                    β
                  
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      B
                      j
                    
                  
                  >
                  β
                
              
            
          
        
      
    
    
      
        (
        
          6
          ⁢
          c
        
        )
      
    
  




where reg is a register value set in an enhancement coefficient setting register (not shown) integrated within the driver IC 3; reg takes a value larger than zero and equal to or less than β. The degree of the saturation enhancement can be adjusted by adjusting the register value reg.

In particular, when the register value reg is equal to β, expressions (6a) to (6c) can be rewritten as the following expressions (7a) to (7c):




  
    
      
        
          INST
          R
        
        =
        
          {
          
            
              
                
                  
                    R
                    j
                  
                  β
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      R
                      j
                    
                  
                  ≤
                  β
                
              
            
            
              
                
                  
                    
                      D
                      IN
                      MAX
                    
                    -
                    
                      R
                      j
                    
                  
                  β
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      R
                      j
                    
                  
                  >
                  β
                
              
            
          
        
      
    
    
      
        (
        
          7
          ⁢
          a
        
        )
      
    
  
  
    
      
        
          INST
          G
        
        =
        
          {
          
            
              
                
                  
                    G
                    j
                  
                  β
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      G
                      j
                    
                  
                  ≤
                  β
                
              
            
            
              
                
                  
                    
                      D
                      IN
                      MAX
                    
                    -
                    
                      G
                      j
                    
                  
                  β
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      G
                      j
                    
                  
                  >
                  β
                
              
            
          
        
      
    
    
      
        (
        
          7
          ⁢
          b
        
        )
      
    
  
  
    
      
        
          INST
          B
        
        =
        
          {
          
            
              
                
                  
                    B
                    j
                  
                  β
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      B
                      j
                    
                  
                  ≤
                  β
                
              
            
            
              
                
                  
                    
                      D
                      IN
                      MAX
                    
                    -
                    
                      B
                      j
                    
                  
                  β
                
              
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      B
                      j
                    
                  
                  >
                  β
                
              
            
          
        
      
    
    
      
        (
        
          7
          ⁢
          c
        
        )
      
    
  




FIG. 7 is a graph illustrating the enhancement coefficients INSTR, INSTG, and INSTB calculated in accordance with expressions (7a) to (7c).

The enhancement coefficient INST finally calculated for each pixel 9 is determined as the minimum value of enhancement coefficients INSTR, INSTG, and INSTB, which are obtained for the R data DINR, G data DING, and B data DINB, respectively. In other words, it holds:

INST=min(INSTR,INSTG,INSTB).  (8)

Referring back to FIG. 6, at step S14, Starting point control data CP0_contR, CP0_contG, and CP0_contB are calculated on the basis of the average saturation SAVE, differences Rdist, Gdist, and Bdist and enhancement coefficient INST, which are calculated as described above. The calculation of the starting point control data CP0_contR, CP0_contG, and CP0_contB are achieved by the starting point control data generator section 28d. 
The starting point control data CP0_contR is determined so that the starting point control data CP0_contR increases as the difference DINMAX−SAVE increases and is proportional to the difference Rdist, where the difference DINMAX−SAVE is obtained by subtracting the average saturation SAVE from the allowed maximum value DINMAX. Correspondingly, the starting point control data CP0_contG is determined so that the starting point control data CP0_contG increases as the difference DINMAX−SAVE increases and is proportional to the difference Gdist, and the starting point control data CP0_contB is determined so that the starting point control data CP0_contB increases as the difference DINMAX−SAVE increases and is proportional to the difference Bdist. The enhancement coefficient INST is used as a parameter indicating the degree of the saturation enhancement, commonly for the calculations of the starting point control data CP0_contR, CP0_contG, and CP0_contB.
In one embodiment, the starting point control data CP0_contR, CP0_contG, and CP0_contB may be calculated in accordance with the following expressions (9a) to (9c):




  
    
      
        
          CP
          ⁢
          
            
          
          ⁢
          0
          ⁢
          
            _cont
            R
          
        
        =
        
          INST
          ·
          
            
              
                D
                IN
                MAX
              
              -
              
                S
                AVE
              
            
            
              D
              IN
              MAX
            
          
          ·
          Rdist
        
      
    
    
      
        (
        
          9
          ⁢
          a
        
        )
      
    
  
  
    
      
        
          CP
          ⁢
          
            
          
          ⁢
          0
          ⁢
          
            _cont
            G
          
        
        =
        
          INST
          ·
          
            
              
                D
                IN
                MAX
              
              -
              
                S
                AVE
              
            
            
              D
              IN
              MAX
            
          
          ·
          Gdist
        
      
    
    
      
        (
        
          9
          ⁢
          b
        
        )
      
    
  
  
    
      
        
          CP
          ⁢
          
            
          
          ⁢
          0
          ⁢
          
            _const
            B
          
        
        =
        
          INST
          ·
          
            
              
                D
                IN
                MAX
              
              -
              
                S
                AVE
              
            
            
              D
              IN
              MAX
            
          
          ·
          Bdist
        
      
    
    
      
        (
        
          9
          ⁢
          c
        
        )
      
    
  




At step S15, the input image data DIN are processed in response to the starting point control data CP0_contR, CP0_contG, and CP0_contB, to thereby calculate output image data DOUT. The output image data DOUT are obtained as a result of the saturation enhancement processing to the input image data DIN.
In the processing at step S15, the input-output curves of the processing applied to the R data DINR, G data DING, and B data DINB of the input image data DIN are each defined as a straight line. The starting point of the input-output curves of the processing applied to the R data DINR of the input image data DIN is specified by the starting point control data CP0_contR. Correspondingly, the starting point of the input-output curves of the processing applied to the 0 data DING of the input image data DIN is specified by the starting point control data CP0_contG and the starting point of the input-output curves of the processing applied to the B data DINB of the input image data DIN is specified by the starting point control data CP0_contB. Note that the end point of the input-output curve of the processing to the input image data DIN (the point on the input-output curve corresponding to input image data DIN with the allowed maximum value DINMAX) is determined commonly for the R data DINR, G data DING, and B data DINB, so that the value of the output image data Dour is determined as the allowed maximum value DOUTMAX when the value of the input image data DIN is the allowed maximum value DINMAX. Note that allowed maximum value DOUTMAX depends on the bit width of the R data DOUTR, G data DOUTG, and B data DOUTB of the output image data DOUT.
More specifically, the values of the R data DOUTR, G data DOUTG, and B data DOUTB of the output image data DOUT are calculated in accordance with the following expressions (10a) to (10c):




  
    
      
        
          D
          OUT
          R
        
        =
        
          
            
              
                
                  D
                  OUT
                  MAX
                
                -
                
                  CP
                  ⁢
                  
                    
                  
                  ⁢
                  0
                  ⁢
                  
                    _cont
                    R
                  
                
              
              
                D
                IN
                MAX
              
            
            ·
            
              D
              IN
              R
            
          
          +
          
            CP
            ⁢
            
              
            
            ⁢
            0
            ⁢
            
              _cont
              R
            
          
        
      
    
    
      
        (
        
          10
          ⁢
          a
        
        )
      
    
  
  
    
      
        
          D
          OUT
          G
        
        =
        
          
            
              
                
                  D
                  OUT
                  MAX
                
                -
                
                  CP
                  ⁢
                  
                    
                  
                  ⁢
                  0
                  ⁢
                  
                    _cont
                    G
                  
                
              
              
                D
                IN
                MAX
              
            
            ·
            
              D
              IN
              G
            
          
          +
          
            CP
            ⁢
            
              
            
            ⁢
            0
            ⁢
            
              _cont
              G
            
          
        
      
    
    
      
        (
        
          10
          ⁢
          b
        
        )
      
    
  
  
    
      
        
          D
          OUT
          B
        
        =
        
          
            
              
                
                  D
                  OUT
                  MAX
                
                -
                
                  CP
                  ⁢
                  
                    
                  
                  ⁢
                  0
                  ⁢
                  
                    _cont
                    B
                  
                
              
              
                D
                IN
                MAX
              
            
            ·
            
              D
              IN
              B
            
          
          +
          
            CP
            ⁢
            
              
            
            ⁢
            0
            ⁢
            
              _cont
              B
            
          
        
      
    
    
      
        (
        
          10
          ⁢
          c
        
        )
      
    
  




FIG. 8 illustrates the respective relations between the R data DINR, G data DING, and B data DINB of the input image data DIN and the R data DOUTR, G data DOUTG, and B data DOUTB of the output image data DOUT in the case when the R data DOUTR, G data DOUTG, and B data DOUTB of the output image data Dour are calculated in accordance with the above expressions (10a) to (10c). In FIG. 8, the symbol “CP5” denotes the end point of each input-output curve. It should be noted that at least one of the starting point control data CP0_contR, CP0_contG, and CP0_contB is positive and at least another one is negative. This is because the starting point control data CP0_contR, CP0_contG, and CP0_contB are calculated in accordance with expressions (9a) to (9c) and at least one of the differences Rdist, Gdist, and Bdist is positive and at least another one is negative, where the luminance value YPIXEL is a weighted average of the R data DINR, G data DING, and B data DINB of the input image data DIN. It would be easily understood from FIG. 8 that the processing in accordance with expressions (10a) to (10c) effectively enhances the saturation, as at least one of the starting point control data CP0_contR, CP0_contG, and CP0_contB is positive and at least another one is negative.
The output image data DOUT calculated by the linear function correction circuit 22 with the above-described series of expressions are forwarded to the color reduction circuit 23. In the color reduction circuit 23, a color reduction is performed on the output image data DOUT to generate the color-reduced image data DOUT_D. The color-reduced image data DOUT_D are forwarded to the data line drive circuit 26 via the latch circuit 24 and the data lines 8 of the LCD panel 2 are driven in response to the color-reduced image data DOUT_D.
The above-described saturation enhancement processing in the present embodiment effectively achieves saturation enhancement only with simple processing. This effectively contributes the reduction of the circuit size of an image processing circuit used for the saturation enhancement (the starting point control circuit 28 and the linear function correction circuit 22 in this embodiment).
It should be also noted that the saturation enhancement processing in the present embodiment only causes a reduced change in the luminance value YPIXEL of each pixel. In the following, a description is given of the fact that the saturation enhancement processing in the present embodiment only causes a reduced change in the luminance value YPIXEL, with a specific numerical example.
In the following, the case is considered when Rj, Gj, and Bj, which are the values of the R data DINR, G data DING, and B data DINB of the input image data DIN, are 50, 100, and 200, respectively. In this case, the luminance value YPIXEL is obtained in accordance with expression (2c) as follows:




  
    
      
        
          Y
          PIXEL
        
        =
        
        ⁢
        
          
            0.2126
            ×
            50
          
          +
          
            0.7152
            ×
            100
          
          +
          
            0.0722
            ×
            200
          
        
      
    
  
  
    
      
        =
        
        ⁢
        96.59
      
    
  
  
    
      
        ≈
        
        ⁢
        97.
      
    
  




It should be noted that the value “97” is obtained by rounding to handle the luminance value YPIXEL as an integer representable with eight bits.
The differences Rdist, Gdist, and Bdist are calculated in accordance with expressions (3a) to (3c) as follows:

Rdist=50−97=−47,

Gdist=100−97=3, and

Bdist=200−97=103.

With expressions (7a) to (7c) for β being 127, the enhancement coefficients INSTR, INSTG, and INSTB are obtained as follows:

INSTR=50/127,

INSTG=100/127, and

INSTB=(255−200)/127=55/127.

Since the enhancement coefficient INST is defined as the minimum value of the enhancement coefficients INSTR, INSTG, and INSTB (see expression (8)), the enhancement coefficient INST is obtained as follows:

INST=50/127.

The starting point control data CP0_contR, CP0_contG, and CP0_contB are obtained by expressions (9a) to (9c). It should be noted that, with respect to (DINMAX−SAVE)/DINMAX recited in expressions (9a) to (9c), it holds:

0≦(DINMAX−SAVE)/DINMAX≦1.

To discuss the change in the luminance value YPIXEL in the case when the saturation is most strongly enhanced, let us consider the case when (DINMAX−SAVE)/DINMAX is one; in this case, the saturation is most strongly enhanced. Under this assumption, the starting point control data CP0_contR, CP0_contG, and CP0_contB are obtained by expressions (9a) to (9c) as follows:

CP0_contR=(50/127)×1×(−47)=−18.50≈−19,

CP0_contG=(50/127)×1×3=1.18≈1, and

CP0_contB=(50/127)×1×103=44.55≈45.

The values of the R data DOUTR, G data DOUTG and B data DOUTB are obtained with expressions (10a) to (10c) as follows:



  
    
      
        
          
            D
            OUT
            R
          
          =
          
          ⁢
          
            
              
                {
                
                  
                    (
                    
                      255.00
                      +
                      19
                    
                    )
                  
                  /
                  255
                
                }
              
              ×
              50
            
            -
            19
          
        
      
    
    
      
        
          =
          
          ⁢
          34.72
        
      
    
    
      
        
          
            ≈
            
            ⁢
            34.75
          
          ,
        
      
    
  




  
    
      
        
          
            D
            OUT
            G
          
          =
          
          ⁢
          
            
              
                {
                
                  
                    (
                    
                      255.00
                      -
                      3
                    
                    )
                  
                  /
                  255
                
                }
              
              ×
              100
            
            +
            3
          
        
      
    
    
      
        
          =
          
          ⁢
          101.82
        
      
    
    
      
        
          
            ≈
            
            ⁢
            101.75
          
          ,
        
      
    
  




  and




  
    
      
        
          
            D
            OUT
            B
          
          =
          
          ⁢
          
            
              
                {
                
                  
                    (
                    
                      255.00
                      -
                      103
                    
                    )
                  
                  /
                  255
                
                }
              
              ×
              200
            
            +
            103
          
        
      
    
    
      
        
          =
          
          ⁢
          222.21
        
      
    
    
      
        
          ≈
          
          ⁢
          
            222.25
            .
          
        
      
    
  



Note that the values of the R data DOUTR, G data DOUTG, and B data DOUTB are represented with 10 bits, taking a value from 0.00 to 255.00 in increments of 0.25.

The luminance value YPIXEL′ after the saturation enhancement processing is calculated from the thus-obtained output image data DOUT as follows:




  
    Y
    PIXEL
    ′
  
  =
  
    
      
        0.2126
        ×
        34.75
      
      +
      
        0.7152
        ×
        101.75
      
      +
      
        0.0722
        ×
        222.25
      
    
    =
    96.2059
  




This result proves that the saturation enhancement processing in the present embodiment causes only a reduced change in the luminance value, since the luminance value YPIXEL calculated from the original input image data DIN is 96.59. The reduced change in the luminance value caused by the saturation enhancement processing results from that the enhancement coefficient INST is calculated with a function f(x) and β, where γ is determined as DINMAX/2 or a value close to DINMAX/2, and the function f(x) satisfies the following conditions (a) to (c):
(a) f(x) takes the maximum value when x is β;
(b) f(x) monotonically increases as x increases when x is less than β; and
(c) f(x) monotonically decreases as x increases when x is more than β.
The calculation of the enhancement coefficient INST in this way effectively reduces changes in the luminance value in performing the saturation enhancement processing.
Second Embodiment
FIG. 9 is a block diagram illustrating an example of the configuration of the driver IC 3 in a second embodiment. In the second embodiment, saturation enhancement and contrast enhancement are concurrently achieved, not by a series of processes as illustrated in FIG. 1B. Concurrently performing saturation enhancement and contrast enhancement is effective for reducing the circuit size. In the present embodiment, in order to concurrently achieve saturation enhancement and contrast enhancement, an approximate gamma correction circuit 31 is used in place of the linear function correction circuit 22, and a characterization data calculation circuit 32 and a correction point data calculation circuit 33 are additionally integrated in the driver IC 3.
The approximate gamma correction circuit 31 performs correction calculations based on an approximate expression of the gamma correction on the input image data DIN to generate the output image data DOUT. In the present embodiment, the input-output curves used in the correction calculations in the approximate gamma correction circuit 31 are each determined as a curve obtained by modifying a gamma curve specified by a certain gamma value so as to achieve contrast enhancement. It should be noted that, in the present embodiment, contrast enhancement is achieved to some degree by using a gamma curve as each input-output curve and additional contrast enhancement is achieved by modifying the shape of the gamma curve.
The shapes of the input-output curves used in the correction calculation by the approximate gamma correction circuit 31 are specified by correction point data sets CP_selR, CP_selG, and CP_selB received from the correction point data calculation circuit 33. The shape of the input-output curve used in the correction calculation for the R data DINR of the input image data DIN is specified by the correction point data set CP_selR. Correspondingly, the shape of the input-output curve used in the correction calculation for the G data DING of the input image data DIN is specified by the correction point data set CP_selG, and the shape of the input-output curve used in the correction calculation for the B data DINB of the input image data DIN is specified by the correction point data set CP_selB.
The characterization data calculation circuit 32 generates characterization data indicating one or more feature quantities of each frame image (the image displayed in the display region 5 in each frame period) on the basis of the input image data DIN. In the present embodiment, the characterization data include APL data DCHR_APL indicating the average picture level (APL) of each frame image, and variance data DCHR_σ2 indicating the variance of the luminance values of the pixels of each frame image. Note that the calculation of the APL data DCHR_APL and variance data DCHR_σ2 may be performed once for each frame period.
The correction point data calculation circuit 33 calculates the above-described correction point data sets CP_selR, CP_selG, and CP_selB in response to the characterization data generated by the characterization data calculation circuit 32 (in the present embodiment, the APL data DCHR_APL and variance data DCHR_σ2) and the starting point control data CP0_contR, CP0_contG, and CP0_contB generated by the starting point control circuit 28. Overall, the correction point data calculation circuit 33 functions as a correction control circuitry which controls the shapes of the input-output curves in response to the characterization data (the APL data DCHR_APL and variance data DCHR_σ2) generated by the characterization data calculation circuit 32 and adjusts the positions of the starting points of the input-output curves in response to the starting point control data CP0_contR, CP0_contG, and CP0_contB.
FIG. 10 illustrates the input-output curve specified by each correction point data set CP_selk generated by the correction point data calculation circuit 33 and the contents of the correction calculation in accordance with the input-output curve. Each correction point data set CP_selk includes correction point data CP0 to CP5. The correction point data CP0 to CP5 are each defined as data indicating a point in a coordinate system in which input image data DINk are associated with the horizontal axis (or a first axis) and output image data DOUTk are associated with the vertical axis (or a second axis). The correction point data CP0 indicate the position of the starting point of the input-output curve, which may be denoted also by symbol “CP0”, and the correction point data CP5 indicate the position of the end point of the input output curve, which may be denoted also by symbol “CP5”. The correction point data CP2 and CP3 respectively indicate the positions of correction points which the input-output curve passes through near the center of the input-output curves, which may be denoted also by symbols “CP2” and “CP3”, respectively. The correction point data CP1 indicate the position of a correction point located between the correction points CP0 and CP2, which is denoted also by symbol “CP1”, and the correction point data CP4 indicate the position of a correction point located between the correction points CP3 and CP5, which is also denoted by symbol “CP4”. The shape of the gamma curve is specified by appropriately determining the positions of the correction points CP0 to CP0 indicated by the correction point data CP0 to CP5.
As illustrated in FIG. 10, for example, it is possible to specify the shape of a gamma curve as being convex downward by determining the positions of the correction points CP1 to CP4 as being lower than the straight line connecting the both ends of the gamma curve. In the approximate gamma correction circuit 31, the output image data DOUTk are generated by performing a gamma correction in accordance with the gamma curve with the shape specified by the correction point data CP0 to CP5 included in the correction point data set CP_selk. As described later in detail, the correction point data CP0 to CP5 of the correction point data sets CP_selR, CP_selG and CP_selB are determined in response to the characterization data (in the present embodiment, APL data DCHR_APL and variance data DCHR_σ2) generated by the characterization data calculation circuit 32. This effectively allows controlling the shapes of the input-output curves used in the correction calculations of the R data DINR, G data DING and B data DINB of the input image data DIN in response to the characterization data. Furthermore, the correction point data CP0 of the correction point data sets CP_selR, CP_selG and CP_selB are adjusted in response to the starting point control data CP0_contR, CP0_contG and CP0_contB, respectively. This effectively allows adjusting the positions of the starting points of the input-output curves used in the correction calculations of the R data DINR, G data DING and B data DINB of the input image data DIN, to thereby achieve saturation enhancement.
FIG. 11 is a block diagram illustrating an example of the configuration of the approximate gamma correction circuit 31. The approximate gamma correction circuit 31 includes approximate gamma correction units 34R, 34G and 34B, which are prepared for the R data DINR, G data DING and B data DINB of the input image data DIN, respectively. The approximate gamma correction unit 34R performs a correction calculation with an arithmetic expression on the R data DINR of the input image data DIN to generate the R data DOUTR of the output image data DOUT. Correspondingly, the approximate gamma correction units 34G and 34B perform correction calculations with arithmetic expressions on the G data DING and B data DINB of the input image data DIN to generate the G data DOUTG and B data DOUTB of the output image data DOUT, respectively. As described above, the number of bits of the R data DOUTR, G data DOUTG and B data DOUTB of output image data DOUT is ten bits in the present embodiment; this means that the number of bits of the R data DOUTR, G data DOUTG and B data DOUTB of the output image data DOUT is larger than that of the R data DINR, G data DING and B data DINB of the input image data DIN.
Coefficients of the arithmetic expression used for the correction calculation by the approximate gamma correction unit 34R are determined depending on the correction point data CP0 to CP5 of the correction point data set CP_selR. Correspondingly, coefficients of the arithmetic expressions used for the correction calculation by the approximate gamma correction units 34G and 34B are determined depending on the correction point data CP0 to CP5 of the correction point data set CP_selG and CP_selB, respectively.
FIG. 12 is a block diagram illustrating an example of the configuration of the correction point data calculation circuit 33. In the example illustrated in FIG. 12, the correction point data calculation circuit 33 includes: a correction point data set storage register 41, an interpolation/selection circuit 42 and a correction point data adjustment circuit 43 and a CP0 adjustment circuit 44.
The correction point data set storage register 41 stores therein a plurality of correction point data sets CP#1 to CP#m. The correction point data sets CP#1 to CP#m are used as seed data for determining the above-described correction point data sets CP_selR, CP_selG and CP_selB. Each of the correction point data sets CP#1 to CP#m includes correction point data CP0 to CP5 defined as illustrated in FIG. 10.
The interpolation/selection circuit 42 determines gamma values γ_PIXELR, γ_PIXELG and γ_PIXELB on the basis of the APL data DCHR_APL received from the characterization data calculation circuit 32 and determines correction point data sets CP_LR, CP_LG and CP_LB corresponding to the gamma values γ_PIXELR, γ_PIXELG and γ_PIXELB thus determined. Here, the gamma value γ_PIXELR is the gamma value of the gamma curve used for the correction calculation performed on the R data DINR of the input image data DIN. Correspondingly, the gamma value γ_PIXELG is the gamma value of the gamma curve used for the correction calculation performed on the G data DING of the input image data DIN and the gamma value γ_PIXELB is the gamma value of the gamma curve used for the correction calculation performed on the B data DINB of the input image data DIN.
In one embodiment, the interpolation/selection circuit 42 may select one of the correction point data sets CP#1 to CP#m on the basis of the gamma value γ_PIXELk and determine the correction point data set CP_Lk as the selected one of the correction point data sets CP#1 to CP#m. Alternatively, the interpolation/selection circuit 42 may determine the correction point data set CP_Lk by selecting two of correction point data sets CP#1 to CP#m on the basis of the gamma value γ_PIXELk and applying an interpolation to the selected two correction point data sets. Details of the determination of the correction point data sets CP_LR, CP_LG and CP_LB are described later. The correction point data sets CP_LR, CP_LG and CP_LB determined by the interpolation/selection circuit 42 are forwarded to the correction point data adjustment circuit 43.
The correction point data adjustment circuit 43 modifies the correction point data sets CP_LR, CP_LG and CP_LB in response to the variance data DCHR_σ2 received from the characterization data calculation circuit 32. This operation of the correction point data adjustment circuit 43 is technically equivalent to processing to modify the shape of the gamma curve specified by the gamma value γ_PIXELk in response to the variance data DCHR_σ2. As described later, in the present embodiment, the correction point data adjustment circuit 43 modifies the correction point data CP1 and CP4 of the correction point data sets CP_LR, CP_LG and CP_LB in response to the variance data DCHR_σ2, to thereby achieve contrast enhancement.
The CP0 adjustment circuit 44 modifies the correction point data sets CP_LR, CP_LG and CP_LB in response to the starting point control data CP0_contR, CP0_contG and CP0_contB received from the starting point control circuit 28. This operation of the CP0 adjustment circuit 4 is technically equivalent to processing to adjust the positions of the starting points of the input-output curves in response to the starting point control data CP0_contR, CP0_contG and CP0_contB. The correction point data sets CP_LR, CP_LG and CP_LB thus modified by the correction point data adjustment circuit 43 and the CP0 adjustment circuit 44 are used as the correction point data sets CP_selR, CP_selG and CP_selB, which are finally fed to the approximate gamma correction circuit 31.
In the present embodiment, the correction point data sets CP_LR, CP_LG and CP_LB are first modified by the correction point data adjustment circuit 43 to generate correction point data sets CP_CRB, CP_CRG and CP_CRB and the correction point data sets CP_CRB, CP_CRG and CP_CRB are further modified by the CP0 adjustment circuit 44 to thereby generate the correction point data sets CP_selR, CP_selG and CP_selB, which are finally fed to the approximate gamma correction circuit 31. In an alternative embodiment, the correction point data calculation circuit 33 may be configured so that the correction point data sets CP_LR, CP_LG and CP_LB are first modified by the CP0 adjustment circuit 44 and the modified correction point data sets CP_LR, CP_LG and CP_LB are further modified by the correction point data adjustment circuit 43 to generate the correction point data sets CP_selR, CP_selG and CP_selB. The correction point data adjustment circuit 43 and the CP0 adjustment circuit 44 may be combined to form a unified circuit. In this case, the unified circuit may modify the correction point data sets CP_LR, CP_LG and CP_LB in response to the variance data DCHR_σ2 and the starting point control data CP0_contR, CP0_contG and CP0_contB. Details of the operations of the respective circuits in the correction point data calculation circuit 33 are described later.
FIG. 13 is a flowchart illustrating the procedure of the correction calculation performed on the input image data DIN in the second embodiment. Similarly to the first embodiment, the input image data DIN are fed to the starting point control circuit 28 and the starting point control data CP0_contR, CP0_contG and CP0_contB are generated by the starting point control circuit 28 on the basis of the input image data DIN at steps 11 to 14. The starting point control data CP0_contR, CP0_contG and CP0_contB are generated through the same processing as in the first embodiment.
At step S21, the input image data DIN are also fed to the characterization data calculation circuit 32 and the APL data DCHR_APL and variance data DCHR_σ2 of each frame image are generated by the characterization data calculation circuit 32 from the input image data DIN. As described above, the APL data DCHR_APL indicate the APL of each frame image and the variance data DCHR_σ2 as indicate the variance of the luminance values of the pixels in each frame period.
At step S22, the gamma values to be used for the correction calculation of the input image data DIN associated with each pixel 9 in each frame image are calculated from the APL data DCHR_APL of each frame image. In the present embodiment, a gamma value is calculated for each of the R data DINR, G data DING and B data DINB of the input image data DIN associated with each pixel 9. In detail, the gamma value γ_PIXELR to be used for the correction calculation performed on the R data DINR of the input image data DIN associated with a certain frame image is calculated by the following expression (11a):

γ_PIXELR=γ_STDR+APL·ηR,  (11a)

where γ_STDR is a given reference gamma value, APL is the average picture level of the certain frame image, and ηR is a given positive proportionality constant. It should be noted that, under the definition with expression (11a), the gamma value Y_PIXELR increases as the average picture level APL increases.

Correspondingly, the gamma values γ_PIXELG and Y_PIXELB to be used for the correction calculations performed on the G data DING and B data DINB of the input image data DIN associated with the certain frame image are calculated by the following expressions (11b) and (11c):

γ_PIXELG=γ_STDG+APL·ηG, and  (11b)

γ_PIXELB=γ_STDB+APL·ηB,  (11c)

where γ_STDG and γ_STDB are given reference gamma values, and ηG and ηB are given positive proportionality constants. γ_STDR, γ_STD, and γ_STDB may be equal to each other, or different, and ηR, ηG and ηB may be equal to each other, or different. It should be noted that the gamma values γ_PIXELR, γ_PIXELG, and γ_PIXELB are calculated for each frame image.

When γ_STDR, γ_STDG, and γ_STDB are equal to each other and ηR, ηG, and ηB are equal to each other, a common gamma value is calculated for the R data DINR, G data DING and B data DINB of the input image data DIN; in this case, the common gamma value γ_PIXEL is calculated by the following expression (11d):

γ_PIXEL=γ_STD+APL·η.  (11d)

At step S23, the correction point data sets CP_LR, CP_LG, and CP_LB are selected or determined on the basis of the thus-calculated gamma values γ_PIXELR, γ_PIXELG and γ_PIXELB, respectively. It should be noted that the correction point data sets CP_LR, CP_LG and CP_LB are seed data used for calculating the correction point data sets CP_selR, CP_selG, and CP_selB, which are finally fed to the approximate gamma correction circuit 31. The correction point data sets CP_LR, CP_LG and CP_LB are determined for each frame image.
In one embodiment, the correction point data sets CP_LR, CP_LG, and CP_LB are each selected from the correction point data sets CP#1 to CP#m stored in the correction point data set storage register 41 of the correction point data calculation circuit 33. As described above, the correction point data sets CP#1 to CP#m correspond to different gamma values γ and each of the correction point data sets CP#1 to CP#m includes correction point data CP0 to CP5.
The correction point data CP0 to CP5 of a correction point data set CP#j corresponding to a certain gamma value γ are determined as follows:




  
    
      
        
          
            
              
                (
                1
                )
              
              ⁢
              
                
              
              ⁢
              For
              ⁢
              
                
              
              ⁢
              γ
            
            <
            1
          
          ,
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              CP
              ⁢
              
                
              
              ⁢
              0
            
            =
            0
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            CP
            ⁢
            
              
            
            ⁢
            1
          
          =
          
            
              
                4
                ·
                
                  Gamma
                  ⁡
                  
                    [
                    
                      K
                      /
                      4
                    
                    ]
                  
                
              
              -
              
                Gamma
                ⁡
                
                  [
                  K
                  ]
                
              
            
            2
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            CP
            ⁢
            
              
            
            ⁢
            2
          
          =
          
            Gamma
            ⁡
            
              [
              
                K
                -
                1
              
              ]
            
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            CP
            ⁢
            
              
            
            ⁢
            3
          
          =
          
            Gamma
            ⁡
            
              [
              K
              ]
            
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            CP
            ⁢
            
              
            
            ⁢
            4
          
          =
          
            
              2
              ·
              
                Gamma
                ⁡
                
                  [
                  
                    
                      (
                      
                        
                          D
                          IN
                          MAX
                        
                        +
                        K
                        -
                        1
                      
                      )
                    
                    /
                    2
                  
                  ]
                
              
            
            -
            
              D
              OUT
              MAX
            
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            CP
            ⁢
            
              
            
            ⁢
            5
          
          =
          
            D
            OUT
            MAX
          
        
        ⁢
        
          

        
        ⁢
        and
      
    
    
      
        (
        
          12
          ⁢
          a
        
        )
      
    
  
  
    
      
        
          
            
              
                (
                2
                )
              
              ⁢
              
                
              
              ⁢
              For
              ⁢
              
                
              
              ⁢
              γ
            
            ≥
            1
          
          ,
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              CP
              ⁢
              
                
              
              ⁢
              0
            
            =
            0
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            CP
            ⁢
            
              
            
            ⁢
            1
          
          =
          
            
              2
              ·
              
                Gamma
                ⁡
                
                  [
                  
                    K
                    /
                    2
                  
                  ]
                
              
            
            -
            
              Gamma
              ⁡
              
                [
                K
                ]
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            CP
            ⁢
            
              
            
            ⁢
            2
          
          =
          
            Gamma
            ⁡
            
              [
              
                K
                -
                1
              
              ]
            
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            CP
            ⁢
            
              
            
            ⁢
            3
          
          =
          
            Gamma
            ⁡
            
              [
              K
              ]
            
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            CP
            ⁢
            
              
            
            ⁢
            4
          
          =
          
            
              2
              ·
              
                Gamma
                ⁡
                
                  [
                  
                    
                      (
                      
                        
                          D
                          IN
                          MAX
                        
                        +
                        K
                        -
                        1
                      
                      )
                    
                    /
                    2
                  
                  ]
                
              
            
            -
            
              D
              OUT
              MAX
            
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            CP
            ⁢
            
              
            
            ⁢
            5
          
          =
          
            D
            OUT
            MAX
          
        
      
    
    
      
        (
        
          12
          ⁢
          b
        
        )
      
    
  




where DINMAX is the allowed maximum value of the R data DINR, G data DING and B data DINB of the input image data DIN; DINMAX depends on the number of bits of the R data DINR, G data DING, and B data DINB. Similarly, DOUTMAX is the allowed maximum value of the R data DOUTR, G data DOUTMAX and B data DOUTB of the output image data DOUT; DOUTMAX depends on the number of bits of the R data DOUTR, G data DOUTG and B data DOUTB. K is a constant given by the following expression (13a):

K=(DINMAX+1)/2.  (13a)

In the above, the function Gamma [x], which is a function corresponding to the strict expression of the gamma correction, is defined by the following expression:

Gamma[x]=DOUTMAX·(x/DINMAX)γ  (13b)

In the present embodiment, the correction point data sets CP#1 to CP#m are determined so that the gamma value γ recited in expression (13b) to which a correction point data set CP#j selected from the correction point data sets CP#1 to CP#m corresponds is increased as j is increased. In other words, it holds:

γ1<γ2< . . . <γm·1<γm,  (14)

where γ1 is the gamma value corresponding to the correction point data set CP#j.

In one embodiment, the correction point data set CP_LR is selected from the correction point data sets CP#1 to CP#m on the basis of the gamma value γ_PIXELR. The correction point data set CP_LR is determined as a correction point data set CP#j with a larger value of j as the gamma value γ_PIXELR increases. Correspondingly, the correction point data sets CP_LG and CP_LB are selected from the correction point data sets CP#1 to CP#m on the basis of the gamma values γ_PIXELG and γ_PIXELB, respectively. FIG. 14 is a graph illustrating the relation among the average picture level (APL) of each frame image, γ_PIXELk and the correction point data set CP_Lk in the case when the correction point data set CP_Lk is determined in this manner. As the average picture level of each frame image increases, the gamma value γ_PIXELk is increased and a correction point data set CP#j with a larger value of j is selected as the correction point data set CP_Lk.
In an alternative embodiment, the correction point data sets CP_LR, CP_LG, and CP_LB may be determined as follows: The correction point data sets CP#1 to CP#m are stored in the correction point data set storage register 41 of the correction point data calculation circuit 33. The number of the correction point data sets CP#1 to CP#m stored in the correction point data set storage register 41 is 2P−(Q−1), where P is the number of bits used to describe the average picture level (APL) of each frame image and Q is a predetermined integer equal to more than two and less than P. This implies that m=2P−(Q−1). The correction point data sets CP#1 to CP#m to be stored in the correction point data set storage register 41 may be fed from the processor 4 to the drive IC 3 as initial settings.
Furthermore, two correction point data sets CP#q and CP#(q+1) are selected on the basis of the gamma value γ_PIXELk (k is any one of “R”, “G” and “B”) from among the correction point data sets CP#1 to CP#m stored in the correction point data set storage register 41 for determining the correction point data set CP_Lk, where q is an integer from one to m−1. The two correction point data sets CP#q and CP#(q+1) are selected to satisfy the following expression:

γq<γ_PIXELk<γq+1.  (15)

The correction point data CP0 to CP5 of the correction point data set CP_Lk are respectively calculated with an interpolation of correction point data CP0 to CP5 of the selected two correction point data sets CP#q and CP#(q+1).
More specifically, the correction point data CP0 to CP5 of the correction point data set CP_Lk (where k is any of “R”, “G” and “B”) are calculated from the correction point data CP0 to CP5 of the selected two correction point data sets CP#q and CP#(q+1) in accordance with the following expressions:

CPα_Lk=CPα(#q)+{(CPα(#(q+1))−CPα(#q))/2Q}×APL_PIXEL[Q−1:0],  (16)

where α is an integer from zero to five, CPα_Lk is the correction point data CPα of correction point data set CP_Lk, CPα(#q) is the correction point data CPα of the selected correction point data set CP#q, CPα(#(q+1)) is the correction point data CPα of the selected correction point data set CP#(q+1), and APL[Q−1:0] is the lowest Q bits of the average picture level of each frame image. FIG. 15 is a graph illustrating the relation among the average picture level (APL), γ_PIXELk and the correction point data set CP_Lk in the case when the correction point data set CP_Lk is determined in this manner. As the average picture level increases, the gamma value γ_PIXELk is increased and correction point data sets CP#q and CP#(q+1) with a larger value of q are selected. The correction point data set CP_Lk is determined to correspond to a gamma value in a range from the gamma value γq to γq+1, which the correction point data sets CP#q and CP#(q+1) respectively correspond to.

FIG. 16 is a graph schematically illustrating the shapes of the gamma curves corresponding to the correction point data sets CP#q and CP#(q+1) and the correction point data set CP_Lk. Since the correction point data CPα of the correction point data set CP_Lk is obtained through the interpolation of the correction point data CPα(#q) and CPα(#(q+1)) of the correction point data sets CP#q and CP#(q+1), the shape of the gamma curve corresponding to the correction point data set CP_Lk is determined so that the gamma curve corresponding to the correction point data set CP_Lk is located between the gamma curves corresponding to the correction point data sets CP#q and CP#(q+1). The calculation of the correction point data CP0 to CP5 of the correction point data set CP_Lk through the interpolation of the correction point data CP0 to CP5 of the correction point data sets CP#q and CP#(q+1) is advantageous for allowing finely adjusting the gamma value used for the gamma correction even when only a reduced number of the correction point data sets CP#1 to CP#m are stored in the correction point data set storage register 41.
It should be noted that, when a gamma value γ_PIXEL is calculated commonly for the R data DINR, G data DING and B data DINB, a common correction point data set CP_L is selected or calculated from the gamma value γ_PIXEL in a similar way.
At step S24, the correction point data sets CP_LR, CP_LG, and CP_LB thus selected or calculated are modified in response to the variance data DCHR_σ2 to generate correction point data sets CP_CRR, CP_CRG and CP_CRB. It should be noted that, since the correction point data sets CP_LR, CP_LG and CP_LB each represent the shape of a specific gamma curve, modifying the correction point data sets CP_LR, CP_LG and CP_LB in response to the variation data DCHR_σ2 is technically equivalent to modifying the shapes of the gamma curves used for the correction calculations in response to the variation data DCHR_σ2.
FIG. 17 is a conceptual diagram illustrating the technical significance of modification of the correction point data set CP_Lk on the basis of variance data DCHR_σ2. A reduced variance σ2 of the luminance values of a certain frame image means that the frame image includes an increased number of pixels with luminance values close to the APL of the frame image. In other words, the contrast of the frame image corresponding to the input image data DIN is small. When the contrast of the frame image corresponding to the input image data DIN is small, it is possible to display the frame image with an improved image quality by performing a correction calculation to enhance the contrast by the approximate gamma correction circuit 31.
Since the correction point data CP1 and CP4 of the correction point data set CP_Lk largely influence the contrast, the correction point data CP1 and CP4 of the correction point data set CP_Lk are adjusted on the basis of the variance data DCHRσ2 in the present embodiment. The correction point data CP1 of the correction point data set CP_Lk is modified so that the correction point data CP1 of the correction point data sets CP_CRk, which is obtained as the result of the modification, is decreased as the variance σ2 indicated by the variance data DCHR_σ2 decreases. The correction point data CP4 of the correction point data set CP_Lk is, on the other hand, modified so that the correction point data CP4 of the correction point data sets CP_CRk is increased as the variance σ2 indicated by the variance data DCHR_σ2 decreases. Such modification results in that the correction calculation in the approximate gamma correction circuit 31 is performed to enhance the contrast, when the contrast of the image corresponding to the input image data DIN is small. It should be noted that the correction point data CP0, CP2, CP3 and CP5 of the correction point data set CP_Lk are not modified in the present embodiment.
At step S25, the correction point data set CP_CRk, CP_CRG, and CP_CRB are modified in response to the starting point control data CP0_contR, CP0_contG, and CP0_contB to generate the correction point data sets CP_selR, CP_selG and CP_selB. In the present embodiment, the starting points of the input-output curves, that is, the correction point data CP0 of the correction point data sets CP_CRR, CP_CRG and CP_CRB are modified in response to the starting point control data CP0_contR, CP0_contG and CP0_contB. Since a correction point data CP0 indicates the position of the starting point of a gamma curve (input-output curve), modifying the correction point data CP0 of the correction point data sets CP_CRR, CP_CRG and CP_CRB is technically equivalent to adjusting the positions of the starting points of the gamma curves associated with the correction point data sets CP_CRR, CP_CRG and CP_CRB.
The correction point data CP1 to CP4 of the correction point data sets CP_CRR, CP_CRG, and CP_CRB are also modified in accordance with the modification of the correction point data CP0, that is, the adjustment of the positions of the input-output curves. Since the correction point data CP1 to CP4 of the correction point data sets CP_CRR, CP_CRG, and CP_CRB indicates the shapes of the intermediate portions of the input-output curves, modifying the correction point data CP1 to CP4 of the correction point data sets CP_CRR, CP_CRG and CP_CRB is technically equivalent to modifying the shapes of the intermediate portions of the input-output curves. Correction point data corresponding to correction points close to the starting points of the input-output curves (for example, correction point data CP1) are subjected to a relatively large modification and correction point data corresponding to correction points close to the end points of the input-output curves (for example, correction point data CP4) are subjected to a relatively small modification. More specifically, correction point control data CP1_contk to CP4_contk, which indicate the amounts of modifications of the correction point data CP1 to CP4 of the correction point data set CP_CRk, are calculated in accordance with the following expressions (17a) to (17d):




  
    
      
        
          CP1_cont
          k
        
        =
        
          
            
              
                (
                
                  
                    D
                    OUT
                    MAX
                  
                  -
                  
                    CP
                    ⁢
                    
                      
                    
                    ⁢
                    0
                    ⁢
                    
                      _cont
                      k
                    
                  
                
                )
              
              
                D
                IN
                MAX
              
            
            ·
            
              K
              2
            
          
          +
          
            CP
            ⁢
            
              
            
            ⁢
            0
            ⁢
            
              _cont
              k
            
          
        
      
    
    
      
        (
        
          17
          ⁢
          a
        
        )
      
    
  
  
    
      
        
          CP2_cont
          k
        
        =
        
          
            
              
                (
                
                  
                    D
                    OUT
                    MAX
                  
                  -
                  
                    CP
                    ⁢
                    
                      
                    
                    ⁢
                    0
                    ⁢
                    
                      _cont
                      k
                    
                  
                
                )
              
              
                D
                IN
                MAX
              
            
            ·
            
              (
              
                K
                -
                1
              
              )
            
          
          +
          
            CP
            ⁢
            
              
            
            ⁢
            0
            ⁢
            
              _cont
              k
            
          
        
      
    
    
      
        (
        
          17
          ⁢
          b
        
        )
      
    
  
  
    
      
        
          CP3_cont
          k
        
        =
        
          
            
              
                (
                
                  
                    D
                    OUT
                    MAX
                  
                  -
                  
                    CP
                    ⁢
                    
                      
                    
                    ⁢
                    0
                    ⁢
                    
                      _cont
                      k
                    
                  
                
                )
              
              
                D
                IN
                MAX
              
            
            ·
            K
          
          +
          
            CP
            ⁢
            
              
            
            ⁢
            0
            ⁢
            
              _cont
              k
            
          
        
      
    
    
      
        (
        
          17
          ⁢
          c
        
        )
      
    
  
  
    
      
        
          CP4_cont
          k
        
        =
        
          
            
              
                (
                
                  
                    D
                    OUT
                    MAX
                  
                  -
                  
                    CP
                    ⁢
                    
                      
                    
                    ⁢
                    0
                    ⁢
                    
                      _cont
                      k
                    
                  
                
                )
              
              
                D
                IN
                MAX
              
            
            ·
            
              
                (
                
                  
                    D
                    IN
                    MAX
                  
                  +
                  K
                  -
                  1
                
                )
              
              2
            
          
          +
          
            CP
            ⁢
            
              
            
            ⁢
            0
            ⁢
            
              _cont
              k
            
          
        
      
    
    
      
        (
        
          17
          ⁢
          d
        
        )
      
    
  




FIG. 18 schematically illustrates the correction point control data CP1_contk to CP4_contk thus calculated. In FIG. 18, symbols “CP5R”, “CP5G” and “CP5B” indicate the end points of the input-output curves used for the correction calculations of the R data DINk, G data DING, and B data DINB, respectively. The correction point data set CP_selk is calculated by adding the values of the above-described correction point control data CP1_contk to CP4_contk to the values of the correction point data CP1 to CP4 of the correction point data sets CP_CRk.
As a whole, the correction point data CP0 to CP4 of the correction point data set CP_selk may be calculated in one embodiment by the following expressions:

CP0_selR=CP0_LR+CP0_contR,  (18a)

CP0_selG=CP0_LG+CP0_contG,  (18b)

CP0_selB=CP0_LB+CP0_contB,  (18c)

CP1_selR=CP1_LR−(DINMAX−σ2)·ξR+CP1_contR,   (19a)

CP1_selG=CP1_LG−(DINMAX−σ2)·ξG+CP1_contG,   (19b)

CP1_selB=CP1_LB−(DINMAX−σ2)·ξB+CP1_contB,   (19c)

CP2_selR=CP2_LR+CP2_contR,  (20a)

CP2_selG=CP2_LG+CP2_contG,  (20b)

CP2_selB=CP2_LB+CP2_contB,  (20c)

CP3_selR=CP3_LR+CP3_contR,  (21a)

CP3_selG=CP3_LG+CP3_contG,  (21b)

CP3_selB=CP3_LB+CP3_contB,  (21c)

CP4_selR=CP4_LR+(DINMAX−σ2)·εR+CP4_contR,   (22a)

CP4_selG=CP4_LG+(DINMAX−σ2)·ξG+CP4_contG, and   (22b)

CP4_selB=CP4_LB+(DINMAX−σ2)·ξB+CP4_contB,   (22c)

where σ2 is the variance of the luminance values indicated by the variance data DCHR_σ2, and DINMAX is the allowed maximum value of the R data DINR, G data DING, and B data DINB of the input image data DIN. ξR, ξG, and ξB are predetermined proportionality constants. ξR, ξG and ξB may be equal to each other or different. CPα_selk is the value of the correction point data CPα of the correction point data set CP_selk and CPα_Lk is the value of the correction point data CPα of the correction point data set CP_Lk.

The correction point data CP5 of the correction point data set CP_selk is determined as equal to the correction point data CP5 of the correction point data set CP_Lk.
Since the correction point data CP5 are unchanged in the selection of the correction point data set CP_Lk or calculation of the correction point data set CP_Lk through an interpolation at step S23, the following expression (23) holds:

CP5_selG=CP5_selG=CP5_selB=CP5(=DOUTMAX)   (23)

It should be noted that, since the starting point control data sets CP0_contR, CP0_contG, and CP0_contB are calculated for each pixel 9, the correction point data sets CP_selR, CP_selG, and CP_selB are also calculated for each pixel 9. In other words, correction point data CP_selk associated with a certain pixel 9 in a certain frame image are calculated from the correction point data set CP_Lk calculated for the frame image, the variance σ2 of the luminance values described in the variance data DCHR_σ2 calculated for the frame image, and the starting point control data CP0_contR, CP0_contG and CP0_contB calculated for the pixel 9.
When a common gamma value γ_PIXEL is calculated for the R data DINR, G data DING and B data DINB of input image data DIS and a common correction point data set CP_L is selected or calculated, the modification of the correction point data set CP_L on the basis of the variance data DCHR_σ2 is commonly performed for the R data DINR, G data DING and B data DINB, while the modification of the correction point data set CP_L on the basis of the starting point data CP0_contR, CP0_contG, and CP0_contB are individually performed for the R data DINR, G data DING and B data DINB. In this case, the correction point data CP0 to CP4 of the correction point data sets CP_selR, CP_selG and CP_selB are resultantly calculated in accordance with the following expressions:

CP0_selR=CP0_L+CP0_contR,  (24a)

CP0_selG=CP0_L+CP0_contG,  (24b)

CP0_selR=CP0_L+CP0_contB,  (24c)

CP1_selR=CP1_L−(DINMAX−σ2)·ξ+CP1_contR,   (25a)

CP1_selG=CP1_L−(DINMAX−σ2)·ξ+CP1_contG,   (25b)

CP1_selB=CP1_L−(DINMAX−σ2)·ξ+CP1_contB,   (25c)

CP2_selR=CP2_L+CP2_contR,  (26a)

CP2_selG=CP2_L+CP2_contG,  (26b)

CP2_selB=CP2_L+CP2_contB,  (26c)

CP3_selR=CP3_L+CP3_contR,  (27a)

CP3_selG=CP3_L+CP3_contG,  (27b)

CP3_selB=CP3_L+CP3_contB,  (27c)

CP4_selR=CP4_L+(DINMAX−σ2)·ξ+CP4_contR,   (28a)

CP4_selG=CP4_L+(DINMAX−σ2)·ξ+CP4_contG, and   (28b)

CP4_selB=CP4_L+(DINMAX−σ2)·ξ+CP4_contB.   (28c)

Also in this case, the correction point data CP5 of the correction point data set CP_selk are equal to the correction point data CP5 of the correction point data set CP_Lk, and expression (23) holds.
At step S26, correction calculations are performed on the R data DINR, G data DING and B data DINB of the input image data DIN associated with each pixel 9 on the basis of the thus-calculated correction point data sets CP_selB, CP_selG and CP_selB associated with each pixel 9, respectively, to thereby generate the R data DOUTR, G data DOUTG and B data DOUTB of the output image data DOUT associated with each pixel 9. The correction calculations are achieved by the approximate gamma correction units 34R, 34G and 34B of the approximate gamma correction circuit 31, respectively.
More specifically, in the correction calculations in the approximate gamma correction circuit 31, the R data Door, G data DOUTG and B data DOUTB of the output image data DOUT are calculated from the R data DINR, G data DING and B data DINB of the input image data DIN in accordance with the following expressions:




  
    
      
        
          
        
        ⁢
        
          
            
              
                (
                1
                )
              
              ⁢
              
                
              
              ⁢
              For
              ⁢
              
                
              
              ⁢
              the
              ⁢
              
                
              
              ⁢
              case
              ⁢
              
                
              
              ⁢
              when
              ⁢
              
                
              
              ⁢
              
                D
                IN
                
                  k
                  ⁢
                  
                    
                  
                
              
            
            <
            
              
                D
                IN
                Center
              
              ⁢
              
                
              
              ⁢
              and
              ⁢
              
                
              
              ⁢
              CP
              ⁢
              
                
              
              ⁢
              1
            
            >
            
              CP
              ⁢
              
                
              
              ⁢
              0
            
          
          ⁢
          
            

          
          ⁢
          
            
              D
              OUT
              k
            
            =
            
              
                
                  2
                  ⁢
                  
                    
                      (
                      
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          1
                        
                        -
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          0
                        
                      
                      )
                    
                    ·
                    
                      PD
                      INS
                    
                  
                
                
                  K
                  2
                
              
              =
              
                
                  
                    
                      (
                      
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          3
                        
                        -
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          0
                        
                      
                      )
                    
                    ·
                    
                      D
                      INS
                    
                  
                  K
                
                +
                
                  CP
                  ⁢
                  
                    
                  
                  ⁢
                  0
                
              
            
          
        
      
    
    
      
        (
        
          29
          ⁢
          a
        
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              
                (
                2
                )
              
              ⁢
              
                
              
              ⁢
              For
              ⁢
              
                
              
              ⁢
              the
              ⁢
              
                
              
              ⁢
              case
              ⁢
              
                
              
              ⁢
              when
              ⁢
              
                
              
              ⁢
              
                D
                IN
                
                  k
                  ⁢
                  
                    
                  
                
              
            
            <
            
              
                D
                IN
                Center
              
              ⁢
              
                
              
              ⁢
              and
              ⁢
              
                
              
              ⁢
              CP
              ⁢
              
                
              
              ⁢
              1
            
            ≤
            
              CP
              ⁢
              
                
              
              ⁢
              0
            
          
          ⁢
          
            

          
          ⁢
          
            
              D
              OUT
              k
            
            =
            
              
                
                  2
                  ⁢
                  
                    
                      (
                      
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          1
                        
                        -
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          0
                        
                      
                      )
                    
                    ·
                    
                      ND
                      INS
                    
                  
                
                
                  K
                  2
                
              
              =
              
                
                  
                    
                      (
                      
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          3
                        
                        -
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          0
                        
                      
                      )
                    
                    ·
                    
                      D
                      INS
                    
                  
                  K
                
                +
                
                  CP
                  ⁢
                  
                    
                  
                  ⁢
                  0
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          and
        
      
    
    
      
        (
        
          29
          ⁢
          b
        
        )
      
    
  
  
    
      
        
          
        
        ⁢
        
          
            
              
                (
                3
                )
              
              ⁢
              
                
              
              ⁢
              For
              ⁢
              
                
              
              ⁢
              the
              ⁢
              
                
              
              ⁢
              case
              ⁢
              
                
              
              ⁢
              when
              ⁢
              
                
              
              ⁢
              
                D
                IN
                
                  k
                  ⁢
                  
                    
                  
                
              
            
            >
            
              D
              IN
              Center
            
          
          ⁢
          
            

          
          ⁢
          
            
              D
              OUT
              k
            
            =
            
              
                
                  2
                  ⁢
                  
                    
                      (
                      
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          4
                        
                        -
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          2
                        
                      
                      )
                    
                    ·
                    
                      ND
                      INS
                    
                  
                
                
                  K
                  2
                
              
              =
              
                
                  
                    
                      (
                      
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          5
                        
                        -
                        
                          CP
                          ⁢
                          
                            
                          
                          ⁢
                          2
                        
                      
                      )
                    
                    ·
                    
                      D
                      INS
                    
                  
                  K
                
                +
                
                  CP
                  ⁢
                  
                    
                  
                  ⁢
                  2
                
              
            
          
        
      
    
    
      
        (
        
          29
          ⁢
          c
        
        )
      
    
  




It should be noted that CP0 to CP5 recited in expressions (29a) to (29c) indicate the correction point data CP0 to CP5 of the correction point data set CP_selk.
In the above, the center data value DINCenter is a value defined by the following expression:

DINCenter=DINMAX/2,  (29d)

where DINMAX is the allowed maximum value and K is the parameter given by the above-described expression (13a). Furthermore, DINS, PDINS, and NDINS recited in expressions (29a) to (29c) are values defined as follows:

(a) DINS 

DINS is a value which depends on the input image data DINk; DINS is given by the following expressions (30a) and (30b):

DINS=DINk (for DINk<DINCenter)  (30a)

DINS=DINk+1−K (for DINk>DINCenter)  (30)

(b) PDINS 

PDINS is defined by the following expression (31a) with a parameter R defined by expression (31b):

PDINS=(K−R)·R  (31a)

R=K1/2·DINS1/2  (31b)

As understood from expressions (30a), (30b) and (31b), the parameter R is proportional to a square root of input image data DINk and therefore PDINS is a value calculated by an expression including a term proportional to a square root of DINk and a term proportional to DINk (or one power of DINk).

(c) NDINS 

NDINS is given by the following expression (32):

NDINS=(K−DINS)·DINS.  (32)

As understood from expressions (30a), (30b) and (32), NDINS is a value calculated by an expression including a term proportional to a square of DINk.

FIG. 19 illustrates the relations between the R data DINR, G data DING, and B data DINB of the input image data DIN and the R data DOUTR, G data DOUTG, and B data DOUTB of the output image data DOUT, when the R data DOUTR, G data DOUTG, and B data DOUTB of the output image data DOUT are calculated as described above. In FIG. 19, at least one of the starting point control data CP0_contR, CP0_contG, and CP0_contB is positive and at least another one is negative. In view of this fact, it would be easily understood from FIG. 19 that the above-described processing effectively enhances the saturation.
The output image data Dour, which are calculated by the approximate gamma correction circuit 31 with the above-described series of expressions, are forwarded to the color reduction circuit 23. The color reduction circuit 23 performs a color reduction on the output image data DOUT to generate the color-reduced image data DOUT_D. The color-reduced image data DOUT_D are forwarded to the data line drive circuit 26 via the latch circuit 24 and the data lines 8 of the LCD panel 2 are driven in response to the color-reduced image data DOUT_D.
The above-described saturation enhancement processing of this embodiment effectively achieves a saturation enhancement with simple processing in which the positions of the input-output curves are adjusted. In addition, in the present embodiment, saturation enhancement and contrast enhancement are concurrently achieved in the approximate gamma correction circuit 31 and this effectively reduces the circuit size (for example, compared to the system in which contrast enhancement and saturation enhancement are performed in series as illustrated in FIG. 1B).
Although embodiments of the present invention are specifically described above, the present invention is not limited to the above-described embodiments; a person skilled in the art would appreciate that the present invention may be implemented with various modifications. Although the above-described embodiments recite the liquid crystal display device 1 including the LCD panel 2, the saturation enhancement and contrast enhancement recited in the above-descried embodiments may be implemented in an image processing apparatus in general. It should be also noted that the present invention is applicable to various panel display devices including different display panels (for example, a display device including an OLED (organic light emitting diode) display panel).

## Claims

1. A display device, comprising:
a display panel; and
a display panel driver driving the display panel,
wherein the display panel driver includes:
a correction circuit which performs correction calculations on input image data to generate saturation-enhanced output image data;
a drive circuitry driving the display panel in response to the output image data; and
a starting point control circuit,

wherein the correction circuit generates red (R) data of the output image data by performing a first correction calculation on R data of the input image data, generates green (G) data of the output image data by performing a second correction calculation on G data of the input image data, and generates blue (B) data of the output image data by performing a third correction calculation on B data of the input image data,
wherein the starting point control circuit controls a position of a starting point of a first input-output curve corresponding to an input-output relation of the first correction calculation; a position of a starting point of a second input-output curve corresponding to an input-output relation of the second correction calculation; and a position of a starting point of a third input-output curve corresponding to an input-output relation of the third correction calculation, wherein the starting points for the input-output curves each represent an output image data value for an allowed minimum value of a predefined range of values for corresponding input image data, and
wherein the starting point control circuit calculates a luminance value of a certain pixel from the input image data associated with the certain pixel in the correction calculations of the input image data associated with the certain pixel, controls the position of the starting point of the first input-output curve in response to a first difference between a value of the R data of the input image data associated with the certain pixel and the luminance value of the certain pixel, controls the position of the starting point of the second input-output curve in response to a second difference between a value of the G data of the input image data associated with the certain pixel and the luminance value of the certain pixel, and controls the position of the starting point of the third input-output curve in response to a third difference between a value of the B data of the input image data associated with the certain pixel and the luminance value of the certain pixel.

2. The display device according to claim 1, wherein, in the correction calculations of the input image data associated with a certain frame period, the starting point control circuit controls the positions of the starting points of the first, second, and third input-output curves in response to an average saturation of a frame image displayed on the display panel in the frame period.

3. The display device according to claim 1, wherein, in the correction calculations of the input image data associated with the certain pixel, the starting point control circuit calculates first, second, and third enhancement coefficients with a given function f(x) in accordance with the following expressions:


INSTR=f(DINR),



INSTG=f(DING), and



INSTB=f(DNB),

where INSTR is the first enhancement coefficient, INSTG is the second enhancement coefficient, INSTB is the third enhancement coefficient, DINR is the R data of the input image data associated with the certain pixel, DING is the G data of the input image data associated with the certain pixel and DINB is the B data of the input image data associated with the certain pixel,
wherein the function f(x) is a function which takes a maximum value when x is β, monotonically increases as x increases when x is less than β, and monotonically decreases as x increases when x is more than β,
wherein β is determined as DINMAX/2 or an integer closest to DINMAX/2, where DINMAX is an allowed maximum value of the R data, G data, and B data of the input image data,
wherein the starting point control circuit determines a minimum enhancement coefficient as minimum one of the first, second, and third enhancement coefficients, and
wherein the starting point control circuit controls the starting point of the first input-output curve in response to a product of the minimum enhancement coefficient and the first difference, controls the starting point of the second input-output curve in response to a product of the minimum enhancement coefficient and the second difference, and controls the starting point of the third input-output curve in response to a product of the minimum enhancement coefficient and the third difference.

4. The display device according to claim 3, wherein, in the correction calculations of the input image data associated with the certain pixel and with a certain frame period, the starting point control circuit calculates an average saturation of a frame image displayed on the display panel in the frame period, controls the position of the starting point of the first input-output curve in response to a product of the minimum enhancement coefficient, the first difference and a fourth difference obtained by subtracting the average saturation from the allowed maximum value of the R data, G data, and B data of the input image data, controls the position of the starting point of the second input-output curve in response to a product of the minimum enhancement coefficient, the second difference and the fourth difference, and controls the position of the starting point of the third input-output curve in response to a product of the minimum enhancement coefficient, the third difference and the fourth difference.

5. The display device according to claim 1, wherein the starting point control circuit generates: first starting point control data controlling the position of the starting point of the first input-output curve; second starting point control data controlling the position of the starting point of the second input-output curve; and third starting point control data controlling the position of the starting point of the third input-output curve, and
wherein the display panel driver further comprises:
a characterization data calculation circuit which generates, in the correction calculations in the input image data associated with a certain frame period, average picture level (APL) data indicating an average picture level of a frame image displayed on the display panel in the certain frame period and variance data indicating a variance of luminance values of the frame image; and
a correction point data calculation circuit which controls a shape of the first input-output curve in response to the APL data, the variance data and the first starting point control data, controls a shape of the second input-output curve in response to the APL data, the variance data and the second starting point control data, and controls a shape of the third input-output curve in response to the APL data, the variance data and the third starting point control data.

6. A display panel driver for driving a display panel, the display panel driver comprising:
a correction circuit which performs correction calculations on input image data to generate saturation-enhanced output image data;
a drive circuitry driving the display panel in response to the output image data; and
a starting point control circuit,
wherein the correction circuit generates red (R) data of the output image data by performing a first correction calculation on R data of the input image data, generates green (G) data of the output image data by performing a second correction calculation on G data of the input image data, and generates blue (B) data of the output image data by performing a third correction calculation on B data of the input image data,
wherein the starting point control circuit controls a position of a starting point of a first input-output curve corresponding to an input-output relation of the first correction calculation; a position of a starting point of a second input-output curve corresponding to an input-output relation of the second correction calculation; and a position of a starting point of a third input-output curve corresponding to an input-output relation of the third correction calculation, wherein the starting points for the input-output curves each represent an output image data value for an allowed minimum value of a predefined range of values for corresponding input image data, and
wherein the starting point control circuit calculates a luminance value of a certain pixel from the input image data associated with the certain pixel in the correction calculations of the input image data associated with the certain pixel, controls the position of the starting point of the first input-output curve in response to a first difference between a value of the R data of the input image data associated with the certain pixel and the luminance value of the certain pixel, controls the position of the starting point of the second input-output curve in response to a second difference between a value of the G data of the input image data associated with the certain pixel and the luminance value of the certain pixel, and controls the position of the starting point of the third input-output curve in response to a third difference between a value of the B data of the input image data associated with the certain pixel and the luminance value of the certain pixel.

7. The display panel driver according to claim 6, wherein, in the correction calculations of the input image data associated with a certain frame period, the starting point control circuit controls the positions of the starting points of the first, second and third input-output curves in response to an average saturation of a frame image displayed on the display panel in the frame period.

8. The display panel driver according to claim 6,
wherein, in the correction calculations of the input image data associated with the certain pixel, the starting point control circuit calculates first, second and third enhancement coefficients with a given function f(x) in accordance with the following expressions:


INSTR=f(DINR),



INSTG=f(DING), and



INSTB=DINB),


where INSTR is the first enhancement coefficient, INSTG is the second enhancement coefficient, INSTB is the third enhancement coefficient, DINR is the R data of the input image data associated with the certain pixel, DING is the G data of the input image data associated with the certain pixel and DINB is the B data of the input image data associated with the certain pixel,
wherein the function f(x) is a function which takes a maximum value when x is β, monotonically increases as x increases when x is less than β, and monotonically decreases as x increases when x is more than β,
wherein β is determined as DINMAX/2 or an integer closest to DINMAX/2, where DINMAX/2 is an allowed maximum value of the R data, G data and B data of the input image data,
wherein the starting point control circuit determines a minimum enhancement coefficient as minimum one of the first, second and third enhancement coefficients, and
wherein the starting point control circuit controls the starting point of the first input-output curve in response to a product of the minimum enhancement coefficient and the first difference, controls the starting point of the second input-output curve in response to a product of the minimum enhancement coefficient and the second difference, and controls the starting point of the third input-output curve in response to a product of the minimum enhancement coefficient and the third difference.

9. The display panel driver according to claim 8, wherein, in the correction calculations of the input image data associated with the certain pixel and with a certain frame period, the starting point control circuit calculates an average saturation of a frame image displayed on the display panel in the frame period, controls the position of the starting point of the first input-output curve in response to a product of the minimum enhancement coefficient, the first difference and a fourth difference obtained by subtracting the average saturation from the allowed maximum value of the R data, G data and B data of the input image data, controls the position of the starting point of the second input-output curve in response to a product of the minimum enhancement coefficient, the second difference and the fourth difference, and controls the position of the starting point of the third input-output curve in response to a product of the minimum enhancement coefficient, the third difference and the fourth difference.

10. The display panel driver according to claim 6, wherein the starting point control circuit generates: first starting point control data controlling the position of the starting point of the first input-output curve; second starting point control data controlling the position of the starting point of the second input-output curve; and third starting point control data controlling the position of the starting point of the third input-output curve, and
wherein the display panel driver further comprises:
a characterization data calculation circuit which generates, in the correction calculations in the input image data associated with a certain frame period, average picture level (APL) data indicating an average picture level of a frame image displayed on the display panel in the certain frame period and variance data indicating a variance of luminance values of the frame image; and
a correction point data calculation circuit which controls a shape of the first input-output curve in response to the APL data, the variance data and the first starting point control data, controls a shape of the second input-output curve in response to the APL data, the variance data and the second starting point control data, and controls a shape of the third input-output curve in response to the APL data, the variance data and the third starting point control data.

11. An image processing apparatus, comprising:
a correction circuit which performs correction calculations on input image data to generate saturation-enhanced output image data; and
a starting point control circuit,
wherein the correction calculation circuit generates red (R) data of the output image data by performing a first correction calculation on R data of the input image data, generates green (G) data of the output image data by performing a second correction calculation on G data of the input image data, and generates blue (B) data of the output image data by performing a third correction calculation on B data of the input image data,
wherein the starting point control circuit controls a position of a starting point of a first input-output curve corresponding to an input-output relation of the first correction calculation; a position of a starting point of a second input-output curve corresponding to an input-output relation of the second correction calculation; and a position of a starting point of a third input-output curve corresponding to an input-output relation of the third correction calculation, wherein the starting points for the input-output curves each represent an output image data value for an allowed minimum value of a predefined range of values for corresponding input image data, and
wherein the starting point control circuit calculates a luminance value of a certain pixel from the input image data associated with the certain pixel in the correction calculations of the input image data associated with the certain pixel, controls the position of the starting point of the first input-output curve in response to a first difference between a value of the R data of the input image data associated with the certain pixel and the luminance value of the certain pixel, controls the position of the starting point of the second input-output curve in response to a second difference between a value of the G data of the input image data associated with the certain pixel and the luminance value of the certain pixel, and controls the position of the starting point of the third input-output curve in response to a third difference between a value of the B data of the input image data associated with the certain pixel and the luminance value of the certain pixel.

12. An image processing method, comprising:
generating saturation-enhanced output image data by performing correction calculations on input image data,
wherein the step of generating the output image data includes:
generating red (R) data of the output image data by performing a first correction calculation on R data of the input image data;
generating green (G) data of the output image data by performing a second correction calculation on G data of the input image data;
generating blue (B) data of the output image data by performing a third correction calculation on B data of the input image data; and
controlling a position of a starting point of a first input-output curve corresponding to an input-output relation of the first correction calculation; a position of a starting point of a second input-output curve corresponding to an input-output relation of the second correction calculation; and a position of a starting point of a third input-output curve corresponding to an input-output relation of the third correction calculation, wherein the starting points for the input-output curves each represent an output image data value for an allowed minimum value of a predefined range of values for corresponding input image data,
wherein the step of generating the output image data further includes:
in the correction calculations of the input image data associated with a certain pixel, calculating a luminance value of the certain pixel from the input image data associated with the certain pixel,
wherein the position of the starting point of the first input-output curve is controlled in response to a first difference between a value of the R data of the input image data associated with the certain pixel and the luminance value of the certain pixel,
wherein the position of the starting point of the second input-output curve is controlled in response to a second difference between a value of the G data of the input image data associated with the certain pixel and the luminance value of the certain pixel, and
wherein the position of the starting point of the third input-output curve is controlled in response to a third difference between a value of the B data of the input image data associated with the certain pixel and the luminance value of the certain pixel.