Screen color adjusting method and electronic equipment

By acquiring the native color gamut information and white dot information of the terminal device screen, generating the first information for calibration, and combining the target color gamut information for color gamut conversion, the color display problem caused by low saturation in the prior art is solved, and more accurate color display and optimal screen effect are achieved.

CN119724064AActive Publication Date: 2025-03-28VIVO MOBILE COMM CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411812840.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-28
Estimated Expiration
2044-12-10

AI Technical Summary

Technical Problem

When the prior art converts the native color gamut of the terminal device screen to a standard color gamut or a custom color gamut, some colors are easily unable to be displayed due to low saturation, and the best screen display effect cannot be achieved.

Method used

By acquiring the native color gamut information and white dot information of the electronic device screen, first information is generated for calibration of the native color gamut color, and sent it with the native color gamut information to the device, so that it generates the second information based on the target color gamut information, thereby adjusting the screen color and realizing color gamut conversion.

Benefits of technology

By calibrating the native color gamut before the color gamut conversion, ensure that the color is more accurate and avoid color display problems caused by low saturation, so as to make full use of the screen's color display ability to achieve the best display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119724064A_ABST
    Figure CN119724064A_ABST
Patent Text Reader

Abstract

The invention discloses a screen color adjusting method and electronic equipment. Belongs to the technical field of computers. The method comprises the following steps: acquiring original color gamut information and white point information of a screen of the electronic equipment; based on the original color gamut information and the white point information, first information is generated, and the first information is used for calibrating colors in an original color gamut; and sending the first information and the native color gamut information to the electronic equipment, so that the electronic equipment generates second information based on the native color gamut information and target color gamut information set by a user, and adjusts the color of the screen based on the first information and the second information. The second information is used for converting the color gamut of the screen from the original color gamut to a target color gamut.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and specifically to a screen color adjustment method and an electronic device. Background Art

[0002] With the widespread use of terminal devices, users have higher and higher requirements for the color accuracy of the screens of terminal devices. In order to achieve the color accuracy of the screens of terminal devices, it is usually necessary to adjust the display color of the screen.

[0003] In the prior art, the native color gamut of the screen is usually directly converted to a standard color gamut or a custom color gamut. However, after the screen is produced, the colors in its native color gamut are usually different from the theoretical values, for example, the saturation is low. Direct color gamut conversion may cause some colors to fail to display, and the best screen display effect cannot be achieved. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a screen color adjustment method and an electronic device, which can improve the screen display effect.

[0005] In a first aspect, an embodiment of the present application provides a screen color adjustment method, the method comprising: obtaining native color gamut information and white point information of a screen of an electronic device; generating first information based on the native color gamut information and white point information, the first information being used to calibrate the color in the native color gamut; sending the first information and the native color gamut information to the electronic device, so that the electronic device generates second information based on the native color gamut information and target color gamut information set by a user, and adjusting the color of the screen based on the first information and the second information, the second information being used to convert the color gamut of the screen from the native color gamut to the target color gamut.

[0006] In a second aspect, an embodiment of the present application provides a screen color adjustment device, which includes: an acquisition unit, used to acquire native color gamut information and white point information of the screen of an electronic device; a first generation unit, used to generate first information based on the native color gamut information and white point information, wherein the first information is used to calibrate the color in the native color gamut; a second generation unit, used to send the first information and the native color gamut information to the electronic device, so that the electronic device generates second information based on the native color gamut information and target color gamut information set by a user, and adjusts the color of the screen based on the first information and the second information, wherein the second information is used to convert the color gamut of the screen from the native color gamut to the target color gamut.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect above are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0011] In an embodiment of the present application, the native color gamut information and white point information of the screen of the electronic device are first obtained; then, based on the native color gamut information and the white point information, first information for calibrating the colors in the native color gamut is generated; then, the first information and the native color gamut information are sent to the above-mentioned electronic device, so that the electronic device can generate second information for converting the native color gamut to the target color gamut based on the native color gamut information and the target color gamut information set by the user, so that the electronic device can adjust the color of the screen based on the second information. Since the colors in the native color gamut can be calibrated based on the first information before the color gamut conversion is performed, the colors in the native color gamut can be made more accurate, avoiding the situation where some colors cannot be displayed due to low saturation, thereby making full use of the color display capability of the screen, and performing color gamut conversion on this basis can enable the screen to achieve the best display effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a flow chart of a screen color adjustment method provided in an embodiment of the present application;

[0013] Figure 2 is a schematic diagram of the processing process of the screen color adjustment method provided in an embodiment of the present application;

[0014] Figure 3A This is one of the schematic diagrams of the application scenario of the screen color adjustment method provided in the embodiment of the present application;

[0015] Figure 3B This is a second schematic diagram of an application scenario of the screen color adjustment method provided in an embodiment of the present application;

[0016] Figure 4 is a structural schematic diagram of a screen color adjustment device provided in an embodiment of the present application;

[0017] Figure 5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0018] Figure 6 It is a schematic diagram of the hardware structure of an electronic device suitable for implementing the embodiments of the present application. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0020] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0021] The screen color adjustment method and device provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0022] Please refer to Figure 1 , which shows one of the flow charts of the screen color adjustment method provided in the embodiment of the present application. The screen color adjustment method provided in the embodiment of the present application can be applied to the production end of the screen of the electronic device.

