A color correction method, device and electronic device

By standardizing the mapping relationship between color sensing components and configuration files, the color parameters of electronic devices are corrected, and the problem of displaying color differences is solved, achieving efficient and accurate color correction.

CN114612582BActive Publication Date: 2025-07-25LENOVO (BEIJING) LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210282099.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-22
Publication Date
2025-07-25
Estimated Expiration
2042-03-22

AI Technical Summary

Technical Problem

In the prior art, there is a difference between the color displayed by the electronic device and the real color, resulting in inaccurate color correction and lack of convenience.

Method used

By using standardized color sensing components and color profiles, the color parameters of the electronic device are obtained and corrected based on the mapping relationship, the correction of the device display parameters is achieved.

Benefits of technology

Improve the accuracy and convenience of color correction, reduce dependence on professional equipment, and reduce correction costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114612582B_ABST
    Figure CN114612582B_ABST
Patent Text Reader

Abstract

The present application discloses a color correction method, apparatus and electronic device, including: in response to a first device displaying a target color, obtaining a first color parameter of the target color displayed by the first device; based on a color sensing component of a second device sensing the target color, obtaining a second color parameter corresponding to the target color; based on a color profile, the first color parameter and the second color parameter, correcting the display parameter of the first device for displaying the target color, so that the first device displays the target color based on the corrected display parameter. After the color sensing component of the second device is corrected, the second device can perform correct color sensing, and the display color of the first device is corrected by configuring a color profile related to the first device, without the need for a professional color correction device, improving the convenience and accuracy of display color correction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of data processing, and more particularly to a color correction method, apparatus, and electronic device. Background Art

[0002] There is a difference between the color displayed by the display device of an electronic device and the actual color, and color correction needs to be performed on the display device to ensure that the color of the displayed content can be correctly displayed. How to improve the accuracy of color correction has become the focus of attention. Summary of the Invention

[0003] In view of this, the present application provides the following technical solutions:

[0004] A color correction method includes:

[0005] In response to a first device displaying a target color, obtaining a first color parameter of the target color displayed by the first device;

[0006] Based on the color sensing component of a second device sensing the target color, obtaining a second color parameter corresponding to the target color, where the color sensing component of the second device is a component after standard color calibration and is configured with a color configuration file related to the first device;

[0007] Based on the color configuration parameter, the first color parameter, and the second color parameter, correcting the display parameter of the first device for displaying the target color, so that the first device displays the target color based on the corrected display parameter.

[0008] Optionally, it further includes:

[0009] When the color information displayed by the first device meets the target condition, obtaining the display color parameter of each color displayed by the first device;

[0010] In response to the color sensing component of the second device being calibrated for standard color, sensing each color displayed by the first device through the color sensing component of the second device to obtain a sensed color parameter corresponding to each color displayed by the first device;

[0011] Establishing a mapping relationship between the display color parameter and the sensed color parameter, and determining the mapping relationship as a color configuration file, so that the second device stores the color configuration file.

[0012] Optionally, the obtaining the second color parameter corresponding to the target color includes:

[0013] Obtaining color sensing information corresponding to the target color;

[0014] Preprocess the color sensing information based on the color profile to obtain preprocessed color sensing information;

[0015] Determine a second color parameter corresponding to the target color in the preprocessed color sensing information.

[0016] Optionally, the correcting the display parameter of the first device for displaying the target color based on the color profile, the first color parameter, and the second color parameter includes:

[0017] Determine a third color parameter corresponding to the second color parameter based on the color configuration parameter;

[0018] Correct the display parameter of the first device for displaying the target color based on the comparison value between the third color parameter and the first color parameter.

[0019] Optionally, it further includes:

[0020] Update the color display profile of the first device based on the color correction result.

[0021] Optionally, the method further includes:

[0022] Determine an associated color that matches the target color;

[0023] Correct the display parameter of the first device for displaying the associated color based on the comparison value.

[0024] Optionally, the correcting the display parameter of the first device for displaying the target color based on the comparison value between the third color parameter and the first color parameter includes:

[0025] Determine a correction parameter based on the comparison value between the third color parameter and the first color parameter;

