This application claims the priority benefit of Taiwan application serial no. 103119594, filed on Jun. 5, 2014. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
1. Field
The disclosure relates to apparatuses and methods for image processing, and more particularly, relates to apparatuses and methods for image analysis and image display.
2. Description of Related Art
In some flat-panel displays, a mura with uneven brightness (i.e., in which some regions are brighter, some regions are darker, and the brighter regions and the darker regions are distributed irregularly) may occur even if a displayed image has only one single color. This uneven brightness may be caused by poor design in light field of backlight of the display, unevenness of optical films (e.g., a light guide plate and diffuser plate), or even caused by dirt at inner side of the display.
Unlike obvious defects (i.e., defect pixel, broken line, etc.) or specification (i.e., brightness and chrominance), the uneven brightness is mainly detected by the human eye, and such subjective judgment may be inconsistent and prone to controversy. When the uneven brightness of the display becomes too obvious, purchase of the display may be returned by the consumer who find it unacceptable, or the display may be marked with lower quality level to affect overall price of such display.
The uneven brightness may be solved by increasing a diffusion degree of the optical films in the display, but a cost thereof is increased accordingly.
The disclosure is directed to apparatuses and methods for image analysis and image display, which are capable of eliminating or reducing uneven brightness for a display.
An image analysis apparatus of the disclosure includes an image capturing device, a processor and a storage device. The image capturing device captures a first image displayed by a display to generate a second image. The processor is coupled to the image capturing device, finds a minimum value among a plurality of brightness values of a plurality of pixels of the second image, and generates a gain table according to the minimum value. Each of the pixels of the second image is corresponding to one of a plurality of gain values in the gain table. The storage device is coupled to the processor, and stores the gain table.
An image display apparatus of the disclosure includes a storage device, a thermo sensor, a processor, and a display. The storage device stores at least one gain table. Each of the at least one gain table includes a plurality of gain values, and a correspondence relationship is provided between the gain values and a plurality of pixels of an image. The thermo sensor measures an ambient temperature. The processor is coupled to the storage device and the thermo sensor. For each pixel, the processor determines a gain value corresponding to the one of the pixels according to the at least one gain table and the ambient temperature. The processor compensates the image according to the gain values corresponding to the pixels. The display is coupled to the processor, and displays the compensated image.
An image analysis method of the disclosure includes the following steps. A first image displayed by a display is captured to generate a second image. A minimum value among a plurality of brightness values of a plurality of pixels of the second image is found. A gain table is generated according to the minimum value, wherein each of the pixels of the second image is corresponding to one of a plurality of gain values in the gain table. The gain table is stored.
An image display method includes the following steps. At least one gain table is stored, wherein each of the at least one gain table includes a plurality of gain values, and a correspondence relationship is provided between the gain values and a plurality of pixels of an image. An ambient temperature is measured. For each of the pixels, a gain value corresponding to the one of the pixels is determined according to the at least one gain table and the ambient temperature. The image is compensated according to the gain values corresponding to the pixels. The compensated image is displayed.
The disclosure utilizes an image signal processing method to perform a compensation (for brighter or dimmer) on pixels in an image displayed by a display, so as to eliminate or reduce an uneven brightness for the display. However, the uneven brightness is under influences of an ambient temperature. Even after the image is compensated, under different ambient temperatures, distribution of the brighter regions and darker regions when the uneven brightness occurs may still vary in different degrees. Therefore, by taking the ambient temperature in consideration, the disclosure is capable of performing different degrees of the compensation for different ambient temperatures.
Step 210 aims to measure the uneven brightness for the display 180. The image I1 may be a black and white image or a color image. In case the image I1 is the black and white image, each pixel of the image I1 includes only one gray level value. In case the image I1 is the color image, each pixel of the image I1 includes a plurality of gray level values. For example, in a normal color display, each pixel includes three gray level values corresponding to red, green and blue, respectively. In order to accurately measure the uneven brightness for the display 180, the image I1 may be an even white image or an even gray image. In other words, all gray level values of all pixels of the image I1 may be the same value.
The image I2 includes a plurality of pixels. If the uneven brightness occurs in the display 180, the pixels of the image I2 may include a plurality of different brightness values instead of one single brightness value. The processor 140 may find a minimum value among the brightness values of the pixels of the image I2 in step 220, and then generate a gain table according to the minimum value in step 230. The storage device 160 may store the gain table in step 240.
The image I1 and the image I2 each is a two-dimensional array composed of pixels, and the gain table is a two-dimensional array composed of a plurality of gain values. The pixel of the image I1 is corresponding to a gain value at the same position in the gain table. The pixel of the image I2 is also corresponding to a gain value at the same position in the gain table. Each of the gain values in the gain table is equal to the minimum value among the brightness values of the pixels of the image I2 divided by the brightness value of the pixel of the image I2 corresponding to the gain value.
For instance, it is assumed that the image I1 is an all-white image. In other words, each gray level value of each pixel of the image I1 is a maximum gray level value corresponding to a gray level resolution of the image I1. In case the gray level resolution of the image I1 is 8-bit, the corresponding maximum gray level value is 255. It is assumed herein that the ambient temperature at the time is 0° C. The processor 140 may find a maximum value and a minimum value among the brightness values of the pixels of the image I2 (it is assumed that the maximum value is 479 and the minimum value is 294 herein). Because the all-white image is already the brightest image, the pixels therein cannot be brighter but only dimmer. In order to make the compensated image to include an even brightness, the minimum value 294 among the brightness values of the pixel is used to generate the gain table. As a simple example, which is provided below and assuming that dimensions of the image I1, the image I2 and the gain table are all 6×4. Table 1 below lists the brightness values of the pixels of the image I2, and Table 2 is the gain table. Each of the gain values in Table 2 is equal to the minimum value 294 divided by the brightness value of the pixel of image I2 corresponding to the gain value. The temperature corresponding to the generated gain table is 0° C.
The image analysis device 100 may execute the image analysis method of
As another example, the image analysis apparatus 100 may execute the image analysis method of
The method for the processor 360 to determine the gain value corresponding to each pixel according to the gain table is described as follows. It is assumed that an ambient temperature measured by the thermo sensor 340 is T, and the processor 360 needs to determine a gain value GP corresponding to a specific pixel P of the image I. As described above, each of the gain tables stored in the storage device 380 is corresponding to a temperature. If the ambient temperature T is equal to the temperature corresponding to a specific gain table, the gain value GP corresponding to the pixel P is a gain value corresponding to the pixel P in the specific gain table. The processor 360 multiplies each gray level value of the pixel P by the gain value GP corresponding to the pixel P in step 440, so as to compensate the image I.
For instance, it is assumed that three gain tables are stored in the storage device 380, wherein the temperature corresponding to a first gain table is 0° C., the temperature corresponding to a second gain table is 25° C., and the temperature corresponding to a third gain table is 50° C. When the ambient temperature T is 0° C., the gain value GP is the gain value corresponding to pixel P in the first gain table. When the ambient temperature T is 25° C., the gain value GP is the gain value corresponding to pixel P in the second gain table, and the rest may be deduced by analogy.
On the other hand, when the ambient temperature T is not equal to the temperature corresponding to each of the gain tables, for each pixel P of the image I, the processor 360 calculates the gain value GP corresponding to the pixel P according to the at least one temperature corresponding to the at least one gain table stored in the storage device 380, the ambient temperature T, and at least one gain value corresponding to the pixel P in the at least one gain table.
In the foregoing examples, when the ambient temperature T is neither 0° C., 25° C. nor 50° C., the processor 360 may utilize the three gain tables and an interpolation to calculate the gain value GP corresponding to the pixel P. In case the ambient temperature T is between 50° C. and 25° C., the processor 360 may calculate the gain value GP by using a formula (1) as provided below.
G
P=((T−25)×G50+(50−T)×G25)/(50−25) (1)
In the formula (1), G50 is the gain value corresponding to the pixel P in the third gain table, and G25 is the gain value corresponding to the pixel P in the second gain table.
In case the ambient temperature T is between 25° C. and 0° C., the processor 360 may calculate the gain value GP by using a formula (2) as provided below.
G
P=(T×G25+(25−T)×G0)/(25−0) (2)
In the formula (2), G0 is the gain value corresponding to the pixel P in the first gain table.
In view of the description for the method of
Although three gain tables are used in the foregoing embodiment, the disclosure is not intended to limit a quantity of the gain tables. In other embodiments, the image analysis apparatus 100 may generate any number of the gain tables, and the image display apparatus 300 may also use any number of the gain tables. Compensation quality may be higher when the quantity of the gain tables is greater. If the quantity of the gain tables is relatively fewer, resulting that the ambient temperature T does not have a corresponding gain table, the processor 360 may calculate the gain value GP by using the interpolation as described above. Alternatively, the processor 360 may also calculate the gain value GP according to the existing gain tables by using methods such as an extrapolation or a curve fitting.
In summary, the disclosure is capable of detecting and analyzing differences between displayed brightnesses of the pixels due to the uneven brightness for generating a gain table, and compensating the image by using the gain table The disclosure is also capable of measuring the ambient temperature according to the thermo sensor, and adaptively performing different degrees of the compensation for different ambient temperatures, such that a result of the compensation may provide image frames for meeting expectation. Because the disclosure does not require changes in hardware design of the display, a hardware cost for the display will not be increased.
Number | Date | Country | Kind |
---|---|---|---|
103119594 | Jun 2014 | TW | national |