[0023] The process of the screen color adjustment method provided in the embodiment of the present application includes the following steps:

[0024] Step 101: Acquire native color gamut information and white point information of the screen of the electronic device.

[0025] In this embodiment, the color gamut refers to the range of colors that can be expressed by a certain color representation mode. The size of the color gamut is related to the device, the medium, and the viewing conditions. The larger the color gamut of the device, the more colors that can be reproduced.

[0026] Native color gamut refers to the color space set by the screen of an electronic device when it leaves the factory. It is usually used to display the default color performance of the device. In practice, the colors of the visible spectrum in nature constitute the largest color gamut space, which contains all the colors visible to the human eye and can be represented by the CIELAB (International Commission on Illumination) color space. The above-mentioned native color gamut is a subset of the above-mentioned CIELAB color space.

[0027] Native color gamut information refers to information related to the native color gamut. Native color gamut information can be obtained by the production end by using a color analyzer or other methods to measure the screen color. White point information refers to information related to the white point in the color space. White point information can be set by the technicians at the production end. The white point is the white point.

[0028] In some optional implementations of the present embodiment, the native color gamut information may include, but is not limited to, the color coordinates of each vertex of the native color gamut and the actual brightness value of each vertex of the native color gamut. The white point information may include, but is not limited to, the color coordinates of the white point and the brightness value of the white point. Among them, the native color gamut has three vertices, which respectively refer to the maximum value points that can be reached by the three colors of red, green and blue in the color space corresponding to the native color gamut. These three vertices define the boundaries of the native color gamut. The color coordinates are the coordinates of the color, and each color coordinate corresponds to a point in the chromaticity diagram. The actual brightness value is the brightness value after the screen is produced and before color adjustment.

[0029] Step 102: Generate first information based on the native color gamut information and the white point information, where the first information is used to calibrate the color in the native color gamut.

[0030] In this embodiment, the target color of each target point in the native color gamut can be determined based on the native color gamut information and the white point information, and the first information can be generated based on the real color and the target color of each target point in the native color gamut. The target point in the native color gamut can be part of or all of the points in the native color gamut. Each point in the native color gamut corresponds to a color coordinate. The first information may include a mapping between the real color and the target color of each target point in the native color gamut. The first information can be used to calibrate the color in the native color gamut.

[0031] Since the colors in the native color gamut can be calibrated based on the first information before color gamut conversion, the colors in the native color gamut can be made more accurate, avoiding the situation where some colors cannot be displayed due to low saturation, thereby making full use of the color display capability of the screen. Color gamut conversion is performed on this basis, which can enable the screen to achieve the best display effect.

[0032] In some optional implementations of this embodiment, the native color gamut information includes the color coordinates, actual brightness values, and actual three-primary color grayscale values ​​of each vertex of the native color gamut; the white point information includes the color coordinates of the white point and the target brightness value of the white point. Among them, the color coordinates of each vertex of the native color gamut are the color coordinates of the red vertex (NativeRx, NativeRy), the color coordinates of the green vertex (NativeGx, NativeGy), and the color coordinates of the blue vertex (NativeBx, NativeBy). The actual brightness values ​​of each vertex of the native color gamut are the brightness value NativeLR of the red vertex, the actual brightness value NativeLG of the green vertex, and the actual brightness value NativeLB of the blue vertex. The three primary colors include red, green, and blue. The grayscale value refers to the brightness level from the darkest to the brightest in the image. The three primary color grayscale values ​​include the grayscale value of red, the grayscale value of green, and the grayscale value of blue. The actual three primary color grayscale values ​​are the three primary color grayscale values ​​after the screen is produced and before color adjustment. The color coordinates of the white point can be recorded as (TargetWx, TargetWy), and the target brightness value of the white point can be recorded as TargetLw. Step 102 can further include the following sub-steps:

[0033] Sub-step 1021 , based on the color coordinates of each vertex in the native color gamut, the color coordinates of the white point, and the target brightness value of the white point, determine the target brightness value and color coordinates of each target point in the native color gamut.

[0034] Optionally, you can follow the steps below:

[0035] The first step is to determine the target brightness value of each vertex in the native color gamut based on the color coordinates of the white point (TargetWx, TargetWy) and the target brightness value of the white point TargetLw. The target brightness value of the red vertex, the target brightness value of the green vertex, and the target brightness value of the blue vertex can be recorded as TargetLR, TargetLG, and TargetLB, respectively. In practice, the color matching equation can be used to calculate TargetLR, TargetLG, and TargetLB.

[0036] The second step is to determine the target brightness value of each target point in the native color gamut and the three-primary color target brightness value of each target point based on the target brightness value of each vertex in the native color gamut (i.e., TargetLR, TargetLG, TargetLB). In practice, for a target point whose actual three-primary color grayscale value is (Rn, Gn, Bn), the target brightness value Lc of the target point and the three-primary color target brightness value (LRn, LGn, LBn) can be calculated based on the gamma correction method. See below:

[0037] LRn=(Rn / 255) 2.2 ×TargetLR

[0038] LGn=(Gn / 255) 2.2 ×TargetLG

[0039] LBn=(Bn / 255) 2.2 ×TargetLB

[0040] Lc=LRn+LGn+LBn.