[0026] Determine the target display parameter of the first device based on the correction parameter, so that the first device displays the target color through the target display parameter.

[0027] A color correction device, comprising:

[0028] An acquisition unit, configured to acquire a first color parameter of a target color displayed by a first device in response to the first device displaying the target color;

[0029] An induction unit, configured to sense the target color based on a color sensing component of a second device, and obtain a second color parameter corresponding to the target color. The color sensing component of the second device is a component after standard color calibration and is configured with a color profile related to the first device;

[0030] A correction unit, configured to correct display parameters of the first device for displaying the target color based on the color profile, the first color parameter, and the second color parameter, so that the first device displays the target color based on the corrected display parameters.

[0031] An electronic device that executes the color correction method according to any one of the above.

[0032] A storage medium, on which a computer program is stored. When the computer program is executed by a processor, the color correction method according to any one of the above is implemented.

[0033] As can be seen from the above technical solutions, the present application discloses a color correction method, device, and electronic device, including: in response to the first device displaying a target color, obtaining a first color parameter of the target color displayed by the first device; based on a color sensing component of a second device, sensing the target color to obtain a second color parameter corresponding to the target color; based on a color profile, the first color parameter, and the second color parameter, correcting display parameters of the first device for displaying the target color, so that the first device displays the target color based on the corrected display parameters. After correcting the color sensing component of the second device, the second device can perform correct color sensing, and correct the display color of the first device by configuring a color profile related to the first device, without the need for a professional color correction device, improving the convenience and accuracy of display color correction. Description of the Drawings

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.

[0035] Figure 1 It is a schematic flowchart of a color correction method provided by an embodiment of the present application;

[0036] Figure 2 It is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0037] Figure 3Schematic flowchart of the color correction method for the application scenario provided by the embodiment of the present application;

[0038] Figure 4 Schematic structural diagram of a color correction device provided by the embodiment of the present application;

[0039] Figure 5 Schematic structural diagram of an electronic device provided by the embodiment of the present application. Detailed implementation manners

[0040] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.

[0041] In the embodiment of the present application, a color correction method is provided, which is mainly applied to an electronic device with a display function to correct the displayed color when there is a difference between the displayed color and the real color, so as to improve the accuracy of the color output of the electronic device.

[0042] Refer to Figure 1 , which is a schematic flowchart of a color correction method provided by the embodiment of the present application. The method may include the following steps:

[0043] S101. In response to the first device displaying the target color, obtain the first color parameter of the target color displayed by the first device.

[0044] Wherein, the first device is the device to be corrected for the displayed color, such as an electronic device with a display function, specifically, it may be a computer, a mobile phone, a television, a projection device, etc., or it may also be a device capable of outputting a color image, such as a printer, a camera, a camera, etc.

[0045] When the first device enters the color calibration phase, the first device can display the target color. Among them, the trigger conditions for the first device to enter the color calibration phase can include that the first device enters the color calibration phase after a preset time interval. For example, the first device will be automatically triggered to enter the color calibration phase at fixed time intervals. Specifically, it can be every Monday. At this time, a prompt message can be generated before the first device enters the color calibration phase to prompt whether to start color calibration. Correspondingly, it can also be that the user object corresponding to the first device enters the color calibration phase through a trigger operation. After the first device enters the color calibration phase, the first device can display the target color. Among them, the target color can include all colors, that is, the first device can dynamically display various colors, or it can be specified colors. For example, red and yellow are used as the target colors, and at this time, the first device will be controlled to display red and yellow.

[0046] When the first device displays the target color, obtain the first color parameter of the target color displayed by the first device. The first color parameter can be the RGB value of the pixel points of the target color. For example, the first color parameter of the target color displayed by the first device can be "#0000FF". Specifically, the first color parameter can be determined through the color data file stored in the first device. For example, when specifying that the first device displays a target color with a specific color parameter value, the first color parameter of the target color is the specific value.

[0047] S102. Based on the color sensing component of the second device, sense the target color to obtain a second color parameter corresponding to the target color.

