Display control method and device, equipment, medium and program product

By using a 3D lookup table and gamma correction processing in the display device, the pixel values ​​of each pixel in the display screen are adjusted so that pixels in different grayscale ranges correspond to different target color temperatures. This solves the problem that the color temperature adjustment in the existing technology is not suitable for different grayscale distribution scenarios, and achieves consistency in color temperature adjustment of the display screen and improves the eye protection effect.

CN121600824APending Publication Date: 2026-03-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411131789.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Existing technologies cannot adapt to different grayscale distribution scenarios when adjusting display color temperature, resulting in large differences in the overall color temperature adjustment of the screen, inconsistent eye protection effects, and poor user experience.

Method used

By adjusting the pixel values ​​of each pixel in the display screen based on a three-dimensional lookup table in a preset display mode, pixels in different grayscale ranges correspond to different target color temperatures. Combined with gamma correction processing, adaptive adjustment of the display screen is achieved.

Benefits of technology

It achieves consistency in the overall color temperature adjustment of the display screen, improving eye protection and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121600824A_ABST
    Figure CN121600824A_ABST
Patent Text Reader

Abstract

The invention relates to a display control method and device, equipment, a medium and a program product, and the display control method comprises the steps: in a preset display mode, adjusting the pixel value of each pixel of a display picture based on first configuration information, so that the pixels in different gray scale ranges correspond to different target color temperatures, and the gray scale ranges are in positive correlation with the target color temperatures. Pixels in different gray scale ranges correspond to different target color temperatures, and the gray scale ranges are positively correlated with the target color temperatures, so that adaptive adjustment can be performed for different display pictures, the method is suitable for various different gray scale distribution scenes, the overall color temperature adjustment degree of the display pictures is kept consistent, the eye protection effect is ensured, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of screen display, specifically to a display control method, apparatus, device, medium, and program product. Background Technology

[0002] In recent years, with the continuous iteration and diversification of electronic devices, people are spending increasingly more time using them for work and entertainment. Prolonged viewing of electronic device screens can lead to eye strain and negatively impact users' vision, necessitating methods such as lowering the display color temperature of electronic devices to protect the eyes.

[0003] However, the display control methods using related technologies employ a fixed color temperature adjustment method for different display screens, which has problems such as being unsuitable for different grayscale distribution scenarios and having large differences in the overall color temperature adjustment degree of the screen, resulting in poor screen display effect and poor user experience. Summary of the Invention

[0004] To overcome the problems existing in related technologies, this disclosure provides a display control method, apparatus, device, medium, and program product.

[0005] According to a first aspect of the present disclosure, a display control method is provided, the display control method comprising:

[0006] In the preset display mode, based on the first configuration information, the pixel values ​​of each pixel in the display screen are adjusted so that pixels in different grayscale ranges correspond to different target color temperatures, and the grayscale range is positively correlated with the target color temperature.

[0007] In some embodiments of this disclosure, the first configuration information includes a three-dimensional lookup table, which is used to characterize the correspondence between the initial channel values ​​and the target channel values ​​of each color channel within a plurality of grayscale ranges.

[0008] In some embodiments of this disclosure, adjusting the pixel values ​​of each pixel in the display screen based on the first configuration information includes:

[0009] The following adjustment process is performed on each pixel of the displayed image:

[0010] Based on the gray level of the pixel, determine the gray level range in which the pixel is located;

[0011] Based on the grayscale range of the pixel, the initial channel values ​​of each color channel of the pixel, and the three-dimensional lookup table, determine the target channel values ​​of each color channel of the pixel.

[0012] The initial channel values ​​of each color channel of the pixel are converted into the target channel values.

[0013] In some embodiments of this disclosure, before adjusting the pixel values ​​of each pixel in the display screen, the display control method further includes:

[0014] Based on the grayscale information of the displayed image, adjust the first configuration information.

[0015] In some embodiments of this disclosure, the grayscale information includes the average grayscale of the displayed image;

[0016] Adjusting the first configuration information based on the grayscale information of the displayed image includes:

[0017] A first eye protection intensity parameter corresponding to the average gray level is determined, and the first eye protection intensity parameter is used to characterize the degree of color temperature reduction.

[0018] Based on the first eye protection intensity parameter, adjust the first configuration information.

[0019] In some embodiments of this disclosure, the display screen is divided into multiple partitions, and the grayscale information further includes the average grayscale of each partition;

[0020] The step of adjusting the first configuration information based on the first eye protection intensity parameter includes:

[0021] Based on the average gray level of each of the partitions, the first eye protection intensity parameter is adjusted to obtain the second eye protection intensity parameter corresponding to each partition;

[0022] Based on the second eye protection intensity parameter corresponding to each partition, the first configuration information corresponding to each partition is adjusted.

[0023] In some embodiments of this disclosure, adjusting the pixel values ​​of each pixel in the display screen includes:

[0024] The following adjustment process is performed on the pixels of each partition:

[0025] Based on the first configuration information corresponding to the partition, adjust the pixel values ​​of each pixel in the partition.

[0026] In some embodiments of this disclosure, adjusting the pixel values ​​of each pixel in the display screen further includes:

[0027] Gamma correction is performed on each pixel of the displayed image.

[0028] In some embodiments of this disclosure, the gamma correction processing of each pixel of the displayed image includes:

[0029] For each pixel below the preset low grayscale threshold range, the following processing procedure is performed:

[0030] Determine the low grayscale target correction coefficients for each color channel corresponding to the grayscale of the pixel;

[0031] Based on the low grayscale target correction coefficients of each color channel, gamma correction is performed on the target channel values ​​of the pixel.

[0032] In some embodiments of this disclosure, the low grayscale target correction coefficients for each color channel corresponding to each grayscale level located below the preset low grayscale threshold range are determined in the following manner:

[0033] Based on the second configuration information, the initial correction coefficients for each color channel corresponding to the grayscale are determined, and the initial correction coefficients are used to reduce the color temperature of the corresponding color channel.

[0034] Based on the color channel values ​​of each color channel corresponding to the grayscale, the scaling factor corresponding to each color channel is determined. The scaling factor corresponding to each color channel is less than 1, and the scaling factor corresponding to the blue channel, green channel and red channel in each color channel decreases in sequence.

[0035] Based on the scaling factor and the initial correction factor corresponding to each color channel, the low grayscale target correction factor for each color channel is determined.

[0036] In some embodiments of this disclosure, determining the scaling factor corresponding to each color channel based on the color channel values ​​of each color channel corresponding to the grayscale includes:

[0037] Based on the color channel values ​​of each color channel of the grayscale, the scaling factor corresponding to the blue channel is determined;

[0038] Based on the scaling factor corresponding to the blue channel, the scaling factor corresponding to the green channel is determined, and the scaling factor corresponding to the green channel is less than the scaling factor corresponding to the blue channel;

[0039] Based on the reduction coefficient corresponding to the green channel, the reduction coefficient corresponding to the red channel is determined, and the reduction coefficient corresponding to the red channel is less than the reduction coefficient corresponding to the green channel.

[0040] In some embodiments of this disclosure, the second configuration information includes a color temperature conversion matrix.

[0041] In some embodiments of this disclosure, the gamma correction processing of each pixel of the displayed image further includes:

[0042] For each pixel that is equal to or higher than the preset low grayscale threshold range, the following processing procedure is performed:

[0043] Gamma correction is performed on the pixel based on the preset default target correction coefficient.

[0044] In some embodiments of this disclosure, before performing gamma correction processing on each pixel of the displayed image, the display control method further includes:

[0045] Based on the grayscale information of the displayed image, a third eye protection intensity parameter is determined, which is used to characterize the degree of color temperature reduction.

[0046] Before performing gamma correction on the target channel values ​​of the pixel based on the low grayscale target correction coefficients of each color channel, the gamma correction processing on each pixel of the displayed image further includes:

[0047] Based on the third eye protection intensity parameter, adjust the low grayscale target correction coefficient;

[0048] Before performing gamma correction on the pixel based on the preset default target correction coefficient, the gamma correction processing for each pixel of the displayed image further includes:

[0049] Based on the third eye protection intensity parameter, the preset default target correction coefficient is adjusted.

[0050] In some embodiments of this disclosure, the grayscale information includes the average grayscale of the displayed image, and the third eye protection intensity parameter is determined based on the average grayscale of the displayed image.

[0051] In some embodiments of this disclosure, the display screen is divided into multiple zones, and the grayscale information includes the average grayscale of the display screen and the average grayscale of each zone. Determining the third eye protection intensity parameter based on the grayscale information of the display screen includes:

[0052] Based on the average grayscale of the displayed image, a fourth eye protection intensity parameter is determined, which is used to characterize the degree of color temperature reduction.

[0053] Based on the average grayscale of each partition and the fourth eye protection intensity parameter, the third eye protection intensity parameter corresponding to each partition is determined.

[0054] In some embodiments of this disclosure, adjusting the low grayscale target correction coefficient based on the third eye protection intensity parameter includes:

[0055] Based on the third eye protection intensity parameter corresponding to each of the partitions, adjust the low grayscale target correction coefficient corresponding to each of the partitions;

[0056] The step of adjusting the preset default target correction coefficient based on the third eye protection intensity parameter includes:

[0057] Based on the third eye protection intensity parameter corresponding to each partition, the preset default target correction coefficient corresponding to each partition is adjusted.

[0058] In some embodiments of this disclosure, the step of performing gamma correction on the target channel values ​​of the pixel based on the low grayscale target correction coefficients of each color channel includes:

[0059] Determine the partition to which the pixel belongs;

[0060] Based on the low grayscale target correction coefficients of each color channel corresponding to the partition, gamma correction is performed on each target channel value of the pixel.