[0041] The third step is to determine the tristimulus values ​​of each target point in the native color gamut based on the color coordinates of each vertex in the native color gamut (i.e. (NativeRx, NativeRy), (NativeGx, NativeGy), (NativeBx, NativeBy)), the target brightness value of each target point in the native color gamut, and the target brightness value of the three primary colors. In practice, for the target point whose actual three primary color grayscale value is (Rn, Gn, Bn), based on its target brightness value Lc and the three primary color target brightness value (LRn, LGn, LBn). Rn, Gn, Bn are respectively the grayscale value of red, the grayscale value of green, and the grayscale value of blue in the color corresponding to the target point. LRn, LGn, LBn are respectively the brightness value of red, the brightness value of green, and the brightness value of blue in the color corresponding to the target point. The tristimulus values ​​[Xc, Yc, Zc] can be determined according to the following calculation formula:

[0042]

[0043] The fourth step is to determine the color coordinates of each target point in the native color gamut based on the three-stimulus values ​​of each target point in the native color gamut. In practice, for a target point with an actual three-primary color grayscale value (Rn, Gn, Bn), its color coordinates (Cx, Cy) can be calculated by referring to the following formula:

[0044]

[0045] Sub-step 1022, based on the color coordinates of each vertex in the native color gamut (i.e. (NativeRx, NativeRy), (NativeGx, NativeGy), (NativeBx, NativeBy)), the target brightness value and color coordinates of each target point in the native color gamut, determines the target three-primary color grayscale value of each target point in the native color gamut.

[0046] Optionally, you can follow the steps below:

[0047] The first step is to determine the target three-primary color ratio of each target point in the native color gamut based on the color coordinates of each target point in the native color gamut and the color coordinates of each vertex in the native color gamut (i.e. (NativeRx, NativeRy), (NativeGx, NativeGy), (NativeBx, NativeBy)). In practice, for a target point with an actual three-primary color grayscale value of (Rn, Gn, Bn), its target three-primary color ratio (r, g, b) can be determined according to the following calculation formula:

[0048]

[0049] The second step is to determine the target three-primary color brightness value of each target point in the native color gamut based on the target brightness value and the target three-primary color ratio of each target point in the native color gamut. In practice, for a target point with an actual three-primary color grayscale value of (Rn, Gn, Bn), based on its target brightness value Lc and the target three-primary color ratio (r, g, b), its target three-primary color brightness value (LRnr, LGnr, LBnr) can be calculated by the following formula:

[0050] LRnr=Lc×r

[0051] LGnr=Lc×g

[0052] LBnr=Lc×b

[0053] The third step is to determine the target three-primary color grayscale value of each target point in the native color gamut based on the target three-primary color brightness value of each target point in the native color gamut. In practice, for a target point whose actual three-primary color grayscale value is (Rn, Gn, Bn), based on its target three-primary color brightness value (LRnr, LGnr, LBnr), its target three-primary color grayscale value (Rnt, Gnt, Bnt) can be calculated by gamma correction, as shown below:

[0054] Rnt=255×(LRnr / NativeLR) (1 / 2.2)

[0055] Gnt=255×(LGnr / NativeLG) (1 / 2.2)

[0056] Bnt=255×(LBnr / NativeLB) (1 / 2.2)

[0057] Sub-step 1023, based on the target three-primary color grayscale values ​​and the actual three-primary color grayscale values ​​of each target point in the native color gamut, generate first information. In practice, for a target point whose actual three-primary color grayscale values ​​are (Rn, Gn, Bn), its target three-primary color grayscale values ​​are (Rnt, Gnt, Bnt), and a mapping between (Rn, Gn, Bn) and (Rnt, Gnt, Bnt) can be established. Based on this mapping, the three-primary color grayscale values ​​of the target point can be adjusted from (Rn, Gn, Bn) to (Rnt, Gnt, Bnt). For other target points, the mapping between the target three-primary color grayscale values ​​and the actual three-primary color grayscale values ​​can be obtained in the same way, so that the generated mappings are summarized to obtain the first information.

[0058] In the above manner, the first information including the mapping relationship between the target three-primary color grayscale value and the actual three-primary color grayscale value of each target point can be obtained. Therefore, before the terminal device performs the color gamut conversion, it can calibrate the color in the native color gamut based on the first information, so that the color in the native color gamut is more accurate, avoiding the situation where some colors cannot be displayed due to low saturation, thereby making full use of the color display capability of the screen, and performing the color gamut conversion on this basis can enable the screen to achieve the best display effect.

[0059] Step 103, sending the first information and the native color gamut information to an electronic device, so that the electronic device generates second information based on the native color gamut information and the target color gamut information set by the user, and adjusts the color of the screen based on the first information and the second information, and the second information is used to convert the color gamut of the screen from the native color gamut to the target color gamut.

[0060] In this embodiment, the target color gamut can be set by the user. The target color gamut may include but is not limited to a standard color gamut, a custom color gamut, etc. Among them, the standard color gamut refers to the sum of the colors that a technical system can produce. It defines the range of colors that a technical system can display and is an important indicator for measuring the color performance capability of a display device. The standard color gamut exists to ensure the consistency and accuracy of colors between different devices so that colors can be correctly reproduced between different devices. A custom color gamut can be a color gamut customized by the user, also known as a personalized color gamut.

[0061] In this embodiment, the native color gamut information sent to the electronic device may include but is not limited to the color coordinates of each vertex of the native color gamut, etc. The target color gamut information may include but is not limited to the color coordinates of each vertex of the target color gamut, the coordinates and brightness value of the white point in the target color gamut, the grayscale value of each target point in the target color gamut, etc. The electronic device may use a conventional color gamut conversion method to convert the native color gamut to the target color gamut.

