Color Temperature Adjustment Method and Device, Terminal, and Storage Medium
By using the method of adjusting the chromaticity difference step length to 1JNCD multiple during the color temperature adjustment process, the problem of insufficient smoothness of the color temperature adjustment is solved, and uniform speed adjustment is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202110564428.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-24
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2041-05-24
AI Technical Summary
In the prior art, the smoothness during the color temperature adjustment process is insufficient, which affects the user's user experience.
By determining the current color temperature and target color temperature of the display screen, adjust the color temperature value by adjusting the color difference step to 1 JNCD multiple to ensure that the color difference adjusted at each step is uniform for the human eye and achieve uniform adjustment.
It improves the user experience, especially during automatic and manual color temperature adjustment, providing a smoother color temperature conversion experience.
Smart Images

Figure CN115394245B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of intelligent terminals, and particularly to a method and device for color temperature adjustment, a terminal, and a storage medium. Background Art
[0002] Currently, electronic devices with a display function on the market usually have a color temperature adjustment function (such as manually adjusting the color temperature value based on a color temperature adjustment progress bar, manually turning on or off the eye protection mode, etc.), and some also have automatic color temperature adjustment based on an ambient light color temperature sensor, including almost all smartphones, some tablet computers, laptop computers, and televisions, etc.
[0003] The purpose of color temperature adjustment of the screen is to make the color temperature of the display screen match the color temperature of the ambient light, so that users can effectively reduce visual fatigue during the use of intelligent terminals and bring a better experience in terms of visual perception. However, during the color temperature adjustment process, the smoothness of color temperature adjustment affects the user experience. Summary of the Invention
[0004] The present disclosure provides a method and device for color temperature adjustment, a terminal, and a storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a color temperature adjustment method applied to a terminal including a display screen. The method includes:
[0006] Determine the current color temperature of the display screen and the target color temperature to be adjusted;
[0007] Based on the current color temperature and the target color temperature, determine the color temperature value adjusted in each step; wherein, the color temperature value adjusted in each step is the color temperature change amount corresponding to the chromaticity difference adjustment step length, and the chromaticity difference adjustment step length is a multiple of the preset color difference standard value of 1 JNCD;
[0008] Adjust the current color temperature of the display screen to the target color temperature based on the color temperature value adjusted in each step.
[0009] In some embodiments, the determining the color temperature value adjusted in each step based on the current color temperature and the target color temperature includes:
[0010] Based on the current color temperature, the target color temperature, and a preset corresponding relationship, determine the chromaticity difference value; wherein, the preset corresponding relationship includes the mapping between the color temperature value and the chromaticity value;
[0011] Based on the chromaticity difference value, determine the chromaticity difference adjustment step length;
[0012] Based on the chromaticity difference adjustment step length, determine the color temperature value adjusted in each step.
[0013] In some embodiments, the method further includes:
[0014] Determining an initial chromaticity value of a preset initial color temperature value in a preset color space;
[0015] Based on the initial chromaticity value and a preset chromaticity difference step size, determining different chromaticity values; wherein the preset chromaticity difference step size is a multiple of the 1JNCD;
[0016] For each chromaticity value among the different chromaticity values, determining a color temperature value corresponding thereto in the preset color space;
[0017] Obtaining the preset corresponding relationship based on the color temperature values corresponding to each chromaticity value including the initial chromaticity value.
[0018] In some embodiments, the preset chromaticity difference step size is 1JNCD.
[0019] In some embodiments, the determining the chromaticity difference value based on the current color temperature, the target color temperature, and the preset corresponding relationship includes:
[0020] In the preset corresponding relationship, determining a first chromaticity value corresponding to the current color temperature and a second chromaticity value corresponding to the target color temperature;
[0021] Determining the difference between the first chromaticity value and the second chromaticity value as the chromaticity difference value;
[0022] The determining the adjustment step size of the chromaticity difference based on the chromaticity difference value includes:
[0023] Determining the chromaticity difference value adjusted per unit time as the ratio of the chromaticity difference value to a preset adjustment time.
[0024] In some embodiments, the determining the target color temperature to be adjusted for the display screen includes:
[0025] Obtaining the ambient light color temperature through a color temperature sensor in the terminal;
[0026] Determining the target color temperature to be adjusted according to the ambient light color temperature.
[0027] According to a second aspect of the embodiments of the present disclosure, there is provided a color temperature adjustment device applied to a terminal including a display screen, the device including:
[0028] A first determination module configured to determine the current color temperature of the display screen and the target color temperature to be adjusted;
[0029] A second determination module, configured to determine a color temperature value for each adjustment step based on the current color temperature and the target color temperature; wherein, the color temperature value for each adjustment step is the color temperature change amount corresponding to a chromaticity difference adjustment step, and the chromaticity difference adjustment step is a multiple of a preset color difference standard value of 1 JNCD.
[0030] An adjustment module, configured to adjust the current color temperature of the display screen to the target color temperature based on the color temperature value for each adjustment step.
[0031] In some embodiments, the second determination module is further configured to determine a chromaticity difference value based on the current color temperature, the target color temperature, and a preset correspondence relationship; wherein, the preset correspondence relationship includes a mapping between a color temperature value and a chromaticity value; determine the chromaticity difference adjustment step based on the chromaticity difference value; and determine the color temperature value for each adjustment step based on the chromaticity difference adjustment step.
[0032] In some embodiments, the apparatus further includes:
[0033] A third determination module, configured to determine an initial chromaticity value of a preset initial color temperature value in a preset color space;
[0034] A fourth determination module, configured to determine different chromaticity values based on the initial chromaticity value and a preset chromaticity difference step; wherein, the preset chromaticity difference step is a multiple of the 1 JNCD;
[0035] A fifth determination module, configured to determine, for each chromaticity value among the different chromaticity values, a color temperature value corresponding thereto in the preset color space;
[0036] An obtaining module, configured to obtain the preset correspondence relationship based on the color temperature values corresponding to the chromaticity values including the initial chromaticity value.
[0037] In some embodiments, the preset chromaticity difference step is 1 JNCD.
[0038] In some embodiments, the second determination module is further configured to determine, in the preset correspondence relationship, a first chromaticity value corresponding to the current color temperature and a second chromaticity value corresponding to the target color temperature; determine the difference between the first chromaticity value and the second chromaticity value as the chromaticity difference value; and determine the chromaticity difference value adjusted per unit time as the ratio between the chromaticity difference value and a preset adjustment time.
[0039] In some embodiments, the first determination module is further configured to obtain an ambient light color temperature through a color temperature sensor in the terminal; and determine the target color temperature to be adjusted according to the ambient light color temperature.
[0040] According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
[0041] A processor;
[0042] A memory for storing instructions executable by the processor;
[0043] Wherein, the processor is configured to execute the color temperature adjustment method as described in the first aspect above.
[0044] According to a fourth aspect of the embodiments of the present disclosure, a storage medium is provided, including:
[0045] When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the color temperature adjustment method as described in the first aspect above.
[0046] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0047] In the embodiments of the present disclosure, according to the current color temperature of the display screen and the target color temperature to be adjusted, the color temperature value adjusted in each step is determined as the color temperature change amount corresponding to the chromaticity difference adjustment step, where the chromaticity difference adjustment step is a multiple of 1 JNCD. By adjusting the color temperature in the above manner, the difference in the color perception sensitivity of the human eye is taken into account, so that the color difference adjusted in each step is the same for the human eye, thus enabling the user to feel a uniform adjustment and improving the user experience. In addition, the solution of the present disclosure is applicable to both automatic color temperature adjustment and manual color temperature adjustment, and has strong universality.
[0048] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.
[0050] Figure 1 It is a color temperature curve diagram under different chromaticity coordinates in the CIE1931 color space.
[0051] Figure 2 It is a flowchart of a color temperature adjustment method shown in an embodiment of the present disclosure.
[0052] Figure 3 It is a diagram of a color temperature adjustment device shown according to an exemplary embodiment.
[0053] Figure 4 It is a block diagram of a terminal device shown in an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0054] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0055] The definition of color temperature includes the color temperature defined by the blackbody radiation curve and the related color temperature in the region near the blackbody radiation curve. Figure 1 It is a color temperature curve graph for different chromaticity coordinates in the CIE1931 color space. In the Figure 1 shown figure, the black solid line L is the blackbody radiation curve. For the colors near the blackbody radiation curve, their related color temperatures are defined according to the blackbody radiation curve point closest to their chromaticity points. There are many light sources, such as the white light source displayed on a mobile phone screen. Although the spectral distribution is different from that of the blackbody, the chromaticity coordinates are located on the Figure 1 shown blackbody radiation curve, and the corresponding blackbody temperature is called the color temperature of the light source.
[0056] The color temperature adjustment of the display screen usually provides a manual or automatic adjustment function for the user to adjust the white point of the screen to meet the different "white" demands of different users and different environments (such as the "eye protection" demand for reducing blue light, the demand for a bluer "whiter" color, or the display content being closer to the ambient color temperature, etc.). This type of function usually uses a color conversion algorithm tool to convert the white point of the current display gamut, which also affects other colors in the gamut. Its optimization directions mainly have two aspects. One is the optimization of the function itself to improve the smoothness and fineness of the adjustment. The other is the optimization of the conversion effects of different colors to protect the color stability of some memory colors on the basis of meeting the white point conversion effect. The present disclosure precisely proposes a scheme for uniformly adjusting the color temperature for the human eye in terms of optimizing the adjustment smoothness.
[0057] Figure 2 It is a flowchart of a color temperature adjustment method shown in an embodiment of the present disclosure. As Figure 2 shown, the color temperature adjustment method applied to a terminal including a display screen includes the following steps:
[0058] S11. Determine the current color temperature of the display screen and the target color temperature to be adjusted;
[0059] S12. Based on the current color temperature and the target color temperature, determine the color temperature value for each adjustment step; wherein, the color temperature value for each adjustment step is the color temperature change amount corresponding to the chromaticity difference adjustment step length, and the chromaticity difference adjustment step length is a multiple of the preset color difference standard value of 1 JNCD.
[0060] S13. Adjust the current color temperature of the display screen to the target color temperature based on the color temperature value adjusted in each step.
[0061] In the embodiments of the present disclosure, the terminal includes a mobile phone, a tablet computer, a wearable device, etc.
[0062] The terminal includes a display screen for displaying images. The display screen can be a display screen made of Organic Light-Emitting Diode (OLED). It should be noted that the display screen in the embodiments of the present disclosure can also be a touch screen with touch function.
[0063] In step S11, the terminal determines the current color temperature of the display screen and the target color temperature to be adjusted. Among them, the current color temperature of the display screen can be the initial color temperature value preset when the terminal first displays after booting, or the color temperature value after the previous color temperature adjustment. The previous color temperature adjustment can be manual adjustment or automatic adjustment.
[0064] The target color temperature to be adjusted by the display screen can be the target color temperature to be adjusted determined by the terminal according to the current ambient light. In one embodiment, the determining the target color temperature to be adjusted by the display screen includes:
[0065] Obtain the ambient light color temperature through the color temperature sensor in the terminal;
[0066] Determine the target color temperature to be adjusted according to the ambient light color temperature.
[0067] In this embodiment, for example, a color temperature sensor installed under the display screen of the terminal can be used to obtain the ambient light color temperature, and then the ambient light color temperature is determined as the target color temperature to be adjusted; or, the terminal can determine the target color temperature to be adjusted according to the ambient light color temperature and the mapping relationship between the ambient light color temperature and the screen color temperature determined in advance. It should be noted that this mapping relationship can be established, for example, in an experimental environment, by presetting the ambient light color temperature and adjusting the screen color temperature, and combining the method of manual judgment to determine the comfortable screen color temperature, so as to establish the mapping relationship between the ambient light color temperature and the screen color temperature.
[0068] It should be noted that in the embodiments of the present disclosure, it is not limited to determining the target color temperature to be adjusted based on the ambient light color temperature sensed by the color temperature sensor. The determination of the target color temperature can also be specified by the user. For example, the user sets the target color temperature through the color temperature adjustment function in the display settings management interface of the terminal.
[0069] In step S12, the terminal determines the color temperature value adjusted in each step based on the current color temperature and the target color temperature. Wherein, the color temperature value adjusted in each step is the color temperature change amount corresponding to the chromaticity difference adjustment step length, and the color temperature value adjusted in each step is the color temperature change amount corresponding to a certain multiple of the JNCD value.
[0070] In the field of color science, JNCD (Just Noticeable Color Difference) is often used to characterize the color difference between two colors, which is also called the chromaticity difference standard value. The following formula (1) is the calculation formula of JNCD:
[0071]
[0072] Wherein, (u′1, v′1) is the chromaticity value of a group of colors, and (u'2, v'2) is the chromaticity value of another group of colors.
[0073] The chromaticity value is the chromaticity coordinate value in the preset color space. The preset color space includes: CIE1931 color space or CIE1976 color space, etc., and the embodiments of the present disclosure do not make limitations. Different colors correspond to different chromaticity coordinate values in the preset color space, and different chromaticity coordinate values have different color temperature values, and there is a corresponding relationship between the chromaticity value and the color temperature value.
[0074] For any color temperature value (Correlated Color Temperature, CCT), its color coordinates (x c , y c ) in the CIEXYZ color space or the color coordinates (u', v') in the CIELUV color space can be calculated through the following formula (2) and formula (3), wherein, CIEXYZ and CIELUV can both include CIE1976 or CIE1931, etc.
[0075]
[0076]
[0077] Wherein, T is the color temperature value, and different color temperature values correspond to different color coordinate values (chromaticity values) in different color temperature value ranges.
[0078] When the present disclosure determines the color temperature value for each adjustment step based on the current color temperature and the target color temperature, in one embodiment, the current color temperature difference between the current color temperature and the target color temperature can be determined, and then it can be determined how many times the JNCD needs to be correspondingly transformed under the current color temperature difference according to the corresponding relationship between the color temperature difference value and the chromaticity difference value. Subsequently, the chromaticity difference adjustment step size is determined. For example, if it is necessary to transform 3 times the JNCD, the adjustment can be made with 1 JNCD as the step size, or the adjustment can be made with 3 JNCDs as the step size. The smaller the chromaticity difference adjustment step size, the finer the adjustment and the better the user experience.
[0079] It should be noted that the above corresponding relationship between the color temperature difference value and the chromaticity difference value can be a mapping between the average color temperature difference and the chromaticity difference obtained by fitting and calculating based on the corresponding relationship between the color temperature value and the chromaticity value in the above formulas (2) and (3). The embodiments of the present disclosure do not limit this.
[0080] When the present disclosure calculates the color temperature value for each adjustment step, specifically, after determining the chromaticity value corresponding to the current color temperature value through the above formulas (2) and (3), the chromaticity value corresponding to the changed chromaticity difference adjustment step size (for example, 1 JNCD) is calculated according to the above formula (1), and then based on the inverse change of the above formulas (2) and (3), the color temperature value for this step of adjustment is obtained. The color temperature value after the previous step of adjustment is the initial color temperature value for the next step of adjustment. The present disclosure can gradually determine the color temperature value for each adjustment step in the above manner.
[0081] Since the chromaticity value corresponding to the initial color temperature value is different for each adjustment step, the chromaticity value corresponding to, for example, adjusting 1 JNCD calculated based on the above formula (1) is different, and the color temperature value determined through the inverse transformation of the above formulas (2) and (3) is also different. Then, when adjusting from the current color temperature to the target color temperature, although the JNCD value changed for each adjustment step is the same, the color temperature value for each adjustment step may also be different.
[0082] In step S13, after the terminal determines the color temperature value for each adjustment step, the current color temperature of the display screen can be adjusted to the target color temperature according to the color temperature value for each adjustment step.
[0083] As described above, when adjusting from the current color temperature to the target color temperature, the JNCD value changed for each adjustment step is the same. Since the JNCD represents the chromaticity difference (color difference), and the uniform change of the color difference is uniform to the human eye, even though the color temperature value for each adjustment step is different, the user's human eye can feel a uniform adjustment.
[0084] In the related art, for the adjustment of color temperature, the color temperature value is usually adjusted in fixed color temperature steps. For example, the color temperature value is adjusted in steps of 100 Kelvin (K). The human eye has different sensitivities to different color regions. Generally, the sensitivity to the low color temperature region (warm color region) is higher than that to the high color temperature region (cold color region). Therefore, the sensitivity of the human eye in the low color temperature region is higher than that in the high color temperature region. If the aforementioned fixed color temperature step is used for color temperature adjustment, this "uniform speed" adjustment will give the user a feeling that the adjustment is faster in the low color temperature region and slower in the high color temperature region, resulting in a poor experience.
[0085] In contrast, in the present disclosure, the color temperature value adjusted in each step is adjusted by the color temperature change amount corresponding to the chromaticity difference adjustment step. For the high color temperature region and the low color temperature region, since the initial color temperature values of the high color temperature region and the low color temperature region are different, the corresponding color temperature adjustment steps are also different. For example, the color temperature value adjusted at one time in the high color temperature region is larger, while the color temperature value adjusted at one time in the low color temperature region is smaller, but it exactly matches the perception of the human eye, so the user's feeling is a uniform adjustment.
[0086] It can be understood that the present disclosure determines the color temperature value adjusted in each step as the color temperature change amount corresponding to the chromaticity difference adjustment step according to the current color temperature of the display screen and the target color temperature to be adjusted. The adjustment step of the chromaticity difference is a multiple of 1 JNCD, that is, considering the difference in the color perception sensitivity of the human eye, making the color difference of each adjustment the same for the human eye, so that the user can feel a uniform adjustment and improve the user experience. In addition, the solution of the present disclosure is applicable to both automatic color temperature adjustment and manual color temperature adjustment, and has strong universality.
[0087] In one embodiment, determining the color temperature value adjusted in each step based on the current color temperature and the target color temperature includes:
[0088] Determining a chromaticity difference value based on the current color temperature, the target color temperature, and a preset corresponding relationship; wherein, the preset corresponding relationship includes a mapping between the color temperature value and the chromaticity value;
[0089] Determining the chromaticity difference adjustment step based on the chromaticity difference value;
[0090] Determining the color temperature value adjusted in each step based on the chromaticity difference adjustment step.
[0091] In this embodiment, when determining the color temperature value adjusted in each step, the chromaticity difference corresponding between the current color temperature and the target color temperature can also be determined first, and then the chromaticity difference adjustment step is determined based on the chromaticity difference value, so as to determine the color temperature value adjusted in each step based on the chromaticity difference adjustment step.
[0092] When determining the chromaticity difference value, the chromaticity difference can be determined based on a preset corresponding relationship established in the following manner.
[0093] In one embodiment, the method further includes:
[0094] Determine an initial chromaticity value of a preset initial color temperature value in a preset color space;
[0095] Based on the initial chromaticity value and a preset chromaticity difference step size, determine different chromaticity values; wherein, the preset chromaticity difference step size is a multiple of the 1JNCD;
[0096] For each chromaticity value among the different chromaticity values, determine a color temperature value corresponding thereto in the preset color space;
[0097] Obtain the preset corresponding relationship based on the color temperature values corresponding to each chromaticity value including the initial chromaticity value.
[0098] In an embodiment of the present disclosure, when establishing a preset corresponding relationship in advance, an initial color temperature value can be preset. For example, the initial color temperature value is specified as Figure 1 any value on the blackbody radiation curve L shown. Subsequently, the initial chromaticity value of the preset initial color temperature value in the preset color space can be obtained according to the above formula (2) or (3), and the chromaticity value can be gradually increased and / or decreased according to the preset chromaticity difference step size. After obtaining different chromaticity values, the color temperature value corresponding to each chromaticity value can be determined according to the conversion formula from chromaticity value to color temperature value, so as to obtain the preset corresponding relationship, which is stored in the terminal. The conversion formula from chromaticity value to color temperature value is the inverse transformation of the above formula (2) or (3), which is not described in detail in the embodiments of the present disclosure.
[0099] It should be noted that, in the embodiments of the present disclosure, the preset corresponding relationship can be calculated by the terminal in the above manner, or can be obtained by other devices in the above manner and sent to the terminal, and received and saved by the terminal.
[0100] In one embodiment, the preset chromaticity difference step size can be, for example, the coordinate value of any dimension in the x c , y c in the XYZ color coordinate system adjusted according to a preset step size; or, it can also be the coordinate value of any dimension in the u', v' in the LUV color coordinate system adjusted according to a preset step size.
[0101] In one embodiment, the preset chromaticity difference step size is 1JNCD.
[0102] In this embodiment, since 1JNCD means the color difference level that can just be distinguished by the human eye for most people. Therefore, based on this theory, the present disclosure sets the preset chromaticity difference step size to 1JNCD to obtain the preset corresponding relationship, which can make the chromaticity values in the obtained preset corresponding relationship more refined to reflect the human eye senses, and will not occupy too much storage space due to too small step size setting within the same chromaticity value range.
[0103] It can be understood that the present disclosure obtains the preset correspondence based on the method of setting the preset chromaticity difference step as IJNCD, which can make the terminal determine the chromaticity difference adjustment step more precisely based on the preset correspondence. Therefore, on the basis of realizing uniform adjustment of the color temperature, a more delicate adjustment can be provided, thereby further improving the user experience.
[0104] In one embodiment, determining the chromaticity difference based on the current color temperature, the target color temperature, and the preset correspondence includes:
[0105] In the preset correspondence, determine the first chromaticity value corresponding to the current color temperature and the second chromaticity value corresponding to the target color temperature;
[0106] Determine the first chromaticity value and the second chromaticity value as the chromaticity difference;
[0107] Determining the adjustment step of the chromaticity difference based on the chromaticity difference includes:
[0108] Determine the ratio between the chromaticity difference and the preset adjustment time as the chromaticity difference adjusted per unit time.
[0109] In this embodiment, from the above preset correspondence, the first chromaticity value corresponding to the current color temperature and the second chromaticity value corresponding to the target color temperature can be respectively found. After determining the first chromaticity value and the second chromaticity value, the chromaticity difference can be determined based on the first chromaticity value before adjustment and the second chromaticity value to be adjusted. Since the preset correspondence is determined based on the preset chromaticity difference step, and the preset chromaticity difference step is a multiple of 1JNCD, the chromaticity difference also corresponds to a multiple of 1JNCD.
[0110] After determining the chromaticity difference, the chromaticity difference adjusted per unit time can be used as the adjustment step of the chromaticity difference. The chromaticity difference adjusted per unit time is also the adjustment rate of the chromaticity difference, and the adjustment rate of the chromaticity difference is the ratio between the chromaticity difference and the preset adjustment time.
[0111] For example, if the difference between the first chromaticity value and the second chromaticity value is 7JNCD, the present disclosure can be adjusted at a chromaticity adjustment rate of 7 / t, that is, the adjustment step of the chromaticity difference is 7JNCD, where t is time, for example, it can be in seconds.
[0112] Adopting the above solution of the present disclosure, for example, in the low color temperature region, the color temperature changes from a1 (current color temperature) to a2 (target color temperature), with a difference of 200K between a1 and a2. After calculating the first chromaticity value and the second chromaticity value based on the preset corresponding relationship and determining that the chromaticity difference is 5 JNCD, the color temperature is adjusted correspondingly in the low color temperature region with an adjustment step size of 5 JNCD for the chromaticity difference; in the high color temperature region, it changes from b1 (current color temperature) to b2 (target color temperature), also with a difference of 200K between b1 and b2. Based on the preset corresponding relationship, the chromaticity difference is determined to be 3 JNCD, so in the high color temperature region, the color temperature can be adjusted correspondingly with an adjustment step size of 3 JNCD for the chromaticity difference.
[0113] It can be seen that based on the solution of the present disclosure, for color regions with different sensitivities of the human eye, even if the color temperature differences in different color regions are the same, the color temperature can be adjusted based on the present disclosure by the color temperature adjustment amount corresponding to the adjustment step size of the chromaticity difference. It seems that the color temperature values are adjusted "non-uniformly" in different color regions, but in essence, it is a uniform change adjustment for the human eye, which can better improve the user experience.
[0114] Figure 3 It is a diagram of a color temperature adjustment device shown according to an exemplary embodiment, which is applied to a terminal including a display screen. Refer to Figure 3 , the device includes:
[0115] The first determination module 101 is configured to determine the current color temperature of the display screen and the target color temperature to be adjusted;
[0116] The second determination module 102 is configured to determine the color temperature value adjusted in each step based on the current color temperature and the target color temperature; wherein, the color temperature value adjusted in each step is the color temperature change amount corresponding to the chromaticity difference adjustment step size, and the chromaticity difference adjustment step size is a multiple of the preset color difference standard value of 1 JNCD;
[0117] The adjustment module 103 is configured to adjust the current color temperature of the display screen to the target color temperature based on the color temperature value adjusted in each step.
[0118] In some embodiments, the second determination module 102 is further configured to determine the chromaticity difference based on the current color temperature, the target color temperature, and the preset corresponding relationship; wherein, the preset corresponding relationship includes the mapping between the color temperature value and the chromaticity value; based on the chromaticity difference, determine the chromaticity difference adjustment step size; based on the chromaticity difference adjustment step size, determine the color temperature value adjusted in each step.
[0119] In some embodiments, the device further includes:
[0120] The third determination module 104 is configured to determine the initial chromaticity value of the preset initial color temperature value in the preset color space;
[0121] A fourth determination module 105, configured to determine different chromaticity values based on the initial chromaticity value and a preset chromaticity difference step size; wherein the preset chromaticity difference step size is a multiple of the 1JNCD;
[0122] A fifth determination module 106, configured to determine, for each chromaticity value among the different chromaticity values, a color temperature value corresponding thereto in the preset color space;
[0123] An obtaining module 107, configured to obtain the preset corresponding relationship based on the color temperature values corresponding to each chromaticity value including the initial chromaticity value.
[0124] In some embodiments, the preset chromaticity difference step size is 1JNCD.
[0125] In some embodiments, the second determination module 102 is further configured to, in the preset corresponding relationship, determine a first chromaticity value corresponding to the current color temperature and a second chromaticity value corresponding to the target color temperature; determine the difference between the first chromaticity value and the second chromaticity value as the chromaticity difference; and determine the ratio between the chromaticity difference and a preset adjustment time as the chromaticity difference adjusted per unit time.
[0126] In some embodiments, the first determination module 101 is further configured to obtain an ambient light color temperature through a color temperature sensor in the terminal; and determine the target color temperature to be adjusted according to the ambient light color temperature.
[0127] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.
[0128] Figure 4 It is a block diagram of a terminal device 800 shown according to an exemplary embodiment. For example, the device 800 may be a mobile phone with a display screen, etc.
[0129] Refer to Figure 4 , the 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.
[0130] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-described methods. Additionally, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0131] The memory 804 is configured to store various types of data to support the operation of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The 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 memory, flash memory, magnetic disks, or optical disks.
[0132] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0133] The multimedia component 808 includes a screen that provides an output interface between the 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 can be implemented as a touch screen 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 can not only sense the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0134] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
[0135] The I / O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a power button, and a lock button.
[0136] The sensor component 814 includes one or more sensors for providing an assessment of various aspects of the device 800. For example, the sensor component 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and a change in the temperature of the device 800. The sensor component 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 814 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0137] The communication component 816 is configured to facilitate communication between the device 800 and other devices in a wired or wireless manner. The device 800 can access a wireless network based on communication standards, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0138] In an exemplary embodiment, the apparatus 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 for performing the above method.
[0139] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, is also provided. The above instructions may be executed by a processor 820 of the apparatus 800 to complete the above method. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0140] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a terminal, enables the terminal to perform a color temperature adjustment method. The terminal has a display screen. The method includes:
[0141] Determine the current color temperature of the display screen and the target color temperature to be adjusted;
[0142] Based on the current color temperature and the target color temperature, determine the color temperature value for each adjustment step; wherein, the color temperature value for each adjustment step is the color temperature change amount corresponding to the chromaticity difference adjustment step, and the chromaticity difference adjustment step is a multiple of a preset color difference standard value of 1 JNCD;
[0143] Adjust the current color temperature of the display screen to the target color temperature based on the color temperature value for each adjustment step.
[0144] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0145] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A method for adjusting color temperature, characterized in that, Applied to a terminal including a display screen, the method includes: Determine the current color temperature of the display screen and the target color temperature to be adjusted; Based on the current color temperature, the target color temperature, and a preset corresponding relationship, determine the color temperature value for each adjustment step; wherein, the preset corresponding relationship includes a mapping between the color temperature value and the chromaticity value, and the color temperature value for each adjustment step is the color temperature change amount corresponding to the chromaticity difference adjustment step, and the chromaticity difference adjustment step is a multiple of the preset color difference standard value of 1 JNCD; Based on the color temperature value for each adjustment step, adjust the current color temperature of the display screen to the target color temperature.
2. The method according to claim 1, wherein The determining the color temperature value for each adjustment step based on the current color temperature, the target color temperature, and the preset corresponding relationship includes: Based on the current color temperature, the target color temperature, and the preset corresponding relationship, determine the chromaticity difference value; Based on the chromaticity difference value, determine the chromaticity difference adjustment step; Based on the chromaticity difference adjustment step, determine the color temperature value for each adjustment step.
3. The method according to claim 2, wherein The method further includes: Determine the initial chromaticity value of the preset initial color temperature value in the preset color space; Based on the initial chromaticity value and the preset chromaticity difference step, determine different chromaticity values; wherein, the preset chromaticity difference step is a multiple of the 1 JNCD; For each chromaticity value among the different chromaticity values, determine the color temperature value corresponding to the preset color space; Based on the color temperature values corresponding to the chromaticity values including the initial chromaticity value, obtain the preset corresponding relationship.
4. The method according to claim 3, wherein The determining the chromaticity difference value based on the current color temperature, the target color temperature, and the preset corresponding relationship includes: In the preset corresponding relationship, determine the first chromaticity value corresponding to the current color temperature and the second chromaticity value corresponding to the target color temperature; Determine the difference between the first chromaticity value and the second chromaticity value as the chromaticity difference value; The determining the adjustment step of the chromaticity difference based on the chromaticity difference value includes: Determine the chromaticity difference value adjusted per unit time by taking the ratio of the chromaticity difference value and the preset adjustment time.
5. The method according to claim 1, wherein The determining the target color temperature to be adjusted of the display screen includes: Obtain the ambient light color temperature through a color temperature sensor in the terminal; Based on the ambient light color temperature, determine the target color temperature to be adjusted.
6. A color temperature adjustment device, characterized in that, Applied to a terminal including a display screen, the device includes: A first determination module configured to determine the current color temperature of the display screen and the target color temperature to be adjusted; A second determination module configured to determine the color temperature value for each adjustment step based on the current color temperature, the target color temperature, and a preset corresponding relationship; wherein, the preset corresponding relationship includes a mapping between the color temperature value and the chromaticity value; the color temperature value for each adjustment step is the color temperature change amount corresponding to the chromaticity difference adjustment step, and the chromaticity difference adjustment step is a multiple of the preset color difference standard value of 1 JNCD; An adjustment module configured to adjust the current color temperature of the display screen to the target color temperature based on the color temperature value for each adjustment step.
7. According to the device of claim 6, characterized in that, The second determination module is further configured to determine a chromaticity difference based on the current color temperature, the target color temperature, and a preset correspondence relationship, where the preset correspondence relationship includes a mapping between a color temperature value and a chromaticity value; determine a chromaticity difference adjustment step size based on the chromaticity difference; and determine a color temperature value adjusted per step based on the chromaticity difference adjustment step size.
8. The device according to claim 7, characterized in that, The apparatus further comprises: a third determination module configured to determine an initial chromaticity value of a preset initial color temperature value in a preset color space; a fourth determination module configured to determine different chromaticity values based on the initial chromaticity value and a preset chromaticity difference step size, where the preset chromaticity difference step size is a multiple of the 1 JNCD; a fifth determination module configured to determine, for each chromaticity value among the different chromaticity values, a color temperature value corresponding thereto in the preset color space; an obtaining module configured to obtain the preset correspondence relationship based on the color temperature values corresponding to the chromaticity values including the initial chromaticity value.
9. The apparatus according to claim 8, wherein the second determination module is further configured to determine a first chromaticity value corresponding to the current color temperature and a second chromaticity value corresponding to the target color temperature in the preset correspondence relationship; and determine the difference between the first chromaticity value and the second chromaticity value as the chromaticity difference. Determine a chromaticity difference adjusted per unit time as the ratio between the chromaticity difference and a preset adjustment time.
10. The apparatus according to claim 6, wherein the first determination module is further configured to obtain an ambient light color temperature through a color temperature sensor in the terminal; and determine the target color temperature to be adjusted according to the ambient light color temperature.
11. A terminal, characterized in that, Comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the color temperature adjustment method according to any one of claims 1 to 5.
12. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the color temperature adjustment method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Display calibration method, device and system, computer equipment and storage medium
CN109903735A
Screen color conversion method and device, storage medium and electronic equipment
CN111508450A