This application is based upon and claims the benefit of priority from the prior Japanese Patent Applications No. 2007-284141, filed on Oct. 31, 2007; the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates an image display apparatus that are capable of enhancing visual contrast of a displayed video and reducing power consumption.
2. Related Art
In these years, image display apparatuses typified by liquid crystal displays that have a light source and a light modulation element for modulating light intensity from the light source have become widely available. However, because the light modulation element of such an image display apparatus does not have ideal modulation characteristics, it causes degradation of contrast resulting from leakage of light from the light modulation element especially when black is displayed on the apparatus.
To prevent such degradation of contrast, a number of methods have been proposed for performing luminance modulation of the light source in combination with conversion of the gray-scale level of each pixel of an input video, namely gamma conversion, as appropriate for the input video.
For example, Japanese Patent No. 3215388 describes a technique for determining a backlight luminance and a gray-scale level conversion function (hereinafter a “level conversion function) based on the minimum, maximum, and average gray-scale levels of an input video. JP-A 2005-148710 (Kokai) discloses a technique for generating a histogram of an input video, determining a backlight luminance from the mode, and determining a level conversion function with respect to a bin of the histogram to which the mode belongs.
As compared to an image display apparatus having a constant light source luminance, the above techniques both can enhance contrast by controlling the light source luminance and the level conversion function for an input video as appropriate for the video and also can reduce power consumption because they can lower backlight luminance in accordance with the input video.
However, the technique of Japanese Patent No. 3215388 determines the level conversion function only based on the minimum and maximum gray-scale levels and does not consider the frequency distribution (histogram) of gray-scale levels. It thus has difficulty in obtaining a sufficient contrast for some videos. That is to say, there are a large number of videos that have the same minimum and/or maximum gray-scale level but significantly differ in the distribution of gray-scale levels and the technique sets the same level conversion function for all of such videos, which results in the problem of insufficient contrast of an input video.
The technique of JP-A 2005-148710 (Kokai) determines a level conversion function based on the histogram of an input video and in consideration of the bin to which the mode belongs as well as its frequency. With this technique, however, it is still difficult to obtain a sufficient contrast for a video having a multimodal histogram, such as one having two peaks.
According to an aspect of the present invention, there is provided with an image display apparatus, comprising:
an image displaying unit that includes:
a histogram generating unit configured to generate, from the image, a histogram representing frequencies of pixels contained in level ranges associated with representative gray-scale levels;
a light source luminance calculator configured to calculate a light source luminance that is to be set in the light source unit based on the histogram, as an object light source luminance;
a function storing unit configured to store a level conversion function for performing level conversion of gray-scale level;
a first evaluation value calculator configured to
a second evaluation value calculator configured to
a third evaluation value calculator configured to calculate a third evaluation value by giving first and second weights to the first and the second evaluation values and then summing those first and second evaluation values;
a function acquiring unit configured to acquire a plurality of the third evaluation values by repeating performing of processing by the first to third evaluation value calculators with modification to the level conversion function and acquire an output level conversion function which is a level conversion function that has a smallest third evaluation value or the third evaluation value equal to or smaller than a threshold value; and
a control unit configured to supply a signal representing a converted video resulting from conversion of the image with the output level conversion function to the light modulation device and to control the light source unit to illuminate at the object light source luminance.
According to an aspect of the present invention, there is provided with an image display method, comprising:
generating, from the image, a histogram representing frequencies of pixels contained in level ranges associated with representative gray-scale levels;
calculating a light source luminance that is to be set in a light source unit based on the histogram as an object light source luminance;
store a level conversion function for performing level conversion of gray-scale level in a function storage;
calculating first differences between a first brightness preset for each of the representative gray-scale levels and a second brightness obtained when an output gray-scale level resulting from conversion of each of the representative gray-scale levels with the level conversion function is displayed on the image displaying unit at the object light source luminance, calculating products of the first differences and the frequencies of the representative gray-scale levels, and calculating a total sum of such products as a first evaluation value;
calculating second differences between a first gradient which is a gradient of the first brightness preset for each of the representative gray-scale levels and a second gradient which is a gradient of the second brightness as when an output gray-scale level resulting from conversion of each of the representative gray-scale levels with the level conversion function is displayed on the image displaying unit at the object light source luminance, calculating products of the second differences and the frequencies of the representative gray-scales and calculating a total sum of such products as a second evaluation value;
calculating a third evaluation value by giving first and second weights to the first and the second evaluation values and then summing those first and second evaluation values;
acquiring a plurality of the third evaluation values by repeating performing of processing by calculations of the first to third evaluation value with modification to the level conversion function and acquiring an output level conversion function which is a level conversion function that has a smallest third evaluation value or the third evaluation value equal to or smaller than a threshold value; and supplying a signal representing a converted video resulting from conversion of the image with the output level conversion function to a light modulation device which displays an image by modulating a transmittance or a reflectance of light from the light source unit based on a signal representing the image and controlling the light source unit to illuminate at the object light source luminance.
Now, operation of the individual units will be described in detail. The operation will be described in the case of using a video. A video contains a plurality of the image frames, and the image frames is just called the image or the frame.
The histogram generating unit 11 counts the number of pixels contained in each level range in steps of predetermined levels in an input video and generates a histogram that maps a gray-scale level representative of each level range to the frequency (i.e., the number of pixels) contained in that level range.
While the input video can be of various formats, this embodiment assumes an input video made up of three channels, red, green, and blue, and the histogram generating unit 11 generates one histogram without distinguishing the individual channels. When each of the read, green and blue channels of the input video is of an B-bit gray-scale level, a frequency distribution from 0 to 255 gray-scale level as shown in
As a first modification example, besides frequency, the histogram may also use a value that is normalized according to the total number of pixels as shown below, for example
where “hn(x)” represents the frequency normalized according to the total number of pixels of a gray-scale level x, and “h(x)” represents the frequency of the gray-scale level x.
As a second modification example, a histogram may be generated using only the largest one of gray-scale levels of the three channels, red, green and blue, in each pixel.
As a third modification example, when the input video is made up of three channels, Y, Cb(Pb), and Cr(Pr), which are constituted by a luminance signal and a color difference signal, a histogram for Y, the luminance channel, may be generated.
As a fourth modification example, an input video of three channels, Y, Cb (Pb) and Cr (Pr) may be converted into a video of three channel, red, green, and blue, according to Formula 2, and then a histogram can be generated in the above-mentioned manner.
where “Y”, “Cb” and “Cr” represent values of luminance and color-difference signals normalized to 8 bits, and “R”, “G”, and “B” are values of video signals for three channels, red, green and blue, that are normalized to 8 bits. Formula 2 is an example of conversion and other conversion coefficient may be used.
A fifth modification example is the reverse of the above method: an input video of three channels, red, green and blue, may be subjected to conversion to a value of Y channel according to Formula 3 and a histogram may be generated.
Y=0.299R+0.587G+0.114B [Formula 3]
Formula 3 is an example of conversion and other conversion coefficient may be used.
As a sixth modification example, multiple histograms may be generated. For example, the backlight luminance calculating unit 12 and/or a first evaluation value calculating step by the level conversion function calculator 13 to be discussed later may employ a histogram that uses the largest gray-scale level among the those of three channels, red, green and blue, of each pixel, and a second evaluation value calculating step by the level conversion function calculator 13, which will be discussed later, may use a histogram that does not distinguish the gray-scale levels of the three channels, red, green and blue, of each pixel.
As a seventh modification example, a histogram in steps of a certain level range may be generated for the purpose of reducing the amount of memory required for maintaining histograms or the amount of processing required for generating histograms, in addition to calculating the frequency of each one level as shown in
For example, after generating a histogram of all gray-scale levels, gray-scale levels that represent the average, median, mode, minimum, and maximum value of the histogram may be detected and the frequency of histogram bins corresponding to levels other than those levels may be set to zero.
The histogram generated through such processing is input to the backlight luminance calculating unit 12.
The backlight luminance calculating unit 12 calculates a backlight luminance based on the histogram generated by the histogram generating unit 11. While backlight luminance can be calculated in various ways, this embodiment determines an average value as a representative value from a histogram and calculates a backlight luminance from the average value.
First, an average value is calculated from a histogram according to Formula 4:
Formula 4 calculates an average gray-scale level normalized to between 0 and 1, but an average luminance may be used instead as in Formula 5:
where “Γ” represents a gamma value used for input video correction and this value is typically 2.2. Furthermore, an average lightness may be determined as Formula 6 using a lightness that is defined in a uniform color space:
Strictly speaking, the lightness is standardized by the International Commission on Illumination (CIE) and it varies non-linearly in a dark area. In Formula 6, however, lightness is simplified to be proportional to one-third power.
Also, while Formulas 4 to 6 determine an average value, it is also possible to determine the mode or median from a histogram and calculate the backlight luminance from the value. For example, “A” may be set to a gray-scale level as the median. Also, when the median is luminance or lightness rather than a gray-scale level as In Formulas 5 and 6, it is expressed as Formulas 7 and 8, respectively:
where “M” represents a gray-scale level as the median. Although the above formulas determine the representative value “A” by calculation with respect to the median “M”, as another example of a configuration, the relationship between the median “M” and the representative value “A” may be determined in advance and maintained in a lookup table (LUT), which is composed of Read Only Memory (ROM) or the like. The representative value “A” is then determined by referencing the LUT by median “M” determined from the histogram for each frame of the input video.
Using the representative value “A” thus calculated, the backlight luminance Iout is calculated according to Formula 9:
I
out
=A
p(Imax−Imin)+Imin [Formula 9]
where “Imin” and “Imax” are the minimum and maximum values in the modulation range of the backlight luminance, respectively, and “p” is a controlling parameter.
The level conversion function calculator 13 calculates a level conversion function based on the histogram generated by the histogram generating unit 11 and the backlight luminance calculated by the backlight luminance calculating unit 12. In the following, the way of calculating a level conversion function will be described in detail with respect to the flowchart of
At setting step 1 (S11), a gray-scale level-brightness characteristic and a gray-scale level-brightness gradient characteristic that are desired for display on the image displaying unit 16 are set. A maximum dynamic range of the image displaying unit 16 is preset in the level conversion function calculator 13. For instance, an ideal maximum dynamic range with the maximum being 1 and the minimum being 0 is expressed as Formula 10:
Dmin=0
Dmax=1 [Formula 10]
where “Dmin” and “Dmax” represent the maximum and minimum values of the maximum dynamic range displayed on the image displaying unit 16, respectively. The maximum dynamic range can also be set as in Formula 11 based on a preset luminance modulation range of backlight luminance and the characteristics of the liquid crystal panel 18:
Dmin=TminImin
Dmax=TmaxImax [Formula 11]
where “Imin” and “Imax” represent the minimum and maximum values of the backlight luminance modulation range, respectively, and “Tmin” and “Tmax” represent the minimum and maximum transmittances of the liquid crystal panel 18, respectively. Since “Imin”, “Imax”, “Tmin” and “Tmax” may be relative values, “Imin” can be set as a relative value with “Imax” set to 1, and “Tmin” can be set as a relative value with “Tmax” set to 1, for example. In terms of analysis, the maximum dynamic range is represented as Formula 11. In reality, however, the luminance of the image displaying unit 16 as measured when the smallest gray-scale level displayable on the liquid crystal panel 18 (0 gray-scale level for a liquid crystal panel capable of 8-bit representation) is displayed on the liquid crystal panel 18 and the backlight 17 illuminates with the minimum backlight luminance within the luminance modulation range is set in the minimum luminance “Dmin” that is displayable on the image displaying unit 16. Similarly, the luminance of the image displaying unit 16 as measured when the largest gray-scale level displayable on the liquid crystal panel 18 (255 gray-scale level for a liquid crystal panel capable of B-bit representation) is displayed on the liquid crystal panel 18 and the backlight 17 illuminates with the maximum backlight luminance within the luminance modulation range may be set in the maximum luminance “Dmax” that is displayable on the image displaying unit 16. Here, by setting the maximum luminance “Dmax” to 1 and setting “Dmin” as the minimum luminance with the maximum luminance “Dmax” normalized to 1, the maximum dynamic range can be set as a relative value.
Next, a gray-scale level-brightness characteristic in the maximum dynamic range thus determined is set. When brightness is luminance, the gray-scale level-brightness characteristic can be calculated as Formula 12:
where “x” represents a gray-scale level expressed in 8 bits and “Γ” represents a gamma value utilized for input video correction. The gamma value is typically 2.2. While Formula 12 represents a gray-scale level-luminance characteristic, a gray-scale level-brightness characteristic may also be a gray-scale level-logarithmic luminance characteristic as in Formula 13 because human sensitivity characteristics for brightness are proportional to the logarithm of luminance.
Alternatively, a gray-scale level-lightness characteristic may be employed using the lightness defined in a uniform color space:
G
L*(x)=G(x)1/3 [Formula 14]
Strictly speaking, lightness varies in a non-linear manner in a dark area standardized by CIE, but it is simplified to be proportional to one-third power here.
Each of “G(x)”, “Glog(x)”, and “GL*(x)” corresponds to a brightness predefined for each gray-scale level.
Next, a gray-scale level-brightness gradient characteristic within the maximum dynamic range is set. The gray-scale level-brightness gradient characteristic is equivalent to linear differentiation of the gray-scale level-brightness characteristic. That is, when brightness is luminance, the gray-scale level-luminance gradient characteristic can be analytically calculated as Formula 15:
A gray-scale level-lightness gradient characteristic as shown In Formula 16 is also possible using the lightness defined in a uniform color space,
Each of “G′(x)” and “GL*′(x)” corresponds to a brightness gradient predefined for each gray-scale level.
The gray-scale level-brightness and gray-scale level-brightness gradient characteristics may be calculated using Formulas 12 to 16, but they can also be determined in the following manner. By way of example, after defining “Dmin” and “Dmax”, lookup table data that maps gray-scale level x to brightness G(x) is created from the relationship between the gray-scale level x and brightness G(x). Similarly, a lookup table that maps gray-scale level x to brightness gradient G′(x) is created. An example of table data on gray-scale level-brightness characteristic (data in a first table) is shown in
The brightness gradient of gray-scale level x can also be determined from table data on gray-scale level-brightness characteristics (data in the first table) shown in
At setting step 2 (S11), the actual gray-scale level-brightness characteristic and gray-scale level-brightness gradient characteristic of the image displaying unit 16 are set. The dynamic range of the image displaying unit 16 with backlight luminance I is expressed as Formula 17:
d
min(I)=TminI
d
max(I)=TmaxI [Formula 17]
where “dmin(I)” and “dmax(I)” represent the minimum and maximum values of a dynamic range that can be displayed on the image displaying unit 16 when backlight luminance is I, respectively. Analytically, the dynamic range of the image displaying unit 16 is expressed as Formula 17. In reality, however, the luminance of the image displaying unit 16 as measured when the smallest gray-scale level that can be displayed on the liquid crystal panel 18 (0 gray-scale level for a liquid crystal panel capable of 8-bit representation) is displayed on the liquid crystal panel 18 and the backlight 17 illuminates with backlight luminance I is set in the minimum display luminance dmin(I) that is displayable on the image displaying unit 16 with backlight luminance I. Similarly, the luminance of the image displaying unit 16 as measured when the largest gray-scale level that can be displayed on the liquid crystal panel 18 (255 gray-scale level for a liquid crystal panel capable of 8-bit representation) is displayed on the liquid crystal panel 18 and the backlight 17 illuminates with backlight luminance I is set in the maximum display luminance dmax(I) that is displayable on the image displaying unit 16 with backlight luminance I. Then, the smallest display luminance with dmax (Imax) being normalized to 1 is set in dmin(I), and the maximum display luminance is set in dmax(I).
Next, the gray-scale level-brightness characteristic of the image displaying unit 16 at backlight luminance I is set. When brightness is luminance, the gray-scale level-luminance characteristic (generally called gamma characteristics) of the image displaying unit 16 is analytically expressed as Formula 18:
where “x” represents a gray-scale level expressed in 8 bits and “γ” represents a gamma value utilized for correction of the liquid crystal panel 18. The gamma value is generally 2.2. While Formula 18 represents a gray-scale level-luminance characteristic, a gray-scale level-brightness characteristic may also be a gray-scale level-logarithmic luminance characteristic like Formula 19 because human sensitivity characteristic for brightness is proportional to the logarithm of luminance.
Alternatively, a gray-scale level-lightness characteristic may be determined using the lightness defined in a uniform color space:
g
L*(x,I)=g(x,I)1/3 [Formula 20]
where the lightness in Formula 20 is simplified to be proportional to one-third power of luminance as in Formula 14.
Each of “g(x, I)”, “glog(x, I)”, and “GL*(x, I)” corresponds to a brightness when a gray-scale level x is displayed on the image displaying unit 16 at backlight luminance I.
Next, the gray-scale level-brightness gradient characteristic of the image displaying unit 16 at backlight luminance I is set. When brightness is luminance, the gray-scale level-luminance gradient characteristic of the image displaying unit 16 is analytically expressed as Formula 21:
Alternatively, a gray-scale level-lightness gradient characteristic may be determined using the lightness defined in a uniform color space:
Each of “g′(x, I)” and “gL*′(x, I)” corresponds to a brightness gradient of when a gray-scale level x is displayed on the image displaying unit 16 at backlight luminance I.
While the gray-scale level-brightness and gray-scale level-brightness gradient characteristics of the image displaying unit 16 may be calculated using Formulas 18 to 22, they can also be determined in the following manner. By way of example, after defining “Dmin(I)” and “Dmax(I)”, lookup table data that maps gray-scale level x and backlight luminance I to brightness g(x, I) is created based on the relationship of the gray-scale level x and backlight luminance I to brightness g(x, I). Similarly, from the relationship of the gray-scale x and backlight luminance I to brightness gradient g′(x, I), a lookup table that maps the gray-scale level x and backlight luminance I to brightness gradient g′(x, I) is created. An example of table data on gray-scale level-brightness characteristics (data in a third table) is shown in
The setting steps 1 and 2 need not be performed for every frame of an input video: they have to be done once at the beginning (e.g., on power-up of the image display apparatus). In addition, when gray-scale level-brightness and gray-scale level-brightness gradient characteristics are maintained as lookup table data in advance, the setting steps 1 and 2 may be omitted.
At initialization step 1 (S13), variables to be used in subsequent processing are initialized. For example, processing like Formula 23 is performed:
x←0
Emin←MAX_VAL
i←0
iout←i [Formula 23]
where “Emin” represents the minimum evaluation value which will be used at level conversion function updating step (S16) to be discussed later, and “i” represents a level conversion function selection number for selecting from multiple level conversion functions fi(x) which are set for gray-scale level x, which will be discussed below. “Iout” is a finally determined number for selecting an output level conversion function. The symbol “←” means that the value on the right side is substituted into the left side. “MAX_VAL” is the maximum value that can be assumed by an evaluation value E (a third evaluation value), which will be discussed later.
As the level conversion function fi(x), ten level conversion functions shown in
At initializing step 2 (S14), a first evaluation value E1 and a second evaluation value E2 which will be used at the evaluation value updating step (S15) to be discussed later are initialized as shown in Formula 24:
E1←0
E2←0 [Formula 24]
In evaluation value updating step (S15), the first and second evaluation values E1 and E2 are calculated at first evaluation value updating step (S17) and second evaluation value updating step (S18).
Operation at the first evaluation value calculating step (S17) will be described using the flowchart shown in
E
1
←E
1
+|G(x)−g(fi(x),Iout)|h(x) [Formula 25]
When the difference is evaluated as a square error, it is represented as Formula 26:
E
1
←E
1
+{G(x)−g(fi(x),Iout)}2h(x) [Formula 26]
The evaluation performed in Formulas 25 and 26 using the gray-scale level-luminance characteristic may be done with the gray-scale level-brightness characteristics which were set at the setting step 1 (S11) and setting step 2 (S12). For example, when the difference is evaluated as a square error using gray-scale level-lightness characteristic, it is expressed as Formula 27:
E
1
←E
1
+{G
L*(x)−gL*(f1(x),Iout)}2h(x) [Formula 27]
It is also possible at the first evaluation value calculating step (S17) to add a weight to “h(x)” determined by the histogram generating unit 11. For instance, Formula 25, which is an updating expression at the first evaluation value calculating step, can be modified as Formula 28:
E
1
←E
1
+|G(x)−g(fi(x),Iout)|h(x)α [Formula 28]
where “α” is a weight given to frequency h(x) of gray-scale level x as an exponent. While various values can be assumed by “α”, it has been empirically recognized that it is set to a value larger than 0 and equal to or smaller than 1.
After calculating the first evaluation value for the current gray-scale level x, it is determined whether calculation of the first evaluation value has been completed for all of gray-scale levels x (S102). If not (NO), gray-scale level x is updated (S103), and the first evaluation value is calculated again (S101). For example, if the histogram generated by the histogram generating unit 11 determines the frequencies of 0 to 255 gray-scale levels in increments of one level, it is first determined whether gray-scale level x is 255 or greater, and if it is smaller than 255, gray-scale level x is incremented by one to be updated.
Now, operation at the second evaluation value calculating step (S18) will be described using the flowchart shown in
E
2
←E
2
+|G′(x)−g′(fi(x),Iout)|h(x) [Formula 29]
When the difference is evaluated as a square error, it is represented as Formula 30:
E
2
←E
2
+{G′(x)−g′(fi(x),Iout)}2h(x) [Formula 30]
The evaluation performed in Formulas 29 and 30 using the gray-scale level-luminance gradient characteristic may be done with the gray-scale level-brightness gradient characteristics which were set at the setting step 1 (S11) and setting step 2 (S12). For example, when the difference is evaluated as a square error using gray-scale level-lightness gradient characteristic, it is represented as Formula 31:
E
2
←E
2
+{G
L*′(x)−gL*′(fi(x)Iout)}2h(x) [Formula 31]
It is also possible to add a weight to h(x) determined by the histogram generating unit 11. For example, the updating formula (Formula 29) can be modified as Formula 32:
E
2
←E
2
+|G′(x)−g′(fi(x),Iout)|h(x)β [Formula 32]
where “β” is a weight given to frequency h(x) of gray-scale level x as an exponent. While various values can be assumed by “β”, it has been empirically recognized that it is set to a value larger than 0 and equal to or smaller than 1.
Furthermore, although the first and second evaluation value calculating steps (S17 and S18) use the same frequency h(x) in the above description, they may use difference frequencies. For example, the histogram generating unit 11 may generate two types of histograms including a histogram h1(x) which uses the largest gray-scale level among those of the three channels, red, green and blue, in each pixel, and a histogram h2(x) which is generated without distinguishing the gray-scale levels of three channels, red, green and blue, in each pixel. The two histograms may then be used at the first and second evaluation value calculating steps (S17 and S18), respectively. In this case, Formula 28 which is an updating formula used at the first evaluation value calculating step (S17) and Formula 32 which is an updating formula used at the second evaluation value calculating step (S18) are expressed as below, respectively:
E
1
←E
1
+|G(x)−g(fi(x),Iout)|h1(x)α [Formula 33]
E
2
←E
2
+|G′(x)−g′(fi(x),Iout)|h2(x)β [Formula 34]
After calculating the second evaluation value for the current gray-scale level x, it is determined whether calculation of the second evaluation value has been completed for all of gray-scale levels x (S112). If not (NO), gray-scale level x is updated (S113), and the second evaluation value is calculated again (S111). For example, if the histogram generated by the histogram generating unit 11 determines the frequencies of 0 to 255 gray-scale levels in increments of one level, it is first determined whether gray-scale level x is 255 or greater, and if it is smaller than 255, gray-scale level x is incremented by one to be updated.
After the first and second evaluation values E1 and E2 are calculated, an evaluation values E (a third evaluation value) is calculated by weighted linear sum, as shown in Formula 35, with respect to the first and second evaluation values E1 and E2 (S19):
E←λE
1+(1−λ)E2 [Formula 35]
where “λ” represents a weight to the first and second evaluation values E1 and E2, a value in a range from 0 to 1.
At level conversion function updating step (S16), it is determined whether the evaluation value E (the third evaluation value) determined at evaluation value updating step (S15) with the level conversion function fi(x) indicated by the current level conversion function selection number “i” is minimum (S20). If it is minimum (YES), the current level conversion function selection number “i” is set as output level conversion function selection number iout, and the minimum evaluation value Emin is updated to the current evaluation value E (S21). Next, it is determined whether evaluation is completed for level conversion functions corresponding to all of level conversion function selection numbers that were preset (S22). If not completed (NO), the level conversion function selection number “i” is updated (i is incremented by one) (S23). If completed (YES), the output level conversion function selection number iout at the time is output from the level conversion function calculator 13.
Here, the first and second evaluation values E1 and E2 as well as evaluation value E (the third evaluation value) are described. The first evaluation value E1 represents the level of closeness between a brightness that is desired for display on the image displaying unit 16 and the actual brightness of image display obtained with backlight luminance I and level conversion function fi(x). That is, the smaller the first evaluation value E1 is, the closer the brightness desired on the image displaying unit 16 is to the actual brightness of the image displaying unit 16. Meanwhile, the second evaluation value E2 represents the level of closeness between a brightness gradient that is desired for display on the image displaying unit 16 and the actual brightness gradient of the image displaying unit 16 obtained with backlight luminance I and level conversion function fi(x). That is to say, the smaller the second evaluation value E2 is, the closer the brightness gradient (i.e., the difference between neighboring gray-scale levels or contrast) is to the actual brightness gradient (i.e., the difference between neighboring gray-scale levels or contrast) of the image displaying unit 16. The evaluation value E is the weighted linear sum of the first and the second evaluation values, a value calculated in consideration of the balance between the two evaluation values. That is, as the evaluation value E becomes smaller, it implies that the first and second evaluation values become smaller with a certain balance, indicating that both the brightness and brightness gradient that are required on the image displaying unit 16 are closer to the actual brightness and brightness gradient of the image displaying unit 16.
The timing controller 14 applies the level conversion function decided by the level conversion function calculator 13 to an input video signal to generate a converted video signal and also generates a backlight luminance signal based on the backlight luminance calculated by the backlight luminance calculating unit 12. The timing controller 14 then sends the converted video signal to the liquid crystal panel 18 and the backlight luminance signal to the backlight driving unit 15 while controlling the timing of sending the two signals.
First, the way of converting a gray-scale level is described. This embodiment performs gray-scale level conversion by referencing the level conversion function lookup table 19 by the output level conversion function selection number “iout” which is calculated by the level conversion function calculator 13 and applying an appropriate level conversion function fiout(x) to an input video. That is, to an input gray-scale level L(u, v) of an input video at a horizontal pixel position “u” and a vertical pixel position “v”, processing by Formula 36 is performed:
L
out(u,v)=fi
where “Lout (u, v)” represents the converted gray-scale level of a pixel of the input video positioned at (u, v). By applying the processing of Formula 36 to all pixels contained in one frame of the input video, the input video is converted.
Timing control is now described. Since the histogram generating unit 11 generates a histogram by scanning all the pixels in one frame of the input video as its basic operation, the time at which a video is input to the timing controller 14 differ by one frame or longer from the time at which a backlight luminance calculated by the backlight luminance calculating unit 12 using the histogram of that video is input to the timing controller 14. Accordingly, to adjust the timing delay, the timing controller 14 delays the output timing of the input video using a frame buffer, for example, to synchronize it with the output of a backlight luminance signal. Also, the above-mentioned configuration synchronizes the output timing of one frame of the input video with the output timing of a backlight luminance calculated from that frame. However, since an input video is typically temporally continuous for some extent, a backlight luminance determined from an input video at the nth frame can be synchronized with the input video at the n+1th frame. In other words, the backlight luminance is delayed by one frame period with respect to the video actually shown on the image displaying unit 16. In this case, the frame buffer (or memory size) can be made small because the input video need not be significantly delayed in the timing controller 14. The timing controller 14 also generates various synchronization signals necessary for driving the liquid crystal panel 18 (horizontal and vertical synchronization signals and so forth) and sends those signals to the liquid crystal panel 18 with a converted video which was converted with a level conversion function.
The backlight driving unit 15 generates a backlight driving signal for causing the backlight 17 to actually illuminate based on a backlight luminance signal output from the timing controller 14. The design of the backlight driving signal may vary depending on the type of the light source set in the backlight 17. The light source of the backlight 17 which is generally used for a liquid crystal display apparatus is a cold cathode ray tube or a light emitting diode (LED). Such devices allow modulation of luminance by control of voltage and/or current applied thereto. However, a general way of modulating light source luminance is Pulse Width Modulation (PWM) control, which modulates luminance by rapidly switching between an illuminating period and a non-illuminating period. This embodiment uses an LED light source which permits light emitting intensity to be controlled relatively easily as the light source of the backlight 17 and modulates the luminance of the LED light source by PWM control. Thus, the backlight driving unit 15 generates a PWM signal based on the backlight luminance signal and sends the control signal to the backlight 17.
As mentioned above, the image displaying unit 16 is composed of the liquid crystal panel 18 as the light modulation device and the backlight 17 disposed on the back surface of the liquid crystal panel 18 that allows light source luminance to be modulated. The image displaying unit 16 writes the converted video signal output from the timing controller 14 to the liquid crystal panel (or light modulation element) 16. The image displaying unit 16 also displays an input video by illuminating the backlight 17 according to the backlight driving signal output from the backlight driving unit 15. As mentioned above, this embodiment uses an LED light source as the light source of the backlight 17.
As described above, according to this embodiment, an image display apparatus with excellent visual contrast and reduced power consumption can be provided.
The basic configuration of the image displaying apparatus as a second embodiment of the invention is similar to that of the first embodiment, but the backlight luminance calculating unit calculates backlight luminance in a different manner in the present embodiment. The first embodiment determines a representative value from a histogram generated by the histogram generating unit 11 and calculates a backlight luminance based on the representative value, whereas this embodiment is characterized by determining a backlight luminance more suitable for an input image by calculating the backlight luminance in consideration of histogram distribution.
The operation of the backlight luminance calculating unit 22 in the second embodiment will be described in detail with respect to the flowchart of
At setting step 1 (S131), a gray-scale level-brightness characteristic in the maximum dynamic range is set in a similar way to Formulas 10 to 14 of the first embodiment. While the gray-scale level-brightness characteristic in the maximum dynamic range may be determined by calculation inside the backlight luminance calculating unit 22, this embodiment uses the first setting lookup table 20 which maps gray-scale levels x to brightness G(x) as in the first embodiment. To determine a brightness G(x) in the maximum dynamic range corresponding to a gray-scale level x at evaluation value updating step (S135), which will be described below, the first evaluation value lookup table 20 is referenced by gray-scale level x to determine the corresponding brightness G(x).
At setting step 2 (S132), the gray-scale level-brightness characteristic of the image displaying unit 16 with backlight luminance I is set as Formulas 17 to 20 of the first embodiment. While the gray-scale level-brightness characteristic of the image displaying unit 16 may be determined inside the backlight luminance calculating unit 22 by calculation, this embodiment uses the second setting lookup table 21 which maps gray-scale levels x at backlight luminance I to brightness g(x, I) of the image displaying unit 16 as in the first embodiment. To determine brightness g(x, I) of the image displaying unit 16 corresponding to a gray-scale level x with backlight luminance I at evaluation value updating step (S135), which will be described below, the second evaluation value lookup table 21 is referenced by backlight luminance I and gray-scale level x to determine the corresponding brightness g(x, I).
At initializing step 1 (S133), variables for use in subsequent processing are initialized. For example, processing like Formula 37 is performed.
x←0
Emin←MAX_VAL
I←Imin
Iout←I [Formula 37]
where “Imin” represents the minimum value of a backlight luminance modulation range and “Iout” represents the finally determined output backlight luminance.
At initialization step 2 (S134), an evaluation value E (a fourth evaluation value) to be used at evaluation value updating step (S135), which will be discussed later, is initialized as shown in Formula 38.
E←0 [Formula 38]
Operation at the evaluation value updating step (S135) will be described using the flowchart shown in
E←E+|G(x)−g(fc(x,I),I)|h(x) [Formula 39]
When the difference is evaluated as a square error, it is represented as Formula 40:
E←E+{G(x)−g(fc(x,I),I)}2h(x) [Formula 40]
The evaluation performed in Formulas 39 and 40 using the gray-scale level-luminance characteristic may be done with the gray-scale level-brightness characteristics which were set at the setting step 1 (S131) and setting step 2 (S132). For example, when the difference is evaluated as a square error using a gray-scale level-lightness characteristic, it is represented as Formula 41:
E←E+{G
L*(x)−gL*(fc(x,I),I)}2h(x) [Formula 41]
It is also possible to add a weight to h(x) determined by the histogram generating unit 11. For instance, the updating formula (Formula 39) can be modified as Formula 42:
E←E+|G(x)−g(fc(x,I),I)|h(x) [Formula 42]
where “X” is a weight given to frequency h(x) of gray-scale level x as an exponent. While various values can be assumed by “X”, it has been empirically recognized that it is set to a value larger than 0 and equal to or smaller than 1.
Now, the initial level conversion function fc(x, I) (a second level conversion function) which is predefined for each value of backlight luminance will be described. The initial level conversion function fc(x, I) can be set to various values, but it is desirably set such that an output gray-scale level corresponding to an input gray-scale level becomes larger as the backlight luminance I becomes smaller. This embodiment thus adopts the initial level conversion functions shown in
The case specification of Formula 43 is a saturating process for fitting the output gray-scale level fc(x, I) corresponding to input gray-scale level x with backlight luminance I into an 8-bit value range from 0 to 255.
Then, after calculating the evaluation value E for the current gray-scale level x, it is determined whether calculation of the evaluation value is completed for all of gray-scale levels x (S142). If not (NO), the gray-scale level x is updated (S143), and an evaluation value is calculated again (S141). For example, if the histogram generated by the histogram generating unit 11 determines the frequencies of 0 to 255 gray-scale levels in increments of one level, it is first determined whether the gray-scale level x is 255 or greater, and if it is smaller than 255, the gray-scale level x is incremented by one to be updated.
At backlight luminance updating step (S136), it is determined whether the evaluation value E determined at the evaluation value updating step (S135) with the current backlight luminance I is smallest (S137). If it is smallest (YES), the current backlight luminance I is set as output backlight luminance Iout and the smallest evaluation value Emin is updated to the current evaluation value E (S138). Next, it is determined whether evaluation is completed for all values of backlight luminance I that were preset (S139). If not (NO), backlight luminance I is updated (S140) and the flow returns to the initialization step 2 (S134) again. For example, when the modulation range of backlight luminance I is from “Imin” to “Imax” in increments of 0.1, 0.1 is added to backlight luminance I to update backlight luminance I if the current backlight luminance I is smaller than “Imax”. If evaluation is completed for all values of predefined backlight luminance I, the output backlight luminance Iout at the time is output from the backlight luminance calculating unit 22.
As described above, this embodiment can provide an image display apparatus with excellent visual contrast and reduced power consumption because it is capable of calculating backlight luminance in consideration of histogram distribution.
The basic configuration of an image display apparatus according to a third embodiment of the present invention is similar to that of the first embodiment, but the level conversion function calculator of this embodiment calculates the output level conversion function in a different way. The first embodiment makes reference to level conversion functions maintained in advance in a level conversion function lookup table to decide an output level conversion function, whereas this embodiment determines the level conversion function by calculation inside the level conversion function calculator.
The operation of the level conversion function calculator 24 in the third embodiment will be described in detail using the flowchart shown in
At target input gray-scale level selecting step (S151), one input gray-scale level that will be thereafter processed is selected from a plurality of input gray-scale levels for a level conversion function. In the subsequent processing, an output gray-scale level that corresponds to the selected input gray-scale level is calculated. While the target input gray-scale level can be selected in various ways, this embodiment selects it in the following manner. First, as shown by the black circles in
At partial histogram generating step (S152), a partial histogram is generated based on the input gray-scale level which was selected at the target input gray-scale level selecting step (S151). When 128 gray-scale level is selected as the target input gray-scale level as shown in
where “H(i0, i1)” represents the total frequency of the gray-scale level i0 to i1 based on the frequency h(x) of gray-scale level x determined by the histogram generating unit 11. That is to say, when 128 gray-scale level is selected as the input gray-scale level, a partial histogram having two bins respectively representing the frequency belonging to between 0 and 127 gray-scale levels and the frequency belonging to between 128 to 255 gray-scale levels is generated. Similarly, when 64 gray-scale level is selected at the target input gray-scale level selecting step (S151), a partial histogram having two bins respectively representing the frequency belonging to between 0 and 63 gray-scale levels and that belonging to between 64 and 127 gray-scale levels is determined from the histogram generated by the histogram generating unit 11 as shown in
Similarly, a partial histogram generated when 192 gray-scale level is selected at the target input gray-scale level selecting step (S151) is represented as Formulas 48 and 49:
For target input gray-scale levels shown as the white circles in
At target output gray-scale level calculating step (S153), an output gray-scale level corresponding to the target input gray-scale level selected at the target input gray-scale level selecting step (S151) is calculated. Operation at the target output gray-scale level calculating step (S153) is described using the flowchart shown in
At initialization step 1 (S161), variables to be used in subsequent processing are initialized. For example, processing like Formula 52 is performed:
y←f
out(x0)
Emin←MAX_VAL [Formula 52]
where “y” represents an output gray-scale level resulting from a level conversion function applied to an input gray-scale level x, and “fout(x)” represents the finally calculated output level conversion function. For fout(0), 0 gray-scale level is preset, and for fout(255), 255 gray-scale level is preset. “Emin” represents the minimum evaluation value which will be used at level conversion function updating step (S164) discussed below. “X0” represents the minimum gray-scale level in a certain range for selecting the target input gray-scale level xt as the midpoint level in the range at the target input gray-scale level selecting step (S151). The value x1 used at the level conversion function updating step (S164) described below represents the maximum gray-scale level within the range. For example, when the target input gray-scale level xt is 64 level, “x0” is 0 gray-scale level and “x1” is 128 level as shown in
At initialization step 2 (S162), the first evaluation value E1 and the second evaluation value E2 which will be used at the evaluation value updating step (S163) to be discussed later are initialized as shown in Formula 53:
E1←0
E2←0 [Formula 53]
In evaluation value updating step (S163), the first and second evaluation values E1 and E2 are calculated at the first and second evaluation value updating steps (S165 and S166).
The first evaluation value calculating step (S165) operates to first determine a brightness G(xt) in the maximum dynamic range of the target input gray-scale level xt by making reference to the first setting lookup table 20. Next, the brightness g(y, Iout) of the image displaying unit 16 corresponding to the output gray-scale level “y” with the backlight luminance Iout which is calculated by the backlight luminance calculating unit 22 is determined by referencing the second setting lookup table 21. Then, the difference between G(xt) and g(y, Iout) is calculated. Then, the difference is multiplied by the sum of the two frequencies H(x0, xt−1) and H(xt, x1) determined at the partial histogram generating step (S152), and the product is substituted into the evaluation value E1. For example, when the difference is evaluated as an absolute value, it is expressed as Formula 54:
E
1
←|G(xt)−g(y,Iout)|(H(x0,xt−1)+H(xt,x1)) [Formula 54]
When the difference is evaluated as a square error, it is represented as Formula 55;
E
1
←{G(xt)−g(y,Iout)}2(H(x0,xt−1)+H(xt,x1)) [Formula 55]
The evaluation performed in Formulas 54 and 55 using the gray-scale level-luminance characteristic may be done with the gray-scale level-brightness characteristics which were set at the setting step 1 (S161) and setting step 2 (S162) as described in the first embodiment. For example, when the difference is evaluated as a square error using a gray-scale level-lightness characteristic, it is represented as Formula 56:
E
1
←{G
L*(xt)−gL*(y,Iout)}2(H(x0,xt−1)+H(xt,x1)) [Formula 56]
Operation at the second evaluation value calculating step (S166) will be described next. First, brightnesses G(xt), G(x0), and G(x1) in the maximum dynamic range corresponding to the target input gray-scale level xt, and the minimum and maximum gray-scale levels x0 and x1 in the level range in which “xt” is selected as the midpoint level are determined by referencing the first setting lookup table 20. Next, brightnesses g(y, Iout), g(f(x0), Iout) and g(f(x1), Iout) of the image displaying unit 16 corresponding to output gray-scale levels f(x0) and f(x1) with an output level conversion function at output gray-scale level y, and x0, and x1 with backlight luminance Iout calculated by the backlight luminance calculating unit 22 are determined by referencing the second setting lookup table 21. Then, the differentiation of the gray-scale level-brightness characteristic in the maximum dynamic range is replaced with a difference and a gradient is calculated as below:
ΔG(x0,xt)=G(xt)−G(x0)
ΔG(xt,x1)=G(x1)−G(xt) [Formula 57]
Similarly, the differentiation of the gray-scale level-brightness gradient characteristic of the image displaying unit 16 is replaced with a difference and a gradient is calculated as follows:
Δg(fout(x0),y)=g(y,Iout)−g(fout(x0),Iout)
Δg(y,fout(x1))=g(fout(x1),Iout)−g(y,Iout) [Formula 58]
Here, unlike the first embodiment, this embodiment replaces gradient with difference. Therefore, the first and second setting lookup tables 20 and 21 do not have to maintain gray-scale level-brightness characteristics as in the first embodiment and a difference equivalent to a gradient is calculated from gray-scale level-brightness characteristic. Next, the difference between ΔG(x0, xt) and Δg(fout(x0), y) and the difference between ΔG(xt, x1) and Δg(y, fout(x1)) are calculated. Then, the differences are respectively multiplied by two frequencies H(x0, xt−1) and H(xt, x1) determined at the partial histogram generating step (S152), and the products are added to the evaluation value E2. For example, when the difference is evaluated in an absolute value, it is represented as Formula 59:
E
2
←ΔG(x0,xt)−Δg(fout(x0),y)|H(x0,xt−1)+|ΔG(xt,x1)−Δg(y,fout(x1))|H(xt,x1) [Formula 59]
Formula 59 is equivalent to a formula that replaces the differentiation of Formula 29 of the first embodiment with a difference and the frequency with a frequency that is determined from a partial histogram. When the difference is evaluated as a square error, it is represented as Formula 60:
E
2
←{ΔG(x0,xt)−Δg(fout(x0),y)}2H(x0,xt−1)+{ΔG(xt,x1)−Δg(y,fout(x1))}2H(xt,x1) [Formula 60]
The evaluation performed in Formulas 59 and 60 using the gray-scale level-luminance gradient characteristic may be done with the gray-scale level-brightness gradient characteristics which were set at the setting step 1 and setting step 2. For example, when the difference is evaluated as a square error using gray-scale level-lightness gradient characteristic, it is represented as Formula 61:
E
2
←{ΔG
L*(x0,xt)−ΔgL′(fout(x0),y)}2H(x0,xt−1)+{ΔGL*(xt,x1)−ΔgL*(y,fout(x1))}2H(xt,x1) [Formula 61]
After calculation of the first and second evaluation values E1 and E2, an evaluation value E (a third evaluation value) is calculated by weighted linear sum, as shown in Formula 62, of the first and second evaluation values:
E←λE
1+(1−λ)E2 [Formula 62]
where “λ” represents a weight for the first and second evaluation values, a value in a range from 0 to 1.
At level conversion function updating step (S164), it is determined whether the evaluation value E determined at the evaluation value updating step (S163) for the current output gray-scale level “y” corresponding to the target input gray-scale level xt is minimum. If it is minimum (YES), the current output gray-scale level “y” is set as the target output gray-scale level fout(xt) corresponding to the target input gray-scale level xt, and the minimum evaluation value Emin is updated to the current evaluation value E (S169). Then, it is determined whether evaluation is completed for all of output gray-scale levels “y” that were preset (S170). If not (NO), the output gray-scale level “y” is updated (S171). Specifically, if the output gray-scale level “y” is smaller than output gray-scale level fout(x1) corresponding to the maximum gray-scale level x1 in the level range in which the target input gray-scale level xt is selected as the midpoint level, the output gray-scale level “y” is incremented by a predetermined value (typically one) to be updated. Accordingly, the output gray-scale level “y” is a value equal to or greater than fout(x0) and equal to or smaller than fout(x1). If evaluation is completed (YES), the target output gray-scale level fout(xt) at the time is output.
At termination determination step (S154), it is determined whether all of target input gray-scale levels that should be selected were selected at the target input gray-scale level selecting step (S151). Specifically, this embodiment determines whether all of the levels from 0 to 255 gray-scale level that are in increments of 32 levels were selected, and if not (NO), the flow returns to the target input gray-scale level selection step (S151) to select the next target input gray-scale level. If all the levels have been selected (YES), the output level conversion function fout(x) is output from the level conversion function calculator 24. In this embodiment, output level conversion functions fout(x) corresponding to input gray-scale levels that are in steps of 32 levels are calculated. Thus, the level conversion function calculator 24 of this embodiment is configured to linearly interpolate the output level conversion functions fout(x) at the end so as to determine an output level conversion function fout(x) that corresponds to all the input gray-scale levels x. The linear interpolation of output level conversion functions fout(x) may be performed at any point in the timing controller 14 as long as it takes place before level conversion of an input video, in addition to being performed in the level conversion function calculator 24. For instance, output level conversion functions for every 32 levels may be output by the level conversion function calculator 24 and a level conversion function corresponding to all the input gray-scale levels may be determined by linear interpolation inside the timing controller 14.
As described above, this embodiment can provide an image display apparatus with excellent visual contrast and reduced power consumption because it can set a level conversion function adaptively to an input video.
The basic configuration of an image display apparatus according to a fourth embodiment of the present invention is similar to that of the third embodiment, but the level conversion function calculator of this embodiment calculates the output level conversion function in a different way. The third embodiment selects the target input gray-scale level by stepwise selecting a level that is located halfway between input gray-scales for which corresponding output gray-scale levels have been already calculated, whereas this embodiment selects it from a higher level toward a lower level in sequence. The configuration of the level conversion function calculator that is different from that of the third embodiment will be described in detail below. Reference will be made to
The operation of the level conversion function calculator 24 according to the fourth embodiment will be described in detail using the flowchart shown in
At level conversion function initialization step (S181), the initial values of output gray-scale levels that correspond to input gray-scale levels that are in increments of 32 levels are set, that is, the level conversion function is initialized. While the initial value can be set in various ways, e.g., setting the input gray-scale level as the output gray-scale level as it is, this embodiment uses the initial level conversion function fc(x, Iout) which was used in the second embodiment. An example of the initialized level conversion function is shown in
At target input gray-scale level selecting step (S182), one input gray-scale level that will be subsequently processed is selected from among a plurality of input gray-scale levels for a level conversion function. In this embodiment, the target input gray-scale level is selected starting from a high gray-scale level toward a lower level in sequence. First, as in the third embodiment, an output gray-scale level that corresponds to 0 gray-scale level as the input gray-scale level is set as 0 gray-scale level, and one that corresponds to 255 gray-scale level as the input gray-scale level is set as 255 gray-scale level. Then, as shown by the white circle in
At target level conversion function calculating step (S183), an output level conversion function corresponding to the target input gray-scale level selected at the target input gray-scale level selecting step (S182) is calculated. Operation at the target level conversion function calculating step (S183) is described using the flowchart shown in
At initialization step 1 (S191), variables to be used in subsequent processing are initialized. For example, processing like Formula 63 is performed:
y←f
out(xt)
f
t(x)←fout(x)
Emin←MAX_VAL [Formula 63]
where “y” represents an output gray-scale level resulting from a level conversion function being applied to the target input gray-scale level xt which was selected at the target input gray-scale level selecting step, and “fout(x)” represents the finally calculated output level conversion function. “fout(x)” has been set to fc(x, Iout) at the level conversion function initialization step (S181) described above. “ft(x)” represents a target level conversion function that will be used in subsequent level conversion function updating step (S194) and is initialized to an output level conversion function fout(x) at the initialization step 1 (S191). “Emin” represents the minimum evaluation value that will be used at level conversion function updating step (S194) discussed later.
At initialization step 2 (S192), the first evaluation value E1 and the second evaluation value E2 that will be used at evaluation value updating step (S193), to be discussed later, are initialized as shown in Formula 64:
E1←0
E2←0 [Formula 64]
In evaluation value updating step (S193), the first and second evaluation values E1 and E2 are calculated at the first and second evaluation value updating steps (S195 and S196).
The first evaluation value calculating step (S195) operates to first determine a brightness G(x) for the input gray-scale level x in the maximum dynamic range by making reference to the first setting lookup table 20. Next, the brightness g(ft(x), Iout) of the image displaying unit 16 corresponding to the output gray-scale level ft(x) that will be obtained at the backlight luminance Iout which was calculated by the backlight luminance calculating unit 22 and using the target level conversion function is determined by referencing the second setting lookup table 21. Next, the difference between G(x) and g(ft (x), Iout) is calculated. Then, the difference is multiplied by the frequency h(x) of gray-scale level x determined by the histogram generating unit 11 and the result is added to the evaluation value E1. This processing is performed to all input gray-scale levels (“x” is 16, 48, 80, 112, 144, 176, 208, and 240 gray-scale levels as shown in
where “x” is 16, 48, 80, 112, 144, 176, 208, and 240 in this embodiment. The evaluation performed in Formula 65 using the gray-scale level-luminance characteristic may be done with the gray-scale level-brightness characteristics which were set at the setting step 1 and setting step 2 described in the second embodiment. For example, when the difference is evaluated as a square error using gray-scale level-lightness characteristic, it is expressed as Formula 66:
where “x” is 16, 48, 80, 112, 144, 176, 208, and 240 in this embodiment. Here, when target input gray-scale level xt is 192 gray-scale level as shown at the white circle in
Now, the operation at the second evaluation value calculating step (S196) is described. First, a brightness G(xs) in the maximum dynamic range for a gray-scale level xs which is at the boundary between bins of the histogram generated by the histogram generating unit 11 is determined by referencing the first setting lookup table 20. Then, the brightness g(ft(xs), Iout) of the image displaying unit 16 corresponding to the output gray-scale level ft(xs) that will be obtained at the backlight luminance Iout calculated by the backlight luminance calculating unit 22 and using the target level conversion function is determined by referencing the second setting lookup table 21. Since this embodiment generates a histogram on a 32-level basis, the boundary levels xs are 0, 32, 64, 96, 128, 160, 192, 224 and 255 gray-scale levels as shown in
ΔG(x)=G(x−16)−G(x+16) [Formula 67]
where “x−16” and “x+16” represent the boundary gray-scale levels xs of the input gray-scale x. For instance, when the input gray-scale level x is 48 gray-scale level, the boundary gray-scale levels are 32 and 64 gray-scale levels. However, when the input gray-scale level x is 240 gray-scale level, one of the boundary levels is rounded to 255 level because 240+16=256. Also, while this embodiment uses ±16 since it uses histograms on a 32-level basis, this value may vary as appropriate for a histogram generated. For instance, when a generated histogram is in units of 16 levels, the value is ±8. In a similar way, the differentiation of gray-scale level-brightness gradient characteristic of the image displaying unit 16 is replaced with a difference and a gradient is calculated as below:
Δg(ft(x),Iout)=g(ft(x−16),Iout)−g(ft(x+16),Iout) [Formula 68]
The output gray-scale level ft(xt) for the target input gray-scale level xt corresponds to “y”. Here, unlike the first embodiment, this embodiment replaces gradient with difference. Therefore, the first and second setting lookup tables 20 and 21 do not have to maintain gray-scale level-brightness characteristics as in the first embodiment and a difference equivalent to a gradient is calculated from gray-scale level-brightness characteristic. Next, the difference between ΔG(x) and Δg (ft(x), Iout) is calculated. The differences is then multiplied by the frequency h(x) of gray-scale level x determined by the histogram generating unit, and the result is added to the evaluation value E2. The above processing is performed to all input gray-scale levels (“x” is 16, 48, 80, 112, 144, 176, 208 and 240 gray-scale levels as shown in
Formula 69 is equivalent to replacement of the differentiation in Formula 29 in the first embodiment with a difference. The evaluation performed in Formula 69 using the gray-scale level-luminance gradient characteristic may be done with the gray-scale level-brightness gradient characteristics which were set at the setting step 1 (S191) and setting step 2 (S192). For example, when the difference is evaluated as a square error using a gray-scale level-lightness gradient characteristic, it is represented as Formula 70:
As mentioned in the description of the first evaluation value calculating step (S195), calculation of a square error for which an output gray-scale level is already calculated may be omitted.
After calculating the first and second evaluation values E1 and E2, an evaluation value E (a third evaluation value) is calculated by weighted linear sum of the first and second evaluation values E1 and E2 as shown in Formula 71:
E←λE
1+(1−λ)E2 [Formula 71]
where “λ” represents a weight to the first and second evaluation values, a value in a range from 0 to 1.
At level conversion function updating step (S194), it is determined whether the evaluation value E for the current target level conversion function ft(x) is minimum. If it is minimum (YES), the current target level conversion function ft(x) is set as the output level conversion function fout(x), and the minimum evaluation value Emin is updated to the current evaluation value E (S199). Then, it is determined whether evaluation is completed for all of output gray-scale levels “y” that were preset (S200). If not (NO), the output gray-scale level “y” and target level conversion function ft(x) are updated (S201). That is, if the output gray-scale level “y” is greater than 0, a predetermined value (typically 1) is subtracted from the output gray-scale level “y” to update the output gray-scale level y. Also, as the output gray-scale level “y” changes, the target level conversion function ft(x) is updated. First, using the target input gray-scale level xt and the updated output gray-scale level “y”, the target level conversion function ft(x) is updated as Formula 72:
f
t(xt)←y [Formula 72]
Then, since the level conversion function monotonically increases the output gray-scale level with increase in the input gray-scale level, the output gray-scale level ft(x) is updated to ft(xt) if the output gray-scale level ft(x) corresponding to an input gray-scale level that is smaller than the target input gray-scale level xt is large as compared to ft(xt).
In the following, description is provided on a case where the target level conversion function of
At termination determining step (S184), it is determined whether all of target input gray-scale levels that should be selected were selected at the target input gray-scale level selecting step (S182). Specifically, this embodiment determines whether all of the gray-scale levels from 0 to 255 levels in increments of 32 levels were selected, and if not (NO), the flow returns to the target input gray-scale level selection step (S182) to select the next target input gray-scale level. If all the levels have been selected (YES), the output level conversion function fout(x) at that point is output from the level conversion function calculator 24. In this embodiment, output level conversion functions fout(x) corresponding to input gray-scale levels that are in increments of 32 levels are calculated. Thus, the level conversion function calculator 24 of this embodiment is configured to linearly interpolate those output level conversion functions fout(x) at the end to determine an output level conversion function fout(x) that corresponds to all the input gray-scale levels x. Linear interpolation of output level conversion functions fout(x) may be performed at any point in the timing controller 14 as long as it takes place before level conversion of an input video. In addition to being performed in the level conversion function calculator 24. For instance, output level conversion functions for every 32 levels may be output by the level conversion function calculator 24 and a level conversion function corresponding to all the input gray-scale levels may be determined by linear interpolation inside the timing controller 14.
As described above, this embodiment can provide an image display apparatus with excellent visual contrast and reduced power consumption because it can set a level conversion function adaptively to an input video.
The basic configuration of an image display apparatus according to a fifth embodiment of the present invention is similar to those of the third and fourth embodiments, but this embodiment is configured to repeat calculation of a backlight luminance and a level conversion function. In the following, the configurations of the backlight luminance calculating unit and level conversion function calculator that involve repetition and are different from those of the third and fourth embodiments will be described in detail. As configurations of other components are similar to those of the first embodiment, description of them is omitted.
The flow of calculation of a backlight luminance and that of a level conversion function in this embodiment will be described using the flowchart shown in
At backlight luminance calculating step (S211), an output backlight luminance Iout is calculated. The backlight luminance is calculated as in the second embodiment using Formulas 37 to 43.
At level conversion function calculating step (S212), output level conversion function fout(x) is calculated. The level conversion function is calculated as in the third and fourth embodiments using the output backlight luminance Iout determined at the backlight luminance calculating step (S211).
At termination determining step (S213), it is determined whether to repeat the backlight luminance calculating step (S211) and the level conversion function calculating step (S212). While this determination can be based on various conditions, this embodiment makes the determination according to whether the absolute value difference between the backlight luminance that was calculated in the immediately preceding backlight luminance calculating step and the one calculated at the current backlight luminance calculating step is smaller than a predetermined threshold value. That is, if the absolute value difference is larger than the threshold value, the backlight luminance calculating step (S211) and the level conversion function calculating step (212) are repeated once again. If the difference is smaller than the threshold value or if the number of repetitions has reached a predetermined value, the backlight luminance and the level conversion function at the time are output.
At level conversion function resetting step (S214), the level conversion function that is used at the backlight luminance calculating step (S211) is reset to the level conversion function fout(x) that was calculated at the level conversion function calculating step (S212). That is, the initial level conversion function fc(x, I) used at the backlight luminance calculating step is reset as below:
f
c(x,I)←fout(x) [Formula 73]
Then, after the backlight luminance is calculated again at the backlight luminance calculating step (S211) using the level conversion function that has been reset, that output backlight luminance is used to calculate the level conversion function.
As described above, it is possible to calculate a backlight luminance and a level conversion function that are more suitable for the input video by repetitively calculating them.
As has been described, this embodiment can provide an image display apparatus with excellent visual contrast and reduced power consumption.
The present invention is not limited to the above-described embodiments and various modifications can be made thereto without departing from the spirit of the invention. For instance, while the above-described embodiments illustrate a transmissive liquid crystal display combining a liquid crystal panel and a backlight as the configuration of the image displaying unit, the embodiments can also be applied to various configurations of the image displaying unit other than the transmissive liquid crystal display. For example, the embodiments are also applicable to a projection image displaying unit that combines a liquid crystal panel as a light modulation element and a light source, such as a halogen light source. Alternatively, the embodiments are applicable to a projection image displaying unit that utilizes a halogen light source as the light source and a digital micro-mirror device as a light modulation element, which displays an image by controlling light reflection from the halogen light source.
Number | Date | Country | Kind |
---|---|---|---|
2007-284141 | Oct 2007 | JP | national |