[0062] In practical applications, see Figure 2, the native color gamut information of the screen of the electronic device can be obtained first. Then, the white point information is set by the technicians at the production end. Then, based on the color coordinates of each vertex of the native color gamut, the color coordinates of the white point and the target brightness value of the white point, the target brightness value and color coordinates of each target point in the native color gamut are determined; then, based on the color coordinates of each target point in the native color gamut and the color coordinates of each vertex of the native color gamut, the target three-primary color ratio of each target point in the native color gamut is determined. Then, based on the target brightness value and the target three-primary color ratio of each target point in the native color gamut, the target three-primary color brightness value of each target point in the native color gamut is determined. Then, based on the target three-primary color brightness value of each target point in the native color gamut, the target three-primary color grayscale value of each target point in the native color gamut is determined. Finally, based on the target three-primary color grayscale value and the actual three-primary color grayscale value of each target point in the native color gamut, the first information is generated. The first information can be a three-dimensional LUT file.

[0063] In some optional implementations of this embodiment, after the first information and the native color gamut information are sent to the electronic device, the electronic device may be enabled to perform the following second information generation step:

[0064] Sub-step 1031 , based on the color coordinates of each vertex of the target color gamut, the coordinates of the white point in the target color gamut, and the brightness value, determine the brightness value of each vertex of the target color gamut.

[0065] Assume that the red point, green vertex, and blue point of the target color space are (TargetRx, TargetRy) (TargetGx, TargetGy) (TargetBx, TargetBy), the coordinates of the white point in the target color space are (TargetWx', TargetWy'), and the brightness value of the white point in the target color space is TargetLw'. The brightness of the red point, green vertex, and blue point can be calculated according to the following formula (TargetLR', TargetLG', TargetLB'):

[0066]

[0067] Sub-step 1032, based on the grayscale value of each target point in the target color gamut and the brightness value of each vertex in the target color gamut, determine the brightness value of each target point in the target color gamut and the brightness values ​​of the three primary colors.

[0068] Among them, each point in the target color gamut corresponds to a color coordinate. The target point in the target color gamut may be part of the points or all of the points in the target color gamut. The target point in the target color gamut may correspond one-to-one to the target point in the native color gamut, and the two may have the same color coordinates. Assuming that the three-primary color grayscale value of a target point in the target color gamut is (Rt, Gt, Bt), first, the three-primary color brightness value of the target point and the brightness value of the target point may be calculated respectively according to the gamma correction method. The three-primary color brightness value of the target point may be recorded as (LRt, LGt, LBt), and the brightness value of the target point may be recorded as Lct. Lct=LRt+LGt+LBt.

[0069] Sub-step 1033, based on the color coordinates of each vertex in the native color gamut, the brightness value of each target point in the target color gamut, and the brightness value of the three primary colors, determine the three primary color grayscale value of each target point in the target color gamut in the native color gamut.