[0061] The step of performing gamma correction on the pixel based on a preset default target correction coefficient includes:

[0062] Determine the partition to which the pixel belongs;

[0063] Based on the preset default target correction coefficient corresponding to the partition to which it belongs, gamma correction is performed on the pixel.

[0064] According to a second aspect of the present disclosure, a display control device is provided, the display control device comprising:

[0065] An adjustment module is used to adjust the pixel values ​​of each pixel in the display screen based on first configuration information under a preset display mode, so that pixels in different grayscale ranges correspond to different target color temperatures, wherein the grayscale range is positively correlated with the target color temperature.

[0066] According to a third aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0067] processor;

[0068] Memory used to store processor-executable instructions;

[0069] The processor is configured to execute the display control method as described in the first aspect.

[0070] 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 control method as described in the first aspect.

[0071] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the display control method as described in the first aspect.

[0072] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: pixels in different grayscale ranges correspond to different target color temperatures, and the grayscale range is positively correlated with the target color temperature. This enables adaptive adjustment for different display screens, is applicable to a variety of different grayscale distribution scenarios, keeps the overall color temperature adjustment of the display screen consistent, ensures eye protection, and improves the user experience.

[0073] 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

[0074] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0075] Figure 1 This is a flowchart illustrating a display control method according to an exemplary embodiment.

[0076] Figure 2 This is a flowchart illustrating an adjustment process performed on each pixel of a display screen according to an exemplary embodiment.

[0077] Figure 3 This is a flowchart illustrating the adjustment of first configuration information based on grayscale information of a display screen, according to an exemplary embodiment.

[0078] Figure 4 This is a flowchart illustrating, according to an exemplary embodiment, the adjustment of first configuration information based on a first eye protection intensity parameter.

[0079] Figure 5 This is a flowchart illustrating, according to an exemplary embodiment, the processing performed on each pixel below a preset low grayscale threshold range.

[0080] Figure 6 This is a flowchart illustrating, according to an exemplary embodiment, the process of determining the low grayscale target correction coefficients for each color channel corresponding to each grayscale level located below a preset low grayscale threshold.

[0081] Figure 7 It is a flowchart illustrating, according to an exemplary embodiment, the determination of the scaling factor corresponding to each color channel based on the color channel values ​​of each color channel corresponding to the grayscale.

[0082] Figure 8 This is a flowchart illustrating, according to an exemplary embodiment, the determination of a third eye protection intensity parameter based on grayscale information of a displayed image.

[0083] Figure 9This is a flowchart illustrating gamma correction of the target channel values ​​of a pixel based on the low grayscale target correction coefficients of each color channel, according to an exemplary embodiment.

[0084] Figure 10 This is a flowchart illustrating gamma correction of a pixel based on a preset default target correction coefficient, according to an exemplary embodiment.

[0085] Figure 11 This is a flowchart illustrating a display control method according to another exemplary embodiment.

[0086] Figure 12 This is a block diagram of a display control device according to an exemplary embodiment.

[0087] Figure 13 This is a block diagram of an electronic device according to an exemplary embodiment.

[0088] In the picture:

[0089] 10-Adjustment module; 101-Processing component; 102-Memory; 103-Power component; 104-Multimedia component; 105-Audio component; 106-Input / output interface; 107-Sensor component; 108-Communication component; 109-Processor. Detailed Implementation

[0090] 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 the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.

[0091] In recent years, with the upgrading and development of diverse functions of electronic devices, such as mobile phones and laptops, electronic devices have gradually become an indispensable part of people's daily lives and work, resulting in a continuous increase in the usage time of electronic devices. In pursuit of vivid display effects, electronic devices have a large color gamut, and the displayed spectrum also has a certain degree of distribution in the harmful blue light region. Staring at the display screen of electronic devices for a long time will lead to visual fatigue and problems such as decreased vision.

[0092] To address the aforementioned issues, related technologies employ methods such as lowering the display color temperature to reduce the proportion of blue light, thereby achieving the goal of eye protection.

[0093] However, when adjusting the color temperature using related display control methods, the same parameters and fixed color temperature adjustment methods are used to adjust the color temperature of the entire display screen for different display screens and grayscale distribution scenarios. This cannot make adaptive adjustments for different grayscale distribution scenarios. For display screens with a wide grayscale distribution, the overall color temperature adjustment degree of the screen varies too much, resulting in inconsistent eye protection effects, poor screen display effect, and poor user experience.

[0094] Based on this, an exemplary embodiment of this disclosure provides a display control method. In a preset display mode, the pixel values ​​of each pixel in the display screen are adjusted according to first configuration information, enabling pixels within different grayscale ranges to correspond to different target color temperatures, thereby achieving color temperature adjustment of the display screen. Pixels within different grayscale ranges correspond to different target color temperatures, and the grayscale range is positively correlated with the target color temperature. This allows for adaptive adjustment for different display screens, making it suitable for various grayscale distribution scenarios. It ensures that the overall color temperature adjustment of the display screen remains consistent, guaranteeing eye protection and improving the user experience.

[0095] In one exemplary embodiment, a display control method is provided, applied to a display device, which may include, for example, a mobile phone, tablet computer, laptop computer, or other device with screen display capabilities. (See reference) Figure 1 As shown, the display control method includes:

[0096] S100. In the preset display mode, based on the first configuration information, the pixel values ​​of each pixel in the display screen are adjusted so that pixels in different grayscale ranges correspond to different target color temperatures, and the grayscale range is positively correlated with the target color temperature.

[0097] In step S100, the preset display mode can be, for example, an eye-protection mode that requires color temperature adjustment to achieve an eye-protection effect. The preset display mode can be activated by the user performing a preset operation, or it can be automatically activated after the display screen has been on for a preset time. The first configuration information can be stored in the storage space of the display device. The first configuration information can represent the correspondence between pixel values ​​before and after adjustment. The first configuration information can also be dynamically adjusted according to different scenes and control modes. The first configuration information can include, for example, a three-dimensional lookup table or a color temperature conversion matrix.

[0098] In the preset display mode, the pixel values ​​of each pixel in the display screen can be adjusted according to the first configuration information. The pixel values ​​of each pixel can include information representing the pixel's color, brightness, or grayscale, such as the channel values ​​of the RGB color channels. After adjusting the pixel values ​​according to the first configuration information, the color temperature of each pixel changes accordingly, achieving color temperature adjustment for the entire display screen. Furthermore, it allows pixels within different grayscale ranges to correspond to different target color temperatures. These different grayscale ranges can be, for example, multiple consecutive grayscale ranges. Pixels within a grayscale range with higher low and high grayscale thresholds will have a higher target color temperature after pixel value adjustment; that is, pixels with higher brightness levels will have a higher adjusted target color temperature. This ensures that the degree of color temperature adjustment (i.e., the magnitude of color temperature reduction) for pixels within different grayscale ranges remains roughly consistent, thus guaranteeing the color temperature adjustment effect.

[0099] For example, for a display screen with a 12-bit brightness linear space, each pixel of the display screen can be divided into four grayscale ranges: 0–1024, 1025–2048, 2049–3072, and 3073–4095. After pixel value adjustment according to the first configuration information, the pixels in the four grayscale ranges can respectively correspond to the target color temperatures tgt_CCT1, tgt_CCT2, tgt_CCT3, and tgt_CCT4, and tgt_CCT1… <tgt_CCT2<tgt_CCT3<tgt_CCT4。

[0100] In this embodiment, under a preset display mode, the pixel values ​​of each pixel in the display screen are adjusted according to the first configuration information. This allows pixels within different grayscale ranges to correspond to different target color temperatures, thus achieving color temperature adjustment of the display screen. Since pixels within different grayscale ranges correspond to different target color temperatures, and the grayscale range is positively correlated with the target color temperature, adaptive adjustments can be made for different display screens. This is applicable to various grayscale distribution scenarios, ensuring a consistent overall color temperature adjustment level for the display screen, guaranteeing eye protection, and improving the user experience.

[0101] In some embodiments, the first configuration information includes a three-dimensional lookup table, which is used to characterize the correspondence between the initial channel values ​​and the target channel values ​​of each color channel in multiple grayscale ranges.

[0102] The first configuration information may include a 3D Look-Up Table (3DLUT). A 3D Look-Up Table is a tool for image color correction and color management, enabling precise adjustment of image color and brightness through a mapping relationship in a three-dimensional color space. The 3D Look-Up Table can represent the mapping relationship between the initial channel values ​​and target channel values ​​of each color channel (R channel, G channel, and B channel) within multiple grayscale ranges. For example, the 3D Look-Up Table may include multiple nodes, each corresponding to six columns of data: the initial channel values ​​and the corresponding target channel values ​​for the R, G, and B channels. Based on the grayscale range of a pixel and the initial channel values ​​of each color channel, the target channel value corresponding to the initial channel value of each color channel can be determined using the 3D Look-Up Table. Since the color temperature changes when the channel values ​​of each color channel of a pixel change, the conversion of the channel values ​​of each color channel can be used as a method to adjust the pixel values, thereby adjusting the color temperature of the displayed image.

[0103] In this embodiment, a three-dimensional lookup table is used as the first configuration information. This allows the display device to convert the channel values ​​of each color channel of a pixel using the three-dimensional lookup table, which represents the mapping relationship between the initial channel values ​​and target channel values ​​of each color channel. This enables the adjustment of pixel values ​​and color temperature of the displayed image, providing strong compatibility and fast response. The three-dimensional lookup table can represent the mapping relationship between the initial channel values ​​and target channel values ​​of each color channel across multiple grayscale ranges. Pixels located in different grayscale ranges can achieve precise adjustment of the color temperature of the image to be displayed through the first configuration information, ensuring that the overall color temperature adjustment of the displayed image remains consistent, guaranteeing eye protection, and improving the user experience.

