IMAGE PROCESSING METHOD AND IMAGE PROCESSING SYSTEM
An image processing system comprising: a gray level analyzing circuit, configured to analyze a gray level distribution of an input image and to calculate quantities for pixels having different gray levels in the input image; and a processor, coupled to the gray level analyzing circuit, configured to set first pixel gains for the pixels according to the gray levels and the quantities, and to process the input image with the first pixel gains to generate an output image.
The present invention relates to an image processing method and an image processing system, and particularly relates to an image processing method and an image processing system which can reduce display power.
2. Description of the Prior ArtDue to material characteristics, an OLED (Organic Light Emitting Diode) may have a low lighting efficiency for some colors. That is, the power consumption of the OLED display is higher while displaying an image with more components of the specific color.
For example, if the OLED display has a low lighting efficiency for the blue color, the power consumption of the OLED display is higher while displaying an image with more blue components.
Therefore, a method for reducing the power consumption of the OLED display without reducing user experience is needed.
SUMMARY OF THE INVENTIONAnother objective of the present invention is to provide an image processing system which can reduce power consumption of an OLED display.
Therefore, one objective of the present invention is to provide an image processing method which can reduce power consumption of an OLED display.
One embodiment of the present invention discloses an image processing system, comprising: a gray level analyzing circuit, configured to analyze a gray level distribution of an input image and to calculate quantities for pixels having different gray levels in the input image; and a processor, coupled to the gray level analyzing circuit, configured to set first pixel gains for the pixels according to the gray levels and the quantities, and to process the input image with the first pixel gains to generate an output image.
Another embodiment of the present invention discloses an image processing system comprising: a color model generating circuit, configured to generate a color model of an input image; and a processor, configured to acquire hue parameters of the input image based on the color model, and applies the processor to set second pixel gains for the pixels according to the quantities and the hue parameters.
In view of above-mentioned embodiments, since the pixel gains of the image portion requiring more display power is adjusted to be smaller, the power consumption of the OLED display can be greatly reduced.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Several embodiments are provided in following descriptions to explain the concept of the present invention. Each component in following descriptions can be implemented by hardware (e.g. a device or a circuit) or hardware with software (e.g. a program installed to a processor). Also, the components can be integrated to fewer components or be separated to more components. Besides, the term “first”, “second”, “third” in following descriptions are only for the purpose of distinguishing different one elements, and do not mean the sequence of the elements. For example, a first device and a second device only mean these devices can have the same structure but are different devices.
The gray level analyzing circuit 103 is configured to provide a gray level distribution GLD of an input image Im_in. In one embodiment, the gray level distribution GLD is a gray level diagram. Please refer to
After that, the processor 101 sets first pixel gains for the pixels in the input image Im_in according to the quantities and the gray levels. In one embodiment, the processor 101 reads a pixel gain table Tb_1 from a storage device 107, and then sets first pixel gains for the pixels in the input image Im_in according to the quantities and the gray levels based on the pixel gain table Tb_1. The storage device 107 is not limited to be independent form the processor 101 and locate in the image processing system 100. For example, the storage device 107 can be integrated to the processor 101 or be an online hard drive. After that, the processor 101 processes the input image Im_in with the first pixel gains to generate an output image Im_out.
In one embodiment, the processor 101 only applies the first pixel gains to adjust pixel values of the input image Im_in to generate an output image Im_out. In another embodiment, the processor 101 applies the first pixel gains and other pixel values to adjust pixel values of the input image Im_in, which will be described later.
In the embodiment of
The above-mentioned two methods for deciding first pixels values have some advantages. Each pixel may have sub-pixels comprising an R-pixel, a G pixel and a B pixel, and a gray level thereof can be calculated based on pixel values of the R-pixel, the G pixel and the B pixel. Therefore, if the gray level is larger, it means the pixel values of R pixels, G pixels or B pixels may be larger. As above-mentioned, the OLED display may have a low lighting efficiency for at least one color. Accordingly, if the gray level is large, it means the OLED display needs more power to display the input image Im_in. Accordingly, at least part of the first pixel gains is inversely proportional to the gray level.
In one embodiment, the processor 103 only generates gray level distribution GLD for an image having similar brightness values such as a white image, a black image or a gray image. Therefore, in one embodiment the processor 103 has a determining circuit 103_1, which calculates a difference between a maximum pixel value and a minimum pixel value of the input image Img_in. The processor 103 generates the gray level distribution GLD if the difference is below a threshold value, which means the input image Im_in has similar brightness values. On the opposite, if the difference is above the threshold value, it means the input image Im_in does not have similar brightness values such that the processor 103 does not generate the gray level distribution GLD. It will be appreciated the method for determining whether the image has similar brightness values or not is not limited to the above-mentioned example.
Besides, if the quantity of the pixels with a specific gray level is larger, it means the pixels with the specific gray level occupies a large part of the input image Im_in, thus may greatly increase the display power if the specific gray level is large. On the opposite, if the quantity of the pixels with a specific gray level is small, it means the pixels with the specific gray level only occupies a tiny part of the input image Im_in, thus does not affect the display power too much if the specific gray level is large. Therefore, at least part of the first pixel gains is inversely proportional to the quantity. If the gray level is not contained in the pixel gain table Tb_1, the pixel gains of such gray level can be calculated based on pixel gains of similar gray level in the pixel gain table Tb_1. For example, the pixel gains of a gray level 100 can be calculated based on pixel gains of gray levels 96 and 128 in the pixel gain table Tb_1 via interpolation.
Please note, the first pixel values are not limited to be acquired by such methods and are not limited to the examples illustrated in
Please refer to
In one embodiment, the processor 101 reads a pixel gain table Tb_2 from the storage device 107, and accordingly sets second pixel gains for the pixels having different hue parameters. Also, in one embodiment, the processor 101 reads a pixel gain table Tb_3 from the storage device 107, and accordingly sets third pixel gains for the pixels having different brightness parameters.
In the pixel gain table Tb_2, at least part of the second pixel gains is inversely proportional to the quantity. For example, if the quantity for pixels with a color C2 is 4096, the second pixel gain is 0.8, and if the quantity for pixels with a color C2 is 3854, the first pixel gain is 0.95.
Please note the second pixel gains are not limited to the example illustrated in
In the pixel gain table Tb_3, at least part of the third pixel gains is inversely proportional to the quantity. For example, if the quantity for pixels with a brightness value BR2 is 4096, the third pixel gain is 0.8, and if the quantity for pixels with a brightness value BR2 is 3854, the first pixel gain is 0.95. Also, at least part of the third pixel gains is inversely proportional to the brightness value. For example, if the brightness value for pixels with a quantity 3854 is BR4, the third pixel gain is 0.9, and if the brightness value for pixels with a quantity 3854 is BR7, the third pixel gain is 0.8.
Besides the above-mentioned setting rules for the pixel gains, the pixel gains can be decided to meet any requirements. For example, the pixel gains can be set to reduce the power consumption of the OLED display but does not affect user experience. Also, the image processing system 100 can apply only the first pixel gains, only the second pixel gains or only the third pixel gains to generate the output image Im_out. Alternatively, the image processing system 100 can apply at least one of the first pixel gains, the second pixel gains and the third pixel gains to generate the output image Im_out. For example, the image processing system 100 can apply the first pixel gains and the second pixel gains to generate the output image Im_out.
As above-mentioned, the processor 101 can apply the first pixel gains and other pixel values to adjust pixel values of the input image Im_in. In one embodiment, the processor 101 multiplies the first pixel gain with the second pixel gain or the third pixel gain to acquire a further pixel gain, and process the input image Im_in to generate the output image Im_out.
As illustrated in
In one embodiment the display 705 is an OLED display, and spends less power to display the output image Img_out then to display the input image Img_in. Besides, in one embodiment the display control system 701 is a timing control circuit which controls the timing for the devices in the display. Therefore, the above-mentioned image processing method can be regarded as an image display method if the output image Im_out is displayed.
In view of above-mentioned embodiments, since the pixel gains of the image portion requiring more display power is adjusted to be smaller, the power consumption of the OLED display can be greatly reduced. However, please note the present invention is not limited to solve such problem.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Claims
1. An image processing system, comprising:
- a gray level analyzing circuit, configured to analyze a gray level distribution of all pixels of an input image and to calculate quantities for the pixels having different gray levels in the input image; and
- a processor, coupled to the gray level analyzing circuit, configured to set first pixel gains for the pixels according to the gray levels and the quantities, and to process the input image with the first pixel gains to generate an output image;
- wherein the first pixel gains are inversely proportional to the quantities and the gray levels;
- wherein the first pixel gains of at least two different ones of the pixels are different.
2. The image processing system of claim 1, wherein the gray level analyzing circuit further comprises a determining circuit configured to determine whether the input image has similar brightness values or not, wherein the gray level analyzing circuit calculates quantities for the pixels having different gray levels when the input image has the similar brightness values and does not calculate the quantities when the input image does not have the similar brightness values;
- wherein the determining circuit calculates a difference between a maximum pixel value and a minimum pixel value of the input image, and determines that the input image has similar brightness values if the difference is below a threshold value.
3-4. (canceled)
5. The image processing system of claim 1, further comprising:
- a color model generating circuit, configured to generate a color model of the input image;
- wherein the processor acquires hue parameters of the input image based on the color model, sets second pixel gains for the pixels according to quantities of pixels with different ones of the hue parameters among the pixels and the hue parameters, and further processes the input image with the second pixel gains to generate the output image.
6. The image processing system of claim 5, wherein the processor acquires brightness parameters of the input image based on the color model, sets third pixel gains for the pixels according to quantities of pixels with different ones of the brightness parameters among the pixels and the brightness parameters, and further processes the input image with the third pixel gains to generate the output image.
7. The image processing system of claim 6, wherein the processor multiplies the first pixel gain with the second pixel gain or the third gain to generate a fourth pixel gain, and processes the input image with the fourth pixel gain to generate the output image.
8. The image processing system of claim 6, wherein at least part of the third pixel gains is inversely proportional to the brightness parameters.
9. An image processing system, comprising:
- a color model generating circuit, configured to generate a color model of an input image; and
- a processor, configured to acquire hue parameters of the input image based on the color model, and is configured to set second pixel gains for pixels according to quantities of pixels with different ones of the hue parameters among the pixels and the hue parameters;
- wherein the second pixel gains are inversely proportional to the quantities;
- wherein the second pixel gains are proportional to lighting efficiencies of colors of the pixels.
10. The image processing system of claim 9, wherein the processor acquires brightness parameters of the input image based on the color model, sets third pixel gains for the pixels according to the quantities and the brightness parameters, and processes the input image with the second pixel gains and the third pixel gains to generate the output image.
11. The image processing system of claim 10, wherein the processor multiplies the second pixel gain with the third gain to generate a fourth pixel gain, and processes the input image with the fourth pixel gain to generate the output image.
12. The image processing system of claim 9, wherein at least part of the third pixel gains is inversely proportional to the brightness parameters.
Type: Application
Filed: Jan 3, 2019
Publication Date: Jul 9, 2020
Inventor: Tung-Ying Wu (Tainan City)
Application Number: 16/239,477