[0070] Here, assuming that the three-primary color grayscale value of a target point in the target color gamut is (Rt, Gt, Bt), the three-primary color brightness value of the target point can be recorded as (LRt, LGt, LBt), and the brightness value of the target point can be recorded as Lct. The following formula can be used to calculate the three-primary color ratio (r', g', b') of the target point in the native color gamut:

[0071]

[0072] Finally, the inverse process of gamma correction (degamma) is performed to obtain the three primary color ratios (Rt', Gt', Bt') of the target point in the native color gamut.

[0073] Sub-step 1034, generating second information based on the three-primary color grayscale values ​​of each target point in the target color gamut in the target color gamut and the three-primary color grayscale values ​​in the native color gamut.

[0074] In practice, for a target point whose three-primary color grayscale value in the target color gamut is (Rt, Gt, Bt), its three-primary color grayscale value in the native color gamut is (Rt', Gt', Bt'), and a mapping between (Rt, Gt, Bt) and (Rt', Gt', Bt') can be established. Based on this mapping, the three-primary color grayscale value of the corresponding point in the native color gamut can be adjusted from (Rt, Gt, Bt) to (Rt', Gt', Bt'). For other target points, the mapping between the three-primary color grayscale value in the native color gamut and the three-primary color grayscale value in the target color gamut can be obtained in the same way, and the generated mapping can be summarized to obtain the second information.

[0075] It should be noted that, when the target point is a part of the points in the target color gamut, an interpolation algorithm such as trilinear interpolation or tetrahedral interpolation can be used to supplement the mapping information of other points to obtain the second information.

[0076] In practical applications, see Figure 3A , after the production end generates the first information for calibrating the color in the native color gamut of the screen, it can be sent to the terminal side. After receiving the image to be displayed, the main control chip of the electronic device on the terminal side can determine the target color gamut of the original image and send the target color gamut information to the independent display chip. The independent display chip can receive the native color gamut information, and after receiving the target color gamut information sent by the main control chip, it can execute the above sub-steps 1031 to 1034 through the color gamut conversion module to obtain the second information. Afterwards, the independent display chip can adjust the screen color based on the first information and the second information, thereby improving the display effect of the screen. Among them, the first information and the second information below can both be a three-dimensional LUT (Look-Up-Table). LUT is used to define the change rules of RGB values, and obtain a new picture effect by changing the RGB value of each pixel. Simply put, LUT is used to output a set of RGB values ​​as another set of RGB values, thereby changing the exposure and color of the picture. Because the colors in the native color gamut can be calibrated based on the first information before the color gamut conversion is performed, the colors in the native color gamut can be made more accurate, avoiding the situation where some colors cannot be displayed due to low saturation, thereby making full use of the color display capability of the screen. On this basis, the color gamut conversion can achieve the best display effect on the screen. In addition, when the target color gamut is larger than the standard color gamut, color accuracy can also be maintained.

[0077] In some optional implementations of this embodiment, before the above sub-step 1031 is performed, the second information generating step may further include:

[0078] Sub-step 1035, determining the target display effect of the screen, wherein the target display effect is the desired display effect, which can be set by the user.

[0079] Optionally, the target display effect includes: a first display effect that is consistent with the ambient light, and a second display effect that maintains the original image color.

[0080] Sub-step 1036, updating the target color gamut information based on the target display effect and the ratio of the three primary colors of the ambient light.

[0081] Here, since the proportions of the three primary colors in different ambient lights are different, the red, green and blue saturation of the screen can be adjusted accordingly according to the proportions of the three primary colors in the ambient light, avoiding the reduction of display effect due to adjusting all colors to the maximum saturation.

[0082] Optionally, when the target display effect is the first display effect, the color saturation of each vertex of the target color gamut may be adjusted so that the ratio of the color saturation of each vertex of the adjusted target color gamut is proportional to the ratio of the three primary colors of the ambient light. For example, if the proportion of red light in the current ambient light is small, the saturation of red on the screen may be reduced.

[0083] Optionally, when the target display effect is the second display effect, the color saturation of each vertex of the target color gamut may be adjusted so that the ratio of the color saturation of each vertex of the adjusted target color gamut is inversely proportional to the ratio of the three primary colors of the ambient light. For example, if the proportion of red light in the current ambient light is small, the saturation of the red color of the screen may be increased, and the superposition result of the screen light and the ambient light reflected by the screen may remain unchanged.

[0084] In practical applications, see Figure 3B , after the production end generates the first information for calibrating the colors in the native color gamut of the screen, it can be sent to the terminal side. After receiving the image to be displayed, the main control chip of the electronic device on the terminal side can determine the target color gamut of the original image and send the target color gamut information to the independent display chip. The independent display chip can receive the native color gamut information and can also receive the three primary color ratios of the ambient light acquired by the sensor. After receiving the target color gamut information sent by the main control chip, the independent display chip sequentially executes the above sub-steps 1035 to 1036, and sub-steps 1031 to 1034 through the color gamut conversion module to obtain the second information. Afterwards, the independent display chip can adjust the screen color based on the first information and the second information, thereby improving the display effect of the screen. Among them, the first information and the second information below can both be three-dimensional LUTs. Because the colors in the native color gamut can be calibrated based on the first information before the color gamut conversion is performed, the colors in the native color gamut can be made more accurate, avoiding the situation where some colors cannot be displayed due to low saturation, thereby making full use of the color display capability of the screen. On this basis, the color gamut conversion can achieve the best display effect on the screen. In addition, by adjusting the red, green and blue saturations of the screen according to the red, green and blue ratios of the ambient light, the oversaturation, undersaturation and color cast can be improved, thereby ensuring the color accuracy under the target color gamut.

[0085] The method provided by the above-mentioned embodiment of the present application first obtains the native color gamut information and white point information of the screen of the electronic device; then, based on the native color gamut information and the white point information, generates first information for calibrating the color in the native color gamut; then, the first information and the native color gamut information are sent to the above-mentioned electronic device, so that the electronic device can generate second information for converting the native color gamut to the target color gamut based on the native color gamut information and the target color gamut information set by the user, so that the electronic device can adjust the color of the screen based on the second information. Since the color in the native color gamut can be calibrated based on the first information before the color gamut conversion is performed, the color in the native color gamut can be made more accurate, avoiding the situation where some colors cannot be displayed due to low saturation, thereby making full use of the color display capability of the screen, and performing color gamut conversion on this basis can enable the screen to achieve the best display effect. In addition, when the target color gamut is larger than the standard color gamut, color accuracy can also be maintained.

[0086] It should be noted that the screen color adjustment method provided in the embodiment of the present application can be executed by a screen color adjustment device. In the embodiment of the present application, the screen color adjustment device executing the screen color adjustment method is taken as an example to illustrate the screen color adjustment device provided in the embodiment of the present application.

[0087] like Figure 4 As shown, the screen color adjustment device 400 of this embodiment includes: an acquisition unit 401, used to acquire native color gamut information and white point information of the screen of the electronic device; a first generation unit 402, used to generate first information based on the native color gamut information and the white point information, wherein the first information is used to calibrate the color in the native color gamut; a second generation unit 403, used to send the first information and the native color gamut information to the electronic device, so that the electronic device generates second information based on the native color gamut information and the target color gamut information set by the user, and adjusts the color of the screen based on the first information and the second information, wherein the second information is used to convert the color gamut of the screen from the native color gamut to the target color gamut.

[0088] In some optional implementations of this embodiment, the native color gamut information includes the color coordinates of each vertex of the native color gamut and the actual brightness value of each vertex of the native color gamut; the white point information includes the color coordinates of the white point and the target brightness value of the white point; the first generation unit 401 is further used to: determine the target brightness value and color coordinates of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the color coordinates of the white point and the target brightness value of the white point; determine the target three-primary color grayscale value of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the target brightness value and color coordinates of each target point in the native color gamut; generate first information based on the target three-primary color grayscale value and the actual three-primary color grayscale value of each target point in the native color gamut. In the above manner, the first information including the mapping relationship between the target three-primary color grayscale value and the actual three-primary color grayscale value of each target point can be obtained. As a result, the terminal device can calibrate the colors in the native color gamut based on the first information before performing color gamut conversion, so that the colors in the native color gamut are more accurate and avoid the situation where some colors cannot be displayed due to low saturation, thereby making full use of the color display capability of the screen. Performing color gamut conversion on this basis can enable the screen to achieve the best display effect.

[0089] In some optional implementations of the present embodiment, the first generation unit 402 is further used to: determine the target brightness value of each vertex of the native color gamut based on the color coordinates of the white point and the target brightness value of the white point; determine the target brightness value of each target point in the native color gamut and the three-primary color target brightness value of each target point based on the target brightness value of each vertex of the native color gamut; determine the tristimulus value of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the target brightness value of each target point in the native color gamut, and the three-primary color target brightness value; determine the color coordinates of each target point in the native color gamut based on the tristimulus values ​​of each target point in the native color gamut.

[0090] In some optional implementations of the present embodiment, the first generating unit 402 is further used to: determine the target three-primary color ratio of each target point in the native color gamut based on the color coordinates of each target point in the native color gamut and the color coordinates of each vertex of the native color gamut; determine the target three-primary color brightness value of each target point in the native color gamut based on the target brightness value of each target point in the native color gamut and the target three-primary color ratio; determine the target three-primary color grayscale value of each target point in the native color gamut based on the target three-primary color brightness value of each target point in the native color gamut.

[0091] In some optional implementations of the present embodiment, the native color gamut information includes the color coordinates of each vertex of the native color gamut; the second generation unit 403 is further used to: send the first information and the native color gamut information to the electronic device, so that the electronic device performs the following second information generation step: determine the brightness value of each vertex of the target color gamut based on the color coordinates of each vertex of the target color gamut, the coordinates and brightness value of the white point in the target color gamut; determine the brightness value and the three-primary color brightness value of each target point in the target color gamut based on the grayscale value of each target point in the target color gamut and the brightness value of each vertex of the target color gamut; determine the three-primary color grayscale value of each target point in the target color gamut under the native color gamut based on the color coordinates of each vertex of the native color gamut, the brightness value of each target point in the target color gamut and the three-primary color brightness value; generate the second information based on the three-primary color grayscale value of each target point in the target color gamut under the target color gamut and the three-primary color grayscale value under the native color gamut.

[0092] In some optional implementations of this embodiment, the second information generation step further includes: determining a target display effect of the screen; and updating the target color gamut information based on the target display effect and the ratio of the three primary colors of the ambient light. By adjusting the red, green, and blue saturations of the screen according to the red, green, and blue ratios of the ambient light, oversaturation, undersaturation, and color cast can be improved, thereby ensuring color accuracy under the target color gamut.

[0093] In some optional implementations of this embodiment, the target display effect includes: a first display effect that is consistent with the ambient light, and a second display effect that maintains the color of the original image; the updating of the target color gamut information based on the target display effect and the ratio of the three primary colors of the ambient light includes: when the target display effect is the first display effect, adjusting the color saturation of each vertex of the target color gamut so that the ratio of the color saturation of each vertex of the adjusted target color gamut is proportional to the ratio of the three primary colors of the ambient light; when the target display effect is the second display effect, adjusting the color saturation of each vertex of the target color gamut so that the ratio of the color saturation of each vertex of the adjusted target color gamut is inversely proportional to the ratio of the three primary colors of the ambient light. By adjusting the red, green, and blue saturations of the screen according to the red, green, and blue ratios of the ambient light, oversaturation, undersaturation, and color cast can be improved, thereby ensuring color accuracy under the target color gamut.

[0094] The device provided by the above-mentioned embodiment of the present application first obtains the native color gamut information and white point information of the screen of the electronic device; then, based on the native color gamut information and the white point information, generates first information for calibrating the colors in the native color gamut; then, the first information and the native color gamut information are sent to the electronic device, so that the electronic device can generate second information for converting the native color gamut to the target color gamut based on the native color gamut information and the target color gamut information set by the user, so that the electronic device can adjust the color of the screen based on the second information. Since the colors in the native color gamut can be calibrated based on the first information before the color gamut conversion is performed, the colors in the native color gamut can be made more accurate, avoiding the situation where some colors cannot be displayed due to low saturation, thereby making full use of the color display capability of the screen. On this basis, color gamut conversion is performed, which can enable the screen to achieve the best display effect.

[0095] The screen color adjustment device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than the terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR) / virtual reality (Virtual Reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (Ultra-Mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a television (Television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0096] The screen color adjustment device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0097] The screen color adjustment device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0098] Alternatively, if Figure 5As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501 and a memory 502, wherein the memory 502 stores programs or instructions that can be executed on the processor 501, and when the program or instructions are executed by the processor 501, the various steps of the above-mentioned screen color adjustment method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.

[0099] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0100] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0101] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.