[0104] In some embodiments, adjusting the pixel values ​​of each pixel in the display screen based on the first configuration information includes: performing the following operations on each pixel of the display screen as follows: Figure 2 The adjustment process shown:

[0105] S110. Based on the gray level of the pixel, determine the gray level range in which the pixel is located.

[0106] In step S110, for each pixel of the display screen, the grayscale range of the pixel can be determined based on the grayscale of the pixel.

[0107] S120. Based on the grayscale range of the pixel, the initial channel values ​​of each color channel of the pixel, and the three-dimensional lookup table, determine the target channel values ​​of each color channel of the pixel.

[0108] In step S120, after determining the grayscale range of the pixel, the target channel value corresponding to the initial channel value of each color channel of the pixel can be determined by using a three-dimensional lookup table based on the grayscale range of the pixel and the initial channel value of each color channel of the pixel.

[0109] S130: Convert the initial channel values ​​of each color channel of the pixel to the target channel values.

[0110] In step S130, the initial channel values ​​of each color channel of the pixel are converted into target channel values. This conversion is achieved using a three-dimensional lookup table, meaning the pixel value is adjusted using the first configuration information. Since the conversion of the channel values ​​of each color channel changes the color temperature of the pixel, the pixel color temperature is adjusted, resulting in different target color temperatures for pixels within different grayscale ranges.

[0111] In this embodiment, for each pixel of the displayed image, the grayscale range of the pixel is determined based on its grayscale value. Then, based on the grayscale range of the pixel, the initial channel values ​​of each color channel of the pixel, and a three-dimensional lookup table, the target channel values ​​of each color channel of the pixel are determined. Finally, the initial channel values ​​of each color channel of the pixel are converted into target channel values. This realizes the conversion of the channel values ​​of each color channel of each pixel of the displayed image. It can complete the adjustment of pixel values ​​and color temperature when the three-dimensional lookup table is used as the first configuration information, and make pixels in different grayscale ranges correspond to different target color temperatures. It is applicable to a variety of different grayscale distribution scenarios, so that the overall color temperature adjustment of the displayed image remains consistent, ensuring eye protection and improving the user experience.

[0112] Before adjusting the pixel values ​​of each pixel in the display screen according to the first configuration information, the overall grayscale level of the display screen will affect the overall perceived color temperature of the display screen. For example, a display screen with a lower overall grayscale level corresponds to a higher overall perceived color temperature, requiring a greater reduction in color temperature to achieve the target color temperature after adjustment. If the pixel values ​​of each pixel are adjusted using the pre-stored and fixed first configuration information for any display screen with an arbitrary overall grayscale level, the adjusted target color temperature may deviate from the actual requirements, resulting in poor eye protection.

[0113] To address the aforementioned issues, in some embodiments, before adjusting the pixel values ​​of each pixel in the display screen, the display control method further includes: adjusting the first configuration information based on the grayscale information of the display screen.

[0114] The grayscale information of the displayed image represents the overall grayscale level of the image. Before adjusting the pixel values ​​of each pixel in the displayed image, the first configuration information can be adjusted based on the grayscale information to ensure that the first configuration information is compatible with the current overall grayscale level of the displayed image, thus guaranteeing that the first configuration information achieves a color temperature adjustment level that is compatible with the overall grayscale level. For example, the correspondence represented by the three-dimensional lookup table can be adjusted based on the grayscale information of the displayed image. Subsequently, the pixel values ​​of each pixel in the displayed image can be adjusted based on the adjusted first configuration information, so that the target color temperature of each pixel after adjustment can be adapted to the overall eye protection requirements of the displayed image.

[0115] In this embodiment, before adjusting the pixel values ​​of each pixel in the display screen, the first configuration information is adjusted according to the grayscale information of the display screen, so that the first configuration information can be adapted to the current overall grayscale level of the display screen. Subsequently, when adjusting the color temperature according to the first configuration information, the degree of color temperature adjustment can correspond to the overall grayscale level of the display screen, ensuring that the target color temperature of each pixel after pixel value adjustment is adapted to the overall eye protection requirements before adjustment, thereby improving the overall eye protection effect of the display screen and the user experience.

[0116] In some embodiments, grayscale information includes the average grayscale of the displayed image, i.e., the average grayscale value of each pixel within the displayed image, with reference to... Figure 3 As shown, based on the grayscale information of the displayed image, the first configuration information is adjusted, including:

[0117] S210. Determine the first eye protection intensity parameter corresponding to the average gray level. The first eye protection intensity parameter is used to characterize the degree of color temperature reduction.

[0118] In step S210, a first eye protection intensity parameter corresponding to the average grayscale of the displayed image can be determined based on the grayscale information including the average grayscale of the displayed image. The first eye protection intensity parameter is used to characterize the degree of color temperature reduction. The average grayscale of the displayed image is negatively correlated with the first eye protection intensity parameter, that is, the smaller the average grayscale of the displayed image, the higher the overall perceived color temperature of the displayed image, and the greater the degree of color temperature reduction achieved after adjusting the pixel values ​​of each pixel through the first configuration information. For example, the grayscale of the display screen in the 12-bit luminance linear space can be converted into the grayscale of the image format, that is, the grayscale range of 0 to 4095 can be converted into the grayscale range of 0 to 255, so that the average grayscale of the display screen is within the grayscale range of 0 to 255. The average grayscale of the display screen is divided into five grayscale ranges: 0 to 50, 51 to 100, 100 to 150, 150 to 200, and 200 to 255. When the average grayscale of the display screen is within the grayscale ranges of 0 to 50, 51 to 100, 100 to 150, 150 to 200, and 200 to 255, respectively, it can correspond to the first eye protection intensity parameters of 5, 4, 3, 2, and 1.

[0119] S220, Based on the first eye protection intensity parameter, adjust the first configuration information.

[0120] In step S220, the first configuration information can be adjusted according to the first eye protection intensity parameter so that the degree of color temperature reduction achieved after adjusting the pixel values ​​of each pixel of the display screen according to the first configuration information can be adapted to the average grayscale of the display screen. For example, if the first eye protection intensity parameter corresponding to the display screen is higher, it means that the degree of color temperature reduction required for the entire display screen is greater, and the difference between the channel values ​​of each color channel represented by the three-dimensional lookup table before and after the conversion needs to be adjusted to be greater.

[0121] In this embodiment, by determining the first eye protection intensity parameter corresponding to the average grayscale, the first configuration information can be adjusted according to the first eye protection intensity parameter. This allows the degree of color temperature reduction achieved after adjusting the pixel values ​​of each pixel in the display screen according to the first configuration information to be compatible with the average grayscale of the display screen. This achieves the adjustment of the global eye protection effect, ensuring that the target color temperature of each pixel after pixel value adjustment is compatible with the overall eye protection requirements, thereby improving the overall eye protection effect and user experience of the display screen.

[0122] In some embodiments, the display screen is divided into multiple partitions, and the grayscale information also includes the average grayscale of each partition.

[0123] The display screen can be divided into multiple partitions of the same shape and size according to the screen display resolution. The grayscale information also includes the average grayscale of each partition, that is, the average grayscale of each pixel in each partition. For example, the display screen can be divided into 24 rectangular partitions of the same size.

[0124] refer to Figure 4 As shown, based on the first eye protection intensity parameter, the first configuration information is adjusted, including:

[0125] S221. Based on the average grayscale of each partition, adjust the first eye protection intensity parameter to obtain the second eye protection intensity parameter corresponding to each partition.

[0126] In step S221, the first eye protection intensity parameter corresponds to the average grayscale of the entire display screen. To ensure that the degree of color temperature reduction at different locations matches the grayscale level of that location, the first eye protection intensity parameter needs to be adjusted according to the average grayscale of each partition to obtain the second eye protection intensity parameter corresponding to each partition. The second eye protection intensity parameter is used to characterize the degree of color temperature reduction of the corresponding partition. The average grayscale of each partition is negatively correlated with the second eye protection intensity parameter of that partition. That is, the smaller the average grayscale of the partition, the higher the perceived color temperature of the partition, and the greater the degree of color temperature reduction achieved after adjusting the pixel values ​​of each pixel through the first configuration information. For example, the average gray level of a partition can be redivided into five gray level ranges: 0-40, 41-80, 81-140, 141-180, and 181-255. When the average gray level of a partition is in the gray level range of 0-40, 41-80, 81-140, 141-180, and 181-255, respectively, it corresponds to the second eye protection intensity parameters of 5, 4, 3, 2, and 1.

[0127] S222. Based on the second eye protection intensity parameter corresponding to each partition, adjust the first configuration information corresponding to each partition.

[0128] In step S222, the first configuration information corresponding to each partition is adjusted according to the second eye protection intensity parameter corresponding to each partition, so that the degree of color temperature reduction achieved after adjusting the pixel values ​​of each pixel in the partition according to the first configuration information corresponding to each partition can be adapted to the average grayscale of the partition. For example, if the second eye protection intensity parameter corresponding to the partition is higher, it means that the degree of color temperature reduction required for the partition is greater, and then the difference between the channel values ​​of each color channel represented by the three-dimensional lookup table corresponding to the partition before and after the conversion needs to be adjusted to be greater.

[0129] In this embodiment, the first eye protection intensity parameter is adjusted according to the average grayscale of each partition to obtain the second eye protection intensity parameter corresponding to each partition. Based on the second eye protection intensity parameter corresponding to each partition, the first configuration information corresponding to each partition can be adjusted so that the degree of color temperature reduction achieved after adjusting the pixel value of each pixel in each partition according to the first configuration information corresponding to each partition can be adapted to the average grayscale of each partition. This realizes the adjustment of local eye protection effect, ensures that the target color temperature of each pixel after pixel value adjustment is adapted to the local eye protection needs, and improves the eye protection effect and user experience of each partition.