[0048] Among them, the second device is a device that has been pre-calibrated for standard colors. Mainly, the color sensing component of the second device has been calibrated for color sensing, so that the second device can accurately perform color sensing. The color sensing component mainly includes a color sensor. The second device can be a device with a color sensor, such as a mobile phone.

[0049] And the second device is configured with a color configuration file related to the first device. The color configuration file refers to a file in which when each color displayed by the first device meets the actual color parameter value, the color parameter value of each color sensed by the second device through the color sensing component is mapped to the color parameter value of each color displayed by the first device. The parameter value corresponding to the second color parameter can be the RGB value of the pixel points of the target color. For example, the second color parameter can be "#0000FE". The second color parameter can be the color parameter value obtained by identifying the sensed target color based on the color matrix file.

[0050] In one embodiment, the process of generating a color profile includes: when the color information displayed by the first device meets the target color condition, obtaining the display color parameters of each color displayed by the first device; after the color sensing component of the second device performs standard color calibration, sensing each color currently displayed by the first device through the color sensing component of the second device to obtain the sensed color parameters corresponding to each color displayed by the first device; establishing a mapping relationship between the display color parameters and the sensed color parameters, and determining the mapping relationship as the color profile, so that the second device stores the color profile. Wherein, the target color condition means that the color displayed by the first device deviates from the actual color within a preset range, or is the color displayed by the first device after specific color correction. Specific color correction refers to using a professional color calibration device to calibrate the first device before leaving the factory to ensure the accuracy of its display. At this time, the color sensing component of the second device has also been subjected to standard color calibration, enabling it to sense accurate color information. Then, using the color sensing component of the second device to sense each color displayed by the first device to obtain the corresponding sensed color parameters, a color profile can be generated. This color profile is used for subsequent display color correction of the first device during its use after leaving the factory.

[0051] It should be noted that in order to reduce the influence of the environment on the second device's color capture, the color sensing information of the second device for the target color displayed by the first device can be pre-processed before obtaining the corresponding second color parameter. Specifically, in one implementation manner of the embodiments of the present application, the obtaining of the second color parameter corresponding to the target color includes: obtaining the color sensing information corresponding to the target color; pre-processing the color sensing information based on the color profile to obtain the pre-processed color sensing information; determining the second color parameter corresponding to the target color in the pre-processed color sensing information. At this time, the color profile can include, in addition to the mapping relationship between the display color parameters of the display colors of the first device and the sensed color parameters of the second device when the color information displayed by the first device meets the target color condition, the environmental parameters when the first device performs color display, and the sensing parameters when the second device performs color sensing. Among them, the environmental parameters can include brightness, light angle, etc., and the sensing parameters can include light sensing parameters, etc. Then, based on the relevant information recorded in the color profile, the color sensing information obtained by the second device can be pre-processed, such as filtering the light influence conditions in the color sensing information, etc., so that the pre-processed color sensing information is similar to the conditions when the second device performs color sensing when generating the color profile, improving the accuracy of subsequent color correction.

[0052] In another implementation, the display color parameters of the first device and the sensed color parameters of the second device in the generated color profile include environmental parameters, such as lighting parameters, etc. In this way, it is not necessary to preprocess the color sensing information of the second device, and the influence of environmental parameters on color sensing can be excluded in the subsequent display color correction process.

[0053] S103. Based on the color profile, the first color parameter, and the second color parameter, correct the display parameters for the first device to display the target color.

[0054] In this way, the first device can display the target color based on the corrected display parameters. The color profile includes the mapping relationship between the display color parameters of the first device and the sensed color parameters of the second device when the display color of the first device meets the standard state of the actual color. Therefore, the standard display color parameters of the first device corresponding to the second color parameter can be obtained from the color profile, and then the standard display color parameters of the first device and the first color parameter of the current first device for displaying this color are compared. Based on the comparison value, the display parameters for the first device to display the target color can be corrected so that the color parameters of the corrected first device for displaying the target color are the same as the standard display color parameters of this target color in the color profile. For example, in one implementation, the correcting the display parameters for the first device to display the target color based on the color profile, the first color parameter, and the second color parameter includes: determining a third color parameter corresponding to the second color parameter based on the color profile; and correcting the display parameters for the first device to display the target color based on the comparison value between the third color parameter and the first color parameter. Wherein, the third color parameter is the standard display color parameter of the first device for displaying the target color in the configuration file.

