This patent application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2012-095989 filed on Apr. 19, 2012, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to an information processing apparatus and a display control method.
Color temperature is known as a parameter for a display device such as a monitor of a television set or an electronic device, or the like. Whether under a fluorescent lamp of a daylight color, under a fluorescent lamp of an electric bulb color, under direct sunlight, or the like, the look of a screen may become greatly different depending on the strength or weakness of the light of a peripheral environment. Each environment has a different color temperature. Human eyes adjust themselves to the change of the color temperature and can distinguish color. If human eyes look at a paper which is seen as white under direct sunlight, the paper appears to have a red hue. With a time lapse, the paper looks white. This characteristic of human eyes is called “chromatic adaptation”.
Accordingly, in order to acquire color which is closer to the original color of an article displayed on the screen, it is demanded to properly adjust the color temperature of the display device. In a case of displaying an image seen as white under direct sunlight on the display device under the fluorescent lamp of an electric bulb as its natural color, the image may look blue to human eyes.
Conventionally, a display device, which can automatically execute an adjustment of the color temperature, is proposed.
However, in a case in which an image as a display target is changed and brightness becomes different between moment before and after the image changes, the change of the color temperature of the display device may appear artificial to human eyes.
When the display target is changed from a bright image to a dark image, for human eyes, the color temperature may be adjusted unnaturally as if the color temperature is suddenly changed. Human eyes easily follow the change from the dark image to the bright image, but do not easily follow its opposite change.
Japanese Laid-open Patent Publication No. H06-261334
Japanese Laid-open Patent Publication No. 2009-267967
According to one aspect of the embodiment, there is provided an information processing apparatus including a detection part configured to detect a change of a first color temperature of an external environment; a change part configured to change a second color temperature of a display part at a predetermined speed to a targeted value corresponding to the first color temperature after the change in response to a detected change of the first color temperature; and a determination part configured to determine whether brightness of an image is changed, in response to a switch of the image on the display part, wherein when it is determined that the brightness of the image on the display part is changed during the change of the second color temperature of the display part, the change part changes the second color temperature of the display part at a different speed from the predetermined speed.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention as claimed.
In the following, embodiments of the present invention will be described with reference to the accompanying drawings.
A program to conduct a process in the information processing apparatus 10 is installed into the ROM 101 or the non-volatile RAM 103. The program may be stored in the ROM 101 in a case of being installed beforehand when the information processing apparatus 10 is shipped. In the ROM 101 or the non-volatile RAM 103, various data sets used by the program may be stored as well as the program. When the CPU 104 is instructed to activate the program, the RAM 102 stores the program or the like which are read from the ROM 101 or the non-volatile RAM 103. The CPU 104 performs functions according to the information processing apparatus 10, which will be described later, in accordance with the program stored in the RAM 102. The wireless LAN communication part 105 may be regarded as hardware to conduct a wireless LAN communication. The wireless LAN communication part 105 may include an antenna for the wireless LAN communication. The RGB sensor 106 may be regarded as hardware to detect or measure color temperature of an external environment of the information processing apparatus 10. The display device 107 displays various information items output by the program. The input device 108 may be regarded as a touch panel, buttons, or the like to accept an input instruction from a user.
As an example of the information processing apparatus 10, a smart phone, a mobile phone, a PDA (Personal Digital Assistance), a tablet type terminal, a PC (Personal Computer), and the like may be used.
The color temperature change detection part 11 detects the change of the color temperature of the external environment which is detected by the RGB sensor 106. When the change of the color temperature of the external environment is detected by the color temperature change detection part 11, the color temperature adjustment part 12 adjusts (or corrects) to a value suitable for the color temperature after the external environment is changed. The color temperature correspondence information storage part 14 stores the value of the color temperature of the display device 107 suitable for each of the external environments.
The image analysis part 13 determines the presence or absence of a brightness change of an image (hereinafter, called “display image”) displayed on the display device 107 before or after the change, as if contents to be a display target of the information processing apparatus 10 are changed.
By the functional configuration as illustrated in
In a graph in
As illustrated in
The line L3 in
In
In the following, in order to realize the automatic adjustment of the color temperature as illustrated in
In step S101, the color temperature change detection part 11 determines whether the display apparatus 107 is in a display state or a non-display state. The display state may be a state in which the image is visibly displayed on a screen. The non-display state may be a state in which luminescence from the screen is stopped.
When the display device 107 is in the display state (YES in step S101), the color temperature change detection part 11 acquires the color temperature of light of the external environment (hereinafter, called “environment light”) which is detected by the RGB sensor 106 (step S102). After that, the color temperature change detection part 11 determines the presence of absence of the change of the color temperature of the environment light (step S103). The acquired color temperature may be recorded in the RAM 102, and the determination may be performed by comparing a previously acquired color temperature with a currently acquired color temperature. Also, the presence or absence of the change of the color temperature may be determined depending on whether a change range of the color temperature exceeds a predetermined value.
When it is determined that the color temperature of the environment light changes (YES in step S103), the color temperature adjustment part 12 acquires the color temperature of the display device 107 suitable for the color temperature of the environment light by referring to the color temperature correspondence information storage part (step S104). Specifically, when the color temperature of the environment light and respective color temperature of the display device 107 are recorded in the color temperature correspondence information storage part 14, the color temperature of the display device 107 is acquired. Also, when the color temperature of the environment light and the respective color temperature of the display device 107 are recorded in the color temperature correspondence information storage part 14, based on values stored in the color temperature correspondence information storage part 14, the color temperature of the display apparatus 107 may be calculated by a linear interpolation. Hereinafter, the acquired color temperature is called “targeted value”.
After that, the color temperature adjustment part 12 begins the change of the color temperature of the display device 107 at speed from a current color temperature to the targeted value (step S105). The speed may be 100/100 [K/ms]. As a result, the color temperature of the display device 107 may start to change at the speed of 100/100 [K/ms].
After the change of the color temperature of the display device 107 starts, the image analysis part 13 determines whether the display image changes (step S106). When the display image does not change (NO in step S106), the color temperature adjustment part 12 determines whether the color temperature of the display device 107 reaches the targeted value (step S112). When the color temperature does not reach the targeted value (NO in step S112), processes after step S101 are repeated. After that, if a state in which the color temperature of the environment light has not changed is continued (NO in step S103), and the color temperature of the display device 107 is being changed by the automatic adjustment (YES in step S113), the color temperature of the display device 107 may successively change at the speed of 100/100 [K/ms] unless the display image is switched (NO in step S106).
When the color temperature of the display device 107 reaches the targeted value (YES in step S112), the color temperature adjustment part 12 stops changing the color temperature of the display device 107 (step S114).
On the other hand, when the display image is switched after the change of the color temperature of the display device 107 begins (YES in step S106), the image analysis part 13 executes an analysis process of the display image (step S107). In the analysis process, it is determined whether the display image in the display device 107 changes to a brighter image or a darker image.
When the display image changes to the brighter image than before (YES in step S108), the color temperature adjustment part 12 increases a change speed of the color temperature of the display device 107 (step S109). The change speed of the color temperature may be changed to 200/100 [K/ms]. On the other hand, when the display image is switched to a darker image than before (YES in step S110), the color temperature adjustment part 12 decreases the change speed of the color temperature of the display device 107 (step S111). The change speed of the color temperature may be changed to 50/100 [K/ms]. When brightness of the display image is not changed (NO in step S110), the change speed of the color temperature is not performed. It should be noted that values of the change speed of the color temperature are described above as examples.
After that, unless the color temperature of the environment light change and the display image is switched, the color temperature is being changed at the change speed until the color temperature of the display device 107 reaches the targeted value. When the color temperature of the display device 107 reaches the targeted value (YES in step S112), the color temperature adjustment part 12 stops changing the color temperature of the display device 107 (step S114).
Next, a process in step S107 will be described in detail.
In step S201, the image analysis part 13 substitutes a value of a variable Cur_Level into a variable Old_Level. A brightness level of the display image at that time point is set to the variable Cur_Level each time the process in
After that, the image analysis part 13 acquires the current display image (step S202). The display image may be acquired from a video memory (not illustrated) in the display device 107.
Next, the image analysis part 13 digitalizes the acquired display image (step S203). As a result, each value of pixels of the display image including values from 0 to 255 for each of red, green, and blue becomes a value (a density value) indicating contrast by tones of 0 to 255. The image is not limited to 256 tones. In the embodiment, it is assumed that a tone 255 indicates black and the darkest tone, and a tone 0 indicates white, and the brightest tone.
Next, the image analysis part 13 analyzes a distribution of the pixel values (density values) of the display image being digitalized, and vertically generates a histogram of the pixel values (step S204). In specific, the image analysis part 13 counts a number of pixels having the same pixel value for each of pixels from 0 to 255.
After that, the image analysis part 13 divides a range of the pixel values of the histogram into three ranges of level 1 through level 3 sequentially from a dark level (255), and counts the number of pixels included in each level. The graph in
After that, the image analysis part 13 determines whether the pixel number of level 3 indicates a predetermined ratio α (step S206). The predetermined ratio α is preferably set to be a value in which it is assured at 60% or the like for the pixel number of level 3 is greater than each pixel number of other levels. When the pixel number of level 3 is greater than the predetermined ratio α (YES in step S206), the image analysis part 13 substitutes level 3 into the variable Cur_Level (step S207). If the histogram is depicted as illustrated in
When the pixel number of level 3 is not greater than the predetermined ratio α (NO in step S206), the image analysis part 13 determines whether the pixel number of level 1 is greater than the predetermined ratio α (YES in step S208), the image analysis part 13 substitutes level 1 into the variable Cur_Level (step S209). If the histogram is depicted as illustrated in
When the pixel number of level 1 is less than or equal to the predetermined ratio α (NO in step S208), the image analysis part 13 substitutes level 2 into the variable Cur_Level (step S210).
After that, the image analysis part 13 determines whether a level indicated by the variable Cur_Level is higher than a level indicated by the variable Old_Level (step S211). A higher level means that a value N indicates a greater number when a level N is denoted. Level 3 may be regarded as a level higher than level 2 and level 1. Accordingly, a determination in step S211 corresponds to a determination whether the display image after the change is brighter than the display image before the change.
When the level indicated by the variable Cur_Level is higher than the level indicated by the variable Old_Level (YES in step S211), the image analysis part 13 determines whether the display image after the change is brighter than the display image before the change (step S212).
When the level indicated by the variable Cur_Level is not higher than the level indicated by the variable Old_Level (NO in step S211), the image analysis part 13 determines whether the level indicated by the variable Cur_Level is lower than the level indicated by the variable Old_Level (step S213). The determination corresponds to a determination whether the display image after the change is darker than the display image before the change.
When the level indicated by the variable Cur_Level is lower than the level indicated by the variable Old_Level (YES in step S213), the image analysis part 13 determines whether the display image after the change is darker than the display image before the change (step S214). When the level indicated by the variable Cur_Level is the same as the level indicated by the variable Old_Level (NO in step S213), the image analysis part 13 determines that there is no brightness change before and after the display image is changed (step S215).
In
As described above, according to the embodiment, when the brightness of the display image changes during the adjustment of the color temperature of the display device 107, an adjustment speed of the color temperature is dynamically changed. Accordingly, it is possible to adjust the color temperature of the display device 107 at a speed suitable for the adjustment of human eyes for the change of brightness and darkness. As a result, it is possible to reduce perceived artificiality of the adjustment of the color temperature of the display device 107.
In the embodiment, the color temperature change detection part 11 is an example of a detection part. The color temperature adjustment part 12 is an example of a change part. The image analysis part 13 is an example of a determination part. The display device 107 is an example of a display part.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2012-095989 | Apr 2012 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
7079155 | Kanai | Jul 2006 | B2 |
20070222730 | Kao et al. | Sep 2007 | A1 |
20090237423 | Shih et al. | Sep 2009 | A1 |
20100214325 | Koyama et al. | Aug 2010 | A1 |
Number | Date | Country |
---|---|---|
101821795 | Sep 2010 | CN |
2202717 | Jun 2010 | EP |
06-261334 | Sep 1994 | JP |
2009-267967 | Nov 2009 | JP |
WO-2011103377 | Aug 2011 | WO |
Entry |
---|
Extended European Search Report dated Jul. 25, 2013 for corresponding European Application No. 13161972.8. |
CNOA—Office Action mailed on Dec. 2, 2014 issued with respect to the corresponding Chinese Patent Application No. 201310128356.9. |
Number | Date | Country | |
---|---|---|---|
20130278643 A1 | Oct 2013 | US |