Color calibration method and device, electronic equipment and storage medium
By classifying and uniform color calibration of the display screen according to the ambient light parameters of the display screen, the problem of inconsistent color effects of multiple display screens is solved, and color consistency and efficiency improvement in different environments is achieved.
Patent Information
- Application Number
- CN202510890702.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-08-08
AI Technical Summary
In multiple display screens of the same electronic device, due to different types, sizes, materials and environments, the color effects of the display screen are inconsistent. The prior art fails to effectively consider the dynamic impact of environmental changes on color display, resulting in low color calibration efficiency and inconsistent effects.
By obtaining the ambient light parameters of the display screen, classifying similar display screens to the same target display screen collection, determining the color calibration parameters based on the ambient light parameters, and uniformly calibrating the display screens in the set to reduce the dynamic impact of environmental changes.
The naked eye effect of each display screen in different environments is achieved, the color calibration steps of multiple display screens are simplified, the color calibration efficiency is improved, and the impact of environmental changes is reduced.
Smart Images

Figure CN120452343A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology of display screens, and more specifically, to a color calibration method, device, electronic device, and storage medium in the field of display technology of display screens. Background Art
[0002] Multiple displays on the same electronic device vary in type, size, material, and environment, resulting in different display parameters and ultimately different color effects. To ensure consistent color effects across all displays, each display needs to be color calibrated. Related techniques for color calibration of multiple displays on an electronic device often involve performing different batches of calibration on a single display, without considering the dynamic impact of the surrounding environment on the color display of each display within the electronic device. Summary of the Invention
[0003] The present application provides a color calibration method, device, electronic device and storage medium. The method can reduce the dynamic impact of environmental changes on display screens, achieve consistent visual effects on various display screens in different environments, and at the same time simplify the color calibration steps of multiple display screens, thereby improving the efficiency of color calibration.
[0004] In a first aspect, a color calibration method is provided, comprising: in response to a color calibration instruction for at least two displays, obtaining ambient light parameters corresponding to each of the at least two displays; classifying the displays based on the ambient light parameters to obtain at least one target display set; determining color calibration parameters for each target display in the target display set based on target ambient light parameters corresponding to the target display set; and performing color calibration on each target display based on the color calibration parameters.
[0005] Through the above technical solution, when color calibration is performed on at least two displays, the displays are classified according to their ambient light parameters, and displays of the same type are grouped into the same target display set. Color calibration parameters for each target display in the target display set are determined based on the target ambient light parameters corresponding to each target display set, and color calibration is then performed on each target display based on the color calibration parameters. Displays are classified according to the ambient light parameters surrounding each display, and color calibration is uniformly performed for each target display set. This reduces the dynamic impact of environmental changes on the displays, achieving consistent visual effects on each display in different environments. Separate processing is no longer required for individual displays, simplifying the color calibration process for multiple displays and improving color calibration efficiency.
[0006] In conjunction with the first aspect, in certain possible implementations, the step of obtaining ambient light parameters corresponding to each of the at least two display screens in response to a color calibration instruction for the at least two display screens includes: determining, in response to the color calibration instruction for the at least two display screens, an external environment range corresponding to each of the at least two display screens based on a preset environment division distance; and determining the ambient light parameters within the external environment range as the ambient light parameters corresponding to the display screen.
[0007] With the above technical solution, since the environments in which the multiple display screens are located are complex and changeable, the accuracy of the obtained ambient light parameters is improved by dividing the external environment ranges in which the multiple display screens are located by presetting the environment division distances.
[0008] In combination with the first aspect and the above-described implementations, in certain possible implementations, the step of classifying the display screens based on the ambient light parameters to obtain at least one target display screen set includes: obtaining a parameter difference in the ambient light parameters of any two of the display screens; and grouping the target display screens corresponding to target parameter differences within a preset difference range among the parameter differences into the same target display screen set, thereby obtaining at least one target display screen set.
[0009] Through the above technical solution, a preset difference interval is determined in advance, and each display screen is classified according to the preset difference interval, ensuring that the display screens with ambient light parameters within a similar range are in the same target display screen set. The target display screen set can then be used as a unit for unified color calibration.
[0010] In combination with the first aspect and the above-mentioned implementation manner, in some possible implementation manners, before the step of determining the color calibration parameters for each target display screen in the target display screen set based on the target ambient light parameters corresponding to the target display screen set, the step further includes: obtaining the original color parameters of each target display screen in the target display screen set.
[0011] In combination with the first aspect and the above-mentioned implementations, in certain possible implementations, the step of determining color calibration parameters for each target display in the target display set based on the target ambient light parameters corresponding to the target display set includes: obtaining an average of the ambient light parameters of each target display in the target display set, and determining the average as the target ambient light parameter for the target display set; determining a target lighting environment type for each target display based on the target ambient light parameters; determining a target color standard corresponding to the target lighting environment type based on a mapping relationship between the lighting environment type and the color standard; and determining color calibration parameters for each target display based on the target color parameters corresponding to the target color standard and the original color parameters of each target display.
[0012] Through the above technical solution, the mapping relationship between ambient light parameters and color standards is determined in advance, and then the target color standard corresponding to the target ambient light parameters is determined. Different color standards are matched for target display screens under different lighting environment types corresponding to different ambient light parameters, thereby reducing the dynamic impact of ambient light parameters on the display screen display effect and achieving consistency in the naked eye effect of multiple display screens.
[0013] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the step of performing color calibration on each target display screen based on the color calibration parameters includes: obtaining the display content of each area divided in each target display screen; if there is no target display content in each area that meets the preset safety information, then color calibration is performed on each target display screen based on the color calibration parameters.
[0014] The above technical solution determines whether the display content in different areas of a display screen complies with the preset safety information. If the display content in all areas of all displays complies with the preset safety information, color calibration is performed on all displays based on the color calibration parameters. By comparing the displayed content with the preset safety information, color calibration is prevented from affecting the safe use of the electronic device to which the display screen belongs, thereby improving the safety of the electronic device.
[0015] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after the step of obtaining the display content of each area divided in the target display screen, it also includes: if there is target display content in each area that complies with the preset security information, then the area where the target display content is located is determined as the target area, and the target display screen where the target area is located is determined as the safety information display screen; output a color calibration option to receive a target color calibration option for the safety information display screen; and perform color calibration on each target display screen based on the color calibration strategy corresponding to the target color calibration option.
[0016] Through the above technical solution, the display screen where the target display content that meets the preset security information is located is determined as the security information display screen, and a color calibration option is provided to the user so that the user can select the color calibration strategy corresponding to the target color calibration option, thereby improving the user experience.
[0017] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the color calibration step of each target display screen is performed based on the color calibration strategy corresponding to the target color calibration option, including: if the target color calibration option is the first calibration option, then color calibration is performed on the remaining target display screens except the safety information display screen based on the color calibration parameters, and the target display content in the target area is continuously detected; when the target display content does not conform to the preset safety information, color calibration is performed on the safety information display screen based on the color calibration parameters.
[0018] With the above technical solution, the color calibration strategy corresponding to the first calibration option is to first perform color calibration on all displays except the one displaying the safety information. If the target display content does not conform to the preset safety information, the color calibration of the safety information display is then performed on the safety information display. This color calibration strategy corresponding to the first calibration option balances the safety of electronic device use with the color calibration of all displays except the safety information display.
[0019] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the color calibration step of each target display screen is performed based on the color calibration strategy corresponding to the target color calibration option, including: if the target color calibration option is the second calibration option, then based on the color calibration parameters, the remaining target display screens in each target display screen except the safety information display screen, and the remaining areas in the safety information display screen except the target area are color calibrated, and the target display content in the target area is continuously detected; when the target display content does not conform to the preset safety information, the target area is color calibrated based on the color calibration parameters.
[0020] With the above technical solution, the color calibration strategy corresponding to the second calibration option first performs color calibration on all displays except the one preceding the safety information display screen, as well as on the remaining areas of the safety information display screen except the target area. If the target display content does not conform to the preset safety information, color calibration is then performed on the target area of the safety information display screen. The color calibration strategy corresponding to the second calibration option, based on the color calibration strategy corresponding to the first calibration instruction, ensures that color calibration is effective for the remaining areas of the safety information display screen except the target area.
[0021] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the color calibration step of each target display screen is performed based on the color calibration strategy corresponding to the target color calibration option, including: if the target color calibration option is the third calibration option, continuously detecting the target display content in the target area; when the target display content does not meet the preset safety information, color calibration of each target display screen is performed based on the color calibration parameters.
[0022] Through the above technical solution, the color calibration policy corresponding to the third calibration option is to perform color calibration on all displays when the display contents on all displays comply with the preset safety information. The color calibration policy corresponding to the third calibration option ensures the safety of electronic devices.
[0023] In a second aspect, a color calibration device is provided, the device comprising:
[0024] an ambient light parameter acquisition unit, configured to acquire, in response to a color calibration instruction for at least two display screens, an ambient light parameter corresponding to each of the at least two display screens;
[0025] a display screen classification unit, configured to classify each display screen based on each ambient light parameter to obtain at least one target display screen set;
[0026] a calibration parameter determination unit, configured to determine a color calibration parameter for each target display screen in the target display screen set based on a target ambient light parameter corresponding to the target display screen set;
[0027] The calibration unit is used to perform color calibration on each target display screen based on the color calibration parameters.
[0028] In a third aspect, an electronic device is provided, the electronic device comprising: a memory for storing executable program code;
[0029] A processor is used to call and run executable program code from a memory to execute the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0030] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on an electronic device, enables the electronic device to execute the method in the first aspect or any possible implementation of the first aspect.
[0031] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 Schematic diagram of a color calibration method provided in an embodiment of the present application;
[0033] Figure 2 is a flowchart of a color calibration method provided in an embodiment of the present application;
[0034] Figure 3 is a flowchart of a color calibration method provided in an embodiment of the present application;
[0035] Figure 4 is a flowchart of a color calibration method provided in an embodiment of the present application;
[0036] Figure 5 is an example schematic diagram of a color calibration option provided in an embodiment of the present application;
[0037] Figure 6 is a flowchart of a color calibration method provided in an embodiment of the present application;
[0038] Figure 7 This is a software architecture diagram for color calibration of an electronic device provided in an embodiment of the present application;
[0039] Figure 8 is a structural schematic diagram of a color calibration device provided in an embodiment of the present application;
[0040] Figure 9 This is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The following will clearly and thoroughly describe the technical solutions in this application in conjunction with the accompanying drawings. In the description of the embodiments of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more than two.
[0042] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0043] See Figure 1 , Figure 1 Schematic diagram of a color calibration method provided by an embodiment of the present application. Figure 1 As shown, the color calibration method provided in the embodiment of the present application is applied to electronic devices. The electronic devices include but are not limited to mobile phones, personal computers, laptops, wearable devices, vehicles and other terminal devices with at least two display screens. Each display screen is set at a different position of the electronic device, showing the same or different display content in different sizes, different types or different materials. Since the positions of the display screens are different, the ambient light parameters they are subjected to are also different. Ambient light affects the human eye's perception of the color of the display screen. Therefore, the color effects of the display screens under different ambient light parameters are also inconsistent in the eyes of the human eye.
[0044] Taking vehicles as an example, the types and layouts of displays within the current vehicle cabin are increasing, including the central control display, instrument display, passenger display, rear armrest display, rear seatback display, and ceiling-mounted display. These displays are located in different locations within the vehicle and perform different functions. Their type, size, material, production batch, and environment all affect the final display parameters, resulting in inconsistent color effects to the human eye.
[0045] Based on the above problems, an embodiment of the present application provides a color calibration method. When color calibration is performed on at least two display screens, each display screen is classified according to the ambient light parameters of each display screen, and the same type of display screens are divided into the same target display screen set. Based on the target ambient light parameters corresponding to each target display screen set, the color calibration parameters for each target display screen in the target display screen set are determined, and then color calibration is performed on each target display screen based on the color calibration parameters. The display screens are classified according to the ambient light parameters surrounding each display screen, and color calibration is uniformly performed for each type of target display screen set. This reduces the dynamic impact of environmental changes on the display screens, achieves consistent visual effects on each display screen in different environments, and eliminates the need to process each display screen separately. This simplifies the color calibration steps for multiple display screens and improves the efficiency of color calibration.
[0046] based on Figure 1 The following scene diagram will be combined with Figure 2-Figure 7 , the color calibration method provided in the embodiment of the present application is introduced in detail.
[0047] See Figure 2 , Figure 2 FIG. 1 is a flow chart of a color calibration method provided in an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application may include the following steps S101 to S104.
[0048] S101, in response to a color calibration instruction for at least two display screens, obtaining an ambient light parameter corresponding to each of the at least two display screens;
[0049] Specifically, embodiments of the present application are applied to an electronic device having at least two display screens. When the electronic device receives a color calibration instruction for the at least two display screens, the electronic device obtains ambient light parameters corresponding to each of the at least two display screens in response to the color calibration instruction. The ambient light parameters will affect the color display effect of the display screen. The ambient light parameters obtained in embodiments of the present application include parameters such as light intensity parameters, light color temperature parameters, and spectral distribution parameters. Different types of parameters define the properties of ambient light from different perspectives and affect the display effect of the display screen.
[0050] Among them, the light intensity parameter refers to the luminous flux received per unit area and is used to measure the brightness of the ambient light, that is, the intensity of the light shining on the surface of the display. The higher the light intensity, the stronger the reflection of the display screen, and the lower the human eye's sensitivity to the brightness of the display screen, making it difficult to distinguish the displayed content on the display screen. The light color temperature parameter is an indicator that describes the color effect of the light emitted by the light source. It is used to reflect the color appearance of the light source, ranging from warm to cool tones. The color temperature of the light affects the human eye's perception of screen color. For example, under a warm light source, white on the screen may appear yellowish; under a cool light source, white may appear bluish. The spectral distribution parameter is used to describe the relative content or proportion of different wavelengths (colors) of light in the light, including the proportion of each color light such as red, green, and blue. The spectral distribution of the ambient light will affect the color performance of the display screen. For example, if the proportion of blue light in the ambient light is too high, the display screen may need to increase yellow light to compensate to maintain color balance.
[0051] S102, classifying each display screen based on each ambient light parameter to obtain at least one target display screen set;
[0052] Specifically, the embodiment of the present application performs color calibration on at least two displays. Since ambient light parameters can affect the color display of the displays, the embodiment of the present application sets different color standards for displays under different ambient light parameters. Therefore, the displays are classified based on the ambient light parameters corresponding to each display, and displays with similar ambient light parameters are grouped into the same target display set, ultimately obtaining at least one target display. When classifying the displays, it is necessary to obtain the parameter difference of the ambient light parameters between any two displays among all the displays. The target displays in the same target display set are determined by comparing the parameter difference with a preset difference range. The preset difference range can be determined based on the degree of influence of various types of ambient light parameters on the color display effect of the display.
[0053] S103, determining a color calibration parameter for each target display screen in the target display screen set based on a target ambient light parameter corresponding to the target display screen set;
[0054] Specifically, the ambient light parameters corresponding to each target display screen in the target display screen set may be the same or similar. The average of the ambient light parameters of all target display screens in the same target display screen set is determined as the target ambient light parameter corresponding to the target display screen set, and the color calibration parameters for each target display screen in the target display screen set are determined based on the target ambient light parameters. The color calibration parameters are used to compensate for the impact of the target ambient light parameters on the ambient light of each target display screen in the target display screen set. At the same time, since the original color parameters of each display screen may be different, even under similar ambient light parameters, the color display effect may be different. Therefore, the color calibration parameters can also calibrate the color deviation caused by the original color parameters of each target display screen. The original color parameters are the color characteristics of each color in the display screen measured during the calibration stage of the production line. The original color parameters describe the inherent color performance of the display screen.
[0055] S104: Perform color calibration on each target display screen based on the color calibration parameters.
[0056] Specifically, color calibration parameters are typically in the form of multidimensional vectors or matrices. Electronic devices typically include a Display Picture Quality Algorithm service (PQ) module, which sends the acquired color calibration parameters to the PQ module. When the display screen receives an image signal, it decodes the image signal, performs preliminary color rendering on the decoded image using the original color parameters in the PQ module, and then calibrates the rendered image colors using the color calibration parameters, completing the image color processing process.
[0057] In an embodiment of the present application, when color calibration is performed on at least two displays, the displays are classified according to their ambient light parameters, and displays of the same type are grouped into the same target display set. Color calibration parameters for each target display in the target display set are determined based on the target ambient light parameters corresponding to each target display set, and color calibration is then performed on each target display based on the color calibration parameters. The displays are classified according to the ambient light parameters surrounding each display, and color calibration is uniformly performed for each target display set. This reduces the dynamic impact of environmental changes on the displays, achieving consistent visual effects on each display in different environments. Separate processing is not required for each display, simplifying the color calibration process for multiple displays and improving color calibration efficiency.
[0058] See Figure 3 , Figure 3 FIG. 1 is a flow chart of a color calibration method provided in an embodiment of the present application. Figure 3 As shown, the method of the embodiment of the present application may include the following steps S201 to S209.
[0059] S201, in response to a color calibration instruction for at least two display screens, determining an external environment range corresponding to each of the at least two display screens based on a preset environment division distance;
[0060] Specifically, the embodiment of the present application is applied to an electronic device having at least two display screens. When the electronic device receives a color calibration instruction for at least two display screens, it obtains the ambient light parameters corresponding to each of the at least two display screens in response to the color calibration instruction. In order to improve the accuracy of the ambient light parameters, the embodiment of the present application pre-sets a preset environment division distance, and determines the external environment range corresponding to each of the at least two display screens based on the preset environment division distance. The ambient light parameters will affect the color display effect of the display screen. The ambient light parameters obtained by the embodiment of the present application include parameters such as light intensity parameters, light color temperature parameters, and spectral distribution parameters. Different types of parameters define the properties of the ambient light from different angles and affect the display effect of the display screen. Optionally, the color calibration instruction can be sent by the electronic device when it detects that the user has clicked on the display screen that is desired to be calibrated, or it can be sent by the user through a terminal device that establishes a communication connection with the electronic device.
[0061] The light intensity parameter refers to the luminous flux received per unit area of the display surface and is used to measure the brightness of the ambient light, that is, the intensity of the light shining on the display surface. The higher the light intensity, the stronger the reflection of the display screen, and the lower the human eye's sensitivity to the display brightness, making it difficult to distinguish the content displayed on the display. The light color temperature parameter is an indicator that describes the color effect of the light emitted by the light source, which is used to reflect the color appearance of the light source, ranging from warm to cool tones. The light color temperature affects the human eye's perception of screen color. For example, under a warm light source, white on the screen may appear yellowish; under a cool light source, white may appear bluish. The spectral distribution parameter is used to describe the relative content or proportion of different wavelengths (colors) of light in the light, including the proportion of each color of light, such as red, green, and blue. The spectral distribution of the ambient light affects the color performance of the display screen. For example, if the proportion of blue light in the ambient light is too high, the display may need to increase yellow light to compensate and maintain color balance.
[0062] The distance between the display and the light source has little effect on the measured color temperature and spectral distribution parameters. However, the distance between the display and the light source has a greater impact on the light intensity parameters, with light intensity generally decreasing with increasing distance. This is because light diffuses during propagation, resulting in a decrease in the luminous flux received per unit area of the display. When measuring the light intensity parameters of the environment surrounding the display, ensure that the measuring instrument maintains an appropriate distance from the display surface to accurately reflect the actual lighting conditions in use. If the distance is too close, the measured value may be too high; if the distance is too far, the measured value may be too low. Therefore, it is recommended to conduct multiple comparative experiments using measuring instruments corresponding to the light intensity parameters in advance to determine the optimal distance. This optimal distance is used as the preset environmental division distance, and the external environment range around the display is then divided.
[0063] S202, determining ambient light parameters within the external environment range as ambient light parameters corresponding to the display screen;
[0064] Specifically, the ambient light parameters within the external environment range corresponding to each divided display screen are measured and determined as the ambient light parameters corresponding to the display screen. Among them, the light color temperature parameters and spectral distribution parameters can be obtained from the light source through the corresponding measuring instruments. The measuring instrument for the light color temperature parameters can be a color thermometer or a spectrophotometer. Taking the color thermometer as an example, the color thermometer calculates the equivalent blackbody radiation temperature, that is, the light color temperature parameters, by measuring the spectral distribution of the light emitted by the light source. When measuring the light color temperature parameters, the probe of the color thermometer or spectrophotometer is pointed at the light source to ensure that the light received by the probe represents the actual ambient light. The measuring instrument for the spectral distribution parameters can be a spectrometer or a spectrophotometer. Taking the spectrometer as an example, the spectrometer decomposes light into a spectrum of different wavelengths through a dispersion element (such as a grating or prism), and then measures the light intensity of each wavelength through a detector to obtain the spectral distribution parameters. When measuring the spectral distribution parameters, the probe of the spectrometer is pointed at the light source to ensure that the light received by the probe can represent the spectral characteristics of the actual ambient light. Light intensity parameters can be measured using a light meter. A light meter uses a sensor (such as a photoresistor or photodiode) to measure the luminous flux received per unit area, thereby obtaining light intensity parameters. When measuring the light intensity parameters of a display screen, align the light meter's sensor with the area to be measured on the display screen, ensuring that the sensor surface is perpendicular to the direction of the light to obtain accurate measurement results. To improve the accuracy of the light intensity parameters, the light intensity parameters must be obtained at a preset environmental distance directly in front of the display screen.
[0065] S203, obtaining a parameter difference of the ambient light parameters of any two display screens among the display screens;
[0066] Specifically, after obtaining the ambient light parameters of all display screens that require color calibration in an electronic device, any two display screens are randomly selected from all the display screens that require color calibration for combination, and the parameter difference of the ambient light parameters of any two display screens among all the display screens is obtained. In the embodiment of the present application, color calibration is performed on at least two display screens. Since the ambient light parameters will affect the color display of the display screens, the embodiment of the present application sets different color standards for display screens under different ambient light parameters. Therefore, the display screens are classified based on the ambient light parameters corresponding to each display screen, and display screens with similar ambient light parameters are divided into the same target display screen set, ultimately obtaining at least one target display screen. The parameter difference can determine the display screens with similar ambient light parameters.
[0067] Because the ambient light parameters include multiple types of parameters, it is necessary to obtain the parameter differences of all types of parameters between any two display screens. The ambient light parameters obtained in the embodiments of the present application include parameters such as light intensity parameters, light color temperature parameters, and spectral distribution parameters. Therefore, it is necessary to obtain multiple parameter differences corresponding to the parameter types, such as the light intensity parameter difference, the light color temperature parameter difference, and the spectral distribution parameter difference.
[0068] S204, grouping the target display screens corresponding to the target parameter differences within a preset difference range among the parameter differences into the same target display screen set to obtain at least one target display screen set;
[0069] Specifically, preset difference intervals of corresponding types are set for all types of parameter differences in advance, and it is determined whether all types of parameter differences between any two display screens are within the preset difference intervals of corresponding types. If all types of parameter differences between any two display screens are within the preset difference intervals of corresponding types, the two display screens are classified into the same target display screen set; if at least one type of parameter difference among all types of parameter differences between any two display screens is not within the preset difference interval, it is determined that the two display screens cannot be classified into the same target display screen set.
[0070] Among them, the preset difference interval can be determined according to the degree of influence of various types of parameters in the ambient light parameters on the color display effect of the display screen. For example, assuming that when the light intensity parameter changes by more than 500 lux, the human eye can distinguish the change in the color display effect of the display screen, then the preset difference interval corresponding to the light intensity parameter can be set to [0,500]; assuming that when the light color temperature parameter changes by more than 500 Kelvin (K), the human eye can distinguish the change in the color display effect of the display screen, then the preset difference interval corresponding to the light color temperature parameter can be set to [0,500]; assuming that when the difference between the spectral distribution parameters of the light source to which the display screen is subjected and the spectral distribution parameters of the standard light source exceeds 10%, the human eye can distinguish the change in the color display effect of the display screen, then the preset difference interval corresponding to the spectral distribution parameters can be set to [0,0.1].
[0071] S205, obtaining original color parameters of each target display screen in the target display screen set;
[0072] Specifically, during the production line calibration phase for each target display in the target display set, the original color parameters of each target display are obtained. When obtaining the original color parameters of the display, all displays are ensured to be in the same test environment. Multiple sets of color tests are performed on the display using a 24-color standard color card. The 24 color standard color blocks output by the display are obtained. The XYZ tristimulus values of each standard color block are measured multiple times using a high-precision color analyzer or spectrophotometer. The average of the multiple measured values is taken as the final value. The 24 sets of XYZ tristimulus values are written as the original color parameters into an eXtensible Markup Language (XML) file, and the XML file is saved in the PQ module for easy access at any time.
[0073] The 24-color standard color chart includes six grayscale levels (white to black), six primary colors (red, green, blue, cyan, magenta, and yellow), and 12 natural colors (such as skin tone, sky blue, and vegetation green). The XYZ tristimulus value system is a color representation method used to quantify the human eye's perception of color. In the XYZ color space, X, Y, and Z represent the tristimulus values of the three virtual primary colors, red, green, and blue, respectively. By adjusting the values of these three components, all colors perceptible to the human eye can be mixed. The XYZ tristimulus value system provides a comprehensive description, including hue, saturation, and brightness. Hue is a basic attribute of color, such as red, green, and blue; saturation is the purity or vividness of a color; and brightness is the brightness of a color. In the XYZ tristimulus value system, the Y value primarily represents the color, while the X and Z values indirectly influence brightness perception. The X and Z values are more closely related to hue and saturation. The original color parameters exist in the form of XYZ tristimulus values. XYZ tristimulus values are the underlying source data of all color parameters. Various transformations are performed on them to obtain various color parameters such as chromaticity characteristics, brightness, contrast, grayscale response, uniformity parameters, etc.
[0074] S206, obtaining a mean value of the ambient light parameters of each target display screen in the target display screen set, determining the mean value as the target ambient light parameter of the target display screen set, and determining the target lighting environment type of each target display screen based on the target ambient light parameter;
[0075] Specifically, the ambient light parameters corresponding to each target display screen in the target display screen set may be the same or similar. The average of the ambient light parameters of all target displays in the same target display screen set is determined as the target ambient light parameters corresponding to the target display screen set. This embodiment of the present application pre-classifies the lighting environments in which the displays are located based on the ambient light parameters. After obtaining the target environment parameters, the target lighting environment type for each target display screen is determined based on the target ambient light parameters.
[0076] This embodiment of the present application requires obtaining the mean values of all types of ambient light parameters, ultimately determining the mean values of each type of parameter as the target ambient light parameters for the target display screen set. A weight is then determined for each type of parameter based on its impact on the lighting environment type. After obtaining all types of target ambient light parameters, the target lighting environment type is determined based on the weights and parameter values of each type of parameter.
[0077] S207, determining a target color standard corresponding to the target lighting environment type based on a mapping relationship between the lighting environment type and the color standard;
[0078] Specifically, the mapping relationship between the lighting environment type and the color standard (Delta E, ΔE) is determined in advance based on the visual characteristics of the human eye, and then the target color standard corresponding to the target lighting environment type is determined. ΔE is an indicator that quantifies the color difference perceived by the human eye. When ΔE ≤ 1.0, professional instruments can detect the color difference, but the human eye cannot distinguish the color difference. When ΔE is in the range of (1.0, 2.0], there is only a very slight color difference, which can only be detected by the human eye through focused observation. When ΔE is in the range of (2.0, 3.5], there is a clear color difference. When ΔE> 3.5, there is a significant color difference, which affects the display experience. Because ambient light affects the human eye's perception of color effects, different lighting environment types correspond to different color standards to achieve consistent color effects seen by the human eye.
[0079] Assume that the lighting environment types include dark light environments, strong light environments, and other types. In dark light environments, the human eye's sensitivity increases, requiring the display screen to display a softer picture. In strong light environments, glare will cause the human eye's color discrimination to decrease, requiring the display screen to display a more vivid picture. For example, ΔE is set to ≤ 2.0 in dark light environments and ΔE is set to ≤ 3.0 in strong light environments. If ΔE = 2.0 in dark light environments and ΔE = 3.0 in strong light environments, the human eye will ultimately perceive an equivalent ΔE of ≈ 2.4, achieving consistent color effects seen by the human eye under different ambient light parameters.
[0080] S208, determining color calibration parameters for each target display screen based on the target color parameters corresponding to the target color standard and the original color parameters of each target display screen;
[0081] Specifically, the XYZ tristimulus values obtained by converting various color parameters defined by the target color standard, such as chromaticity characteristics, brightness, contrast, grayscale response, and uniformity parameters, are used as target color parameters. Color calibration parameters for each target display are then determined based on the original color parameters and the target color parameters. The color calibration parameters are used to compensate for the impact of the target ambient light parameters on the ambient light of each target display in the target display set. Furthermore, since the original color parameters of each display may differ, their color display effects may vary even under similar ambient light parameters. Therefore, the color calibration parameters can also correct for color deviations caused by the original color parameters of each target display, ultimately calibrating the original color parameters to the target color parameters.
[0082] S209: Perform color calibration on each target display screen based on the color calibration parameters.
[0083] Specifically, both the original and target color parameters are in the form of XYZ tristimulus values. Therefore, the color calibration parameters are typically in the form of a multidimensional vector or matrix. An XML file is generated based on the acquired color calibration parameters and stored in the PQ module. When the display receives an image signal, it decodes the image signal and calls the XML file corresponding to the original color parameters in the PQ module to perform preliminary color rendering on the decoded image. The rendered image color is then calibrated using the XML file corresponding to the color calibration parameters, completing the image color processing process.
[0084] In an embodiment of the present application, when color calibration is performed on at least two display screens, the external environment range corresponding to each display screen is determined based on a preset environmental division distance determined by the characteristics of the light intensity parameter in the ambient light parameters, thereby improving the accuracy of the ambient light parameters. Display screens with similar ambient light parameters are divided into the same target display screen set based on the parameter difference, and each target display screen in the target display screen set is processed uniformly, simplifying the color calibration steps for multiple display screens and improving the efficiency of color calibration. The mapping relationship between ambient light parameters and color standards is predetermined, and then the target color standard corresponding to the target ambient light parameters is determined. Different color standards are matched to target display screens in different lighting environment types corresponding to different ambient light parameters, reducing the dynamic impact of ambient light parameters on the display screen display effect and achieving consistent visual effects on multiple display screens.
[0085] See Figure 4 , Figure 4 FIG. 1 is a flow chart of a color calibration method provided in an embodiment of the present application. Figure 4 As shown, the method of the embodiment of the present application may include the following steps S301-S305.
[0086] S301, obtaining display content of each area divided in each target display screen;
[0087] Specifically, after determining the color calibration parameters corresponding to each target display, color calibration can be performed on the target display based on the color calibration parameters. Prior to color calibration, the display content of each area within each target display is obtained. Because each target display may be divided into at least one area, each area may display different content. This content can range from entertainment information such as video and multimedia to safety information that may affect the safe use of electronic devices. When safety information is present on the target display, color calibration of this information may affect the user's field of view, potentially leading to safety incidents.
[0088] S302, if there is no target display content that meets the preset safety information in each area, color calibration is performed on each target display screen based on the color calibration parameters;
[0089] Specifically, some display content in the electronic device that complies with the safety information is pre-determined, designated as preset safety information, and stored in the electronic device. Before color calibration, the content of each area of the target display screen is compared with the preset safety information to determine whether the display content complies with the preset safety information. If no target display content that complies with the preset safety information exists in each area, color calibration can be performed on all target display screens. For example, assuming the electronic device is a vehicle, the preset safety information includes navigation routes, reversing images, emergency alarm information, and other information that affects driving safety.
[0090] S303: If target display content that meets the preset safety information exists in each area, the area where the target display content is located is determined as the target area, and the target display screen where the target area is located is determined as the safety information display screen;
[0091] S304, outputting a color calibration option to receive a target color calibration option for the security information display screen;
[0092] Specifically, after determining the safety information display screen and target area on each target display screen, a color calibration option is output, provided for the user to select, and the user's selected target color calibration option for the safety information display screen is received. Optionally, the color calibration option can be displayed in text form on all target display screens other than the safety information display screen to prevent obstruction of the target display content on the safety information display screen, which could lead to safety incidents.
[0093] In a feasible implementation, if a communication connection is established between the electronic device and the user's terminal device, the user can control the display screen of the electronic device through the terminal device, and the color calibration option can also be displayed in the user's terminal device.
[0094] S305 , performing color calibration on each target display screen based on the color calibration strategy corresponding to the target color calibration option.
[0095] Specifically, each color calibration option corresponds to a color calibration strategy, and color calibration is performed on each target display based on the color calibration strategy corresponding to the target color calibration option. Figure 5 , Figure 5 This is an example diagram of a color calibration option provided by an embodiment of the present application. Figure 5As shown, the embodiment of the present application provides three color calibration options. If the target color calibration option is the first calibration option, color calibration is performed on the remaining target display screens except the safety information display screen in each target display screen based on the color calibration parameters, and the target display content in the target area is continuously detected; when the target display content does not conform to the preset safety information, color calibration is performed on the safety information display screen based on the color calibration parameters. If the target color calibration option is the second calibration option, color calibration is performed on the remaining target display screens except the safety information display screen in each target display screen, and the remaining areas of the safety information display screen except the target area, based on the color calibration parameters, and the target display content in the target area is continuously detected; when the target display content does not conform to the preset safety information, color calibration is performed on the target area based on the color calibration parameters. If the target color calibration option is the third calibration option, the target display content in the target area is continuously detected; when the target display content does not conform to the preset safety information, color calibration is performed on each target display screen based on the color calibration parameters.
[0096] In an embodiment of the present application, before color calibration, it is determined whether the display content of different areas in the display screen complies with the preset safety information. When the display content of all areas in all display screens complies with the preset safety information, color calibration is performed on all display screens directly based on the color calibration parameters. By comparing the display content with the preset safety information, the color calibration is prevented from affecting the safe use of the electronic device to which the display screen belongs, thereby improving the safety of the electronic device. The display screen where the target display content that complies with the preset safety information is located is determined as a safety information display screen, and a color calibration option is provided to the user so that the user can select the color calibration strategy corresponding to the target color calibration option, thereby improving the user experience. Through three color calibration options, the safety of the use of electronic devices and the color calibration of the electronic device display screen are taken into account.
[0097] See Figure 6 , Figure 6 FIG. 1 is a flow chart of a color calibration method provided in an embodiment of the present application. Figure 6 As shown, the method of the embodiment of the present application may include the following steps S401 to S405.
[0098] S401, in response to a color calibration instruction for a target display screen, sending the color calibration instruction to a display quality service module;
[0099] Specifically, the electronic device is installed with an image quality processing application for image quality display processing. The user can select the color calibration function in the image quality processing application of the target display screen. When the image quality processing application receives the color calibration instruction for the target display screen, it responds to the color calibration instruction and sends the color calibration instruction to the PQ module in the electronic device through the client adapter (Graphics Window ManagerClient Adapter dataID) interface.
[0100] S402, based on the color calibration instruction, obtaining a target lighting environment type of a target lighting environment in which a target display screen is located;
[0101] Specifically, the PQ module obtains the target ambient light parameters of the target lighting environment in which the target display screen is located based on the color calibration instruction, performs data analysis on the target ambient light parameters, and determines the target lighting environment type of the target lighting environment. The ambient light parameters will affect the color display effect of the display screen. The ambient light parameters obtained in the embodiment of the present application include parameters such as light intensity parameters, light color temperature parameters, and spectral distribution parameters. Different types of parameters define the properties of the ambient light from different angles and affect the display effect of the display screen. The embodiment of the present application pre-classifies the lighting environment in which the display screen is located according to the ambient light parameters, and at the same time determines the weight of each type of parameter in the ambient light parameters according to the influence of each type of parameter on the lighting environment type. After obtaining all types of target ambient light parameters, the target lighting environment type is determined based on the weight and parameter value of each type of parameter.
[0102] The light intensity parameter refers to the luminous flux received per unit area of the display surface and is used to measure the brightness of the ambient light, that is, the intensity of the light shining on the display surface. The higher the light intensity, the stronger the reflection of the display screen, and the lower the human eye's sensitivity to the display brightness, making it difficult to distinguish the content displayed on the display. The light color temperature parameter is an indicator that describes the color effect of the light emitted by the light source, which is used to reflect the color appearance of the light source, ranging from warm to cool tones. The light color temperature affects the human eye's perception of screen color. For example, under a warm light source, white on the screen may appear yellowish; under a cool light source, white may appear bluish. The spectral distribution parameter is used to describe the relative content or proportion of different wavelengths (colors) of light in the light, including the proportion of each color of light, such as red, green, and blue. The spectral distribution of the ambient light affects the color performance of the display screen. For example, if the proportion of blue light in the ambient light is too high, the display may need to increase yellow light to compensate and maintain color balance.
[0103] S403, determining a target color standard corresponding to each application layer in the target display screen based on the target lighting environment type;
[0104] Specifically, the target color standard corresponding to each application layer in the target display screen is determined based on the target lighting environment type. The target display screen includes multiple application layers, such as a navigation layer, a warning information layer, an entertainment video layer, and an instrument display layer. Under the same lighting environment type, different types of application layers have different ΔE. ΔE is an indicator that quantifies the color difference perceived by the human eye. When ΔE ≤ 1.0, professional instruments can detect the color difference, but the human eye cannot distinguish the color difference. When ΔE is in the range of (1.0, 2.0], there is only a very slight color difference, which can only be noticed by the human eye through focused observation. When ΔE is in the range of (2.0, 3.5], there is a clear color difference. When ΔE> 3.5, there is a significant color difference, which affects the display experience. For example, in a dark environment, the navigation layer requires accurate road color, and its ΔE can be set to ΔE ≤ 2.0; the warning information layer requires a red ΔE ≤ 1.2 to achieve high contrast and attract the user's attention.
[0105] S404, determining color calibration parameters for each application layer based on target color parameters corresponding to each target color standard and original color parameters of each application layer, and generating an extensible markup language file based on the color calibration parameters of each application layer;
[0106] Specifically, the XYZ tristimulus values, derived from various color parameters defined by the target color standard, such as chromaticity, brightness, contrast, grayscale response, and uniformity parameters, are used as the target color parameters. Based on the target color parameters and the original color parameters of each application layer stored in the PQ module, color calibration parameters are determined for each application layer. These calibration parameters are then generated in an XML file corresponding to each application layer. The color calibration parameters are used to calibrate the original color parameters to the target color parameters. The original color parameters are obtained by performing multiple color tests on each application layer of the target display using a 24-color standard color chart during the production line calibration phase of the target display. The resulting 24 color standard patches are then measured multiple times for each standard color patch using a high-precision color analyzer or spectrophotometer. The average of these multiple measurements is then taken as the final value. The 24 sets of XYZ tristimulus values are written as the original color parameters to an XML file, which is then stored in the PQ module for easy access.
[0107] The 24-color standard color chart includes six grayscale levels (white to black), six primary colors (red, green, blue, cyan, magenta, and yellow), and 12 natural colors (such as skin tone, sky blue, and vegetation green). The XYZ tristimulus value system is a color representation method used to quantify the human eye's perception of color. In the XYZ color space, X, Y, and Z represent the tristimulus values of the three virtual primary colors, red, green, and blue, respectively. By adjusting the values of these three components, all colors perceptible to the human eye can be mixed. The XYZ tristimulus value system provides a comprehensive description, including hue, saturation, and brightness. Hue is a basic attribute of color, such as red, green, and blue; saturation is the purity or vividness of a color; and brightness is the brightness of a color. In the XYZ tristimulus value system, the Y value primarily represents the color, while the X and Z values indirectly influence brightness perception. The X and Z values are more closely related to hue and saturation. The original color parameters and target color parameters exist in the form of XYZ tristimulus values. XYZ tristimulus values are the underlying source data of all color parameters. Various transformations are performed on them to obtain various color parameters such as chromaticity characteristics, brightness, contrast, grayscale response, uniformity parameters, etc.
[0108] S405 , calling the extensible markup language file to perform color calibration on each application layer of the target display screen, and synthesizing and displaying each color-calibrated application layer based on a hardware synthesizer.
[0109] Specifically, the PQ module uses the PQ algorithm to call the XML file corresponding to the color calibration parameters of each application layer, performs color calibration on each application layer, calibrates the original color parameters of each application layer to the target color parameters, and then uses the graphics compositor to synthesize and display the color-calibrated application layers. After color calibration is completed, the PQ module sends a layer synthesis instruction to the surface compositor (SF) in the graphics system of the electronic device. The SF compositor calls the hardware compositor (HWC) based on the layer synthesis instruction. The HWC hardware compositor uses hardware acceleration to perform layer synthesis operations based on the current display mode, hardware capabilities, and other factors of the target display, and outputs the synthesized image to the target display. See Figure 7 , Figure 7 This is a software architecture diagram for color calibration of an electronic device provided by an embodiment of the present application. Figure 7 As shown in FIG, the color calibration of a single target display in an electronic device needs to be implemented through a calibration path including the image quality processing application, the client adapter interface, the PQ module, the SF synthesizer, and the HWC hardware synthesizer.
[0110] In an embodiment of the present application, color calibration is performed separately for different application layers in a single display screen, and the output image of the display screen is finally synthesized, so that different types of application layers can achieve different display functions through different color standards, thereby ensuring the use effect of the display screen and improving the user experience.
[0111] based on Figure 1 The following is a schematic diagram of the scene. Figure 8 , the content display device provided by the embodiment of the present application is introduced in detail. It should be noted that, Figure 8 The color calibration device in the present application is used to perform Figure 2-Figure 7 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2-Figure 7 The embodiment shown.
[0112] See Figure 8 , Figure 8 Schematic diagram of the structure of a color calibration device provided in an embodiment of the present application. Figure 8 As shown, the color calibration device 1 of the embodiment of the present application may include: an ambient light parameter acquisition unit 11, a display screen classification unit 12, a calibration parameter determination unit 13 and a calibration unit 14.
[0113] An ambient light parameter acquisition unit 11 is configured to acquire ambient light parameters corresponding to each of the at least two display screens in response to a color calibration instruction for the at least two display screens;
[0114] A display screen classification unit 12 is configured to classify each display screen based on each ambient light parameter to obtain at least one target display screen set;
[0115] A calibration parameter determination unit 13 is configured to determine a color calibration parameter for each target display screen in the target display screen set based on a target ambient light parameter corresponding to the target display screen set;
[0116] The calibration unit 14 is configured to perform color calibration on each target display screen based on the color calibration parameters.
[0117] Optionally, the ambient light parameter acquisition unit 11 is specifically configured to respond to a color calibration instruction for at least two display screens and determine an external environment range corresponding to each of the at least two display screens based on a preset environment division distance;
[0118] The ambient light parameters within the external environment range are determined as the ambient light parameters corresponding to the display screen.
[0119] Optionally, the display screen classification unit 12 is specifically configured to obtain a parameter difference between ambient light parameters of any two display screens among the display screens;
[0120] The target display screens corresponding to the target parameter difference values in the parameter difference values that are within the preset difference value interval are divided into the same target display screen set to obtain at least one target display screen set.
[0121] Optionally, the color calibration device 1 is specifically configured to obtain original color parameters of each target display screen in the target display screen set.
[0122] Optionally, the calibration parameter determination unit 13 is specifically configured to obtain a mean value of the ambient light parameters of each target display screen in the target display screen set, and determine the mean value as the target ambient light parameter of the target display screen set;
[0123] Determining the target lighting environment type of each target display screen based on the target ambient light parameters;
[0124] Determine the target color standard corresponding to the target lighting environment type based on the mapping relationship between the lighting environment type and the color standard;
[0125] Color calibration parameters for each target display screen are determined based on the target color parameters corresponding to the target color standard and the original color parameters of each target display screen.
[0126] Optionally, the calibration unit 14 is specifically configured to obtain display content of each area divided in each target display screen;
[0127] If there is no target display content that complies with the preset safety information in each area, color calibration is performed on each target display screen based on the color calibration parameters.
[0128] Optionally, the calibration unit 14 is specifically configured to determine the area where the target display content is located as the target area, and determine the target display screen where the target area is located as the safety information display screen if there is target display content that complies with the preset safety information in each area;
[0129] Outputting color calibration options to receive target color calibration options for the safety information display screen;
[0130] Color calibration is performed on each target display screen based on a color calibration strategy corresponding to the target color calibration option.
[0131] Optionally, the calibration unit 14 is specifically configured to perform color calibration on the target display screens other than the safety information display screen in each target display screen based on the color calibration parameters if the target color calibration option is the first calibration option, and continuously detect the target display content in the target area;
[0132] When the target display content does not conform to the preset safety information, color calibration is performed on the safety information display screen based on the color calibration parameters.
[0133] Optionally, the calibration unit 14 is specifically configured to, if the target color calibration option is the second calibration option, perform color calibration on the remaining target display screens except the safety information display screen in each target display screen, and on the remaining areas except the target area in the safety information display screen based on the color calibration parameters, and continuously detect the target display content in the target area;
[0134] When the target display content does not conform to the preset safety information, color calibration is performed on the target area based on the color calibration parameters.
[0135] Optionally, the calibration unit 14 is specifically configured to continuously detect the target display content in the target area if the target color calibration option is the third calibration option;
[0136] When the target display content does not conform to the preset safety information, color calibration is performed on each target display screen based on the color calibration parameters.
[0137] In an embodiment of the present application, when color calibration is performed on at least two displays, the external environment range corresponding to each display is determined based on a preset environmental division distance determined by the characteristics of the light intensity parameter within the ambient light parameters, thereby improving the accuracy of the ambient light parameters. Displays with similar ambient light parameters are grouped into the same target display set based on parameter differences, and all target displays within the target display set are processed uniformly, simplifying the color calibration process for multiple displays and improving color calibration efficiency. A mapping relationship between ambient light parameters and color standards is pre-determined, and then a target color standard corresponding to the target ambient light parameters is determined. Different color standards are then matched to target displays in different lighting environment types corresponding to different ambient light parameters, reducing the dynamic impact of ambient light parameters on the display effects and achieving consistent visual effects across multiple displays. Prior to color calibration, a determination is made as to whether the displayed content in different areas of the display complies with preset safety information. If the displayed content in all areas of all displays complies with the preset safety information, color calibration is performed directly on all displays based on the color calibration parameters. By comparing the displayed content with the preset safety information, color calibration is prevented from affecting the safe use of the electronic device to which the display belongs, thereby improving the safety of the electronic device. Displays containing target content that meets preset safety information are designated as safety information displays. Users are provided with color calibration options, allowing them to select the corresponding color calibration strategy, enhancing the user experience. With three color calibration options, both electronic device safety and display color calibration are considered.
[0138] See Figure 9 , Figure 9 This is a structural diagram of an electronic device provided in an embodiment of the present application.
[0139] For example, Figure 9 As shown, the electronic device 900 includes: a processor 901 and a memory 902, wherein the processor 901 is electrically connected to the memory 902.
[0140] The processor 901 is the control center of the electronic device 900 and may include one or more processing cores. The processor 901 connects the various parts of the entire electronic device using various interfaces and lines, and executes various functions of the electronic device and processes data by running or calling computer programs stored in the memory 902, as well as calling data stored in the memory 902, thereby performing overall control over the electronic device 900. Optionally, the processor 901 may be implemented in at least one hardware form of a digital signal processing (DSP), a field programmable gate array (FPGA), or a programmable logic array (PLA). The processor 901 may integrate one or a combination of a CPU, a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user pages, and applications; the GPU is responsible for rendering and drawing display content; and the modem is used to handle wireless communications. It is understandable that the modem may not be integrated into the processor 901 and may be implemented separately through a communication chip.
[0141] The memory 902 can be used to store software programs and modules. The processor 901 executes various functional applications and data processing by running the computer programs and modules stored in the memory 902. The memory 902 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, a computer program required for at least one function, etc.; the data storage area may store data generated based on the use of the electronic device 900.
[0142] In addition, the memory 902 may include a high-speed random access memory and a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 902 may also include a memory controller to provide the processor 901 with access to the memory 902.
[0143] In this embodiment, the processor 901 in the electronic device 900 loads instructions corresponding to one or more computer program processes into the memory 902 according to the following steps, and the processor 901 runs the computer program stored in the memory 902 to implement various functions as follows:
[0144] In response to a color calibration instruction for at least two display screens, obtaining an ambient light parameter corresponding to each of the at least two display screens;
[0145] Classifying each display screen based on each ambient light parameter to obtain at least one target display screen set;
[0146] Determining a color calibration parameter for each target display screen in the target display screen set based on a target ambient light parameter corresponding to the target display screen set;
[0147] Color calibration is performed on each target display screen based on the color calibration parameters.
[0148] Optionally, when the processor 901 executes the color calibration instruction for at least two display screens and obtains the ambient light parameters corresponding to each of the at least two display screens, the processor 901 specifically performs:
[0149] In response to a color calibration instruction for at least two display screens, determining an external environment range corresponding to each of the at least two display screens based on a preset environment division distance;
[0150] The ambient light parameters within the external environment range are determined as the ambient light parameters corresponding to the display screen.
[0151] Optionally, when the processor 901 classifies the display screens based on the ambient light parameters to obtain at least one target display screen set, the processor 901 specifically performs:
[0152] Obtaining the difference in ambient light parameters between any two display screens.
[0153] The target display screens corresponding to the target parameter difference values in the parameter difference values that are within the preset difference value interval are divided into the same target display screen set to obtain at least one target display screen set.
[0154] Optionally, before determining the color calibration parameters for each target display screen in the target display screen set based on the target ambient light parameters corresponding to the target display screen set, the processor 901 further executes:
[0155] Get the original color parameters of each target display in the target display set.
[0156] Optionally, when determining the color calibration parameters for each target display screen in the target display screen set based on the target ambient light parameters corresponding to the target display screen set, the processor 901 specifically performs:
[0157] Obtaining an average value of the ambient light parameters of each target display screen in the target display screen set, and determining the average value as the target ambient light parameter of the target display screen set;
[0158] Determining the target lighting environment type of each target display screen based on the target ambient light parameters;
[0159] Determine the target color standard corresponding to the target lighting environment type based on the mapping relationship between the lighting environment type and the color standard;
[0160] Color calibration parameters for each target display screen are determined based on the target color parameters corresponding to the target color standard and the original color parameters of each target display screen.
[0161] Optionally, when performing color calibration on each target display screen based on the color calibration parameters, the processor 901 specifically performs:
[0162] Obtaining the display content of each area divided in each target display screen;
[0163] If there is no target display content that complies with the preset safety information in each area, color calibration is performed on each target display screen based on the color calibration parameters.
[0164] Optionally, after acquiring the display content of each area divided in the target display screen, the processor 901 further executes:
[0165] If there is target display content that meets the preset safety information in each area, the area where the target display content is located is determined as the target area, and the target display screen where the target area is located is determined as the safety information display screen;
[0166] Outputting color calibration options to receive target color calibration options for the safety information display screen;
[0167] Color calibration is performed on each target display screen based on a color calibration strategy corresponding to the target color calibration option.
[0168] Optionally, when executing the color calibration strategy corresponding to the target color calibration option to perform color calibration on each target display screen, the processor 901 specifically performs:
[0169] If the target color calibration option is the first calibration option, color calibration is performed on the target display screens other than the safety information display screen based on the color calibration parameters, and the target display content in the target area is continuously detected;
[0170] When the target display content does not conform to the preset safety information, color calibration is performed on the safety information display screen based on the color calibration parameters.
[0171] Optionally, when executing the color calibration strategy corresponding to the target color calibration option to perform color calibration on each target display screen, the processor 901 specifically performs:
[0172] If the target color calibration option is the second calibration option, color calibration is performed on the target display screens other than the safety information display screen and the areas other than the target area of the safety information display screen based on the color calibration parameters, and the target display content in the target area is continuously detected;
[0173] When the target display content does not conform to the preset safety information, color calibration is performed on the target area based on the color calibration parameters.
[0174] Optionally, when executing the color calibration strategy corresponding to the target color calibration option to perform color calibration on each target display screen, the processor 901 specifically performs:
[0175] If the target color calibration option is the third calibration option, continuously detecting the target display content in the target area;
[0176] When the target display content does not conform to the preset safety information, color calibration is performed on each target display screen based on the color calibration parameters.
[0177] In an embodiment of the present application, when color calibration is performed on at least two displays, the external environment range corresponding to each display is determined based on a preset environmental division distance determined by the characteristics of the light intensity parameter within the ambient light parameters, thereby improving the accuracy of the ambient light parameters. Displays with similar ambient light parameters are grouped into the same target display set based on parameter differences, and all target displays within the target display set are processed uniformly, simplifying the color calibration process for multiple displays and improving color calibration efficiency. A mapping relationship between ambient light parameters and color standards is pre-determined, and then a target color standard corresponding to the target ambient light parameters is determined. Different color standards are then matched to target displays in different lighting environment types corresponding to different ambient light parameters, reducing the dynamic impact of ambient light parameters on the display effects and achieving consistent visual effects across multiple displays. Prior to color calibration, a determination is made as to whether the displayed content in different areas of the display complies with preset safety information. If the displayed content in all areas of all displays complies with the preset safety information, color calibration is performed directly on all displays based on the color calibration parameters. By comparing the displayed content with the preset safety information, color calibration is prevented from affecting the safe use of the electronic device to which the display belongs, thereby improving the safety of the electronic device. Displays containing target content that meets preset safety information are designated as safety information displays. Users are provided with color calibration options, allowing them to select the corresponding color calibration strategy, enhancing the user experience. With three color calibration options, both electronic device safety and display color calibration are considered.
[0178] It should be understood that the device provided in the embodiment of the present application is used to perform the above-mentioned color calibration method, and thus can achieve the same effect as the above-mentioned implementation method.
[0179] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to an electronic device, the processing module may be used to control and manage the operation of the electronic device. The storage module may be used to support the electronic device in executing relevant program codes, etc.
[0180] The processing module may be a processor or controller that implements or executes the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processing (DSP) and a microprocessor, and the storage module may be a memory.
[0181] In addition, the device provided in the embodiment of the present application can specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a color calibration method provided in the above embodiment.
[0182] An embodiment of the present application further provides a computer-readable storage medium, which stores computer program code. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a color calibration method provided in the above embodiment.
[0183] This embodiment further provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement a color calibration method provided by the above embodiment.
[0184] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0185] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0186] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0187] The above content is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A color calibration method, characterized in that: The method comprises: In response to a color calibration instruction for at least two display screens, obtaining an ambient light parameter corresponding to each of the at least two display screens; Classifying each of the display screens based on each of the ambient light parameters to obtain at least one target display screen set; Determining a color calibration parameter for each target display screen in the target display screen set based on a target ambient light parameter corresponding to the target display screen set; Color calibration is performed on each of the target display screens based on the color calibration parameters.
2. The method according to claim 1, characterized in that The step of obtaining, in response to a color calibration instruction for at least two display screens, an ambient light parameter corresponding to each of the at least two display screens includes: In response to a color calibration instruction for at least two display screens, determining an external environment range corresponding to each of the at least two display screens based on a preset environment division distance; The ambient light parameters within the external environment range are determined as the ambient light parameters corresponding to the display screen.
3. The method according to claim 1, characterized in that The classifying the display screens based on the ambient light parameters to obtain at least one target display screen set includes: Obtaining a parameter difference of ambient light parameters of any two display screens among the display screens; The target display screens corresponding to the target parameter difference values in the parameter difference values that are within the preset difference value interval are divided into the same target display screen set to obtain at least one target display screen set.
4. The method according to claim 1, wherein Before determining the color calibration parameters for each target display screen in the target display screen set based on the target ambient light parameters corresponding to the target display screen set, the method further includes: The original color parameters of each target display screen in the target display screen set are obtained.
5. The method according to claim 4, characterized in that The determining, based on the target ambient light parameters corresponding to the target display screen set, a color calibration parameter for each target display screen in the target display screen set includes: Obtaining an average value of the ambient light parameters of each target display screen in the target display screen set, and determining the average value as the target ambient light parameter of the target display screen set; Determining the target lighting environment type of each target display screen based on the target ambient light parameter; Determining a target color standard corresponding to the target lighting environment type based on a mapping relationship between the lighting environment type and the color standard; Color calibration parameters for each target display screen are determined based on the target color parameters corresponding to the target color standard and the original color parameters of each target display screen.
6. The method according to claim 1, characterized in that The performing color calibration on each target display screen based on the color calibration parameters includes: Obtaining display content of each area divided in each target display screen; If there is no target display content that complies with the preset safety information in each of the areas, color calibration is performed on each of the target display screens based on the color calibration parameters.
7. The method according to claim 6, characterized in that After obtaining the display contents of each area divided in the target display screen, the method further includes: If there is target display content that meets the preset safety information in each of the areas, the area where the target display content is located is determined as the target area, and the target display screen where the target area is located is determined as the safety information display screen; outputting a color calibration option to receive a target color calibration option for the security information display screen; Color calibration is performed on each of the target display screens based on a color calibration strategy corresponding to the target color calibration option.
8. The method according to claim 7, characterized in that The performing color calibration on each target display screen based on the color calibration strategy corresponding to the target color calibration option includes: If the target color calibration option is the first calibration option, color calibration is performed on the target display screens other than the safety information display screen in each target display screen based on the color calibration parameters, and target display content in the target area is continuously detected; When the target display content does not conform to the preset safety information, color calibration is performed on the safety information display screen based on the color calibration parameters.
9. The method according to claim 7, characterized in that The performing color calibration on each target display screen based on the color calibration strategy corresponding to the target color calibration option includes: If the target color calibration option is the second calibration option, color calibration is performed on the remaining target display screens in each of the target display screens except the safety information display screen, and on the remaining areas in the safety information display screen except the target area based on the color calibration parameters, and the target display content in the target area is continuously detected; When the target display content does not conform to the preset security information, color calibration is performed on the target area based on the color calibration parameters.
10. The method according to claim 7, characterized in that The performing color calibration on each target display screen based on the color calibration strategy corresponding to the target color calibration option includes: If the target color calibration option is the third calibration option, continuously detecting the target display content in the target area; When the target display content does not conform to the preset security information, color calibration is performed on each of the target display screens based on the color calibration parameters.
11. A color calibration device, characterized in that: The device comprises: an ambient light parameter acquisition unit, configured to acquire, in response to a color calibration instruction for at least two display screens, an ambient light parameter corresponding to each of the at least two display screens; a display screen classification unit, configured to classify each of the display screens based on each of the ambient light parameters to obtain at least one target display screen set; a calibration parameter determining unit, configured to determine a color calibration parameter for each target display screen in the target display screen set based on a target ambient light parameter corresponding to the target display screen set; A calibration unit is configured to perform color calibration on each of the target display screens based on the color calibration parameters.
12. An electronic device, characterized in that: The electronic device comprises: a memory for storing executable program code; A processor is configured to call and run the executable program code from the memory, so that the electronic device executes the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program code, and when the computer program code is executed, the method according to any one of claims 1 to 10 is implemented.