[0102] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0103] Among them, the processor 610 is used to obtain the native color gamut information and white point information of the screen of the electronic device; generate first information based on the native color gamut information and the white point information, and the first information is used to calibrate the color in the native color gamut; send the first information and the native color gamut information to the electronic device, so that the electronic device generates second information based on the native color gamut information and the target color gamut information set by the user, and adjusts the color of the screen based on the first information and the second information, and the second information is used to convert the color gamut of the screen from the native color gamut to the target color gamut.

[0104] Since the colors in the native color gamut can be calibrated based on the first information before color gamut conversion, the colors in the native color gamut can be made more accurate, avoiding the situation where some colors cannot be displayed due to low saturation, thereby making full use of the color display capability of the screen. Color gamut conversion is performed on this basis, which can enable the screen to achieve the best display effect.

[0105] Optionally, the native color gamut information includes the color coordinates of each vertex of the native color gamut and the actual brightness value of each vertex of the native color gamut; the white point information includes the color coordinates of the white point and the target brightness value of the white point; the processor 610 is further used to determine the target brightness value and color coordinates of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the color coordinates of the white point and the target brightness value of the white point; determine the target three-primary color grayscale value of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the target brightness value and color coordinates of each target point in the native color gamut; generate first information based on the target three-primary color grayscale value and the actual three-primary color grayscale value of each target point in the native color gamut. In the above manner, the first information including the mapping relationship between the target three-primary color grayscale value and the actual three-primary color grayscale value of each target point can be obtained. As a result, the terminal device can calibrate the colors in the native color gamut based on the first information before performing color gamut conversion, so that the colors in the native color gamut are more accurate and avoid the situation where some colors cannot be displayed due to low saturation, thereby making full use of the color display capability of the screen. Performing color gamut conversion on this basis can enable the screen to achieve the best display effect.