[0055] Among them, the correction of the display parameters can be achieved by correcting gamma voltage parameters, etc. for the color display of the first device. Specifically, it will be described in subsequent embodiments of this application.

[0056] In this way, during the application process of the first device, it can be corrected at any time through the second device, without the need to use a professional color correction device for color correction every time, reducing the cost of color correction. And it can also solve the problems of inaccurate and non-objective color correction caused by the lack of a unified correction standard during manual correction. Thus, the convenience and accuracy of device display color correction are improved.

[0057] Through the color correction method provided in the embodiments of the present application, real-time color correction can be performed during the use of the first device. After each color correction, the color display configuration file of the first device can be updated based on the color correction result, that is, the color display configuration file stored in the first device before color correction is updated, so that after color correction, the first device displays relevant colors based on the updated color display configuration file, which is convenient for subsequent use. Specifically, it can be to update the color data file corresponding to each color in the first device, so that the displayed color is the corrected color, which can ensure the normal display of colors by the first device subsequently. At the same time, the previous color configuration file can also be updated to avoid color correction problems that occur when the first device cannot reach the previous standard color due to the loss of hardware components for color display. For example, with the continuous use of the first device, the display module may be damaged, and even through color correction, it cannot be corrected to the standard display color parameters. At this time, the closest standard display color parameters will be achieved through correction. If the previous color configuration file is not updated, each time the correction will be based on the standard display color parameters recorded in the previous color configuration file, which will make the correction result unable to be correctly displayed. Therefore, it is necessary to update the color configuration parameters so that subsequent color corrections can approximate the actual color while meeting the state of the display hardware of the current first device.

[0058] When calibrating the display parameters of the target color on the first device, if there are multiple colors in the target color, they can be calibrated one by one. Additionally, to save calibration time and improve the calibration rate, the multiple colors included in the target color can be classified. One color in each category is displayed by the first device and sensed by the second device to obtain calibration parameters, which are then applied to the calibration of other colors in the same category, reducing the time cost of calibrating one by one. It can also be that when the first device displays the target color, the associated color corresponding to it is obtained, so that the first device does not need to display the determined associated color again later, and directly uses the calibration result obtained by calibrating the target color to display the associated color. Specifically, in one implementation, the color calibration method further includes: determining the associated color that matches the target color; calibrating the display parameters of the first device for displaying the associated color based on a comparison value. Among them, the second color parameter and the color profile corresponding to the target color can be obtained by the second device sensing the target color, and the third color parameter corresponding to the second color parameter is determined. This third color parameter is the standard display color parameter of the target color when displayed on the first device in the color profile. Then, based on the comparison value between the third color parameter and the first color parameter, the display parameters of the first device for displaying the target color are calibrated. This enables the first device to adjust the display parameters for displaying the target color based on the color difference parameter between the associated color and the target color when displaying the associated color, and display the associated color based on the adjusted display parameters. If the color parameter values of the associated color and the target color are very close, that is, the difference between the two is less than the preset threshold, the display parameters for displaying the calibrated target color can be directly used to display the associated color.

[0059] Specifically, when determining the associated color that matches the target color, based on the RGB values of the pixels of the target color, the target RGB values within the deviation range within the range threshold from the RGB values can be determined, and the color corresponding to the target RGB values is determined as the associated color. For example, the color in the same color system as the target color can be determined as the associated color.

[0060] To ensure the display effect of colors on the first device, when calibrating colors, the accuracy of the color output of the first device is achieved by calibrating the display parameters of the first device for color display.

[0061] Specifically, in one implementation, the correction of the display parameters for the first device to display the target color based on the comparison value between the third color parameter and the first color parameter includes: determining a correction parameter based on the comparison value between the third color parameter and the first color parameter; and determining the target display parameters of the first device based on the correction parameter, so that the first device displays the target color through the target display parameters.