[0130] In some embodiments, adjusting the pixel values ​​of each pixel in the display screen includes: performing the following adjustment process for each pixel of each partition: adjusting the pixel values ​​of each pixel in the partition based on the first configuration information corresponding to the partition.

[0131] As mentioned earlier, after adjusting the first configuration information corresponding to each partition based on the second eye protection intensity parameter, if there are significant differences in the average grayscale of each partition, the second eye protection intensity parameter for each partition may be different, resulting in different adjusted first configuration information for each partition. When adjusting the pixel values ​​of each pixel in the display screen according to the first configuration information, it is necessary to adjust the pixel values ​​of each pixel in each partition separately according to the first configuration information corresponding to each partition, so that the degree of color temperature reduction achieved after adjusting the pixel values ​​of each pixel in each partition according to the first configuration information corresponding to each partition can be adapted to the average grayscale of each partition. A partition with a lower average grayscale has a higher perceived color temperature, and the corresponding second eye protection intensity parameter is larger. The degree of color temperature reduction after adjusting the pixel values ​​of the first configuration information adjusted according to the second eye protection intensity parameter for that partition is greater. Conversely, a partition with a higher average grayscale has a lower overall perceived color temperature, and the corresponding second eye protection intensity parameter is smaller. The degree of color temperature reduction after adjusting the pixel values ​​of the first configuration information adjusted according to the second eye protection intensity parameter for that partition is smaller.

[0132] In this embodiment, when adjusting the pixel values ​​of each pixel in the display screen, the pixel values ​​of each pixel in each partition are adjusted according to the first configuration information corresponding to each partition. This enables the degree of color temperature reduction achieved after adjusting the pixel values ​​of each pixel in each partition according to the first configuration information corresponding to each partition to be compatible with the average grayscale of each partition. This achieves the adjustment of local eye protection effect, ensuring that the target color temperature of each pixel after pixel value adjustment is compatible with local eye protection needs, thereby improving the eye protection effect and user experience of each partition.

[0133] In some embodiments, adjusting the pixel values ​​of each pixel in the display screen further includes performing gamma correction processing on each pixel in the display screen.

[0134] When adjusting the pixel values ​​of each pixel in the display screen, gamma correction can also be performed on each pixel. Gamma correction is a non-linear brightness adjustment method used in image processing, primarily aimed at improving image contrast and overall brightness distribution. Gamma correction can involve performing a power-law function transformation on the pixel values ​​of each pixel in the display screen. By adjusting the gamma value, the brightness and contrast of the image can be effectively changed, thereby achieving the effect of adjusting the color temperature of the display screen. For example, after converting the channel values ​​of each pixel in the display screen according to a three-dimensional lookup table for each color channel, a power-law function transformation based on a certain gamma value can be performed on the converted channel values ​​to achieve gamma correction.

[0135] In this embodiment, when adjusting the pixel values ​​of each pixel in the display screen, gamma correction processing is performed on each pixel in the display screen to further change the brightness, contrast and other characteristics of the image, thereby further adjusting the color temperature of the display screen, making the display screen more in line with the perceptual characteristics of the human eye, improving the overall visual experience of the display screen, and thus enhancing the display screen quality and the user's visual experience.

[0136] As mentioned earlier, a three-dimensional lookup table can be used to convert the channel values ​​of each color channel of a pixel within different grayscale ranges. However, due to the characteristics of the three-dimensional lookup table and the hardware limitations of the display device, the brightness node of the three-dimensional lookup table in the 12-bit linear brightness space can only start from 256, and for image format grayscale, it can only start from grayscale 72. The correspondence between the initial channel value and the target channel value of each color channel in the low-brightness part below this threshold can only be obtained by interpolation calculation based on other brightness nodes. The calculation result is inaccurate and cannot accurately control the color temperature adjustment of pixels in this grayscale range.

[0137] To address the aforementioned issues, in some embodiments, gamma correction processing is performed on each pixel of the displayed image, including: for each pixel below a preset low grayscale threshold range, the following steps are performed: Figure 5 The processing procedure shown is as follows:

[0138] S310. Determine the low grayscale target correction coefficients for each color channel corresponding to the grayscale of the pixel.

[0139] In step S310, the low grayscale threshold of the 12-bit luminance linear space can be 256. For each pixel in the display screen with a grayscale below 256, the low grayscale target correction coefficient of each color channel corresponding to the grayscale of the pixel is determined, that is, the low grayscale target correction coefficient of the R channel, G channel and B channel corresponding to the grayscale of the pixel. The low grayscale target correction coefficient of each color channel is the gamma value when the channel value of each color channel of the pixel is converted by the power law function.

[0140] S320. Based on the low grayscale target correction coefficients of each color channel, perform gamma correction on the target channel values ​​of the pixel.

[0141] In step S320, after determining the target channel value of each color channel according to the three-dimensional lookup table and converting the initial channel value of each color channel of the pixel into the target channel value, for pixels with a first preset low grayscale threshold, gamma correction is performed on the target channel value of each color channel of the pixel according to the low grayscale target correction coefficient of each color channel corresponding to the grayscale of the pixel, so as to further adjust the color temperature by adjusting the target channel value. For example, for each pixel below the preset low grayscale threshold range, the target channel value of each color channel of the pixel can be gamma corrected by the following formula (1):

[0142]

[0143] Wherein, RGB_lut_in and RGB_pic are the target channel values ​​of each color channel of the pixel before and after gamma correction, respectively, and gamma_out is the low-grayscale target correction coefficient corresponding to each color channel of the pixel. By determining the low-grayscale target correction coefficients of each color channel corresponding to the grayscale of the pixel, and performing gamma correction on the target channel values ​​of the pixel based on the low-grayscale target correction coefficients of each color channel, the problem of inaccurate target channel values ​​of pixels below the preset low-grayscale threshold can be solved, thereby achieving precise control of the color temperature of these pixels.

[0144] In this embodiment, for each pixel below the preset low grayscale threshold range, the low grayscale target correction coefficient of each color channel corresponding to the grayscale of the pixel is determined, and gamma correction is performed on each target channel value of the pixel based on the low grayscale target correction coefficient of each color channel. Based on the conversion between the initial channel value and the target channel value of each color channel, the target channel value of each color channel is further adjusted, which solves the problem of inaccurate target channel values ​​of pixels with grayscale below the preset low grayscale threshold, realizes precise adjustment of color temperature of these pixels, and improves user experience.

[0145] In some embodiments, reference Figure 6 As shown, the target low grayscale correction coefficients for each color channel corresponding to each grayscale level located below the preset low grayscale threshold are determined in the following manner:

[0146] S410. Based on the second configuration information, determine the initial correction coefficients for each color channel corresponding to the grayscale. The initial correction coefficients are used to reduce the color temperature of the corresponding color channel.

[0147] In step S410, the second configuration information can be stored in the storage space of the display device or the test system. The second configuration information can characterize the correspondence between different gray levels and the initial correction coefficients of each color channel. For each gray level below a preset low gray level threshold range, the initial correction coefficients of each color channel corresponding to that gray level can be determined according to the second configuration information. The initial correction coefficients of each color channel are the initial gamma values ​​when the channel values ​​of each color channel are transformed by a power law function. The initial correction coefficients of each color channel are used to reduce the color temperature of the corresponding color channel. For example, the initial correction coefficients Rgamma_in, Ggamma_in, and Bgamma_in of the R channel, G channel, and B channel corresponding to that gray level can be determined according to the second configuration information.

[0148] S420. Based on the color channel values ​​of each color channel corresponding to the grayscale, determine the scaling factor corresponding to each color channel. The scaling factor corresponding to each color channel is less than 1, and the scaling factor corresponding to the blue channel, green channel and red channel in each color channel decreases in sequence.

[0149] In step S420, the color channel value of each color channel is the standard channel value of each color channel at that grayscale. Different grayscales correspond to different color channel values ​​for each color channel. Based on the color channel values ​​of each color channel corresponding to that grayscale, a scaling factor corresponding to each color channel can be determined. This scaling factor is used to reduce the correction coefficient of each color channel. All scaling factors corresponding to each color channel are less than 1, and the scaling factors for the blue, green, and red channels decrease sequentially, thus reducing the degree of reduction in the correction coefficients of the blue, green, and red channels sequentially, thereby minimizing the harm of harmful blue light to the human eye. For example, based on the color channel values ​​of the R, G, and B channels corresponding to that grayscale, scaling factors decrease_ratioR, decrease_ratioG, and decrease_ratioB corresponding to the R, G, and B channels can be determined, ensuring that all three are less than 1 and decrease_ratioB > decrease_ratioG > decrease_ratioR.

[0150] S430. Based on the scaling factor and initial correction factor corresponding to each color channel, determine the target correction factor for the low grayscale of each color channel.

[0151] In step S430, the low grayscale target correction coefficients Rgamma_out, Ggamma_out, and Bgamma_out of the R, G, and B channels can be determined based on the proportional reduction coefficients decrease_ratioR, decrease_ratioG, and decrease_ratioB corresponding to the R, G, and B channels, as well as the initial correction coefficients Rgamma_in, Ggamma_in, and Bgamma_in. This achieves the determination of the low grayscale target correction coefficients for each color channel corresponding to each grayscale level below the preset low grayscale threshold. The low grayscale target correction coefficients Rgamma_out, Ggamma_out, and Bgamma_out of the R, G, and B channels can be determined, for example, by formulas (2), (3), and (4) as shown below:

