VIDEO ENHANCEMENT AND DISPLAY POWER MANAGEMENT
Technical Field
The invention concerns power management and image enhancement in visual display devices and, more particularly, in liquid-crystal display devices.
Background of the Invention
Visual display devices are ubiquitous in battery-powered portable electronic devices such as notebook computers and mobile, hand-held telephones where, typically, they are the largest consumers of battery power. For example, in mobile devices equipped with thin-film transistor (TFT) liquid-crystal displays (LCD) utilizing backlight illumination, the LCD panel consumes more than 30% of the device power and the backlight typically consumes 75% of the LCD power. Thus, for conserving battery power, there is primary interest in minimizing the power consumption of the display device. An LCD screen typically includes an array of liquid-crystal pixels arranged as a plurality of rows each having a plurality of pixels, arranged in columns, with each pixel capable of displaying any one of 256 luminance values of a gray scale and the corresponding chrominance values. Each pixel has its own liquid crystal cell, a dedicated thin-film transistor, and a dedicated capacitor. The electrical field of the capacitor controls the orientation of the liquid crystals within the cell, determining the optical transmissivity of the cell and thus its luminance when lit by a backlight. The capacitor is charged and discharged via its transistor. Device activation typically is row-by-row, so that, at any one time, all column lines are connected to a single row.
For saving power in an LCD device, dynamic backlight control can be used, involving dynamic scaling down and up of the backlight brightness while the device is being used, e.g. in playing back a movie. Moreover, it is beneficial to correspondingly transform an image/pattern to be displayed by transforming the pixel luminance values.
Summary of the Invention When the display backlight is set at a specific brightness value, a preferred transformation, (1), of the pixel values can be determined for minimizing perceived image
distortion between the original untransformed image at maximum backlight and the transformed image under the specific backlight condition. Furthermore, a preferred transformation, (2), of the pixel values can be determined for minimizing power consumption while meeting an image-quality requirement. A preferred transformation can maximize the luminance of a given pattern and provide optimal contrast by assigning each pixel a value from a given dynamic range of pixel values based on the value of the probability density of the pixel luminance values for the given pattern. Preferably, in effecting a transformation, certain display attributes are taken into account for imposing constraints on transform parameters.
Brief Description of the Drawing
Fig. 1 is a graph showing an exemplary pixel value distribution along a line of
256 pixel values as may arise for a particular given pattern, and further showing the graphs of the identity transform and of an illustrative multi-stage transform. Fig. 2 is a graph showing the pixel value distribution of Fig. 1 approximated by a step function, and further showing how the transform slopes are computed.
Fig. 3 is a graph showing a multi-stage transform obtained for the step function of Fig. 2.
Fig. 4 is a representation of an exemplary procedure for transforming the given pixel values using the pixel value distribution of the given pattern in accordance with a preferred embodiment of the invention.
Fig. 5 is a representation of a further exemplary procedure for transforming the given pixel values using the pixel value distribution of the given pattern, representing a further preferred embodiment of the invention. Fig. 6 is a block schematic of an exemplary embodiment of the technique.
Detailed Description
Transform Shape
For a transformation technique, Fig. 1 shows given or input pixel luminance values on the x-axis, output pixel values on the y-axis, and a pictorial representation of a distribution of the pixel values. The straight line from (0, 0) to (255, 255) represents the
identity transform which saves no power and causes no distortion. For backlight control, a transform is desired so that, after scaling the backlight, the maximum perceived luminance value is u < 255 at x = 255. Then, assuming that the perceived luminance of the pixel is the product of the backlight value and the transformed pixel value, we can scale the backlight by a factor of u/255, saving power.
Fig. 1 also shows a generic multi-stage transform with 4 stages as an example. More generally, on judicious choice of the number of stages/segments and their slope, any desired transformation can be effected. Our invention includes techniques for advantageously determining the number of stages and their slopes. Constraints on Transform Shape
A preferred transform will meet certain constraints for preventing undesirable effects. For example, if at any stage the slope of the transform were 0, then all the pixel values in that range would get compressed to a single value, resulting in total loss of contrast there. This is the case for certain transforms previously known in the art which clip the high pixel values to a threshold value, resulting in washout of bright pixels in the image. For example, washout will impair images of bulbs and lights due to loss of contrast in the region of the light. Conversely, if a slope is too large, pixel values that are close to each other are dramatically separated in the pixel-value space, causing a distorted rendition as compared with the original image. For example, where a given pixel value distribution has a peak, a swath of pixels have very similar luminance, e.g. in the court of a basketball scene. If the transform then has a high slope for these pixel values, the transformed court will have dramatically varying luminance, and the image will appear distorted.
In addressing such concerns, a preferred technique imposes two constraints on the slope, m, of the transform in any stage: m ≤ S™> (1)
where smax and smin are determined from a target backlight scaling factor, u/255. Then
Smax = 255/u Smin = ■? x 255/U where s is a suitably chosen parameter.
With these constraints, our preferred multistage transform can give good power savings through dynamic backlight control, maintaining brightness, maintaining contrast where necessary, avoiding contrast distortion in important regions, and minimizing washout effect as compared with known transforms. Estimation of Multistage Transform
For the present description of a preferred technique for estimating a desired multi-stage transform we assume that u is given, i.e. that we know the required backlight scaling factor, and hence the power savings. The technique aims at finding a transform that minimizes distortion while achieving power savings determined by u. A basic exemplary procedure can be described as follows:
(a) In regions where the histogram value is high, i.e., where there are several pixels with that range of values, we maintain the original contrast by using as large a slope value as possible.
(b) In regions where the histogram value is low, i.e., where there are few pixels with values in that range, we use a lesser slope. Contrast is reduced in these regions, but because it affects only a few pixels the reduction is not perceived as much.
We start by dividing the x-axis into B bins, where B can be between 0 and 255. A typical value of B may be between 5 and 30. Then we integrate the original histogram within these bins to get a piecewise uniform density function as shown in Fig. 2. U(i) denotes the value of the uniform density in bin /.
Fig. 2 also shows the uniform density over the entire dynamic range for comparison. The value of this density is denoted as U. If U(i) > U, then the number of pixels in bin i is greater than average, suggesting that we should maintain the original contrast by using an appropriate slope. If U(i) < U, then a less-than-average number of pixels is indicated in bin i, and so we can afford to lose some contrast by using a lesser slope. For example, as shown in Fig. 2, a practicable slope can be chosen as the one that transforms the uniform density with the value U(i) in bin i to another uniform density with the value U. This slope is given by
On taking account of the constraints given by Equation 1, we obtain the following for determining the slope for bin /:
Ifs(i) > s max, then s(i) = smax Ifs(i) < smin , then s(i) = smin Fig. 3 shows what the transform can look like after this step. At this point, the transform does not necessarily meet the desired maximum perceived luminance value, u. Using the target backlight scaling factor, u/255, the maximum desired transformed luminance can be computed as y/= min (255, x/ x 255/u) where x/ is the maximum input luminance for the frame.
Typically, xf > u , thus typically yf = 255. Figure 3 shows this case; yf = 255 is the maximum transformed luminance, allowing a scaling of the backlight by a factor of u/255 to result in a maximum displayed brightness of u . Fig. 3 also shows u, the value the maximum perceived luminance. We are now interested in modifying the computed transform so that it has a maximum value = yf . In Fig. 3, y f is more than the maximum value given by the current transform, t(255), so that we can scale up the transform by an appropriate factor. If y f were less than t(255), then we would scale down the transform. In either case we honor the constraints given by Equation 1.
Fig. 4 shows an exemplary algorithm, designated as MULTISTAGE, for determining the transform t(p) , 0 < p < 256. It can be used for task (1) as described in the Summary above.
For task (2) we further seek to meet a prescribed maximum perceived brightness after backlight scaling. Fig. 5 shows an exemplary algorithm, there designated as SCALING, which can be used for task (2). On combining procedures MULTISTAGE and SCALING, both tasks can be performed simultaneously. We note a number of typical applications of the two algorithms individually and in combination as follows:
1. Apply MULTISTAGE alone. Use the maximum value, t{255), to determine the backlight scaling factor, f(255)/255. This seeks to give the best possible image without trying to meet any particular power saving goal.
2. Apply MULTISTAGE. Determine the backlight scale factor based on the desired backlight setting, w. The scale factor is given by w/255. Then apply SCALING. This yields an optimal video or image and also meets the desired power saving goal.
3. Apply a transform with a fixed slope from 0 up to a certain threshold pixel value. Use MULTISTAGE after this threshold value. This seeks to maintain maximum brightness, while still achieving contrast at the high pixel values.
4. Proceed per Application 3 above, and then apply SCALING as in Application 2.
5. Proceed per Application 4 above, but, when applying SCALING, scale the fixed-slope transform only if the minimum slope constraints cannot be met.
6. When used for video, apply a low-pass filter in time to smooth the transform determined for each frame of a scene by any of Applications 1-5 above. This minimizes flicker as may result from very fast transform changes frame to frame.
7. Apply a high-pass filter to sharpen the edges of the video processed by any of applications 1 to 6 described above.
8. By scaling of chrominance pixels, apply a color boost to the chrominance values for improving the color combination of the processed image. For example, in a preferred embodiment in the YUV space, the U and V components each are scaled up by a respective fixed factor. Alternatively, chrominance scaling can involve a generic functional transform of the luminance component. Interaction with Environment
For an over-all view of a typical implementation of our technique, Fig. 6 shows different types of input 1 to a processor 2 for generating processed video frame output 3 as well as a backlight value 4 for display of video frame output 3 on an end client display device 5. As illustrated, for example, input 1 can include any/all of: values and statistics of pixels of an input video frame, values and statistics of a past video frame in a sequence of video frames, LCD panel characteristics of the display device 5, ambient light conditions of the environment in which the input video frame was generated, and user input. Input data are used by processor 2 in determining transform parameters, determining a backlight value, and transforming pixel values. At the display device 5, the transformed pixel values can be displayed against a backlight as determined by processor 2, or against some other supplied
background. For display, a video/image may be targeted for either or a combination of (i) least power consumption on the display device 5 and (ii) best possible enhancement as compared with the input.
Techniques of the invention can be applied for static backlight setting of an individual display, or dynamically in a scenario where the backlight can be changed from frame to frame of a video sequence. In either case, in processing a frame, the processor 2 can make reference to at least one previously processed frame. A previous frame can also be used for smoothing, e.g. with a suitable small portion α of the pixel values of a previous frame added to a portion (1-α) of the current frame of a scene. Technological Benefits and Uses
Techniques of the invention can generate high-quality video, still images, graphics, and screen shots of other multimedia applications such as Microsoft Power Point and Word applications, all at minimized display backlight power or at any specific display backlight power. Furthermore, the techniques can be useful for enhancing a display even where there may be little or no concern with backlight power. Our techniques can be implemented for power management and/or image enhancement in notebook-PC's, media players such as DVD playback devices, handheld consumer electronic devices, portable media players, personal digital assistant (PDA) devices, LCD TV's and mobile phones, for example.