[0062] Among them, when determining the target display parameters based on the correction parameter, due to the deviation of the display parameters of different display components, different deviation results of color display may be caused. For example, the display parameter for controlling the display brightness can cause a certain deviation in the brightness value of the color, and different brightness display parameters can make the color brighter or darker. Different display parameters corresponding to the LED module can cause a deviation in the RGB value of the color. It is possible to first determine the display component that affects the current color display, and then determine the corrected target display parameters corresponding to the display component based on the correction parameter, so that the first device displays the target color through the target display parameters.

[0063] For example, color parameters include parameters such as brightness, saturation, and hue. When performing color correction, the display parameters can be adjusted by adjusting the gamma voltage of the first device. Specifically, the gamma voltage can be adjusted by adjusting the gamma curve corresponding to the gamma voltage. Among them, the abscissa of the gamma curve represents the input brightness value, and the ordinate represents the output brightness value. The correction of the gamma voltage through the gamma curve can correct the brightness value of the color.

[0064] The following uses a specific application example to illustrate the color correction method in the embodiments of the present application. Refer to Figure 2 where the first device is a computer 201 and the second device is a mobile phone 202, and refer to Figure 3 Figure 3 which is a schematic flowchart of a color correction method for an application scenario provided by the embodiments of the present application.

[0065] Before the computer 201 is normally used, such as before leaving the factory, a color calibration software is run on the computer 201, and a professional color calibration device is used for display calibration to generate a color configuration file of the computer 201. Through this color configuration file, the color parameter values of each color displayed on the computer 201 can be obtained. When the user gets the computer 201 and before using it, the color calibration program in the computer can be started to complete the color correction of the computer 201 through the mobile phone 202, that is, the corrected display parameters are determined through the first color parameter corresponding to the color displayed on the computer, the second color parameter sensed by the mobile phone, and the color mapping relationship table, so that the computer displays the color through the corrected display parameters. Specifically: ​

[0066] S301. Generate a color profile of the computer in response to the computer completing display color calibration through a professional color calibration device.

[0067] S302. Control the computer to dynamically display various colors and record the display color values of each color.

[0068] S303. When the computer dynamically displays various colors, use the mobile phone camera with a color sensor to approach the specified area of the screen and run the color capture program to sense the display color values of each color obtained.

[0069] Among them, the camera of the mobile phone has been pre-calibrated for color.

[0070] S304. Compare the colors displayed by the computer and the colors sensed by the mobile phone, establish a color mapping relationship table, and store it in the mobile phone.

[0071] When the computer has been running for a period of time and its displayed colors need to be corrected, then execute:

[0072] S305. In response to calibrating the computer, control the computer to run color calibration software and dynamically display different colors to obtain the first color parameter.

[0073] S306. Control the mobile phone camera to aim at the specified area of the screen and sense the second color parameter of the currently displayed color.

[0074] S307. Obtain the third color parameter corresponding to the second color parameter based on the color mapping relationship table.

[0075] S308. Determine whether the first color parameter is the same as the third color parameter. If so, execute S309; if not, execute S310.

[0076] S309. Record that the currently displayed color is correct.

[0077] S310. Calculate the color deviation value between the first color parameter and the third color parameter.

[0078] S311. Operate the color display parameters of the computer based on the color deviation value and update the color display profile of the first device.

[0079] The embodiments of the present application can reduce the dependence on related devices. By establishing a mapping table between the colors sensed by the mobile phone and the standard colors, the use of the mobile phone to assist in color calibration is more standard and accurate. And users do not need to purchase a separate color calibration instrument or a mobile phone with specific functions, reducing the color calibration cost, and the color calibration function of ordinary mobile phones can be realized.

[0080] In another embodiment of the present application, a color correction device is also provided. See Figure 4, the device may include:

[0081] An acquisition unit 401, configured to obtain a first color parameter of a target color displayed by the first device in response to the first device displaying the target color;

[0082] An induction unit 402, configured to induce the target color based on a color induction component of a second device, to obtain a second color parameter corresponding to the target color, where the color induction component of the second device is a component after standard color calibration and is configured with a color configuration file related to the first device;

[0083] A correction unit 403, configured to correct display parameters of the first device displaying the target color based on the color configuration file, the first color parameter, and the second color parameter, so that the first device displays the target color based on the corrected display parameters.