[0152] Rgamma_out=Rgamma_in*decrease_ratioR(2)

[0153] Ggamma_out=Ggamma_in*decrease_ratioG(3)

[0154] Bgamma_out=Bgamma_in*decrease_ratioB(4)

[0155] It should be noted that the determination of the low grayscale target correction coefficients for each color channel corresponding to each grayscale level below the preset low grayscale threshold range can be performed on the display device or the testing system. The determined results can be stored in the storage space of the display device in advance, so that the display device can determine the low grayscale target correction coefficients for each color channel corresponding to the grayscale level based on the grayscale of the pixel.

[0156] In this embodiment, for each grayscale level below the preset low grayscale threshold range, the initial correction coefficient of each color channel corresponding to that grayscale level is determined according to the second configuration information. Then, based on the color channel values ​​of each color channel corresponding to that grayscale level, the proportional reduction coefficient corresponding to each color channel is determined. Finally, based on the proportional reduction coefficient and the initial correction coefficient, the low grayscale target correction coefficient of each color channel is determined. This achieves the determination of the low grayscale target correction coefficient of each color channel corresponding to each grayscale level, enabling the determination of the low grayscale target correction coefficient of each color channel corresponding to the pixel's grayscale level during gamma correction processing, providing a basis for gamma correction of each target channel value of the pixel. The proportional reduction coefficients corresponding to each color channel are all less than 1, and the proportional reduction coefficients corresponding to the blue, green, and red channels decrease sequentially. This results in a sequential decrease in the reduction degree of the correction coefficients for the blue, green, and red channels, thereby minimizing the harm of harmful blue light to the human eye, further ensuring eye protection, and improving the user experience.

[0157] In some embodiments, reference Figure 7 As shown, based on the color channel values ​​of each color channel corresponding to this grayscale, the scaling factor for each color channel is determined, including:

[0158] S421. Based on the color channel values ​​of each color channel of this grayscale, determine the scaling factor corresponding to the blue channel.

[0159] In step S421, the scaling factor corresponding to the blue channel is determined based on the color channel values ​​of each color channel of the grayscale. For example, the scaling factor decrease_ratioB corresponding to the blue channel can be determined according to the following formula (5):

[0160] decrease_ratioB=1 / F(R,G,B)(5)

[0161] F(R, G, B) is used to characterize the preset function corresponding to the color channel values ​​R, G, and B of each color channel. The preset function can characterize the magnitude of the color channel value of each color channel. The smaller the color channel value of each color channel, the larger the reduction coefficient of the blue channel.

[0162] S422. Based on the scaling factor corresponding to the blue channel, determine the scaling factor corresponding to the green channel. The scaling factor corresponding to the green channel is less than the scaling factor corresponding to the blue channel.

[0163] In step S422, the ratio reduction coefficient decrease_ratioG corresponding to the green channel can be determined according to the determined ratio reduction coefficient decrease_ratioB corresponding to the blue channel, and decrease_ratioG < decrease_ratioB. Exemplarily, for example, the ratio reduction coefficient decrease_ratioB corresponding to the blue channel can be reduced by a certain ratio or difference to obtain the ratio reduction coefficient decrease_ratioG corresponding to the green channel. The ratio reduction coefficient decrease_ratioG corresponding to the green channel can also be adjusted according to F(R, G, B) until the ratio reduction coefficient decrease_ratioG corresponding to the green channel is less than the ratio reduction coefficient decrease_ratioB corresponding to the blue channel.

[0164] S423. Determine the ratio reduction coefficient corresponding to the red channel based on the ratio reduction coefficient corresponding to the green channel, and the ratio reduction coefficient corresponding to the red channel is less than the ratio reduction coefficient corresponding to the green channel.

[0165] In step S423, the ratio reduction coefficient decrease_ratioR corresponding to the red channel can be determined according to the ratio reduction coefficient decrease_ratioG corresponding to the green channel, and decrease_ratioR < decrease_ratioG. Exemplarily, for example, the ratio reduction coefficient decrease_ratioG corresponding to the green channel can be reduced by a certain ratio or difference to obtain the ratio reduction coefficient decrease_ratioR corresponding to the red channel. The ratio reduction coefficient decrease_ratioR corresponding to the red channel can also be adjusted according to F(R, G, B) until the ratio reduction coefficient decrease_ratioR corresponding to the red channel is less than the ratio reduction coefficient decrease_ratioB corresponding to the green channel.

[0166] In this embodiment, based on the color channel values ​​of each color channel at the grayscale, the scaling factor corresponding to the blue channel is determined. Then, based on the scaling factor corresponding to the blue channel, the scaling factor corresponding to the green channel is determined. Finally, based on the scaling factor corresponding to the green channel, the scaling factor corresponding to the red channel is determined. This achieves the determination of the scaling factor corresponding to each color channel based on the color channel values ​​of each color channel at the grayscale, providing a basis for determining the low-grayscale target correction coefficient for each color channel. The scaling factor corresponding to the green channel is less than that corresponding to the blue channel, and the scaling factor corresponding to the red channel is less than that corresponding to the green channel. This ensures that the scaling factors corresponding to the blue, green, and red channels decrease sequentially, resulting in a sequential decrease in the reduction degree of the correction coefficients for the blue, green, and red channels. This minimizes the harm of harmful blue light to the human eye, further ensuring eye protection and improving the user experience.

[0167] In some embodiments, the second configuration information includes a color temperature conversion matrix.

[0168] The second configuration information may include a color temperature conversion matrix. This matrix is ​​used to convert the color temperature of pixels at different gray levels. The color temperature conversion matrix can be set manually according to the color temperature conversion requirements or obtained through empirical values ​​and test data. When using the color temperature conversion matrix as the second configuration information, since it is not limited by the gray level of the pixels, when performing gamma correction processing on pixels below a preset low gray level threshold, the initial correction coefficients for each color channel corresponding to different gray levels can be determined based on the color temperature conversion matrix.

[0169] In this embodiment, when the color temperature conversion matrix is ​​used as the second configuration information, the characteristic that the color temperature conversion matrix is ​​not limited by the gray level of the pixel can be utilized to determine the initial correction coefficients of each color channel corresponding to different gray levels based on the color temperature conversion matrix. This enables the determination of the low gray level target correction coefficients of each color channel corresponding to each gray level below the preset low gray level threshold range, so as to ensure that when performing gamma correction processing on pixels below the preset low gray level threshold range, the low gray level target correction coefficients of each color channel can be determined based on the gray level of the pixel.

[0170] In some embodiments, performing gamma correction processing on each pixel of the display screen further includes: performing the following process on each pixel that is equal to or higher than a preset low grayscale threshold range: performing gamma correction on the pixel based on a preset default target correction coefficient.

[0171] For each pixel in the display screen whose grayscale is equal to or higher than a preset low grayscale threshold, gamma correction can be performed on the pixel according to a preset default target correction coefficient. The preset default target correction coefficient is the gamma value when the channel values ​​of each color channel of the pixel are transformed by a power law function. The color temperature is further adjusted by adjusting the target channel value. For example, for each pixel within the range of the preset low grayscale threshold, the target channel value of each color channel of the pixel can be gamma corrected by the following formula (6):

[0172]

[0173] Wherein, RGB_lut_in and RGB_pic are the target channel values ​​of each color channel of the pixel before and after gamma correction, respectively, and gamma_ori is the preset default target correction coefficient for each color channel of the pixel. For example, the preset default target correction coefficient for each color channel can be 2.2.

[0174] In this embodiment, for each pixel that is equal to or higher than the preset low grayscale threshold range, gamma correction is performed on the pixel according to the preset default target correction coefficient. Based on the conversion between the initial channel value and the target channel value of each color channel, the target channel value of each color channel is further adjusted, thereby achieving precise adjustment of the color temperature of this part of the pixels and improving the user experience.

[0175] In some embodiments, before performing gamma correction processing on each pixel of the display screen, the display control method further includes: determining a third eye protection intensity parameter based on the grayscale information of the display screen, wherein the third eye protection intensity parameter is used to characterize the degree of color temperature reduction.

[0176] As mentioned earlier, the grayscale information of the display screen can characterize the overall grayscale level of the display screen. Before performing gamma correction processing on each pixel of the display screen, the third eye protection intensity parameter can be determined based on the grayscale information of the display screen. The third eye protection intensity parameter is used to characterize the degree of color temperature reduction.

[0177] Before performing gamma correction on the target channel values ​​of a pixel based on the low grayscale target correction coefficients of each color channel, the gamma correction process for each pixel of the display screen also includes: adjusting the low grayscale target correction coefficients based on the third eye protection intensity parameter.

[0178] Before performing gamma correction on the target channel values ​​of each pixel based on the low grayscale target correction coefficients of each color channel, the low grayscale target correction coefficients can be adjusted according to a determined third eye protection intensity parameter. This ensures that the low grayscale target correction coefficients are compatible with the overall grayscale level of the displayed image, guaranteeing that gamma correction based on the low grayscale target correction coefficients achieves a color temperature adjustment that matches the overall grayscale level. For example, the scaling factor of each color channel can be adjusted based on the grayscale information of the displayed image to adjust the low grayscale target correction coefficients of each color channel.

[0179] Before performing gamma correction on the pixel based on the preset default target correction coefficient, the gamma correction process for each pixel of the displayed image also includes: adjusting the preset default target correction coefficient based on the third eye protection intensity parameter.

[0180] Before performing gamma correction on pixels based on the preset default target correction coefficient, the preset default target correction coefficient can be adjusted according to the determined third eye protection intensity parameter so that the preset default target correction coefficient can be adapted to the current overall grayscale level of the display screen, ensuring that the color temperature adjustment can be adapted to the overall grayscale level when performing gamma correction based on the preset default target correction coefficient.

