Information display method, device, equipment, storage medium and program product
By adjusting the display color values of electronic devices according to ambient light levels, the problem of human eye discomfort with colors under different lighting conditions is solved, resulting in a better user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2025-01-22
- Publication Date
- 2026-07-24
AI Technical Summary
The human eye's sensitivity to the same color varies under different lighting conditions, causing users to feel uncomfortable with the colors displayed on the screen, thus affecting the user experience.
Adjusting the color values in the target display information based on ambient light intensity, by determining the color system to be adjusted and adjusting the saturation and brightness of the color in the RGB space or target color space, can reduce the subjective perception bias of the human eye.
It improves user comfort regarding the colors displayed on electronic devices, thus enhancing the user experience.
Smart Images

Figure CN122454850A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of terminal display technology, and in particular to an information display method, apparatus, device, storage medium, and program product. Background Technology
[0002] In related technologies, electronic devices such as smartphones typically maintain objective consistency in displayed colors (i.e., ensuring that the instrument measurement results of the color values displayed by electronic devices are the same in different environments) to ensure that users have the same visual experience when they see content on different devices and platforms.
[0003] However, the human eye has the Purkinje effect, which is the phenomenon that the visual sensitivity of the human eye to the same color light changes under different lighting conditions. This can easily cause users to feel uncomfortable with the colors displayed on the screen, thus affecting the user experience. Summary of the Invention
[0004] To overcome the problems existing in the related technologies, the present disclosure provides an information display method, apparatus, device, storage medium, and program product to solve the defects in the related technologies.
[0005] According to a first aspect of the present disclosure, an information display method is provided, the method comprising:
[0006] In response to the detection of ambient light intensity in the environment where the electronic device is located, a color system to be adjusted is determined corresponding to the ambient light intensity;
[0007] The color values of the color system to be adjusted in the target display information are adjusted to reduce the subjective perception bias of the human eye on the color system to be adjusted under the ambient light level. The target display information includes the display information of the electronic device.
[0008] The adjusted target display information is displayed based on the electronic device.
[0009] In some embodiments, determining the color system to be adjusted corresponding to the ambient illuminance includes:
[0010] Determine the preset illuminance range to which the ambient illuminance belongs;
[0011] The preset color system corresponding to the preset illuminance range is determined as the color system to be adjusted.
[0012] In some embodiments, the method further includes:
[0013] Determine the center color corresponding to the preset illuminance range, wherein the center color is a representative color selected from the preset color system to be adjusted;
[0014] The color system to which the central color belongs is determined as the preset adjustment color system.
[0015] In some embodiments, when the illuminance within the preset illuminance range is less than a first preset threshold, the color system to be adjusted includes at least the red color system, and the red color system includes a color set composed of multiple colors whose absolute hue difference with red is less than or equal to a set absolute hue difference threshold.
[0016] When the illuminance within the preset illuminance range is greater than the second preset threshold, the color system to be adjusted includes at least the blue color system. The second preset threshold is greater than the first preset threshold. The blue color system includes a color set composed of multiple colors whose absolute hue difference with blue is less than or equal to a set absolute hue difference threshold.
[0017] In some embodiments, adjusting the color values of the color system to be adjusted in the target display information to reduce the subjective perception bias of the human eye towards the color system to be adjusted under the ambient light level includes at least one of the following:
[0018] In response to the fact that the color system to be adjusted includes a predetermined first color system, the color value of the first color system in the target display information is enhanced, wherein the first color system is a color system in which the subjective perception deviation of the human eye under the ambient light is low;
[0019] In response to the fact that the color system to be adjusted includes a predetermined second color system, the color value of the second color system in the target display information is reduced, wherein the second color system is a color system in which the subjective perception bias of the human eye under the ambient light is too high.
[0020] In some embodiments, adjusting the color value of the color system to be adjusted in the target display information includes:
[0021] The target display information is converted from RGB space to target color space to obtain converted space display information. The dimensions of the converted space display information include hue, saturation, and lightness / brightness.
[0022] Adjust a specified dimension of the color system to be adjusted in the conversion space display information, wherein the specified dimension includes at least one of saturation and brightness.
[0023] In some embodiments, adjusting a specified dimension of the color system to be adjusted in the conversion space display information includes:
[0024] Determine the hue difference between each color in the color system to be adjusted and the central color, wherein the central color is a representative color selected from the color system to be adjusted;
[0025] The specified dimension of each color is adjusted based on the hue difference, and the adjustment range of the specified dimension is negatively correlated with the absolute value of the hue difference.
[0026] In some embodiments, the step of displaying the adjusted target display information based on the electronic device includes:
[0027] The adjusted target display information is converted from the target color space to the RGB space to obtain RGB space display information;
[0028] The electronic device displays the RGB space display information.
[0029] In some embodiments, the method further includes:
[0030] In response to the automatic screen brightness adjustment function of the electronic device being turned on, the ambient light level of the environment in which the electronic device is located is detected.
[0031] In some embodiments, the method further includes:
[0032] In response to the automatic screen brightness adjustment function of the electronic device being enabled, the screen brightness of the electronic device is adjusted based on a pre-built correspondence between screen brightness and ambient light intensity.
[0033] According to a second aspect of the present disclosure, an information display device is provided, the device comprising:
[0034] The color system adjustment determination module is used to determine the color system to be adjusted corresponding to the ambient light level of the environment in which the electronic device is located in response to the detection of the ambient light level of the environment in which the electronic device is located.
[0035] The display information adjustment module is used to adjust the color value of the color system to be adjusted in the target display information in order to reduce the subjective perception deviation of the human eye on the color system to be adjusted under the ambient light. The target display information includes the display information of the electronic device.
[0036] The adjustment information display module is used to display the adjusted target display information based on the electronic device.
[0037] In some embodiments, the color system adjustment determination module includes:
[0038] An illuminance range determination unit is used to determine the preset illuminance range to which the ambient illuminance belongs;
[0039] The color system adjustment determination unit is used to determine the preset adjustment color system corresponding to the preset illuminance range as the color system to be adjusted.
[0040] In some embodiments, the color system adjustment determination module further includes a preset color system determination unit;
[0041] The preset color system determination unit is used for:
[0042] Determine the center color corresponding to the preset illuminance range, wherein the center color is a representative color selected from the preset color system to be adjusted;
[0043] The color system to which the central color belongs is determined as the preset adjustment color system.
[0044] In some embodiments, when the illuminance within the preset illuminance range is less than a first preset threshold, the color system to be adjusted includes at least the red color system, and the red color system includes a color set composed of multiple colors whose absolute hue difference with red is less than or equal to a set absolute hue difference threshold.
[0045] When the illuminance within the preset illuminance range is greater than the second preset threshold, the color system to be adjusted includes at least the blue color system. The second preset threshold is greater than the first preset threshold. The blue color system includes a color set composed of multiple colors whose absolute hue difference with blue is less than or equal to a set absolute hue difference threshold.
[0046] In some embodiments, the display information adjustment module is further configured to perform at least one of the following:
[0047] In response to the fact that the color system to be adjusted includes a predetermined first color system, the color value of the first color system in the target display information is enhanced, wherein the first color system is a color system in which the subjective perception deviation of the human eye under the ambient light is low;
[0048] In response to the fact that the color system to be adjusted includes a predetermined second color system, the color value of the second color system in the target display information is reduced, wherein the second color system is a color system in which the subjective perception bias of the human eye under the ambient light is too high.
[0049] In some embodiments, the display information adjustment module includes:
[0050] The first space conversion unit is used to convert the target display information from RGB space to the target color space to obtain converted space display information. The dimensions of the converted space display information include hue, saturation, and brightness / luminance.
[0051] The display information adjustment unit is used to adjust a specified dimension of the color system to be adjusted in the conversion space display information, wherein the specified dimension includes at least one of saturation and brightness.
[0052] In some embodiments, the display information adjustment unit is further configured to:
[0053] Determine the hue difference between each color in the color system to be adjusted and the central color, wherein the central color is a representative color selected from the color system to be adjusted;
[0054] The specified dimension of each color is adjusted based on the hue difference, and the adjustment range of the specified dimension is negatively correlated with the absolute value of the hue difference.
[0055] In some embodiments, the adjustment information display module includes:
[0056] The second space conversion unit is used to convert the adjusted target display information from the target color space to the RGB space to obtain RGB space display information;
[0057] A spatial information display unit is used to display the RGB spatial display information based on the electronic device.
[0058] In some embodiments, the apparatus further includes:
[0059] An ambient light detection module is used to detect the ambient light level of the environment in which the electronic device is located, in response to the automatic screen brightness adjustment function of the electronic device being turned on.
[0060] In some embodiments, the apparatus further includes:
[0061] The screen brightness adjustment module is used to adjust the screen brightness of the electronic device based on a pre-built correspondence between screen brightness and ambient light intensity in response to the automatic screen brightness adjustment function of the electronic device being turned on.
[0062] According to a third aspect of the present disclosure, an electronic device is provided, the device comprising:
[0063] Processor and memory used to store computer programs;
[0064] The processor is configured to implement the information display method described above when executing the computer program.
[0065] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the information display method described in any of the preceding claims.
[0066] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the information display method described in any of the preceding claims.
[0067] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0068] This disclosure, in response to the detection of ambient light intensity in the environment where an electronic device is located, determines a color system to be adjusted corresponding to the ambient light intensity, and adjusts the color value of the color system to be adjusted in the target display information. This reduces the subjective perception bias of the human eye regarding the color system to be adjusted under the ambient light intensity. The target display information includes the display information of the electronic device. Based on the adjusted target display information displayed by the electronic device, the colors displayed by the electronic device can be adjusted according to the ambient light intensity of the environment in which the electronic device is located. This reduces the subjective perception bias of the human eye regarding the colors displayed by the electronic device, thereby improving the user's comfort with the colors displayed by the electronic device and enhancing the user experience.
[0069] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0070] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0071] Figure 1 This is a flowchart illustrating an information display method according to an exemplary embodiment of the present disclosure;
[0072] Figure 2A This is a flowchart illustrating how to determine the color system to be adjusted corresponding to the ambient light intensity, according to an exemplary embodiment of this disclosure;
[0073] Figure 2B This is a schematic diagram of a color picker for the HSV color space according to an exemplary embodiment of the present disclosure;
[0074] Figure 3 This is a flowchart illustrating how to adjust the color system of the target display information to obtain the adjusted target display information according to an exemplary embodiment of the present disclosure;
[0075] Figure 4 This is a flowchart illustrating, according to an exemplary embodiment of the present disclosure, how to adjust a specified dimension of the color system to be adjusted in the conversion space display information to obtain the adjusted target display information;
[0076] Figure 5 This is a flowchart illustrating an information display method according to another exemplary embodiment of the present disclosure;
[0077] Figure 6 This is a flowchart illustrating yet another information display method according to an exemplary embodiment of the present disclosure;
[0078] Figure 7 This is a block diagram illustrating an information display device according to an exemplary embodiment of the present disclosure;
[0079] Figure 8 This is a block diagram illustrating yet another information display device according to an exemplary embodiment of the present disclosure;
[0080] Figure 9 This is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure. Detailed Implementation
[0081] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0082] In related technologies, although the display brightness of electronic devices such as smartphones can change accordingly based on changes in the ambient light of the user, it always maintains the objective consistency of the displayed colors (that is, the instrument measurement results of the color values displayed by electronic devices in different environments are the same) to ensure that the content seen by users on different devices and platforms has the same visual experience.
[0083] However, the human eye has the Purkinje effect, which is the phenomenon that the visual sensitivity of the human eye to the same color light changes under different lighting conditions. This makes the human eye perceive a lower subjective brightness of red in a darker environment and a lower subjective brightness of blue in a brighter environment. This can easily cause users to feel uncomfortable with the colors displayed on the screen, thus affecting the user experience.
[0084] For example, in brighter environments, electronic devices increase screen brightness to maintain visibility. However, in such conditions, the human eye is more sensitive to red than blue, making the blue displayed on the screen appear dimmer. Conversely, in dimmer environments, screen brightness decreases to avoid glare. Again, in such conditions, the human eye is more sensitive to blue than red, making the red displayed on the screen appear dimmer.
[0085] In view of the above, this disclosure provides the following information display methods, apparatus, devices, storage media, and program products to address the aforementioned drawbacks in the related technologies.
[0086] Figure 1This is a flowchart illustrating an information display method according to an exemplary embodiment. The method of this embodiment can be executed by an information display device, which can be configured in an electronic device, such as a mobile terminal (e.g., mobile phone, tablet computer, etc.), wearable device (e.g., glasses, watch, etc.), vehicle terminal, display, television, etc. Figure 1 As shown, the method includes the following steps S101-S103:
[0087] In step S101, in response to detecting the ambient light level of the environment in which the electronic device is located, a color system to be adjusted corresponding to the ambient light level is determined.
[0088] In this embodiment, the electronic device can detect the ambient light level of its environment based on its own light sensor and other devices, and then determine the color system to be adjusted corresponding to the detected ambient light level.
[0089] In some embodiments, the color system to be adjusted can be determined based on a pre-built correspondence between the color system to be adjusted and the ambient light intensity.
[0090] In other embodiments, the method for determining the color system to be adjusted may also refer to the following: Figure 2A The embodiments shown will not be described in detail here.
[0091] In step S102, the color value of the color system to be adjusted in the target display information is adjusted to reduce the subjective perception bias of the human eye on the color system to be adjusted under the ambient light.
[0092] The target display information includes the information to be displayed by the electronic device (e.g., data, images, videos, etc. to be displayed).
[0093] In this embodiment, after determining the color system to be adjusted corresponding to the ambient light intensity, the color value of the color system to be adjusted in the target display information can be adjusted, and the adjusted target display information can be used as the adjusted target display information.
[0094] In this embodiment, the type of subjective perception deviation of the human eye regarding the color system to be adjusted under the ambient light level can include "too high" or "too low". Correspondingly, the type of adjustment of the color value of the color system to be adjusted in the target display information in this embodiment can include "reducing" or "enhancing". That is:
[0095] The electronic device can, in response to the color system to be adjusted including a predetermined first color system, enhance the color value of the first color system in the target display information, wherein the first color system can be a color system where the type of subjective perception deviation of the human eye under the ambient light is low; and / or,
[0096] The electronic device can reduce the color value of the second color system in the target display information in response to the color system to be adjusted including a predetermined second color system, wherein the second color system can be a color system in which the subjective perception deviation of the human eye is too high under the ambient light intensity.
[0097] It's understandable that if the human eye's subjective perception bias towards a particular color system is "too low," it can be interpreted as the human eye perceiving that color system displayed on an electronic device as too muted or dull. Therefore, the color value of that color system can be "enhanced" in the target display information of the electronic device to reduce this subjective perception bias. Similarly, if the human eye's subjective perception bias towards a particular color system is "too high," it can be interpreted as the human eye perceiving that color system displayed on an electronic device as too vibrant or bright. Therefore, the color value of that color system can be "weakened" in the target display information of the electronic device to reduce this subjective perception bias.
[0098] Furthermore, if, under the same ambient light level, the human eye's subjective perception bias towards one color system is "too low" and towards another color system is "too high," then the color value of the aforementioned one color system in the target display information can be "enhanced," while the color value of the aforementioned other color system in the target display information can be "weakened."
[0099] However, if the developers or users believe that the degree of "low" in a certain color system is within an acceptable range, they can choose not to "enhance" the color value of that color system in the target display information; similarly, if the developers or users believe that the degree of "high" in another color system is within an acceptable range, they can choose not to "weaken" the color value of that other color system in the target display information. This simplifies the complexity of the algorithm in this embodiment and reduces the consumption of system computing resources when implementing this embodiment.
[0100] It is worth noting that the method of adjusting the color scheme of the target display information to "enhance" or "weaken" can be selected from relevant technologies based on the needs of the scenario. This embodiment does not limit the method of color scheme adjustment.
[0101] In other embodiments, the method of adjusting the color system to be adjusted in the target display information to obtain the adjusted target display information may also be described below. Figure 3 The embodiments shown will not be described in detail here.
[0102] In step S103, the adjusted target display information is displayed based on the electronic device.
[0103] In this embodiment, when the color value of the color system to be adjusted in the target display information is adjusted to reduce the subjective perception bias of the human eye on the color system to be adjusted under the ambient light, and the target display information includes the display information of the electronic device, the adjusted target display information can be displayed based on the electronic device.
[0104] For example, after the GPU (Graphics Processing Unit) of an electronic device adjusts the color scheme of the target display information to obtain the adjusted target display information, the display driver of the electronic device can transmit the adjusted target display information to the display screen of the electronic device, so that the display screen can display the adjusted target display information. It should be understood that this information display process is only for illustrative purposes and this embodiment does not limit it.
[0105] In other embodiments, the above-described method of displaying adjusted target display information based on the electronic device may also be referred to the following. Figure 3 The embodiments shown will not be described in detail here.
[0106] As described above, the method of this embodiment determines the color system to be adjusted corresponding to the ambient light level of the environment in which the electronic device is located in response to the detection of the ambient light level, and adjusts the color value of the color system to be adjusted in the target display information to reduce the subjective perception bias of the human eye towards the color system to be adjusted under the ambient light level. The target display information includes the display information of the electronic device. Based on the adjusted target display information displayed by the electronic device, the color displayed by the electronic device can be adjusted based on the ambient light level of the environment in which the electronic device is located. This can reduce the subjective perception bias of the human eye towards the color displayed by the electronic device, thereby improving the user's comfort with the color displayed by the electronic device and enhancing the user experience.
[0107] Figure 2A This is a flowchart illustrating how to determine the color system to be adjusted corresponding to the ambient light intensity according to an exemplary embodiment of the present disclosure; this embodiment is based on the above embodiment and takes how to determine the color system to be adjusted corresponding to the ambient light intensity as an example for illustrative explanation.
[0108] like Figure 2A As shown, the determination of the color system to be adjusted corresponding to the ambient light intensity in step S101 above may include the following steps S201-S202:
[0109] In step S201, the preset illuminance range to which the ambient illuminance belongs is determined.
[0110] In some embodiments, multiple illuminance ranges can be preset, such as multiple illuminance ranges corresponding to environments such as low brightness environment, high brightness environment and normal brightness environment.
[0111] For example, the following first illuminance range, second illuminance range, and third illuminance range can be preset, wherein:
[0112] The first illuminance range can be an illuminance range where the illuminance is less than a first preset threshold (e.g., 100 lux). For example, the low-brightness environment corresponding to the first illuminance range can be an environment such as night after the lights are turned off or a dark room.
[0113] The second illuminance range can be an illuminance range where the illuminance is greater than a second preset threshold (e.g., 10,000 lux). For example, the high-brightness environment corresponding to this second illuminance range can be an outdoor environment during a sunny day.
[0114] The third illuminance range can be an illuminance range between the first preset threshold and the second preset threshold (e.g., 10000 lux). For example, the normal brightness environment corresponding to the third illuminance range can be an office environment during the day.
[0115] Based on this, once the ambient illuminance of the environment in which the electronic device is located is detected, the preset illuminance range to which that ambient illuminance belongs can be determined. For example, if the ambient illuminance E of the environment in which the electronic device is located is detected to be 50 lux, then the preset illuminance range to which the ambient illuminance belongs can be determined to be the first illuminance range, that is, the electronic device is currently in a low-brightness environment.
[0116] It is worth noting that the number of the above-mentioned multiple illuminance intervals and the preset thresholds used to divide the illuminance intervals are all illustrative examples. They can be adjusted according to business needs during application, and this embodiment does not limit them.
[0117] In step S202, the preset adjustment color system corresponding to the preset illuminance range is determined as the color system to be adjusted.
[0118] For example, once the preset illuminance range to which the ambient illuminance belongs is determined, the preset adjustment color system corresponding to the preset illuminance range can be determined as the color system to be adjusted based on a pre-constructed correspondence (such as the mapping relationship between the preset illuminance range and the preset adjustment color system).
[0119] For another example, after determining the preset illuminance range to which the ambient light intensity belongs, a central color corresponding to the preset illuminance range can be determined, so that the color system to which the central color belongs is determined as the preset adjustment color system. Here, the central color can be a representative color selected from the preset color system to be adjusted. It can be understood that the central color of a color system usually refers to the color that best represents the overall characteristics of that color system, such as the most typical and representative color in that color system.
[0120] In some embodiments, when the illuminance within the preset illuminance range is less than a first preset threshold (i.e., a low-brightness environment), the color scheme to be adjusted may include at least the red family. It is worth noting that the aforementioned red family may include a set of colors composed of multiple colors whose absolute hue difference from red is less than or equal to a set absolute hue difference threshold. Wherein, the hue value of red is 0.
[0121] It is understandable that the human eye's perception of red in low-light environments is "too low," so the color values of red in the target display information can be "enhanced."
[0122] Based on this, since the human eye's perception of blue in low-light environments is "too high," the aforementioned color scheme to be adjusted can also include the blue family, and the corresponding adjustment method can be "reduction." The blue family can include a set of colors composed of multiple colors whose absolute hue difference from blue is less than or equal to a set absolute hue difference threshold. The hue value of blue is 240.
[0123] In other embodiments, when the illuminance within the preset illuminance range is greater than a second preset threshold (i.e., a high-brightness environment), the color scheme to be adjusted may include at least the blue color scheme.
[0124] It is understandable that the human eye's perception of blue tones is "lower" in bright environments, so the color values of blue tones in the target display information can be "enhanced".
[0125] Since the human eye's perception of red is "too high" under bright conditions, the color system to be adjusted mentioned above can also include red, and the corresponding adjustment method can be "reduction".
[0126] For example, if the ambient light intensity E of the environment in which the electronic device is located is detected, the preset illuminance range to which the ambient light intensity E belongs can be determined. Then, the color system to which the central color belongs can be determined according to the pre-constructed correspondence (such as the mapping relationship between the preset illuminance range and the hue value of the central color), and thus the preset adjustment color system can be determined.
[0127] For example, the color system to which the aforementioned central color belongs can satisfy the inequality shown in equation (2-1):
[0128] |HH c |≤ΔH thr (2-1)
[0129] In the above formula, H represents the hue value of a certain color in that color system. c ΔH is the hue value of the central color in this color system. thr This is the threshold value for the absolute value of the hue difference.
[0130] Figure 2B This is a schematic diagram of a color picker for the HSV color space according to an exemplary embodiment of the present disclosure; as shown below. Figure 2B As shown, the central color of the red family is red, therefore when H c When H = 0, equation (2-1) above represents the condition that the hue H of colors in the red family must satisfy, that is, the red family is composed of "H c +ΔH thr "to "360-ΔH thr The range between H and H, with the center of the range being H. c =0.
[0131] Similarly, the central color of the blue family is blue, therefore when H c When =240 (not shown in the figure), the above formula (2-1) represents the condition that the hue H of the color in the blue system must satisfy.
[0132] As described above, this embodiment, by determining the preset illuminance range to which the ambient illuminance belongs and identifying the preset adjustment color system corresponding to the preset illuminance range as the color system to be adjusted, can accurately and quickly determine the color system to be adjusted based on the ambient illuminance. This allows for subsequent adjustment of the target display information, resulting in the adjusted target display information and the target display information displayed by the electronic device. It enables the adjustment of the colors displayed by the electronic device based on the illuminance of the environment in which the electronic device is located, reducing the subjective perception bias of the colors displayed by the human eye, thereby improving user comfort and enhancing the user experience.
[0133] Figure 3 This is a flowchart illustrating how to adjust the color system of the target display information to obtain the adjusted target display information according to an exemplary embodiment of the present disclosure; this embodiment is based on the above embodiment and takes the example of how to adjust the color system of the target display information to obtain the adjusted target display information for illustrative purposes.
[0134] like Figure 3As shown, the adjustment of the color value of the color system to be adjusted in the target display information in step S102 above, in order to reduce the subjective perception bias of the human eye of the color system to be adjusted under the ambient light, the target display information includes the display information of the electronic device, and may include the following steps S301-S302:
[0135] In step S301, the target display information is converted from RGB space to target color space to obtain converted space display information.
[0136] In this embodiment, when adjusting the color system to be adjusted in the target display information, the target display information can be converted from RGB space to target color space to obtain converted space display information.
[0137] In some embodiments, the target color space may include any color space capable of representing image colors as three-dimensional coordinates of hue (tone), saturation, and lightness / brightness (luminance). In other words, the dimensions of the transformation space display information include hue (tone), saturation, and lightness (or brightness).
[0138] For example, the target color space mentioned above may include any one of HSV, HIS, and HSL color spaces.
[0139] The dimensions of the HSV space include hue, saturation, and value; the dimensions of HIS include hue, intensity, and saturation; and the dimensions of HSL include hue, saturation, and lightness.
[0140] The three color spaces HSV, HIS, and HSL mentioned above share the following commonalities or characteristics:
[0141] (1) Hue: Used to describe the type or category of color, it can be represented by angle. That is, in HSV, HIS, and HSL color spaces, the value of H typically ranges from 0 to 360 degrees. For example, red corresponds to an angle of 0°, green to an angle of 120°, and blue to an angle of 240°.
[0142] (2) Saturation: Both are used to indicate the purity or intensity of a color, that is, the amount of gray component in the color. For example, the higher the saturation, the more vivid the color; the lower the saturation, the closer the color is to gray.
[0143] The difference lies in the fact that in HSV and HSL color spaces, the saturation value S typically ranges from 0% (no color, i.e., gray) to 100% (fully saturated). In HIS color space, the saturation value S typically ranges from 0 (no color, i.e., gray) to 1 (fully saturated).
[0144] (3) Brightness or lightness (Value / Intensity / Lightness): Both are used to represent the lightness or darkness of a color. The value range is 0% to 100%. That is, when the brightness is 0, the color is black; when the brightness is 100%, the color is white.
[0145] The difference lies in the fact that in the HSV space, luminance V is related to the intensity of light; in the HSL space, luminance L takes into account more the ratio of white and black; while in the HIS space, luminance I is closely related to the human eye's perception of light intensity, that is, the higher the luminance, the brighter the color appears, and the lower the luminance, the darker the color appears.
[0146] Therefore, the target color space can be selected according to the needs of the scenario when applying it, and this embodiment does not limit it.
[0147] In step S302, the specified dimension of the color system to be adjusted in the conversion space display information is adjusted.
[0148] In this embodiment, after converting the target display information from RGB space to the target color space and obtaining the converted space display information, a specified dimension of the color system to be adjusted in the converted space display information can be adjusted.
[0149] The specified dimension may include at least one of saturation and brightness.
[0150] Specifically, for the three color spaces HSV, HIS, and HSL mentioned above, when adjusting the specified dimension of the color system to be adjusted in the conversion space display information, S and / or V in the HSV space can be adjusted, S and / or I in the HIS space can be adjusted, and S and / or L in the HSL space can be adjusted respectively.
[0151] Understandably, the higher the saturation (S), the more vibrant the color; and the higher the brightness or lightness, the brighter the color.
[0152] Therefore, in this embodiment, if it is necessary to enhance the color scheme to be adjusted in the conversion space display information, the value of a specified dimension of the color scheme to be adjusted can be increased. Conversely, if it is necessary to weaken the color scheme to be adjusted in the conversion space display information, the value of a specified dimension of the color scheme to be adjusted can be decreased.
[0153] It's worth noting that hue (tone) refers to the type of color, such as red, blue, and green. It is the primary characteristic of color, used to distinguish different colors. Therefore, when adjusting the color system to be adjusted in the target display information, the hue (tone) value can be kept constant. Taking the HSV color space as an example, if the hue (H) of a color in an image is changed, it may cause that color to rotate to a new position along the color wheel (i.e., when V is 1, the top layer of the HSV color model), thus affecting the appearance of the color. That is, the color will appear different to the human eye, such as green turning into yellow.
[0154] Based on this, the target display information adjusted by the electronic device as described in step S103 above may include:
[0155] The adjusted target display information is converted from the target color space to the RGB space to obtain RGB space display information, and then the RGB space display information is displayed based on the electronic device.
[0156] It is understood that this embodiment converts the target display information from RGB space to the target color space, then adjusts the saturation and / or brightness (luminance) of the target display information, and then converts the adjusted image back to RGB space. This enables more intuitive, flexible and efficient color adjustment, which helps to improve image quality and thus enhance the effect of subsequent information display.
[0157] As described above, this embodiment converts the target display information from RGB space to a target color space to obtain converted space display information. By adjusting a specified dimension of the color system to be adjusted in the converted space display information, the color system to be adjusted in the target display information can be reasonably and accurately adjusted to obtain the adjusted target display information. This allows for subsequent display of the adjusted target display information on the electronic device. This reduces the subjective perception bias of colors in the target display information under different ambient light levels, enabling the adjustment of the colors displayed by the electronic device based on the ambient light level. This reduces the subjective perception bias of colors displayed by the electronic device, thereby improving user comfort and enhancing the user experience.
[0158] Figure 4 This is a flowchart illustrating how to adjust a specified dimension of the color system to be adjusted in the conversion space display information to obtain the adjusted target display information, according to an exemplary embodiment of the present disclosure. This embodiment is based on the above embodiment and takes how to adjust a specified dimension of the color system to be adjusted in the conversion space display information to obtain the adjusted target display information as an example for illustrative explanation.
[0159] like Figure 4 As shown, adjusting the specified dimension of the color system to be adjusted in the conversion space display information in step S302 above may include the following steps S401-S402:
[0160] In step S401, the hue difference between each color in the color system to be adjusted and the central color is determined.
[0161] In this embodiment, when a specified dimension of the color system to be adjusted in the conversion space display information is adjusted to obtain the adjusted target display information, the hue difference between each color in the color system to be adjusted and the central color can be determined.
[0162] The central color mentioned above can be a representative color selected from the color system to be adjusted. For example, the central color of the red system is red, and the central color of the blue system is blue, etc.
[0163] For example, once the color system to be adjusted corresponding to the ambient light intensity is determined, the color system to be adjusted in the target display information can be determined, and then the difference between the hue of each color in that color system and the hue of the central color can be determined, i.e., the aforementioned hue difference. For example, the aforementioned hue difference ΔH can be determined based on the following formula (4-1):
[0164] ΔH=HH c (4-1)
[0165] In the above formula, H represents the hue value of a certain color in the color system to be adjusted. c This is the hue value of the central color of the color system to be adjusted.
[0166] In step S402, a specified dimension of each color is adjusted based on the hue difference.
[0167] In this embodiment, after determining the hue difference between each color in the color system to be adjusted and the central color, a specified dimension of each color can be adjusted based on the hue difference.
[0168] In some embodiments, once the hue difference is determined, the absolute value of the hue difference can be calculated, and then the specified dimension of each color can be adjusted based on the absolute value of the hue difference.
[0169] Specifically, the adjustment range for each of the aforementioned color dimensions is negatively correlated with the absolute value of the hue difference between that color and the central color. In other words, the central color of the color system to be adjusted has the largest adjustment range, and the larger the absolute value of the hue difference between the color and the central color, the smaller the adjustment range.
[0170] Taking the red family as an example, the greater the absolute value of the difference between the hue of each color in the red family and the hue of red, the smaller the adjustment range for that color. Similarly, the greater the absolute value of the difference between the hue of each color in the blue family and the hue of blue, the smaller the adjustment range for that color.
[0171] This enhances the display effect of the target information, improves color recognition, and maintains color balance.
[0172] On the one hand, taking the HSV color space as an example, the saturation S of the color system to be adjusted in the conversion space display information can be adjusted based on the following formula (4-1):
[0173]
[0174] In equation (4-1) above, S max This represents the maximum value of the saturation S in the HSV space (e.g., 100%).
[0175] ΔH thr For the set absolute value threshold of hue difference, the hue H of each color in the above-mentioned color system to be adjusted satisfies the inequality shown in equation (4-2):
[0176] |HH c |≤ΔH thr (4-2)
[0177] In equation (4-2) above, H c The hue value of the central color of the color system to be adjusted can be represented by the following formula (4-3):
[0178]
[0179] In the above formula (4-3), "0" is the hue value of red and "240" is the hue value of blue.
[0180] α is an adjustment factor for the set saturation S. For example, its value can be shown in equation (4-4):
[0181]
[0182] In the above formula (4-4), E is the ambient illuminance of the environment in which the electronic device is located, and the unit can be lux. Therefore, "100≤E≤10000" can represent a normal brightness environment, and "other" can include low brightness environment and high brightness environment.
[0183] It is understood that the upper and lower limits of illuminance in normal brightness environments, namely 10000 lux and 100 lux, are only for illustrative purposes; the value of α mentioned above is also only for illustrative purposes and can be adjusted according to the application scenario. This embodiment does not limit the above content.
[0184] As can be seen from equations (4-1) to (4-4) above, this embodiment can enhance the saturation of blue colors in a bright environment and enhance the saturation of red colors in a low-brightness environment.
[0185] On the other hand, taking the HSV color space as an example again, the brightness V of the color system to be adjusted in the conversion space display information can be adjusted based on the following formula (4-5):
[0186]
[0187] In equation (4-5) above, V max This represents the maximum value of the brightness V in the HSV color space (e.g., 100%).
[0188] ΔH thr For the set absolute value threshold of hue difference, the hue H of each color in the above-mentioned color system to be adjusted satisfies the inequality shown in equation (4-6):
[0189] |HH c |≤ΔH thr (4-6)
[0190] In equation (4-6) above, H c The hue value of the central color of the color system to be adjusted can be represented by the following formula (4-7):
[0191]
[0192] In the above formula (4-7), "0" is the hue value of red and "240" is the hue value of blue.
[0193] β is a set adjustment factor for the brightness V. For example, its value can be shown in equation (4-8):
[0194]
[0195] In the above formula (4-8), E is the ambient illuminance of the environment in which the electronic device is located, and the unit can be lux. Therefore, "100≤E≤10000" can represent a normal brightness environment, and "other" can include low brightness environment and high brightness environment.
[0196] It is understood that the upper and lower limits of illuminance in normal brightness environments, namely 10000 lux and 100 lux, are for illustrative purposes only; the value of α mentioned above is also for illustrative purposes only and can be adjusted according to the application scenario. This embodiment does not limit the above content.
[0197] As can be seen from equations (4-5) to (4-8) above, this embodiment can enhance the brightness of blue colors in a bright environment and enhance the brightness of red colors in a low-brightness environment.
[0198] It is understandable that for HIS and HSL spaces, the brightness V in the above formula (4-4) can be replaced with brightness I and brightness L respectively. This embodiment will not elaborate on this.
[0199] As described above, this embodiment determines the hue difference between each color in the color system to be adjusted and the central color, and then adjusts a specified dimension of each color based on the hue difference. This can enhance the visual effect of subsequently displaying the target information, improve the color recognition of the image, and maintain color balance. It can also adjust the colors displayed by the electronic device based on the ambient light level of the electronic device, reducing the subjective perception bias of the human eye regarding the colors displayed by the electronic device. This can improve the user's comfort with the colors displayed by the electronic device and enhance the user experience.
[0200] Figure 5 This is a flowchart illustrating an information display method according to another exemplary embodiment of the present disclosure; the method of this embodiment can be executed by an information display device, which can be configured in an electronic device, such as a mobile terminal (e.g., mobile phone, tablet computer, etc.), wearable device (e.g., glasses, watch, etc.), vehicle terminal, display, television, etc. Figure 5 As shown, the method includes the following steps S501-S504:
[0201] In step S501, in response to the automatic screen brightness adjustment function of the electronic device being turned on, the ambient light level of the environment in which the electronic device is located is detected.
[0202] In this embodiment, when the automatic screen brightness adjustment function of the electronic device is detected to be enabled, the ambient light level of the environment in which the electronic device is located can be detected.
[0203] Understandably, automatic screen brightness adjustment is one of the important functions of electronic devices. When a user turns on the automatic screen brightness adjustment function, the electronic device can automatically adjust the screen brightness according to changes in ambient light.
[0204] In some embodiments, the electronic device may adjust the screen brightness of the electronic device based on a pre-built correspondence between screen brightness and ambient light intensity in response to the automatic screen brightness adjustment function of the electronic device being turned on.
[0205] For example, the correspondence between the screen brightness Y and the ambient light illuminance E can be shown in the following equation (5-1):
[0206] Y = f(E); (5-1)
[0207] Here, function f represents a preset expression in the electronic device for determining screen brightness based on ambient light illuminance E.
[0208] In step S502, in response to detecting the ambient light level of the environment in which the electronic device is located, a color system to be adjusted corresponding to the ambient light level is determined.
[0209] In step S503, the color value of the color system to be adjusted in the target display information is adjusted to reduce the subjective perception bias of the human eye on the color system to be adjusted under the ambient light intensity. The target display information includes the display information of the electronic device.
[0210] In step S504, the adjusted target display information is displayed based on the electronic device.
[0211] The explanations and descriptions of steps S502-S504 above can be found in the above. Figure 1 Steps S101-S103 in the illustrated embodiment will not be described in detail here.
[0212] As described above, this embodiment can combine the adjustment of the target display information's color system with automatic screen brightness adjustment. That is, it can adjust the screen brightness of the electronic device according to the ambient light level, and also adjust the colors displayed by the electronic device according to the ambient light level, thereby achieving better color display effects and improving the user experience.
[0213] The following explanation uses the target color space as the HSV space and the method of adjusting the color values of the color system to be adjusted as "enhancement" as an example.
[0214] Figure 6 This is a flowchart illustrating yet another information display method according to an exemplary embodiment of the present disclosure; such as Figure 6 As shown, the method includes the following steps S601-S605:
[0215] In step S601, the ambient light level of the environment in which the electronic device is located is detected.
[0216] In this embodiment, when the automatic screen brightness adjustment function of the electronic device is detected to be enabled, the ambient light level of the environment in which the electronic device is located can be detected.
[0217] In step S602, the color system to be adjusted is determined based on the ambient light intensity.
[0218] In this embodiment, a color adjustment algorithm model can be pre-constructed, which can be used to determine the color system to be adjusted and its adjustment method based on the ambient light intensity.
[0219] For example, the above color adjustment algorithm model can be represented by equations (6-1) to (6-5) as follows:
[0220]
[0221] In equation (6-1) above, H c The value is the hue of the central color of the color system to be adjusted. "0" represents the hue of red, and "240" represents the hue of blue.
[0222]
[0223] In the above formula (6-2), α is the adjustment factor of the set saturation S, and E is the ambient illuminance of the environment in which the electronic device is located. The unit can be lux. The above "100≤E≤10000" can be used to represent a normal brightness environment, while "other" can be used to represent a low brightness environment and a high brightness environment.
[0224] It should be noted that the upper and lower limits of illuminance in the above-mentioned normal brightness environment, which are 10000 lux and 100 lux respectively, are only used for illustrative purposes.
[0225] The α value of 0.7 mentioned above is only used as an example to illustrate the case of enhancing the color value of the color system to be adjusted. In application, the value of α can be adjusted as needed. For example, when "weakening" the color value of the color system to be adjusted, the value of α can be set to 2.
[0226]
[0227] In the above formula (6-3), β is the adjustment factor of the set brightness V, and E is the ambient illuminance of the environment in which the electronic device is located. The unit can be lux. Therefore, "100≤E≤10000" can represent a normal brightness environment, and "other" can include low brightness environment and high brightness environment.
[0228] The β value of 0.5 mentioned above is only used as an example to illustrate the case of enhancing the color value of the color system to be adjusted. In application, the β value can be adjusted as needed. For example, when "reducing" the color value of the color system to be adjusted, the β value can be set to 1.5.
[0229]
[0230] In equation (6-4) above, S represents the saturation of a certain color in the color system to be adjusted in the color space display information. maxΔH represents the maximum value of saturation S in the HSV space (e.g., 100%). thr The threshold value for the absolute value of the hue difference is set (e.g., 5 or 10), and H is the hue value of a certain color in the color system to be adjusted.
[0231]
[0232] In equation (6-5) above, V represents the brightness of a certain color in the color system to be adjusted in the color space display information conversion. max ΔH represents the maximum value of lightness V in the HSV space (e.g., 100%). thr H is the threshold value for the absolute value of the hue difference, where H is the hue value of a certain color in the color system to be adjusted.
[0233] In other words, once the illuminance E of the environment in which the electronic device is located is determined, the parameter H can be determined by substituting it into equations (6-1) to (6-3) above. c α and β, and thus the parameter H can be... c Substitute α and β into equations (6-4) to (6-5) above to determine the color system to be adjusted and its adjustment method, namely the adjustment method of saturation S and brightness V.
[0234] From equations (6-1) to (6-5) above, at least the following can be known:
[0235] 1) This embodiment can enhance the saturation S and brightness V of red colors in an environment with an illuminance of less than 100 lux; and can enhance the saturation S and brightness V of blue colors in an environment with an illuminance of more than 10000 lux.
[0236] 2) In this embodiment, when enhancing the saturation S and brightness V of red colors, the larger the absolute value of the hue difference between each color in the red family and red, the smaller the adjustment range corresponding to that color.
[0237] Similarly, when enhancing the saturation (S) and brightness (V) of blue colors, the greater the absolute value of the hue difference between each color in the blue family and blue, the smaller the adjustment range corresponding to that color.
[0238] In step S603, the target display information is converted from RGB space to target color space to obtain converted space display information.
[0239] It is understood that, since this embodiment uses the HSV color space as an example, the dimensions of the aforementioned converted color space display information include hue, saturation (S), and brightness (V). For HIS and HSL color spaces, the brightness (V) in the above formula (6-5) can be replaced with luminance (I) and luminance (L), respectively, which will not be elaborated here.
[0240] In step S604, the saturation S and / or brightness V of the transformation space display information are enhanced.
[0241] In this embodiment, after converting the target display information from RGB space to target color space and obtaining the converted space display information, the saturation S and / or brightness V of the converted space display information can be enhanced based on formulas (6-4) and (6-5) in step S602 above.
[0242] In step S605, the adjusted target display information is converted from the target color space to the RGB space.
[0243] In this embodiment, after the saturation S and / or brightness V of the enhanced conversion space display information are adjusted to the target display information, the adjusted target display information can be converted from the target color space to the RGB space to obtain RGB space display information, thereby enabling subsequent display of the RGB space display information based on the electronic device.
[0244] As described above, this embodiment can adjust colors with weak subjective color perception under different ambient light levels by using algorithm compensation based on the Purkinje phenomenon principle of the human eye. It can adjust the colors displayed by the electronic device based on the ambient light level of the electronic device, reduce the subjective perception deviation of the human eye on the colors displayed by the electronic device, thereby improving the user's comfort with the colors displayed by the electronic device and enhancing the user experience.
[0245] Figure 7 This is a block diagram illustrating an information display device according to an exemplary embodiment of the present disclosure; the device of this embodiment can be configured in an electronic device, such as a mobile terminal (e.g., mobile phone, tablet computer, etc.), wearable device (e.g., glasses, watch, etc.), vehicle terminal, display, television, etc. Figure 7 As shown, the device may include: a color system determination module 110, a display information adjustment module 120, and an adjustment information display module 130, wherein:
[0246] The color system determination module 110 is used to determine the color system to be adjusted corresponding to the ambient light level of the environment in which the electronic device is located in response to the detection of the ambient light level of the environment in which the electronic device is located.
[0247] The display information adjustment module 120 is used to adjust the color value of the color system to be adjusted in the target display information in order to reduce the subjective perception deviation of the human eye on the color system to be adjusted under the ambient light. The target display information includes the display information of the electronic device.
[0248] The adjustment information display module 130 is used to display the adjusted target display information based on the electronic device.
[0249] As described above, the device in this embodiment determines the color system to be adjusted corresponding to the ambient light level of the environment in which the electronic device is located in response to the detection of the ambient light level, and adjusts the color value of the color system to be adjusted in the target display information to reduce the subjective perception bias of the human eye towards the color system to be adjusted under the ambient light level. The target display information includes the display information of the electronic device. Based on the adjusted target display information displayed by the electronic device, the color displayed by the electronic device can be adjusted based on the ambient light level of the environment in which the electronic device is located. This can reduce the subjective perception bias of the human eye towards the color displayed by the electronic device, thereby improving the user's comfort with the color displayed by the electronic device and enhancing the user experience.
[0250] Figure 8 This is a block diagram illustrating another information display device according to an exemplary embodiment of the present disclosure. The device of this embodiment can be configured in an electronic device, such as a mobile terminal (e.g., a mobile phone, tablet computer, etc.), a wearable device (e.g., glasses, watches, etc.), an in-vehicle terminal, a display, a television, etc. The color system determination module 110, the display information adjustment module 120, and the information display adjustment module 130 are the same as those described above. Figure 7 The color system determination module 110, display information adjustment module 120, and adjustment information display module 130 in the illustrated embodiment have the same function, and will not be described in detail here.
[0251] like Figure 8 As shown, the color scheme determination module 210 may include:
[0252] Illuminance range determination unit 211 is used to determine the preset illuminance range to which the ambient illuminance belongs;
[0253] The color system adjustment determination unit 212 is used to determine the preset adjustment color system corresponding to the preset illuminance range as the color system to be adjusted.
[0254] In some embodiments, the color system adjustment determination module further includes a preset color system determination unit 213;
[0255] The preset color system determination unit 213 is used for:
[0256] Determine the center color corresponding to the preset illuminance range, wherein the center color is a representative color selected from the preset color system to be adjusted;
[0257] The color system to which the central color belongs is determined as the preset adjustment color system.
[0258] In some embodiments, when the illuminance within the preset illuminance range is less than a first preset threshold, the color system to be adjusted includes at least the red color system, and the red color system includes a color set composed of multiple colors whose absolute hue difference with red is less than or equal to a set absolute hue difference threshold.
[0259] When the illuminance within the preset illuminance range is greater than the second preset threshold, the color system to be adjusted includes at least the blue color system. The second preset threshold is greater than the first preset threshold. The blue color system includes a color set composed of multiple colors whose absolute hue difference with blue is less than or equal to a set absolute hue difference threshold.
[0260] In some embodiments, the display information adjustment module 220 may also be used for at least one of the following:
[0261] In response to the fact that the color system to be adjusted includes a predetermined first color system, the color value of the first color system in the target display information is enhanced, wherein the first color system is a color system in which the subjective perception deviation of the human eye under the ambient light is low;
[0262] In response to the fact that the color system to be adjusted includes a predetermined second color system, the color value of the second color system in the target display information is reduced, wherein the second color system is a color system in which the subjective perception bias of the human eye under the ambient light is too high.
[0263] In some embodiments, the display information adjustment module 220 may include:
[0264] The first space conversion unit 221 is used to convert the target display information from RGB space to target color space to obtain converted space display information. The dimensions of the converted space display information include hue, saturation and brightness.
[0265] The display information adjustment unit 222 is used to adjust a specified dimension of the color system to be adjusted in the conversion space display information, wherein the specified dimension includes at least one of saturation and brightness.
[0266] In some embodiments, the display information adjustment unit 222 can also be used for:
[0267] Determine the hue difference between each color in the color system to be adjusted and the central color, wherein the central color is a representative color selected from the color system to be adjusted;
[0268] The specified dimension of each color is adjusted based on the hue difference, and the adjustment range of the specified dimension is negatively correlated with the absolute value of the hue difference.
[0269] In some embodiments, adjusting the information display module 230 may include:
[0270] The second space conversion unit 231 is used to convert the adjusted target display information from the target color space to the RGB space to obtain RGB space display information;
[0271] The spatial information display unit 232 is used to display the RGB spatial display information based on the electronic device.
[0272] In some embodiments, the above-described apparatus may further include:
[0273] The ambient light detection module 240 is used to detect the ambient light level of the environment in which the electronic device is located in response to the automatic screen brightness adjustment function of the electronic device being turned on.
[0274] In some embodiments, the above-described apparatus may further include:
[0275] The screen brightness adjustment module 250 is used to adjust the screen brightness of the electronic device based on a pre-built correspondence between screen brightness and ambient light intensity in response to the automatic screen brightness adjustment function of the electronic device being turned on.
[0276] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0277] Figure 9 This is a block diagram illustrating an electronic device according to an exemplary embodiment. For example, device 900 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0278] Reference Figure 9 The device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.
[0279] Processing component 902 typically controls the overall operation of device 900, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the aforementioned information display method. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
[0280] Memory 904 is configured to store various types of data to support the operation of device 900. Examples of this data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0281] Power supply component 906 provides power to various components of device 900. Power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 900.
[0282] Multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display panel and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0283] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when device 900 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
[0284] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0285] Sensor assembly 914 includes one or more sensors for providing status assessments of various aspects of device 900. For example, sensor assembly 914 can detect the on / off state of device 900, the relative positioning of components such as the display panel and keypad of device 900, changes in the position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration / deceleration of device 900, and temperature changes of device 900. Sensor assembly 914 may also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 914 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0286] Communication component 916 is configured to facilitate wired or wireless communication between device 900 and other devices. Device 900 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, 4G or 5G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0287] In an exemplary embodiment, device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the information display method described above.
[0288] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, which can be executed by a processor 920 of device 900 to complete the information display method described above. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0289] In an exemplary embodiment, a computer program product including instructions is also provided, which can be executed by the processor 920 of the device 900 to complete the above-described information display method.
[0290] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the foregoing claims.
[0291] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. An information display method, characterized in that, The method includes: In response to the detection of ambient light intensity in the environment where the electronic device is located, a color system to be adjusted is determined corresponding to the ambient light intensity; The color values of the color system to be adjusted in the target display information are adjusted to reduce the subjective perception bias of the human eye on the color system to be adjusted under the ambient light level. The target display information includes the display information of the electronic device. The adjusted target display information is displayed based on the electronic device.
2. The method according to claim 1, characterized in that, The process of determining the color system to be adjusted corresponding to the ambient light intensity includes: Determine the preset illuminance range to which the ambient illuminance belongs; The preset color system corresponding to the preset illuminance range is determined as the color system to be adjusted.
3. The method according to claim 2, characterized in that, The method further includes: Determine the center color corresponding to the preset illuminance range, wherein the center color is a representative color selected from the preset color system to be adjusted; The color system to which the central color belongs is determined as the preset adjustment color system.
4. The method according to claim 2, characterized in that, When the illuminance within the preset illuminance range is less than a first preset threshold, the color system to be adjusted includes at least the red color system, and the red color system includes a color set composed of multiple colors whose absolute hue difference with red is less than or equal to a set absolute hue difference threshold. When the illuminance within the preset illuminance range is greater than the second preset threshold, the color system to be adjusted includes at least the blue color system. The second preset threshold is greater than the first preset threshold. The blue color system includes a color set composed of multiple colors whose absolute hue difference with blue is less than or equal to a set absolute hue difference threshold.
5. The method according to claim 1, characterized in that, The adjustment of the color value of the color system to be adjusted in the target display information, in order to reduce the subjective perception bias of the human eye of the color system to be adjusted under the ambient light level, includes at least one of the following: In response to the fact that the color system to be adjusted includes a predetermined first color system, the color value of the first color system in the target display information is enhanced, wherein the first color system is a color system in which the subjective perception deviation of the human eye under the ambient light is low; In response to the fact that the color system to be adjusted includes a predetermined second color system, the color value of the second color system in the target display information is reduced, wherein the second color system is a color system in which the subjective perception bias of the human eye under the ambient light is too high.
6. The method according to claim 1, characterized in that, The color values of the color system to be adjusted in the target display information include: The target display information is converted from RGB space to target color space to obtain converted space display information. The dimensions of the converted space display information include hue, saturation, and lightness / brightness. Adjust a specified dimension of the color system to be adjusted in the conversion space display information, wherein the specified dimension includes at least one of saturation and brightness.
7. The method according to claim 6, characterized in that, Adjusting a specified dimension of the color system to be adjusted in the conversion space display information includes: Determine the hue difference between each color in the color system to be adjusted and the central color, wherein the central color is a representative color selected from the color system to be adjusted; The specified dimension of each color is adjusted based on the hue difference, and the adjustment range of the specified dimension is negatively correlated with the absolute value of the hue difference.
8. The method according to claim 6, characterized in that, The target display information adjusted based on the electronic device includes: The adjusted target display information is converted from the target color space to the RGB space to obtain RGB space display information; The electronic device displays the RGB space display information.
9. The method according to claim 1, characterized in that, The method further includes: In response to the automatic screen brightness adjustment function of the electronic device being turned on, the ambient light level of the environment in which the electronic device is located is detected.
10. The method according to claim 9, characterized in that, The method further includes: In response to the automatic screen brightness adjustment function of the electronic device being enabled, the screen brightness of the electronic device is adjusted based on a pre-built correspondence between screen brightness and ambient light intensity.
11. An information display device, characterized in that, The device includes: The color system adjustment determination module is used to determine the color system to be adjusted corresponding to the ambient light level of the environment in which the electronic device is located in response to the detection of the ambient light level of the environment in which the electronic device is located. The display information adjustment module is used to adjust the color value of the color system to be adjusted in the target display information in order to reduce the subjective perception deviation of the human eye on the color system to be adjusted under the ambient light. The target display information includes the display information of the electronic device. The adjustment information display module is used to display the adjusted target display information based on the electronic device.
12. An electronic device, characterized in that, The device includes: Processor and memory used to store computer programs; The processor is configured to implement the information display method according to any one of claims 1 to 10 when executing the computer program.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the information display method according to any one of claims 1 to 10.
14. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the information display method according to any one of claims 1 to 10.