[0084] A color correction device disclosed in an embodiment of the present application includes: obtaining a first color parameter of a target color displayed by a first device in response to the first device displaying the target color; inducing the target color based on a color induction component of a second device to obtain a second color parameter corresponding to the target color; correcting display parameters of the first device displaying the target color based on a color configuration file, the first color parameter, and the second color parameter, so that the first device displays the target color based on the corrected display parameters. After correcting the color induction component of the second device, the second device can perform correct color induction, and correct the display color of the first device by configuring a color configuration file related to the first device, without a professional color correction device, improving the convenience and accuracy of display color correction.

[0085] In one implementation, the device further includes: a configuration file generation unit, and the configuration file generation unit is configured to:

[0086] When the color information displayed by the first device meets the target color condition, obtain display color parameters of each color displayed by the first device;

[0087] In response to the color induction component of the second device being calibrated for standard color, induce each color displayed by the current first device through the color induction component of the second device, and obtain induction color parameters corresponding to each color displayed by the first device;

[0088] Establish a mapping relationship between the display color parameters and the induction color parameters, and determine the mapping relationship as a color configuration file, so that the second device stores the color configuration file.

[0089] Optionally, the sensing unit includes:

[0090] A first acquisition subunit, configured to acquire color sensing information corresponding to the target color;

[0091] A preprocessing subunit, configured to preprocess the color sensing information based on the color profile to obtain preprocessed color sensing information;

[0092] A first determination subunit, configured to determine a second color parameter corresponding to the target color in the preprocessed color sensing information.

[0093] Further, the correction unit includes:

[0094] A second determination subunit, configured to determine a third color parameter corresponding to the second color parameter based on the color profile;

[0095] A correction subunit, configured to correct the display parameter of the first device for displaying the target color based on a comparison value between the third color parameter and the first color parameter.

[0096] Furthermore, the device further includes:

[0097] An update unit, configured to update the color display profile of the first device based on the color correction result.

[0098] Optionally, the device further includes:

[0099] A determination unit, configured to determine an associated color that matches the target color;

[0100] An associated correction unit, configured to correct the display parameter of the first device for displaying the associated color based on the comparison value.

[0101] Wherein, the correction subunit is specifically configured to:

[0102] Determine a correction parameter based on a comparison value between the third color parameter and the first color parameter;

[0103] Determine a target display parameter of the first device based on the correction parameter, so that the first device displays the target color through the target display parameter.

[0104] It should be noted that the specific implementation of each unit in this embodiment can refer to the corresponding content in the foregoing, and will not be elaborated here.

[0105] In this embodiment, an electronic device is further provided, and the electronic device can execute the information processing method described in any one of the above. Specifically, refer to Figure 5The figure is a schematic structural diagram of an electronic device provided by an embodiment of the present application. It should be noted that the structure of the electronic device can be determined and combined based on specific application scenarios, Figure 5 which is only an optional example.

[0106] Specifically, Figure 5 the corresponding electronic device may include the following structure:

[0107] A memory 501 for storing an application program and data generated by the operation of the application program;

[0108] A processor 502 for executing the application program to achieve:

[0109] In response to a first device displaying a target color, obtaining a first color parameter of the target color displayed by the first device;

[0110] Based on a color sensing component of a second device sensing the target color, obtaining a second color parameter corresponding to the target color, where the color sensing component of the second device is a component after standard color calibration and is configured with a color profile related to the first device;

[0111] Based on the color profile, the first color parameter, and the second color parameter, correcting the display parameters of the first device for displaying the target color, so that the first device displays the target color based on the corrected display parameters.

[0112] As can be seen from the above technical solution, in an electronic device provided by an embodiment of the present application, in response to a first device displaying a target color, a first color parameter of the target color displayed by the first device is obtained; based on a color sensing component of a second device sensing the target color, a second color parameter corresponding to the target color is obtained; based on a color profile, the first color parameter, and the second color parameter, the display parameters of the first device for displaying the target color are corrected, so that the first device displays the target color based on the corrected display parameters. After correcting the color sensing component of the second device, the second device can perform correct color sensing, and the display color of the first device is corrected by configuring a color profile related to the first device, without the need for a professional color correction device, improving the convenience and accuracy of display color correction.