[0181] In this embodiment, before performing gamma correction on each pixel of the displayed image, a third eye protection intensity parameter is determined based on the grayscale information of the displayed image. Before performing gamma correction on the pixels based on the low grayscale target correction coefficient and the preset default target correction coefficient for each color channel, the low grayscale target correction coefficient and the preset default target correction coefficient are adjusted according to the third eye protection intensity parameter. This ensures that when performing gamma correction on the pixels based on the low grayscale target correction coefficient and the preset default target correction coefficient for each color channel, the color temperature adjustment can be adapted to the overall grayscale level. This ensures that the target color temperature of each pixel after gamma correction is adapted to the overall eye protection requirements before correction, thereby improving the overall eye protection effect of the displayed image and the user experience.

[0182] In some embodiments, grayscale information includes the average grayscale of the displayed image, and the third eye protection intensity parameter is determined based on the average grayscale of the displayed image.

[0183] Grayscale information can include the average grayscale of the displayed image, which is the average grayscale value of each pixel within the displayed image. The third eye protection intensity parameter can be directly determined based on the average grayscale of the displayed image. In this case, the determination process of the third eye protection intensity parameter can be the same as that of the first eye protection intensity parameter, and will not be elaborated here. The average grayscale of the displayed image is negatively correlated with the third eye protection intensity parameter. That is, the smaller the average grayscale of the displayed image, the higher the overall perceived color temperature of the displayed image, and the greater the degree of color temperature reduction achieved after gamma correction processing of each pixel.

[0184] In this embodiment, the average grayscale of the display screen is used as grayscale information. The third eye protection intensity parameter can be determined based on the average grayscale of the display screen. This determination of the third eye protection intensity parameter provides a basis for adjusting the low grayscale target correction coefficient and the preset default target correction coefficient of each color channel. This ensures that the color temperature reduction after gamma correction processing based on the low grayscale target correction coefficient and the preset default target correction coefficient is compatible with the average grayscale of the display screen, thereby achieving a global eye protection effect adjustment. This ensures that the target color temperature of each pixel after gamma correction processing is compatible with the overall eye protection requirements, improving the overall eye protection effect of the display screen and the user experience.

[0185] In other embodiments, the display screen is divided into multiple zones, and the grayscale information includes the average grayscale of the display screen and the average grayscale of each zone.

[0186] The display screen can be divided into multiple partitions of the same shape and size according to the screen display resolution. The grayscale information also includes the average grayscale of each partition, that is, the average grayscale of each pixel in each partition. For example, the display screen can be divided into 24 rectangular partitions of the same size.

[0187] refer to Figure 8 As shown, based on the grayscale information of the displayed image, the third eye protection intensity parameter is determined, including:

[0188] S510. Based on the average grayscale of the displayed image, determine the fourth eye protection intensity parameter, which is used to characterize the degree of color temperature reduction.

[0189] In step S510, when the display screen includes multiple zones, the fourth eye protection intensity parameter can be determined first based on the average gray level of the display screen. The fourth eye protection intensity parameter is used to characterize the overall color temperature reduction of the screen. The average gray level of the display screen is negatively correlated with the fourth eye protection intensity parameter. That is, the smaller the average gray level of the display screen, the higher the overall perceived color temperature of the display screen, and the greater the color temperature reduction achieved after gamma correction processing of each pixel.

[0190] S520. Based on the average grayscale of each partition and the fourth eye protection intensity parameter, determine the third eye protection intensity parameter corresponding to each partition.

[0191] In step S520, the fourth eye protection intensity parameter corresponds to the average grayscale of the entire display screen. To ensure that the degree of color temperature reduction at different locations matches the grayscale level of that location, the fourth eye protection intensity parameter of each zone needs to be adjusted based on the average grayscale of each zone and the fourth eye protection intensity parameter to determine the third eye protection intensity parameter corresponding to each zone. The process for determining the third eye protection intensity parameter corresponding to each zone can be the same as the process for determining the second eye protection intensity parameter, and will not be elaborated here. The third eye protection intensity parameter corresponding to each zone is used to characterize the degree of color temperature reduction of the corresponding zone. The average grayscale of each zone is negatively correlated with the third eye protection intensity parameter of that zone; that is, the smaller the average grayscale of the zone, the higher the perceived color temperature of the zone, and the greater the degree of color temperature reduction achieved after gamma correction processing of each pixel.

[0192] In this embodiment, if the display screen is divided into multiple zones, a fourth eye protection intensity parameter is determined based on the average grayscale of the display screen. Then, based on the average grayscale of each zone and the fourth eye protection intensity parameter, a third eye protection intensity parameter corresponding to each zone is determined. This ensures that the third eye protection intensity parameter corresponding to each zone can be adapted to the average grayscale of each zone, thereby achieving the adjustment of the local eye protection effect. It also ensures that the target color temperature of each pixel after gamma correction is adapted to the local eye protection requirements, thus improving the eye protection effect and user experience of each zone.

[0193] In some embodiments, adjusting the low grayscale target correction coefficient based on the third eye protection intensity parameter includes: adjusting the low grayscale target correction coefficient corresponding to each partition based on the third eye protection intensity parameter corresponding to each partition.

[0194] When adjusting the low grayscale target correction coefficient based on the third eye protection intensity parameter, if there are significant differences in the average grayscale of each zone, the third eye protection intensity parameter corresponding to each zone may be different. It is necessary to adjust the low grayscale target correction coefficient corresponding to each zone according to the third eye protection intensity parameter of each zone, so that the degree of color temperature reduction achieved after gamma correction of the pixel based on the low grayscale target correction coefficient can be adapted to the average grayscale of each zone.

[0195] Based on the third eye protection intensity parameter, the preset default target correction coefficient is adjusted, including: based on the third eye protection intensity parameter corresponding to each zone, the preset default target correction coefficient corresponding to each zone is adjusted.

[0196] When adjusting the preset default target correction coefficient based on the third eye protection intensity parameter, if there are significant differences in the average grayscale of each zone, the corresponding third eye protection intensity parameter for each zone may be different. It is necessary to adjust the preset default target correction coefficient for each zone based on the third eye protection intensity parameter for each zone, so that the degree of color temperature reduction achieved after gamma correction of the pixel based on the preset default target correction coefficient can be adapted to the average grayscale of each zone.

[0197] In this embodiment, when adjusting the low grayscale target correction coefficient or the preset default target correction coefficient according to the third eye protection intensity parameter, the low grayscale target correction coefficient or the preset default target correction coefficient corresponding to each partition is adjusted based on the third eye protection intensity parameter corresponding to each partition. This ensures that the low grayscale target correction coefficient or the preset default target correction coefficient corresponding to each partition can be adapted to the average grayscale of each partition, thereby achieving the adjustment of the local eye protection effect. This ensures that the target color temperature of each pixel after gamma correction is adapted to the local eye protection requirements, improving the eye protection effect and user experience of each partition.

[0198] In some embodiments, reference Figure 9 As shown, based on the low grayscale target correction coefficients of each color channel, gamma correction is performed on the target channel values ​​of this pixel, including:

[0199] S610. Determine the partition to which the pixel belongs.

[0200] S620. Based on the low grayscale target correction coefficients of each color channel corresponding to the partition, perform gamma correction on the target channel values ​​of the pixel.

[0201] In steps S610 and S620, when performing gamma correction on the target channel values ​​of a pixel based on the low grayscale target correction coefficients of each color channel, it is necessary to first determine the partition to which the pixel belongs, and then perform gamma correction on the target channel values ​​of the pixel based on the low grayscale target correction coefficients of the color channels corresponding to the partition. This ensures that the degree of color temperature reduction achieved after gamma correction on the target channel values ​​of the pixel based on the low grayscale target correction coefficients of the color channels corresponding to each partition is compatible with the average grayscale of that partition. A partition with a lower average grayscale has a higher perceived color temperature, and the corresponding third eye protection intensity parameter is larger. Therefore, the degree of color temperature reduction after gamma correction processing using the low grayscale target correction coefficients adjusted according to the third eye protection intensity parameter for that partition is greater. Conversely, a partition with a higher average grayscale has a lower overall perceived color temperature, and the corresponding third eye protection intensity parameter is smaller. Therefore, the degree of color temperature reduction after gamma correction processing using the low grayscale target correction coefficients adjusted according to the third eye protection intensity parameter for that partition is smaller.

[0202] refer to Figure 10As shown, gamma correction is performed on this pixel based on the preset default target correction coefficient, including:

[0203] S710, Determine the partition to which the pixel belongs.

[0204] S720: Perform gamma correction on the pixel based on the preset default target correction coefficient corresponding to its partition.

[0205] In steps S710 and S720, when performing gamma correction on a pixel based on a preset default target correction coefficient, it is necessary to first determine the partition to which the pixel belongs, and then perform gamma correction on the pixel according to the preset default target correction coefficient corresponding to the partition. This ensures that the degree of color temperature reduction achieved after gamma correction of the pixel based on the preset default target correction coefficient corresponding to each partition is compatible with the average grayscale of that partition. A partition with a lower average grayscale has a higher perceived color temperature, and the corresponding third eye protection intensity parameter is larger. Therefore, the degree of color temperature reduction after gamma correction processing using the preset default target correction coefficient adjusted according to the third eye protection intensity parameter for that partition is greater. Conversely, a partition with a higher average grayscale has a lower overall perceived color temperature, and the corresponding third eye protection intensity parameter is smaller. Therefore, the degree of color temperature reduction after gamma correction processing using the preset default target correction coefficient adjusted according to the third eye protection intensity parameter for that partition is smaller.