[0106] Optionally, the processor 610 is further used to determine the target brightness value of each vertex of the native color gamut based on the color coordinates of the white point and the target brightness value of the white point; determine the target brightness value of each target point in the native color gamut and the three-primary color target brightness value of each target point based on the target brightness value of each vertex of the native color gamut; determine the tristimulus value of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the target brightness value of each target point in the native color gamut, and the three-primary color target brightness value; determine the color coordinates of each target point in the native color gamut based on the tristimulus values ​​of each target point in the native color gamut.

[0107] Optionally, the processor 610 is further used to determine the target three-primary color ratio of each target point in the native color gamut based on the color coordinates of each target point in the native color gamut and the color coordinates of each vertex of the native color gamut; determine the target three-primary color brightness value of each target point in the native color gamut based on the target brightness value of each target point in the native color gamut and the target three-primary color ratio; determine the target three-primary color grayscale value of each target point in the native color gamut based on the target three-primary color brightness value of each target point in the native color gamut.

[0108] Optionally, the native color gamut information includes the color coordinates of each vertex of the native color gamut; the processor 610 is further used to send the first information and the native color gamut information to the electronic device, so that the electronic device performs the following second information generation step: determine the brightness value of each vertex of the target color gamut based on the color coordinates of each vertex of the target color gamut, the coordinates and brightness value of the white point in the target color gamut; determine the brightness value and three-primary color brightness value of each target point in the target color gamut based on the grayscale value of each target point in the target color gamut and the brightness value of each vertex of the target color gamut; determine the three-primary color grayscale value of each target point in the target color gamut under the native color gamut based on the color coordinates of each vertex of the native color gamut, the brightness value of each target point in the target color gamut and the three-primary color brightness value; generate second information based on the three-primary color grayscale value of each target point in the target color gamut under the target color gamut and the three-primary color grayscale value under the native color gamut.

[0109] Optionally, the second information generation step further includes: determining a target display effect of the screen; and updating the target color gamut information based on the target display effect and the ratio of the three primary colors of the ambient light. By adjusting the saturation of the red, green and blue colors of the screen according to the ratio of the red, green and blue colors of the ambient light, oversaturation, undersaturation and color cast can be improved, thereby ensuring color accuracy under the target color gamut.

[0110] Optionally, the target display effect includes: a first display effect that is consistent with the ambient light, and a second display effect that maintains the color of the original image; the updating of the target color gamut information based on the target display effect and the ratio of the three primary colors of the ambient light includes: when the target display effect is the first display effect, adjusting the color saturation of each vertex of the target color gamut so that the ratio of the color saturation of each vertex of the adjusted target color gamut is proportional to the ratio of the three primary colors of the ambient light; when the target display effect is the second display effect, adjusting the color saturation of each vertex of the target color gamut so that the ratio of the color saturation of each vertex of the adjusted target color gamut is inversely proportional to the ratio of the three primary colors of the ambient light. By adjusting the red, green, and blue saturations of the screen according to the red, green, and blue ratios of the ambient light, oversaturation, undersaturation, and color cast can be improved, thereby ensuring color accuracy under the target color gamut.

[0111] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0112] The memory 609 can be used to store software programs and various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 609 may include a volatile memory or a non-volatile memory, or the memory 609 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 609 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0113] The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 610.

[0114] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned screen color adjustment method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0115] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0116] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned screen color adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0117] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0118] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned screen color adjustment method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0119] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0121] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A screen color adjustment method, characterized in that: The method comprises: Obtaining native color gamut information and white point information of the screen of the electronic device; Generate first information based on the native color gamut information and the white point information, where the first information is used to calibrate the color in the native color gamut; The first information and the native color gamut information are sent to the electronic device so that the electronic device generates second information based on the native color gamut information and the target color gamut information set by the user, and adjusts the color of the screen based on the first information and the second information, wherein the second information is used to convert the color gamut of the screen from the native color gamut to the target color gamut.