[0113] It should be noted that the specific implementation of the processor in this embodiment can refer to the corresponding content in the previous text and will not be elaborated here.

[0114] Correspondingly, an embodiment of the present invention further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the information processing method described in any one of the above is implemented.

[0115] In this specification, the various embodiments are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.

[0116] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in this article can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0117] The steps of the method or algorithm described in combination with the embodiments disclosed in this article can be directly implemented by hardware, software modules executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.

[0118] The above description of the disclosed embodiments enables those skilled in the art to implement or use this application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A color correction method, comprising: In response to a first device displaying a target color, obtaining a first color parameter of the target color displayed by the first device; Based on the color sensing component of a second device sensing the target color, obtaining a second color parameter corresponding to the target color, wherein the color sensing component of the second device is a component after standard color calibration and is configured with a color profile related to the first device; the color profile refers to a file in which when each color displayed by the first device conforms to the actual color parameter value, the mapping relationship between the color parameter value of each color sensed by the second device through the color sensing component and the color parameter value of each color displayed by the first device is established; Based on the color profile, the first color parameter, and the second color parameter, correcting the display parameter of the first device for displaying the target color, so that the first device displays the target color based on the corrected display parameter.

2. The method according to claim 1, further comprising: When the color information displayed by the first device meets the target color condition, obtaining the display color parameter of each color displayed by the first device; In response to the color sensing component of the second device being subjected to standard color calibration, sensing each color displayed by the first device through the color sensing component of the second device to obtain a sensed color parameter corresponding to each color displayed by the first device; Establishing a mapping relationship between the display color parameter and the sensed color parameter, and determining the mapping relationship as a color profile, so that the second device stores the color profile.

3. The method according to claim 1, wherein obtaining the second color parameter corresponding to the target color comprises: Obtaining color sensing information corresponding to the target color; Preprocessing the color sensing information based on the color profile to obtain preprocessed color sensing information; Determining the second color parameter corresponding to the target color in the preprocessed color sensing information.

4. The method according to claim 1, wherein based on the color profile, the first color parameter, and the second color parameter, correcting the display parameter of the first device for displaying the target color comprises: Based on the color profile, determining a third color parameter corresponding to the second color parameter; Based on the comparison value between the third color parameter and the first color parameter, correcting the display parameter of the first device for displaying the target color.

5. The method according to claim 1, further comprising: Updating the color display profile of the first device based on the color correction result.

6. The method according to claim 4, the method further comprising: Determining an associated color that matches the target color; Based on the comparison value, correcting the display parameter of the first device for displaying the associated color.

7. The method according to claim 4, wherein correcting the display parameters of the first device for displaying the target color based on the comparison value between the third color parameter and the first color parameter comprises: Determining a correction parameter based on the comparison value between the third color parameter and the first color parameter; Determining the target display parameters of the first device based on the correction parameter, so that the first device displays the target color through the target display parameters.

8. A color correction device, comprising: An acquisition unit, configured to acquire a first color parameter of a target color displayed by a first device in response to the first device displaying the target color; A sensing unit, configured to sense the target color based on a color sensing component of a second device, and obtain a second color parameter corresponding to the target color. The color sensing component of the second device is a component after standard color calibration and is configured with a color configuration file related to the first device; the color configuration file refers to a file in which, when the colors displayed by the first device conform to the actual color parameter values, the color parameter values of each color sensed by the second device through the color sensing component are mapped to the color parameter values of each color displayed by the first device; A correction unit, configured to correct the display parameters of the first device for displaying the target color based on the color configuration file, the first color parameter, and the second color parameter, so that the first device displays the target color based on the corrected display parameters.

9. An electronic device, which executes the color correction method according to any one of claims 1-7.

10. A storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the color correction method according to any one of claims 1-7 is implemented.

Citation Information

Patent Citations

  • Model training method, color difference correction method and device, medium and electronic equipment

    CN109903256A

  • Image color correction method, device and equipment and storage medium

    CN112164005A