[0206] In this embodiment, when performing gamma correction on a pixel based on the low grayscale target correction coefficient and the preset default target correction coefficient, by determining the partition to which the pixel belongs and performing gamma correction on the pixel based on the low grayscale target correction coefficient and the preset default target correction coefficient corresponding to the partition, the degree of color temperature reduction achieved after gamma correction of the pixel based on the low grayscale target correction coefficient and the preset default target correction coefficient corresponding to each partition can be adapted to the average grayscale of each partition, thereby achieving the adjustment of local eye protection effect, ensuring that the target color temperature of each pixel after gamma correction is adapted to the local eye protection needs, and improving the eye protection effect and user experience of each partition.

[0207] In one exemplary embodiment, a display control method is provided, applied to a display device, with reference to... Figure 11 As shown, the display control method includes:

[0208] S1. In the preset display mode, adjust the three-dimensional lookup table based on the grayscale information of the displayed screen;

[0209] S2. Based on the grayscale of each pixel, determine the grayscale range of each pixel;

[0210] S3. Based on the grayscale range of each pixel, the initial channel values ​​of each color channel of each pixel, and the three-dimensional lookup table, determine the target channel values ​​of each color channel of each pixel.

[0211] S4. Convert the initial channel values ​​of each color channel of each pixel to the target channel values;

[0212] S5. Determine the third eye protection intensity parameter based on the grayscale information of the displayed image;

[0213] S6. Adjust the low grayscale target correction coefficient based on the third eye protection intensity parameter;

[0214] S7. Adjust the preset default target correction coefficient based on the third eye protection intensity parameter;

[0215] S8. For each pixel below the preset low grayscale threshold range, determine the low grayscale target correction coefficient of each color channel corresponding to the grayscale of each pixel.

[0216] S9. Based on the low grayscale target correction coefficients of each color channel, perform gamma correction on the target channel values ​​of each pixel.

[0217] S10. For each pixel that is equal to or higher than the preset low grayscale threshold range, gamma correction is performed on each pixel based on the preset default target correction coefficient.

[0218] In this embodiment, under a preset display mode, the pixel values ​​of each pixel in the display screen are adjusted according to the first configuration information. This allows pixels within different grayscale ranges to correspond to different target color temperatures, thus achieving color temperature adjustment of the display screen. Since pixels within different grayscale ranges correspond to different target color temperatures, and the grayscale range is positively correlated with the target color temperature, adaptive adjustments can be made for different display screens. This is applicable to various grayscale distribution scenarios, ensuring a consistent overall color temperature adjustment level for the display screen, guaranteeing eye protection, and improving the user experience.

[0219] In one exemplary embodiment, a display control device is provided, applied to a display device, with reference to... Figure 12 As shown, the display control device includes an adjustment module 10. The adjustment module 10 is used to adjust the pixel value of each pixel of the display screen based on the first configuration information in a preset display mode, so that pixels in different grayscale ranges correspond to different target color temperatures, and the grayscale range is positively correlated with the target color temperature.

[0220] In this embodiment, under the preset display mode, the adjustment module 10 adjusts the pixel values ​​of each pixel in the display screen according to the first configuration information, enabling pixels in different grayscale ranges to correspond to different target color temperatures, thus achieving color temperature adjustment of the display screen. Pixels in different grayscale ranges correspond to different target color temperatures, and the grayscale range is positively correlated with the target color temperature. This allows for adaptive adjustment for different display screens, making it suitable for various grayscale distribution scenarios. It ensures that the overall color temperature adjustment of the display screen remains consistent, guaranteeing eye protection and improving the user experience.

[0221] In one embodiment, the first configuration information includes a three-dimensional lookup table, which is used to characterize the correspondence between the initial channel values ​​and the target channel values ​​of each color channel in multiple grayscale ranges.

[0222] In one embodiment, the adjustment module 10 is further configured to: perform the following adjustment process on each pixel of the display screen: determine the grayscale range of the pixel based on the grayscale of the pixel; determine the target channel value of each color channel of the pixel based on the grayscale range of the pixel, the initial channel value of each color channel of the pixel and the three-dimensional lookup table; and convert the initial channel value of each color channel of the pixel into the target channel value.

[0223] In one embodiment, before adjusting the pixel values ​​of each pixel in the display screen, the adjustment module 10 is further configured to: adjust the first configuration information based on the grayscale information of the display screen.

[0224] In one embodiment, the grayscale information includes the average grayscale of the displayed image; the adjustment module 10 is further configured to: determine a first eye protection intensity parameter corresponding to the average grayscale, the first eye protection intensity parameter being used to characterize the degree of color temperature reduction; and adjust the first configuration information based on the first eye protection intensity parameter.

[0225] In one embodiment, the display screen is divided into multiple partitions, and the grayscale information also includes the average grayscale of each partition; the adjustment module 10 is further configured to: adjust the first eye protection intensity parameter based on the average grayscale of each partition to obtain the second eye protection intensity parameter corresponding to each partition; and adjust the first configuration information corresponding to each partition based on the second eye protection intensity parameter corresponding to each partition.

[0226] In one embodiment, the adjustment module 10 is further configured to: perform the following adjustment process for the pixels of each partition: adjust the pixel value of each pixel in the partition based on the first configuration information corresponding to the partition.

[0227] In one embodiment, the adjustment module 10 is further configured to perform gamma correction processing on each pixel of the displayed image.

[0228] In one embodiment, the adjustment module 10 is further configured to: perform the following processing procedure for each pixel below the preset low grayscale threshold range: determine the low grayscale target correction coefficient of each color channel corresponding to the grayscale of the pixel; and perform gamma correction on each target channel value of the pixel based on the low grayscale target correction coefficient of each color channel.

[0229] In one embodiment, the target low grayscale correction coefficients for each color channel corresponding to each grayscale level located below a preset low grayscale threshold are determined as follows: based on the second configuration information, the initial correction coefficients for each color channel corresponding to the grayscale level are determined, and the initial correction coefficients are used to reduce the color temperature of the corresponding color channel; based on the color channel values ​​of each color channel corresponding to the grayscale level, the proportional reduction coefficients corresponding to each color channel are determined, and the proportional reduction coefficients corresponding to each color channel are all less than 1, and the proportional reduction coefficients corresponding to the blue channel, green channel and red channel in each color channel decrease sequentially; based on the proportional reduction coefficients corresponding to each color channel and the initial correction coefficients, the target low grayscale correction coefficients for each color channel are determined.

[0230] In one embodiment, determining the scaling factor for each color channel based on the color channel values ​​of each color channel corresponding to the grayscale includes: determining the scaling factor for the blue channel based on the color channel values ​​of each color channel of the grayscale; determining the scaling factor for the green channel based on the scaling factor for the blue channel, wherein the scaling factor for the green channel is less than the scaling factor for the blue channel; and determining the scaling factor for the red channel based on the scaling factor for the green channel, wherein the scaling factor for the red channel is less than the scaling factor for the green channel.

[0231] In one embodiment, the second configuration information includes a color temperature conversion matrix.

[0232] In one embodiment, the adjustment module 10 is further configured to perform the following processing procedure for each pixel that is equal to or higher than a preset low grayscale threshold range: perform gamma correction on the pixel based on a preset default target correction coefficient.

[0233] In one embodiment, before performing gamma correction processing on each pixel of the displayed image, the adjustment module 10 is further configured to: determine a third eye protection intensity parameter based on the grayscale information of the displayed image, the third eye protection intensity parameter being used to characterize the degree of color temperature reduction; before performing gamma correction on each target channel value of the pixel based on the low grayscale target correction coefficient of each color channel, the adjustment module 10 is further configured to: adjust the low grayscale target correction coefficient based on the third eye protection intensity parameter; before performing gamma correction on the pixel based on the preset default target correction coefficient, the adjustment module 10 is further configured to: adjust the preset default target correction coefficient based on the third eye protection intensity parameter.

[0234] In one embodiment, the grayscale information includes the average grayscale of the displayed image, and the third eye protection intensity parameter is determined based on the average grayscale of the displayed image.

[0235] In one embodiment, the display screen is divided into multiple zones, and the grayscale information includes the average grayscale of the display screen and the average grayscale of each zone. Based on the grayscale information of the display screen, determining the third eye protection intensity parameter includes: determining the fourth eye protection intensity parameter based on the average grayscale of the display screen, the fourth eye protection intensity parameter being used to characterize the degree of color temperature reduction; and determining the third eye protection intensity parameter corresponding to each zone based on the average grayscale of each zone and the fourth eye protection intensity parameter.

[0236] In one embodiment, the adjustment module 10 is further configured to: adjust the low grayscale target correction coefficient corresponding to each partition based on the third eye protection intensity parameter corresponding to each partition; and adjust the preset default target correction coefficient corresponding to each partition based on the third eye protection intensity parameter corresponding to each partition.

[0237] In one embodiment, the adjustment module 10 is further configured to: determine the partition to which the pixel belongs; perform gamma correction on each target channel value of the pixel based on the low grayscale target correction coefficient of each color channel corresponding to the partition to which it belongs; and perform gamma correction on the pixel based on the preset default target correction coefficient corresponding to the partition to which it belongs.

[0238] In one exemplary embodiment, an electronic device is provided, which may include, for example, a mobile phone, a tablet computer, a laptop computer, or other devices with display functions.

[0239] refer to Figure 13 As shown, the electronic device may include one or more of the following components: processing component 101, memory 102, power component 103, multimedia component 104, audio component 105, input / output (I / O) interface 106, sensor component 107, and communication component 108.

[0240] Processing component 101 typically controls the overall operation of an electronic device, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 101 may include one or more processors 109 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 101 may include one or more modules to facilitate interaction between processing component 101 and other components. For example, processing component 101 may include a multimedia module to facilitate interaction between multimedia component 104 and processing component 101.

