Display adjustment method and device, electronic device, and storage medium
By adjusting the blue light information on the phone screen to obtain the target color information, the problem of existing eye protection modes being unable to adjust according to color scenarios is solved, resulting in better eye protection and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2023-10-23
- Publication Date
- 2026-04-28
AI Technical Summary
Current mobile phone eye protection modes cannot adjust according to different color scenarios, resulting in poor eye protection effect and poor user experience.
By acquiring the initial color information of the screen display and adjusting the initial color based on the blue light information to obtain the target color information, the screen display achieves an eye-protection effect.
While ensuring the harmony of different color display effects, it improves eye protection and enhances user experience and comfort.
Smart Images

Figure CN119889250B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of display technology, and more particularly to a display adjustment method and apparatus, electronic device and storage medium. Background Technology
[0002] With the rapid development of electronic device technology, the frequency of using electronic devices such as mobile phones in daily life is increasing, and users are paying more and more attention to the eye protection effect of mobile phone displays.
[0003] However, users have different needs for mobile phone eye protection modes in different application scenarios, and the current mobile phone eye protection modes are fixed and cannot achieve different eye protection effects according to different colors displayed on the mobile phone screen.
[0004] To improve user experience and comfort, exploring a more intelligent display adjustment method has become an urgent need for users. Summary of the Invention
[0005] To overcome the problems existing in the related technologies, this disclosure provides a display adjustment method and apparatus, electronic device and storage medium, which can achieve better eye protection effect and improve user experience and comfort while ensuring the display effect of different colors and making the screen display colors more harmonious.
[0006] According to a first aspect of the present disclosure, a display adjustment method is provided, comprising at least:
[0007] Obtain the initial color information displayed on the screen of an electronic device;
[0008] If the blue light information displayed on the screen meets the preset conditions based on the initial color information, the initial color information is adjusted based on the blue light information displayed on the screen to obtain the target color information.
[0009] The screen is displayed based on the target color information.
[0010] In some embodiments, the blue light information includes the proportion of blue light intensity to the total spectral intensity of the full spectrum; the step of adjusting the initial color information based on the blue light information displayed on the screen to obtain target color information, when it is determined that the blue light information displayed on the screen meets preset conditions based on the initial color information, includes:
[0011] If the blue light percentage meets the preset condition, an adjustment coefficient is determined based on the blue light percentage.
[0012] The initial color information is adjusted based on the adjustment coefficient to obtain the target color information.
[0013] In some embodiments, determining an adjustment coefficient based on the blue light ratio when the blue light ratio meets the preset condition includes:
[0014] If the proportion of blue light is less than or equal to a first blue light threshold, a first adjustment coefficient is determined based on the proportion of blue light.
[0015] If the proportion of blue light is greater than or equal to the second blue light threshold, a second adjustment coefficient is determined based on the proportion of blue light.
[0016] The first adjustment factor is different from the second adjustment factor.
[0017] In some embodiments, determining the first adjustment coefficient based on the blue light percentage includes:
[0018] Based on the stated proportion of blue light, the first offset color temperature is determined;
[0019] The first adjustment coefficient is determined based on the first offset color temperature.
[0020] In some embodiments, determining the first offset color temperature based on the blue light percentage includes:
[0021] The first color temperature coefficient is determined based on the blue light ratio, the first blue light threshold, the preset minimum blue light ratio, and the preset color temperature index.
[0022] The first offset color temperature is obtained based on the first color temperature coefficient and the preset color temperature difference value.
[0023] In some embodiments, determining the first adjustment coefficient based on the first offset color temperature includes:
[0024] The first target color temperature is determined based on the sum of the first offset color temperature and the preset standard color temperature.
[0025] The first adjustment coefficient is determined based on the preset mapping relationship between color temperature and adjustment coefficient, and the first target color temperature.
[0026] In some embodiments, determining the second adjustment coefficient based on the blue light percentage includes:
[0027] Based on the aforementioned blue light percentage, the second offset color temperature is determined;
[0028] The second adjustment coefficient is determined based on the second offset color temperature.
[0029] In some embodiments, determining the second offset color temperature based on the blue light percentage includes:
[0030] The second color temperature coefficient is determined based on the blue light ratio, the second blue light threshold, the preset maximum blue light ratio, and the preset color temperature index;
[0031] The second offset color temperature is obtained based on the second color temperature coefficient and the preset color temperature difference value.
[0032] In some embodiments, determining the second adjustment coefficient based on the second offset color temperature includes:
[0033] The second target color temperature is determined based on the difference between the preset standard color temperature and the second offset color temperature;
[0034] The second adjustment coefficient is determined based on the preset mapping relationship between color temperature and adjustment coefficient, and the second target color temperature.
[0035] In some embodiments, the method further includes:
[0036] If the blue light information does not meet the preset conditions, the initial color information is used as the target color information.
[0037] In some embodiments, the blue light information includes the percentage of blue light; the method further includes:
[0038] The color values in the initial color information are input into a preset blue light model to obtain the blue light percentage.
[0039] In some embodiments, the method further includes:
[0040] Obtain multiple sample color values from multiple sample display screens;
[0041] Obtain the blue light percentage of multiple samples from the multiple sample display images;
[0042] The blue light model is obtained by training a preset training model based on the color value and blue light ratio of the same sample display screen.
[0043] In some embodiments, obtaining the blue light percentage of multiple samples from multiple sample display images includes:
[0044] The spectral intensity of multiple samples is determined by measuring the display screens of multiple samples using an optical measurement device.
[0045] Based on the blue spectral intensity of the sample among the spectral intensities of the multiple samples, the blue light proportion of the multiple samples is obtained.
[0046] According to a second aspect of the present disclosure, a display adjustment device is provided, comprising at least:
[0047] The acquisition module is configured to acquire the initial color information displayed on the screen of the electronic device;
[0048] The adjustment module is configured to, when it is determined based on the initial color information that the blue light information displayed on the screen meets preset conditions, adjust the initial color information based on the blue light information displayed on the screen to obtain target color information;
[0049] The display module is configured to display on the screen based on the target color information.
[0050] According to a third aspect of the present disclosure, an electronic device is provided, comprising at least:
[0051] processor;
[0052] Memory used to store processor-executable instructions;
[0053] The processor is configured to perform the display adjustment method as described in the first aspect.
[0054] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the display adjustment method as described in the first aspect.
[0055] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0056] This disclosure provides a display adjustment method, which may include: acquiring initial color information of a screen displayed in an electronic device; adjusting the initial color information based on the blue light information of the screen to obtain target color information when it is determined that the blue light information of the screen displays meets preset conditions; and displaying the screen based on the target color information. In other words, unlike related technologies where the eye protection mode of an electronic device is fixed, this disclosure can adjust the initial color information of the screen display based on the blue light information of the screen to obtain target color information. This allows for different eye protection effects when different colors are displayed on the screen, thereby achieving better eye protection while ensuring more harmonious color display across different colors, thus improving user experience and comfort.
[0057] 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
[0058] 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.
[0059] Figure 1 This is a flowchart illustrating a display adjustment method according to an exemplary embodiment. Figure 1 .
[0060] Figure 2 This is a flowchart illustrating a display adjustment method according to an exemplary embodiment. Figure 2 .
[0061] Figure 3 This is a schematic diagram illustrating the proportion of blue light and the number of colors in a display adjustment method according to an exemplary embodiment.
[0062] Figure 4 This is a schematic diagram illustrating the blue light ratio and color temperature in a display adjustment method according to an exemplary embodiment.
[0063] Figure 5 This is a flowchart illustrating a display adjustment method according to an exemplary embodiment. Figure 3 .
[0064] Figure 6 This is a structural block diagram illustrating a display adjustment device according to an exemplary embodiment.
[0065] Figure 7 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment. Detailed Implementation
[0066] 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.
[0067] The technical solutions provided by the embodiments of this disclosure are described in detail below with reference to the accompanying drawings.
[0068] In related technologies, users have different needs for mobile phone eye protection modes in different application scenarios. However, the current eye protection modes in mobile phones are fixed and cannot achieve different eye protection effects based on different colors displayed on the mobile phone screen.
[0069] Based on this, embodiments of the present disclosure provide a display adjustment method. Figure 1 This is a flowchart illustrating a display adjustment method according to an exemplary embodiment. Figure 1 ,like Figure 1 As shown, the display adjustment method provided in this embodiment includes at least the following steps:
[0070] Step 110: Obtain the initial color information displayed on the screen of the electronic device;
[0071] Step 120: If the blue light information displayed on the screen meets the preset conditions based on the initial color information, the initial color information is adjusted based on the blue light information displayed on the screen to obtain the target color information;
[0072] Step 130: Display the image on the screen based on the target color information.
[0073] In step 110, the aforementioned electronic device may include: mobile phone, tablet computer, smartwatch, digital camera, head-mounted display (HMD), etc., and this disclosure does not impose any limitations.
[0074] In this embodiment of the disclosure, the above-described display adjustment method can be executed by the electronic device at any time, or when the electronic device is in eye protection mode, etc., and this embodiment of the disclosure does not impose any restrictions.
[0075] Here, the eye protection mode of the aforementioned electronic device can be that the electronic device reduces the proportion of blue light by adjusting the color temperature of the screen, so as to reduce the damage to the eyes.
[0076] Color temperature is a unit of measurement for the color components in light. Theoretically, color temperature refers to the color of a black body after it has been heated from absolute zero (-273°C). When heated, a black body gradually changes from black to red, then to yellow, then to white, and finally emits blue light. The spectral composition of the light emitted by a black body at a certain temperature is called the color temperature at that temperature, measured in Kelvin (K). Blue light refers to high-energy visible light emitted from a screen with wavelengths between 400 nanometers (nm) and 500 nm. Blue light can penetrate the lens and reach the retina, causing atrophy or even death of retinal pigment epithelial cells.
[0077] The initial color information mentioned above may include the color system (Red, Green, Blue, RGB) value of any pixel displayed on the screen of the electronic device, or the brightness, hue, or saturation of any pixel displayed on the screen of the electronic device, etc., and this disclosure embodiment does not impose any limitations. For example, the initial color information mentioned above may be the RGB value corresponding to the green pixel displayed on the screen.
[0078] Understandably, obtaining the initial color information displayed on the screen of the aforementioned electronic device may include: obtaining the initial color information of all pixels in the screen display of the aforementioned electronic device; or, obtaining the initial color information of some pixels in the screen display of the aforementioned electronic device.
[0079] In this embodiment of the disclosure, after the electronic device activates a function mode such as eye protection mode, the electronic device can obtain the initial color information of each pixel in the screen display, so as to judge the initial color information of each pixel in the subsequent process and determine whether the initial color information needs to be adjusted.
[0080] In step 120, the aforementioned blue light information can be the blue light information corresponding to any pixel displayed on the screen of the aforementioned electronic device; for example, the aforementioned blue light information may include blue light percentage, blue light brightness, blue light saturation, or blue light hue, etc. The aforementioned target color information can be the eye-protecting color information displayed on the screen after adjusting the initial color information.
[0081] Here, the blue light proportion can be the ratio of the blue spectral intensity to the total spectral intensity; the total spectrum can refer to the spectrum that includes ultraviolet light, visible light, and infrared light; the spectral wavelength of the total spectrum can cover all visible light regions (wavelengths of 380nm-780nm).
[0082] Here, the aforementioned blue light information meeting the preset conditions can be understood as indicating that the aforementioned blue light information represents an eye-harming color, meaning that the initial color information displayed on the screen needs to be adjusted. For example, when the aforementioned blue light information is the blue light percentage, the aforementioned blue light information meeting the preset conditions may include: the aforementioned blue light percentage being less than or equal to a first blue light threshold, or the aforementioned blue light percentage being greater than or equal to a second blue light threshold.
[0083] Similarly, the above-mentioned determination of blue light information based on initial color information to meet preset conditions may include: obtaining blue light information based on initial color information, and then determining that the blue light information meets preset conditions.
[0084] In one embodiment of this disclosure, the blue light information includes the blue light percentage; the display adjustment method may further include:
[0085] The color values in the initial color information are input into a preset blue light model to obtain the blue light percentage.
[0086] In this way, the color value in the initial color information can be input into the preset blue light model to obtain the blue light ratio, which can prepare for subsequent judgment on whether the initial color information needs to be adjusted and to adjust the initial color information, thereby achieving the eye protection effect of electronic devices.
[0087] The color values in the initial color information can be R, G, and B values; the preset blue light model can include a machine learning model of RGB values and blue light ratio, or a functional relationship between RGB values and blue light ratio, etc.
[0088] In one embodiment of this disclosure, the display adjustment method may further include:
[0089] Obtain multiple sample color values from multiple sample display screens;
[0090] Obtain the blue light percentage of multiple samples from the multiple sample display images;
[0091] The blue light model is obtained by training a preset training model based on the color value and blue light ratio of the same sample display screen.
[0092] In this way, a blue light model can be trained by using multiple sample color values and multiple sample blue light ratios from multiple sample display screens. This allows the initial color information to be directly input into the blue light model to obtain the corresponding blue light ratio, thereby improving the efficiency of adjusting the initial color information and better achieving the eye protection effect of electronic devices.
[0093] The aforementioned sample display screen can be an image displayed on the screen by the aforementioned electronic device based on the sample color values; the aforementioned sample color values can be one of the standard RGB values; the aforementioned sample blue light ratio can be the proportion of the sample blue spectral intensity to the sample spectral intensity in the aforementioned sample display screen; and the aforementioned preset training model can be an initial machine learning model that has not yet been trained.
[0094] Understandably, during the training process of the above-mentioned training model, multiple sample display screens are displayed on the screen of an electronic device to obtain multiple sample color values, and the corresponding multiple sample blue light ratios are determined based on the measurement results of the light measurement device. Thus, the sample color values of the same sample display screen are associated with the sample blue light ratios to train the preset training model and obtain the above-mentioned blue light model.
[0095] In one embodiment of this disclosure, obtaining the blue light percentage of multiple samples from multiple sample display images includes:
[0096] The spectral intensity of multiple samples is determined by measuring the display screens of multiple samples using an optical measurement device.
[0097] Based on the blue spectral intensity of the sample among the spectral intensities of the multiple samples, the blue light proportion of the multiple samples is obtained.
[0098] In this way, multiple sample display screens can be measured by a photometry device to determine the spectral intensity of multiple samples, and the blue spectral intensity of multiple samples can be determined from the spectral intensity of multiple samples. Then, the blue light ratio of multiple samples can be calculated, which can be associated with the color values of multiple samples to train the training model to obtain the blue light model. This can improve the efficiency of adjusting the initial color information in subsequent processes and better achieve the eye protection effect of electronic devices.
[0099] The aforementioned optical measurement device may include a spectrometer. A spectrometer, also known as a spectrometer, is a device that uses photodetectors such as photomultiplier tubes to measure the intensity of spectral lines at different wavelengths. A spectrometer consists of an entrance slit, a dispersive system, an imaging system, and one or more exit slits. It uses dispersive elements to separate the electromagnetic radiation from the radiation source into the desired wavelength or wavelength region and measures the intensity at the selected wavelength.
[0100] The spectral intensity of the sample can be the spectral intensity corresponding to all wavelengths separated from the sample color value by the optical measurement device; the blue spectral intensity of the sample can be the spectral intensity corresponding to the blue light wavelength separated from the sample color value by the optical measurement device.
[0101] Here, after measuring the sample spectral intensity using a light measurement device, the sample blue spectral intensity can be determined from the sample spectral intensity. Then, the proportion of the sample blue spectral intensity to the sample spectral intensity is calculated to obtain the aforementioned sample blue light proportion. This allows the color value of the same sample display screen to be associated with the sample blue light proportion, so as to train the training model and obtain the blue light model.
[0102] For example, an optical measurement device such as a CS20000 spectrometer can be used to measure the sample spectral intensity of multiple sample color values, such as all 4913 standard RGB values, in the 3D Look Up Table (LUT) of the mobile phone color calibration module in the range of 380nm-780nm. Then, the proportion of the sample blue spectrum intensity in the range of 400nm-500nm to the sample spectral intensity can be calculated to obtain the sample blue light proportion.
[0103] In some examples, the above blue light model can be Equation (1).
[0104] P blue =M(R,G,B)=m r ·R+m g ·G+m b ·B+m c (1)
[0105] Where, m r m g m b and m cAll can be preset parameter values; P blue The percentage of blue light mentioned above can be used; R, G, and B can be the color values in the initial color information mentioned above.
[0106] Understandably, for the aforementioned preset blue light model, by inputting the color value in the initial color information of any pixel, the blue light percentage corresponding to that color value can be output.
[0107] In this embodiment of the present disclosure, the adjustment object of the above-mentioned electronic device can be the initial color information of the pixel when the blue light information of the screen display pixel meets the preset conditions; that is, when the blue light information of the screen display pixel meets the preset conditions, the electronic device can adjust the initial color information of the pixel based on the blue light information to obtain the eye-protecting color information displayed on the pixel, i.e., the target color information.
[0108] It should be noted that adjusting the initial color information to obtain the target color information may include at least one of the following: adjusting the hue of the initial color information to obtain the target color information; adjusting the saturation of the initial color information to obtain the target color information; adjusting the brightness of the initial color information to obtain the target color information; adjusting the matrix transformation of the initial color information to obtain the target color information; or adjusting the RGB values of the initial color information to obtain the target color information.
[0109] Here, adjusting the initial color information based on blue light information to obtain the target color information may include: determining an adjustment coefficient based on the blue light percentage, and then adjusting the initial color information based on the adjustment coefficient to obtain the target color information; or, determining an adjustment coefficient based on the blue light brightness, and then adjusting the initial color information based on the adjustment coefficient to obtain the target color information; or, determining an adjustment coefficient based on the blue light saturation, and then adjusting the initial color information based on the adjustment coefficient to obtain the target color information; and so on.
[0110] In one embodiment of this disclosure, the display adjustment method may further include:
[0111] If the blue light information does not meet the preset conditions, the initial color information is used as the target color information.
[0112] In this way, when the blue light information does not meet the preset conditions, the initial color information displayed on the screen will not be adjusted, so that only the initial color information displayed on the screen that needs to be adjusted is adjusted, thereby improving the efficiency of electronic devices in adjusting the screen display.
[0113] In this embodiment of the disclosure, when the blue light information is the proportion of blue light, the blue light information not meeting the preset conditions may include: the proportion of blue light is greater than a first blue light threshold and the proportion of blue light is less than a second blue light threshold.
[0114] Understandably, all pixels displayed on the screen may have blue light information that meets the preset conditions, meaning the initial color information of all pixels needs to be adjusted; or, all pixels may not have blue light information that meets the preset conditions, meaning the initial color information of all pixels does not need to be adjusted; or, some pixels may have blue light information that meets the preset conditions, while others may not, meaning the initial color information of some pixels needs to be adjusted, while the initial color information of others does not need to be adjusted; and so on.
[0115] For example, the screen of the aforementioned electronic device displays an image with various colors. Based on the color classification in the image, the image may include pixels in a first part and pixels in a second part. If the blue light percentage corresponding to the pixels in the first part meets the aforementioned preset condition, then the initial color information of the pixels in the first part needs to be adjusted to achieve an eye-protection effect. If the blue light percentage corresponding to the pixels in the second part does not meet the aforementioned preset condition, then the initial color information of the pixels in the second part does not need to be adjusted, and the eye-protection effect is already achieved.
[0116] In step 130, after obtaining the target color information based on the initial color information and the blue light information displayed on the screen, the electronic device can display the target color information on the screen, thereby achieving the eye protection effect of the electronic device.
[0117] This disclosure provides a display adjustment method, which may include: acquiring initial color information of a screen displayed in an electronic device; adjusting the initial color information based on the blue light information of the screen to obtain target color information when it is determined that the blue light information of the screen displays meets preset conditions; and displaying the screen based on the target color information. In other words, unlike related technologies where the eye protection mode of an electronic device is fixed, this disclosure can adjust the initial color information of the screen display based on the blue light information of the screen to obtain target color information. This allows for different eye protection effects when different colors are displayed on the screen, thereby achieving better eye protection while ensuring more harmonious color display across different colors, thus improving user experience and comfort.
[0118] In one embodiment of this disclosure, step 120 can be implemented in various different ways.
[0119] The following is a specific implementation example, where the blue light information includes the percentage of blue light intensity in the total spectrum. It should be noted that the examples listed below are merely illustrative and not intended to be limiting.
[0120] Figure 2 This is a flowchart illustrating a display adjustment method according to an exemplary embodiment. Figure 2 See also Figure 2 Step 120 in the display adjustment method provided in this embodiment may include:
[0121] Step 121: If the blue light ratio meets the preset condition, determine the adjustment coefficient based on the blue light ratio;
[0122] Step 122: Adjust the initial color information based on the adjustment coefficient to obtain the target color information.
[0123] In step 121, the adjustment coefficient can be a coefficient for adjusting the initial color information. For example, the adjustment coefficient may include the R coefficient, G coefficient and B coefficient corresponding to the color value. The R coefficient, G coefficient and B coefficient may also form an RGB matrix to adjust the initial color information.
[0124] In step 122, the blue light percentage can be within different blue light threshold ranges, resulting in different adjustment coefficients. This allows the initial color information to be adjusted based on different adjustment coefficients to obtain the target color information.
[0125] For example, the target color information R mentioned above out G out B out The calculation formula can be Among them, R in G in B in The color value R can be the initial color information mentioned above. p G p B p The adjustment coefficients mentioned above can be used.
[0126] In one embodiment of this disclosure, step 121 may specifically include:
[0127] If the proportion of blue light is less than or equal to a first blue light threshold, a first adjustment coefficient is determined based on the proportion of blue light.
[0128] If the proportion of blue light is greater than or equal to the second blue light threshold, a second adjustment coefficient is determined based on the proportion of blue light.
[0129] The first adjustment factor is different from the second adjustment factor.
[0130] Thus, when the proportion of blue light is different, the first adjustment coefficient and the second adjustment coefficient can be determined based on the proportion of blue light in two different ways to adjust the initial color information in the future, thereby better achieving the eye protection effect of electronic devices and improving the user experience and comfort.
[0131] The first blue light threshold can be a critical threshold for the proportion of blue light; for example, the first blue light threshold can be 50 or 60, etc. The second blue light threshold can be another critical threshold for the proportion of blue light; for example, the second blue light threshold can be 70 or 80, etc. It should be noted that the first blue light threshold can be less than the second blue light threshold.
[0132] Here, the first adjustment coefficient can be a coefficient for eye protection adjustment of the initial color information when the proportion of blue light is less than or equal to the first blue light threshold; the second adjustment coefficient can be a coefficient for eye protection adjustment of the initial color information when the proportion of blue light is greater than or equal to the second blue light threshold.
[0133] Understandably, when the blue light ratio falls within different blue light ranges, different adjustment coefficients can be obtained through different calculation methods, namely the first adjustment coefficient or the second adjustment coefficient. This allows the screen to display colors more harmoniously while better achieving the eye protection effect of electronic devices.
[0134] In this embodiment of the disclosure, such as Figure 3 As shown, the horizontal axis represents the proportion of blue light, and the vertical axis represents the number of colors corresponding to that proportion. Based on the preset blue light model, a complete set of 4913 standard RGB values is established, representing the proportion of blue light and the corresponding number of colors; that is, there are a total of 4913 RGB values, meaning the total number of colors is 4913. For example, as... Figure 3 As shown, if the proportion of blue light is between 128% and 136.5%, then there are 150 colors.
[0135] For example, such as Figure 4 As shown, the horizontal axis represents the proportion of blue light, and the vertical axis represents the color temperature corresponding to the proportion of blue light. Taking the display color temperature of electronic devices such as mobile phones as 6500K according to the International Commission on Illumination (CIE) 2015 daylight trail as an example, from... Figure 4It can be seen that the total blue light proportion can be divided into low blue light range, medium blue light range, and high blue light range. The grayscale range where the RGB values (R=G=B) are located corresponds to the medium blue light range, meaning the blue light proportion is 60-70%. All colors in this range are mapped to the standard color temperature CCT0, which is 6500K. Accordingly, the above blue light proportion meets the preset condition, meaning it falls within the medium blue light range; while the above blue light proportion does not meet the preset condition, meaning it falls within the low blue light range or the high blue light range.
[0136] To ensure that the grayscale RGB values accurately match the display color temperature of the mobile phone, and to map colors in the high blue light range, which are more harmful to the eyes, to a lower and warmer color temperature to reduce eye damage; and to map colors in the low blue light range to a higher and cooler color temperature to reduce the subjective failure caused by the warm color temperature resulting in a yellowish tint.
[0137] It should be noted that the determination of the first adjustment coefficient based on the proportion of blue light can be achieved in various ways. The examples listed below are merely examples and are not intended to be limiting.
[0138] In some embodiments, determining the first adjustment coefficient based on the blue light percentage includes:
[0139] Based on the stated proportion of blue light, the first offset color temperature is determined;
[0140] The first adjustment coefficient is determined based on the first offset color temperature.
[0141] In this way, the first offset color temperature can be obtained by the proportion of blue light, and the first adjustment coefficient can be determined by the first offset color temperature to realize the subsequent adjustment of the initial color information, thereby better realizing the eye protection effect of electronic devices and improving the user's experience and comfort.
[0142] The aforementioned first offset color temperature can be the color temperature for eye protection corresponding to the pixels displayed on the screen, which needs to be adjusted based on the standard color temperature.
[0143] In one embodiment of this disclosure, determining the first offset color temperature based on the blue light percentage includes:
[0144] The first color temperature coefficient is determined based on the blue light ratio, the first blue light threshold, the preset minimum blue light ratio, and the preset color temperature index.
[0145] The first offset color temperature is obtained based on the first color temperature coefficient and the preset color temperature difference value.
[0146] In this way, the first color temperature coefficient can be determined by the blue light ratio, the first blue light threshold, the preset minimum blue light ratio, and the preset color temperature index. Then, the first offset color temperature can be obtained by the first color temperature coefficient and the preset color temperature difference value. In the subsequent process, the first adjustment coefficient can be determined to further adjust the initial color information, thereby better achieving the eye protection effect of electronic devices and improving the user's experience and comfort.
[0147] Understandably, the process of obtaining the preset minimum blue light percentage may include: determining the blue light percentage of multiple samples corresponding to the multiple sample color information based on multiple sample color information and the aforementioned blue light model; and selecting the minimum blue light percentage from the multiple sample blue light percentages. In other words, multiple sample RGB values are input into the aforementioned blue light model to obtain the blue light percentage of multiple samples corresponding to the multiple sample RGB values, and then the multiple sample blue light percentages are compared to obtain the aforementioned minimum blue light percentage.
[0148] The process of obtaining the preset color temperature index may include: determining the color temperature index based on the standard color temperature, the first color temperature threshold, the second color temperature threshold, and the first set coefficient.
[0149] Here, the first color temperature threshold can be greater than the standard color temperature, and the standard color temperature can be greater than the second color temperature threshold; for example, the standard color temperature can be 6500K, the first color temperature threshold can be 7000K, and the second color temperature threshold can be 4000K. The first setting coefficient can be a coefficient preset by the aforementioned electronic device; for example, the first setting coefficient can be 0.333.
[0150] For example, the calculation process of the above color temperature index can be expressed by formula (2).
[0151]
[0152] Where, γ low It can be the color temperature index, CCT0 can be the standard color temperature, CCT max This can be the first color temperature threshold, CCT min It can be the second color temperature threshold, and 0.333 is the first set coefficient.
[0153] The process of obtaining the preset color temperature difference value may include: determining the color temperature difference value based on the standard color temperature, the first color temperature threshold, the second color temperature threshold, and the second set coefficient.
[0154] Here, the second setting coefficient can also be a coefficient preset by the aforementioned electronic device; for example, the second setting coefficient can be 500.
[0155] For example, the calculation process for the above color temperature difference value can be expressed by formula (3).
[0156]
[0157] Among them, △CCT low It can be the color temperature difference value, and 500 is the second set coefficient.
[0158] In some embodiments, determining the first adjustment coefficient based on the first offset color temperature includes:
[0159] The first target color temperature is determined based on the sum of the first offset color temperature and the preset standard color temperature.
[0160] The first adjustment coefficient is determined based on the preset mapping relationship between color temperature and adjustment coefficient, and the first target color temperature.
[0161] In this way, the first target color temperature can be determined by the sum of the first offset color temperature and the preset standard color temperature. Then, the first adjustment coefficient can be determined by the mapping relationship between the preset color temperature and the adjustment coefficient and the first target color temperature, so as to realize the subsequent adjustment of the initial color information, thereby better achieving the eye protection effect of electronic devices and improving the user's experience and comfort.
[0162] The first target color temperature can be an eye-friendly color temperature after adjusting the color temperature of the pixels displayed on the screen.
[0163] For example, the calculation process for the first target color temperature can be expressed by formula (4).
[0164]
[0165] Where CCT1 can be the first target color temperature, CCT0 can be the standard color temperature, and ΔCCT low It can be the color temperature difference value, P blue It can be the percentage of blue light, P low It can be the first blue light threshold, P min This can be the minimum value for the proportion of blue light, γ low It can be the color temperature index. It can be the first color temperature coefficient. This can be the first offset color temperature.
[0166] Understandably, based on the aforementioned first target color temperature, a first adjustment coefficient corresponding to the first target color temperature is found from the mapping relationship between the preset color temperature and the adjustment coefficient, so that the initial color information can be adjusted according to the first adjustment coefficient to obtain the target color information.
[0167] Here, the process of obtaining the mapping relationship between the preset color temperature and the adjustment coefficient may include: determining multiple chromaticity coordinates corresponding to the multiple preset color temperatures based on the preset color temperature trajectory function and multiple preset color temperatures; determining multiple preset adjustment coefficients corresponding to the multiple chromaticity coordinates based on the multiple chromaticity coordinates; and determining the mapping relationship between the color temperature and the adjustment coefficients based on the multiple preset color temperatures and the multiple preset adjustment coefficients.
[0168] The color temperature trajectory function can include the daylight trajectory function and the blackbody trajectory function. The process of obtaining the preset color temperature trajectory function can include: determining the color temperature trajectory function based on the current time; the current time can include the current date and the current moment. That is to say, during the day, multiple chromaticity coordinates can be determined using the daylight trajectory function and multiple preset color temperatures, while at night, multiple chromaticity coordinates can be determined using the blackbody trajectory function and multiple preset color temperatures.
[0169] For example, taking the sunlight trajectory 4000K-7000K in CIE 2015 as an example, the sunlight trajectory function can be Equation (5).
[0170]
[0171] Among them, T d You can preset the color temperature, W xd It can be the x-coordinate of the chromaticity coordinates, W yd It can be the y-coordinate of the chromaticity coordinates.
[0172] After determining the chromaticity coordinates, a color temperature calibration algorithm can be used within the range of 4000K-7000K, at 50K intervals, to obtain the preset adjustment coefficients required for electronic devices such as mobile phone screens to achieve the chromaticity coordinates at each preset color temperature. This can be represented as a 3x1 RGB matrix, as shown in Table 1.
[0173] Table 1
[0174]
[0175]
[0176] The mapping relationship between multiple preset color temperatures and preset adjustment coefficients can be obtained from Table 1 above, that is, the mapping relationship between the preset color temperatures and adjustment coefficients mentioned above.
[0177] It should be noted that the determination of the second adjustment factor based on the proportion of blue light can be achieved in various ways. The examples listed below are merely examples and are not intended to be limiting.
[0178] In some embodiments, determining the second adjustment coefficient based on the blue light percentage includes:
[0179] Based on the aforementioned blue light percentage, the second offset color temperature is determined;
[0180] The second adjustment coefficient is determined based on the second offset color temperature.
[0181] In this way, the second offset color temperature can be obtained by the proportion of blue light, and then the second adjustment coefficient can be determined by the second offset color temperature to realize the subsequent adjustment of the initial color information, thereby better realizing the eye protection effect of electronic devices and improving the user's experience and comfort.
[0182] The aforementioned second offset color temperature can also be the eye-protection color temperature corresponding to the pixels displayed on the screen, which needs to be adjusted based on the standard color temperature.
[0183] In one embodiment of this disclosure, determining the second offset color temperature based on the blue light percentage includes:
[0184] The second color temperature coefficient is determined based on the blue light ratio, the second blue light threshold, the preset maximum blue light ratio, and the preset color temperature index;
[0185] The second offset color temperature is obtained based on the second color temperature coefficient and the preset color temperature difference value.
[0186] In this way, the second color temperature coefficient can be determined first by the blue light ratio, the second blue light threshold, the preset maximum blue light ratio, and the preset color temperature index. Then, the second offset color temperature can be obtained by the second color temperature coefficient and the preset color temperature difference value. In the subsequent process, the second adjustment coefficient can be determined to further adjust the initial color information, thereby better achieving the eye protection effect of electronic devices and improving the user's experience and comfort.
[0187] Understandably, the process of obtaining the preset maximum blue light percentage may include: determining multiple sample blue light percentages corresponding to multiple sample color information and the aforementioned blue light model; and selecting the maximum blue light percentage from the multiple sample blue light percentages. In other words, multiple sample RGB values are input into the aforementioned blue light model to obtain multiple sample blue light percentages corresponding to the multiple sample RGB values, and then the multiple sample blue light percentages are compared to obtain the aforementioned maximum blue light percentage.
[0188] For example, the aforementioned color temperature index γ high The calculation process can be expressed by formula (6), where the above color temperature difference value △CCT high The calculation process can be represented by formula (7).
[0189]
[0190]
[0191] In some embodiments, determining the second adjustment coefficient based on the second offset color temperature includes:
[0192] The second target color temperature is determined based on the difference between the preset standard color temperature and the second offset color temperature;
[0193] The second adjustment coefficient is determined based on the preset mapping relationship between color temperature and adjustment coefficient, and the second target color temperature.
[0194] In this way, the second target color temperature can be determined first by the difference between the standard color temperature and the second offset color temperature. Then, the second adjustment coefficient can be determined by the mapping relationship between the preset color temperature and the adjustment coefficient and the second target color temperature, so as to realize the subsequent adjustment of the initial color information. This can better achieve the eye protection effect of electronic devices and improve the user's experience and comfort.
[0195] The second target color temperature mentioned above can also be an eye-friendly color temperature after adjusting the color temperature of the pixels displayed on the screen.
[0196] For example, the calculation process for the second target color temperature can be expressed by formula (8).
[0197]
[0198] Wherein, CCT2 can be the second target color temperature, ΔCCT high It can be the color temperature difference value, P high It can be the second blue light threshold, P max This can be the maximum percentage of blue light, γ high It can be the color temperature index. It can be the second color temperature coefficient. It can be the second offset color temperature.
[0199] Understandably, based on the aforementioned second target color temperature, a second adjustment coefficient corresponding to the second target color temperature is found from the mapping relationship between the preset color temperature and the adjustment coefficient, so that the initial color information can be adjusted according to the second adjustment coefficient to obtain the target color information.
[0200] The display adjustment method provided in this embodiment can determine a first adjustment coefficient and a second adjustment coefficient based on the blue light ratio in two different ways when the blue light ratio displayed on the screen of an electronic device is different. This is to adjust the initial color information of the screen display and obtain the target color information, so that different eye protection effects can be achieved when different colors are displayed on the screen. This can achieve better eye protection while ensuring that the screen display colors are more harmonious, thereby improving the user's experience and comfort.
[0201] Figure 5This is a flowchart illustrating a display adjustment method according to an exemplary embodiment. Figure 3 .like Figure 5 As shown, the display adjustment method provided in this disclosure is merely an example and not a limitation, and is intended to help those skilled in the art better understand the technical solutions of this disclosure. See also Figure 5 The display adjustment method provided in this embodiment may specifically include the following steps:
[0202] Step 501: Obtain the initial color information displayed on the screen of the electronic device;
[0203] Step 502: Determine whether the blue light information displayed on the screen meets the preset conditions; the blue light information includes the proportion of blue light intensity to the total spectral intensity of the full spectrum;
[0204] Step 503: If the blue light proportion is less than or equal to the first blue light threshold, determine the first color temperature coefficient based on the blue light proportion, the first blue light threshold, the preset minimum blue light proportion, and the preset color temperature index.
[0205] Step 504: Based on the first color temperature coefficient and the preset color temperature difference value, obtain the first offset color temperature;
[0206] Step 505: Determine the first target color temperature based on the sum of the first offset color temperature and the preset standard color temperature;
[0207] Step 506: Determine the first adjustment coefficient based on the preset mapping relationship between color temperature and adjustment coefficient and the first target color temperature;
[0208] Step 507: If the blue light ratio is greater than or equal to the second blue light threshold, determine the second color temperature coefficient based on the blue light ratio, the second blue light threshold, the preset maximum blue light ratio, and the preset color temperature index.
[0209] Step 508: Based on the second color temperature coefficient and the preset color temperature difference value, obtain the second offset color temperature;
[0210] Step 509: Determine the second target color temperature based on the difference between the preset standard color temperature and the second offset color temperature;
[0211] Step 510: Determine the second adjustment coefficient based on the preset mapping relationship between color temperature and adjustment coefficient and the second target color temperature;
[0212] Step 511: Adjust the initial color information based on the first adjustment coefficient or the second adjustment coefficient to obtain the target color information;
[0213] Step 512: If the blue light information does not meet the preset conditions, the initial color information is used as the target color information;
[0214] Step 513: Display the image on the screen based on the target color information.
[0215] It should be noted that steps 503-511 and steps 512 are two parallel scenarios in this embodiment; that is, after step 502, steps 503-511 or step 512 can be executed. Steps 503-506 and steps 507-510 are also two parallel scenarios in this embodiment; that is, after step 502, steps 503-506 or steps 507-510 can be executed.
[0216] The display adjustment method provided in this embodiment can determine a first adjustment coefficient and a second adjustment coefficient based on the blue light ratio in two different ways when the blue light ratio displayed on the screen of an electronic device is different. This is to adjust the initial color information of the screen display and obtain the target color information, so that different eye protection effects can be achieved when different colors are displayed on the screen. This can achieve better eye protection while ensuring that the screen display colors are more harmonious, thereby improving the user's experience and comfort.
[0217] Figure 6 This is a structural block diagram of a display adjustment device provided in an embodiment of this disclosure. See also... Figure 6 The display adjustment device 600 provided in this embodiment may include: an acquisition module 610, an adjustment module 620, and a display module 630.
[0218] The acquisition module 610 is configured to acquire the initial color information displayed on the screen of the electronic device;
[0219] The adjustment module 620 is configured to adjust the initial color information based on the blue light information displayed on the screen to obtain target color information when it is determined that the blue light information displayed on the screen meets preset conditions based on the initial color information.
[0220] Display module 630 is configured to display on the screen based on the target color information.
[0221] The display adjustment device provided in this disclosure acquires initial color information of the screen display in an electronic device; when it is determined based on the initial color information that the blue light information displayed on the screen meets preset conditions, the initial color information is adjusted based on the blue light information displayed on the screen to obtain target color information; and the screen is displayed based on the target color information. In other words, unlike the fixed eye protection mode of electronic devices in related technologies, this disclosure can adjust the initial color information of the screen display based on the blue light information displayed on the screen to obtain target color information. This allows for different eye protection effects when different colors are displayed on the screen, thereby achieving better eye protection while ensuring more harmonious screen display colors and improving user experience and comfort.
[0222] for Figure 6 In one possible implementation of the technical solution shown, the blue light information includes the proportion of blue light intensity to the total spectral intensity of the full spectrum; the adjustment module 620 can be specifically configured to: determine an adjustment coefficient based on the blue light proportion when the blue light proportion meets the preset condition; and adjust the initial color information based on the adjustment coefficient to obtain the target color information.
[0223] for Figure 6 In one possible implementation of the technical solution shown, the display adjustment device 600 may further include: a determining module configured to determine a first adjustment coefficient based on the blue light ratio when the blue light ratio is less than or equal to a first blue light threshold; and to determine a second adjustment coefficient based on the blue light ratio when the blue light ratio is greater than or equal to a second blue light threshold; wherein the first adjustment coefficient is different from the second adjustment coefficient.
[0224] for Figure 6 In one possible implementation of the technical solution shown, the determining module can also be configured to: determine a first offset color temperature based on the blue light ratio; and determine the first adjustment coefficient based on the first offset color temperature.
[0225] for Figure 6 In one possible implementation of the technical solution shown, the determining module can be further configured to: determine a first color temperature coefficient based on the blue light ratio, the first blue light threshold, a preset minimum blue light ratio, and a preset color temperature index; and obtain the first offset color temperature based on the first color temperature coefficient and a preset color temperature difference value.
[0226] for Figure 6In one possible implementation of the technical solution shown, the determining module can also be configured to: determine a first target color temperature based on the sum of the first offset color temperature and a preset standard color temperature; and determine the first adjustment coefficient based on the preset mapping relationship between the color temperature and the adjustment coefficient and the first target color temperature.
[0227] for Figure 6 In one possible implementation of the technical solution shown, the determining module can also be configured to: determine a second offset color temperature based on the blue light ratio; and determine a second adjustment coefficient based on the second offset color temperature.
[0228] for Figure 6 In one possible implementation of the technical solution shown, the determining module can also be configured to: determine a second color temperature coefficient based on the blue light ratio, the second blue light threshold, a preset maximum blue light ratio, and a preset color temperature index; and obtain the second offset color temperature based on the second color temperature coefficient and a preset color temperature difference value.
[0229] for Figure 6 In one possible implementation of the technical solution shown, the determining module can also be configured to: determine a second target color temperature based on the difference between a preset standard color temperature and the second offset color temperature; and determine the second adjustment coefficient based on the mapping relationship between a preset color temperature and an adjustment coefficient and the second target color temperature.
[0230] for Figure 6 In one possible implementation of the technical solution shown, the display adjustment device 600 may further include: a processing module configured to use the initial color information as the target color information when the blue light information does not meet the preset conditions.
[0231] for Figure 6 In one possible implementation of the technical solution shown, the blue light information includes the blue light percentage; the processing module can also be configured to input the color value in the initial color information into a preset blue light model to obtain the blue light percentage.
[0232] for Figure 6 In one possible implementation of the technical solution shown, the processing module can be further configured to: acquire multiple sample color values of multiple sample display screens; acquire multiple sample blue light ratios of the multiple sample display screens; and train a preset training model to obtain the blue light model based on the sample color values and sample blue light ratios associated with the same sample display screen.
[0233] for Figure 6In one possible implementation of the technical solution shown, the processing module can also be configured to: measure the multiple sample display images using a light measurement device to determine the multiple sample spectral intensities; and obtain the multiple sample blue light proportions based on the sample blue spectral intensity among the multiple sample spectral intensities.
[0234] It should be noted that, regarding Figure 6 The specific manner in which each module performs its operation in the display adjustment device shown in the embodiment has been described in detail in the embodiments related to the method, and will not be elaborated here.
[0235] Figure 7 This is a schematic diagram illustrating the structure of an electronic device according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, wearable device, etc.
[0236] Reference Figure 7 The electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0237] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0238] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 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.
[0239] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0240] Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) 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 808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 800 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.
[0241] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 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 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0242] I / O interface 812 provides an interface between processing component 802 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.
[0243] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0244] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as Wi-Fi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 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.
[0245] In an exemplary embodiment, the electronic device 800 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 methods described above.
[0246] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of an electronic device 800 to perform the above-described method. 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.
[0247] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a display adjustment method, the method comprising: acquiring initial color information of a screen display in the electronic device; adjusting the initial color information based on the blue light information of the screen display, whereby, if it is determined based on the initial color information, that the blue light information of the screen display meets the preset conditions, to obtain target color information; and displaying the screen based on the target color information.
[0248] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0249] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application 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 following claims.
[0250] 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. A display adjustment method, characterized in that, The method includes: Obtain the initial color information displayed on the screen of an electronic device; If the blue light information displayed on the screen meets the preset conditions based on the initial color information, the initial color information is adjusted based on the blue light information displayed on the screen to obtain the target color information; wherein, the blue light information includes the proportion of blue light intensity to the total spectral intensity of the full spectrum. The screen is displayed based on the target color information; When the initial color information determines that the blue light information displayed on the screen meets preset conditions, adjusting the initial color information based on the blue light information displayed on the screen to obtain target color information includes: When the blue light proportion is less than or equal to the first blue light threshold, the first color temperature coefficient is determined based on the blue light proportion, the first blue light threshold, the preset minimum blue light proportion, and the preset color temperature index. Based on the first color temperature coefficient and the preset color temperature difference value, the first offset color temperature is obtained; The first target color temperature is determined based on the sum of the first offset color temperature and the preset standard color temperature. Based on the preset mapping relationship between color temperature and adjustment coefficient, and the first target color temperature, the first adjustment coefficient is determined; The initial color information is adjusted based on the first adjustment coefficient to obtain the target color information.
2. The method according to claim 1, characterized in that, When the initial color information determines that the blue light information displayed on the screen meets preset conditions, adjusting the initial color information based on the blue light information displayed on the screen to obtain target color information includes: When the blue light ratio is greater than or equal to the second blue light threshold, a second adjustment coefficient is determined based on the blue light ratio; wherein the first adjustment coefficient is different from the second adjustment coefficient. The initial color information is adjusted based on the second adjustment coefficient to obtain the target color information.
3. The method according to claim 2, characterized in that, The determination of the second adjustment coefficient based on the blue light ratio includes: Based on the aforementioned blue light percentage, the second offset color temperature is determined; The second adjustment coefficient is determined based on the second offset color temperature.
4. The method according to claim 3, characterized in that, The determination of the second offset color temperature based on the blue light ratio includes: The second color temperature coefficient is determined based on the blue light ratio, the second blue light threshold, the preset maximum blue light ratio, and the preset color temperature index; The second offset color temperature is obtained based on the second color temperature coefficient and the preset color temperature difference value.
5. The method according to claim 3, characterized in that, Determining the second adjustment coefficient based on the second offset color temperature includes: The second target color temperature is determined based on the difference between the preset standard color temperature and the second offset color temperature; The second adjustment coefficient is determined based on the preset mapping relationship between color temperature and adjustment coefficient, and the second target color temperature.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: If the blue light information does not meet the preset conditions, the initial color information is used as the target color information.
7. The method according to any one of claims 1 to 5, characterized in that, The blue light information includes the blue light percentage; the method further includes: The color values in the initial color information are input into a preset blue light model to obtain the blue light percentage.
8. The method according to claim 7, characterized in that, The method further includes: Obtain multiple sample color values from multiple sample display screens; Obtain the blue light percentage of multiple samples from the multiple sample display images; The blue light model is obtained by training a preset training model based on the color value and blue light ratio of the same sample display screen.
9. The method according to claim 8, characterized in that, The step of obtaining the blue light percentage of multiple samples from multiple sample display images includes: The spectral intensity of multiple samples is determined by measuring the display screens of multiple samples using an optical measurement device. Based on the blue spectral intensity of the sample among the spectral intensities of the multiple samples, the blue light proportion of the multiple samples is obtained.
10. A display adjustment device, characterized in that, The device includes: The acquisition module is configured to acquire the initial color information displayed on the screen of the electronic device; The adjustment module is configured to adjust the initial color information based on the initial color information, when it is determined that the blue light information displayed on the screen meets preset conditions, to obtain target color information; wherein, the blue light information includes the proportion of blue light intensity to the total spectral intensity of the full spectrum; The display module is configured to display on the screen based on the target color information; The adjustment module is specifically configured as follows: When the blue light proportion is less than or equal to the first blue light threshold, the first color temperature coefficient is determined based on the blue light proportion, the first blue light threshold, the preset minimum blue light proportion, and the preset color temperature index. Based on the first color temperature coefficient and the preset color temperature difference value, the first offset color temperature is obtained; The first target color temperature is determined based on the sum of the first offset color temperature and the preset standard color temperature. Based on the preset mapping relationship between color temperature and adjustment coefficient, and the first target color temperature, the first adjustment coefficient is determined; The initial color information is adjusted based on the first adjustment coefficient to obtain the target color information.
11. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the display adjustment method as described in any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the display adjustment method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Display control method and device, electronic equipment and storage medium
CN116309886A