2. The method according to claim 1, characterized in that The native color gamut information includes the color coordinates of each vertex of the native color gamut and the actual brightness value of each vertex of the native color gamut; the white point information includes the color coordinates of the white point and the target brightness value of the white point; The generating first information based on the native color gamut information and the white point information includes: Determine a target brightness value and color coordinates of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the color coordinates of the white point, and the target brightness value of the white point; Determine a target three-primary-color grayscale value of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the target brightness value and the color coordinates of each target point in the native color gamut; First information is generated based on the target three-primary-color grayscale values ​​and the actual three-primary-color grayscale values ​​of each target point in the native color gamut.

3. The method according to claim 2, characterized in that The determining the target brightness value and the color coordinates of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the color coordinates of the white point, and the target brightness value of the white point comprises: Determining a target brightness value of each vertex of the native color gamut based on the color coordinates of the white point and the target brightness value of the white point; Determine, based on the target brightness value of each vertex of the native color gamut, a target brightness value of each target point in the native color gamut and a three-primary color target brightness value of each target point; Determine the tristimulus value of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the target brightness value of each target point in the native color gamut, and the three-primary color target brightness values; The color coordinates of each target point in the native color gamut are determined based on the tristimulus values ​​of each target point in the native color gamut.

4. The method according to claim 2, characterized in that: The determining the target three-primary-color grayscale value of each target point in the native color gamut based on the color coordinates of each vertex of the native color gamut, the target brightness value and the color coordinates of each target point in the native color gamut, comprises: Determining a target three-primary color ratio of each target point in the native color gamut based on the color coordinates of each target point in the native color gamut and the color coordinates of each vertex of the native color gamut; Determining a target three-primary color brightness value of each target point in the native color gamut based on a target brightness value of each target point in the native color gamut and a target three-primary color ratio; Based on the target three-primary color brightness value of each target point in the native color gamut, the target three-primary color grayscale value of each target point in the native color gamut is determined.

5. The method according to claim 1, characterized in that The native color gamut information includes color coordinates of each vertex of the native color gamut; and sending the first information and the native color gamut information to the electronic device so that the electronic device generates second information based on the native color gamut information and target color gamut information set by a user, comprises: The first information and the native color gamut information are sent to the electronic device, so that the electronic device performs the following second information generation step: Determine the brightness value of each vertex of the target color gamut based on the color coordinates of each vertex of the target color gamut, the coordinates of the white point in the target color gamut, and the brightness value; Determine the brightness value of each target point in the target color gamut and the brightness values ​​of the three primary colors based on the grayscale value of each target point in the target color gamut and the brightness value of each vertex of the target color gamut; Determine the three-primary-color grayscale value of each target point in the target color gamut under the native color gamut based on the color coordinates of each vertex of the native color gamut, the brightness value of each target point in the target color gamut, and the three-primary-color brightness value; Second information is generated based on the three-primary-color grayscale values ​​of each target point in the target color gamut in the target color gamut and the three-primary-color grayscale values ​​in the native color gamut.

6. The method according to claim 5, characterized in that Before determining the brightness value of each vertex of the target color gamut based on the color coordinates of each vertex of the target color gamut, the coordinates of the white point in the target color gamut, and the brightness value, the second information generating step further includes: Determining a target display effect of the screen; The target color gamut information is updated based on the target display effect and the ratio of the three primary colors of the ambient light.

7. The method according to claim 6, characterized in that The target display effect includes: a first display effect that is consistent with the ambient light and a second display effect that maintains the original image color; and updating the target color gamut information based on the target display effect and the ratio of the three primary colors of the ambient light includes: When the target display effect is the first display effect, adjusting the color saturation of each vertex of the target color gamut so that the ratio of the color saturation of each vertex of the target color gamut after adjustment is proportional to the ratio of the three primary colors of the ambient light; When the target display effect is the second display effect, the color saturation of each vertex of the target color gamut is adjusted so that the ratio of the adjusted color saturation of each vertex of the target color gamut is inversely proportional to the ratio of the three primary colors of the ambient light.

8. A screen color adjustment device, characterized in that: The device comprises: An acquisition unit, used to acquire native color gamut information and white point information of a screen of an electronic device; A first generating unit, configured to generate first information based on the native color gamut information and the white point information, wherein the first information is used to calibrate the color in the native color gamut; The second generating unit is used to send the first information and the native color gamut information to the electronic device, so that the electronic device generates second information based on the native color gamut information and the target color gamut information set by the user, and adjusts the color of the screen based on the first information and the second information, and the second information is used to convert the color gamut of the screen from the native color gamut to the target color gamut.

9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the screen color adjustment method according to any one of claims 1 to 7 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the screen color adjustment method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Color gamut mapping method and assembly, display device and storage medium

    CN110675797A

  • Color gamut mapping method, color gamut mapping assembly and display device

    CN111341283A

  • Screen calibration method and device, electronic equipment and storage medium

    CN114067741A

  • Color alignment correction method and device and electronic equipment

    CN117238260A

  • Backlight assembly and liquid crystal display having the same

    US20150029439A1