[0241] Memory 102 is configured to store various types of data to support the operation of the electronic device. Examples of such data include instructions for any application or method used to operate on the electronic device, contact data, phonebook data, messages, pictures, videos, etc. Memory 102 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.

[0242] Power component 103 provides power to various components of the electronic device. Power component 103 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device.

[0243] Multimedia component 104 includes a screen that provides an output interface between the electronic device 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 touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 104 includes a front-facing camera and / or a rear-facing camera. When the electronic device 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.

[0244] Audio component 105 is configured to output and / or input audio signals. For example, audio component 105 includes a microphone (MIC) configured to receive external audio signals when the electronic device 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 102 or transmitted via communication component 108. In some embodiments, audio component 105 also includes a speaker for outputting audio signals.

[0245] I / O interface 106 provides an interface between processing component 101 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.

[0246] Sensor assembly 107 includes one or more sensors for providing state assessments of various aspects of the electronic device. For example, sensor assembly 107 can detect the on / off state of the electronic device, the relative positioning of components such as the display and keypad of the electronic device, changes in the position of the electronic device or a component of the electronic device, the presence or absence of user contact with the electronic device, the orientation or acceleration / deceleration of the electronic device, and temperature changes of the electronic device. Sensor assembly 107 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 107 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 107 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0247] Communication component 108 is configured to facilitate wired or wireless communication between electronic devices and other devices. Devices can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 108 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 108 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.

[0248] In an exemplary embodiment, the electronic device 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 above-described display control method applied to the electronic device.

[0249] In one exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 102 including instructions, which can be executed by a processor 109 of an electronic device to perform the display control method applied to the electronic device described above. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc. When the instructions in the storage medium are executed by the processor 109 of the electronic device, the electronic device is able to perform the display control method shown in the above embodiments.

[0250] In one exemplary embodiment, a computer program product is also provided, including a computer program that, when executed by processor 109, implements the display control method shown in the above embodiments.

[0251] Other embodiments of the invention 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 the invention that follow the general principles of the invention 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 the invention are indicated by the following claims.

[0252] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A display control method, characterized in that, The display control method includes: In the preset display mode, based on the first configuration information, the pixel values ​​of each pixel in the display screen are adjusted so that pixels in different grayscale ranges correspond to different target color temperatures, and the grayscale range is positively correlated with the target color temperature.

2. The display control method according to claim 1, characterized in that, The first configuration information includes a three-dimensional lookup table, which is used to represent the correspondence between the initial channel values ​​and the target channel values ​​of each color channel within multiple grayscale ranges.

3. The display control method according to claim 2, characterized in that, The step of adjusting the pixel values ​​of each pixel in the display screen based on the first configuration information includes: The following adjustment process is performed on each pixel of the displayed image: Based on the gray level of the pixel, determine the gray level range in which the pixel is located; Based on the grayscale range of the pixel, the initial channel values ​​of each color channel of the pixel, and the three-dimensional lookup table, determine the target channel values ​​of each color channel of the pixel. The initial channel values ​​of each color channel of the pixel are converted into the target channel values.

4. The display control method according to claim 1, characterized in that, Before adjusting the pixel values ​​of each pixel in the displayed image, the display control method further includes: Based on the grayscale information of the displayed image, adjust the first configuration information.

5. The display control method according to claim 4, characterized in that, The grayscale information includes the average grayscale of the displayed image; Adjusting the first configuration information based on the grayscale information of the displayed image includes: A first eye protection intensity parameter corresponding to the average gray level is determined, and the first eye protection intensity parameter is used to characterize the degree of color temperature reduction. Based on the first eye protection intensity parameter, adjust the first configuration information.

6. The display control method according to claim 5, characterized in that, The display screen is divided into multiple zones, and the grayscale information also includes the average grayscale of each zone; The step of adjusting the first configuration information based on the first eye protection intensity parameter includes: Based on the average gray level of each of the partitions, the first eye protection intensity parameter is adjusted to obtain the second eye protection intensity parameter corresponding to each partition; Based on the second eye protection intensity parameter corresponding to each partition, the first configuration information corresponding to each partition is adjusted.

7. The display control method according to claim 6, characterized in that, The adjustment of the pixel values ​​of each pixel in the displayed image includes: The following adjustment process is performed on the pixels of each partition: Based on the first configuration information corresponding to the partition, adjust the pixel values ​​of each pixel in the partition.

8. The display control method according to any one of claims 1 to 7, characterized in that, The adjustment of the pixel values ​​of each pixel in the displayed image also includes: Gamma correction is performed on each pixel of the displayed image.

9. The display control method according to claim 8, characterized in that, The gamma correction processing of each pixel of the displayed image includes: For each pixel below the preset low grayscale threshold range, the following processing procedure is performed: Determine the low grayscale target correction coefficients for each color channel corresponding to the grayscale of the pixel; Based on the low grayscale target correction coefficients of each color channel, gamma correction is performed on the target channel values ​​of the pixel.

10. The display control method according to claim 9, characterized in that, The target low grayscale correction coefficients for each color channel corresponding to each grayscale level located below the preset low grayscale threshold are determined as follows: Based on the second configuration information, the initial correction coefficients for each color channel corresponding to the grayscale are determined, and the initial correction coefficients are used to reduce the color temperature of the corresponding color channel. Based on the color channel values ​​of each color channel corresponding to the grayscale, the scaling factor corresponding to each color channel is determined. The scaling factor corresponding to each color channel is less than 1, and the scaling factor corresponding to the blue channel, green channel and red channel in each color channel decreases in sequence. Based on the scaling factor and the initial correction factor corresponding to each color channel, the low grayscale target correction factor for each color channel is determined.

11. The display control method according to claim 10, characterized in that, The determination of the scaling factor for each color channel based on the color channel values ​​corresponding to the grayscale includes: Based on the color channel values ​​of each color channel of the grayscale, the scaling factor corresponding to the blue channel is determined; Based on the scaling factor corresponding to the blue channel, the scaling factor corresponding to the green channel is determined, and the scaling factor corresponding to the green channel is less than the scaling factor corresponding to the blue channel; Based on the reduction coefficient corresponding to the green channel, the reduction coefficient corresponding to the red channel is determined, and the reduction coefficient corresponding to the red channel is less than the reduction coefficient corresponding to the green channel.

12. The display control method according to claim 10, characterized in that, The second configuration information includes a color temperature conversion matrix.

13. The display control method according to claim 8, characterized in that, The gamma correction processing of each pixel of the displayed image further includes: For each pixel that is equal to or higher than the preset low grayscale threshold range, the following processing procedure is performed: Gamma correction is performed on the pixel based on the preset default target correction coefficient.

14. The display control method according to claim 13, characterized in that, Before performing gamma correction processing on each pixel of the displayed image, the display control method further includes: Based on the grayscale information of the displayed image, a third eye protection intensity parameter is determined, which is used to characterize the degree of color temperature reduction. Before performing gamma correction on the target channel values ​​of the pixel based on the low grayscale target correction coefficients of each color channel, the gamma correction processing on each pixel of the displayed image further includes: Based on the third eye protection intensity parameter, adjust the low grayscale target correction coefficient; Before performing gamma correction on the pixel based on the preset default target correction coefficient, the gamma correction processing for each pixel of the displayed image further includes: Based on the third eye protection intensity parameter, the preset default target correction coefficient is adjusted.

15. The display control method according to claim 14, characterized in that, The grayscale information includes the average grayscale of the displayed image, and the third eye protection intensity parameter is determined based on the average grayscale of the displayed image.

16. The display control method according to claim 14, characterized in that, The display screen is divided into multiple zones, and the grayscale information includes the average grayscale of the display screen and the average grayscale of each zone. Determining the third eye protection intensity parameter based on the grayscale information of the display screen includes: Based on the average grayscale of the displayed image, a fourth eye protection intensity parameter is determined, which is used to characterize the degree of color temperature reduction. Based on the average grayscale of each partition and the fourth eye protection intensity parameter, the third eye protection intensity parameter corresponding to each partition is determined.

17. The display control method according to claim 16, characterized in that, The step of adjusting the low grayscale target correction coefficient based on the third eye protection intensity parameter includes: Based on the third eye protection intensity parameter corresponding to each of the partitions, adjust the low grayscale target correction coefficient corresponding to each of the partitions; The step of adjusting the preset default target correction coefficient based on the third eye protection intensity parameter includes: Based on the third eye protection intensity parameter corresponding to each partition, the preset default target correction coefficient corresponding to each partition is adjusted.

18. The display control method according to claim 17, characterized in that, The method of applying gamma correction to the target channel values ​​of a pixel based on the low grayscale target correction coefficients of each color channel includes: Determine the partition to which the pixel belongs; Based on the low grayscale target correction coefficients of each color channel corresponding to the partition, gamma correction is performed on each target channel value of the pixel. The step of performing gamma correction on the pixel based on a preset default target correction coefficient includes: Determine the partition to which the pixel belongs; Based on the preset default target correction coefficient corresponding to the partition to which it belongs, gamma correction is performed on the pixel.

19. A display control device, characterized in that, The display control device includes: An adjustment module is used to adjust the pixel values ​​of each pixel in the display screen based on first configuration information under a preset display mode, so that pixels in different grayscale ranges correspond to different target color temperatures, wherein the grayscale range is positively correlated with the target color temperature.

20. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store processor-executable instructions; The processor is configured to perform the display control method as described in any one of claims 1 to 18.

21. 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 control method as described in any one of claims 1 to 18.

22. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the display control method as described in any one of claims 1 to 18.