Device calibration method and apparatus, and computer device

By calibrating the display device's gamma curve when the HDR function module is off and calibrating the tone mapping curve when it is on, the problem of poor color accuracy of the display device is solved, and higher color accuracy and precision are achieved.

WO2026103322A1PCT designated stage Publication Date: 2026-05-21HUIZHOU VISION NEW TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HUIZHOU VISION NEW TECH CO LTD
Filing Date
2025-09-16
Publication Date
2026-05-21

AI Technical Summary

Technical Problem

Existing display devices use fixed mapping curves to process input images, resulting in poor color accuracy in the output images.

Method used

The gamma curve of the target display device is calibrated with the HDR function module off. After calibration, the HDR function module is turned on, and the tone mapping curve is calibrated again with the HDR function module on. The calibration is performed by acquiring brightness data and color coordinates.

Benefits of technology

It improves the accuracy of the gamma curve and tone mapping curve of the target display device, and enhances the color accuracy of the output image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025121645_21052026_PF_FP_ABST
    Figure CN2025121645_21052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a device calibration method and apparatus, and a computer device. The method comprises: when an HDR function module is in an off state, calibrating a gamma curve of a target display device; after the calibration of the gamma curve is completed, controlling the HDR function module to be turned on; and when the HDR function module is in an on state, calibrating a tone mapping curve of the target display device.
Need to check novelty before this filing date? Find Prior Art

Description

Equipment calibration methods, apparatus and computer equipment

[0001] This application claims priority to Chinese Patent Application No. 202411652522.X, filed on November 18, 2024, entitled "Equipment Calibration Method, Apparatus, Computer Equipment and Computer-Readable Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of display technology, specifically to a device calibration method, apparatus, and computer equipment. Background Technology

[0003] With the rapid development of display technology, consumers have increasingly higher demands for the image quality of display devices, and color consistency and accuracy are key to users' pursuit of a high-quality visual experience. In order to improve the image quality of display devices, existing display devices usually perform mapping processing on the input image using gamma curves, tone mapping curves, etc. Technical issues

[0004] However, existing display devices all use fixed mapping curves to map input images, which results in inaccurate mapping curves and poor color accuracy in the output images. Technical solutions

[0005] This application provides a device calibration method, apparatus, and computer equipment that can improve the color accuracy of the output image of the target display device.

[0006] In a first aspect, this application provides a device calibration method, which is applied to a target display device, the target display device including an HDR function module, and the device calibration method includes:

[0007] With the HDR function module turned off, the gamma curve of the target display device is calibrated;

[0008] After the gamma curve calibration is completed, enable the HDR function module.

[0009] With the HDR function module enabled, the tone mapping curve of the target display device is calibrated.

[0010] In some embodiments of this application, the tone mapping curve of the target display device is calibrated, including:

[0011] Acquire the brightness data of the target display device;

[0012] Based on the luminance data, the target luminance value is determined; the target luminance value is the peak luminance in the luminance data.

[0013] The tone mapping curve of the target display device is calibrated based on the target brightness value.

[0014] In some embodiments of this application, acquiring brightness data of the target display device includes:

[0015] The control signal generator sends grayscale signals to the target display device, so that the target display device displays multiple grayscale images based on the grayscale signals;

[0016] The colorimetric device is controlled to acquire the brightness of multiple grayscale images displayed on the target display device, thereby obtaining the brightness data of the target display device.

[0017] In some embodiments of this application, the tone mapping curve of the target display device is calibrated based on the target brightness value, including:

[0018] The target brightness value is determined as the inflection point of the electro-optic conversion function;

[0019] The tone mapping curve of the target display device is calibrated based on the inflection point of the electro-optic conversion function.

[0020] In some embodiments of this application, before calibrating the gamma curve of the target display device while the HDR function module is turned off, the following is included:

[0021] Obtain the device type information of the target display device;

[0022] Based on the device type information, determine the target graphic effect information of the target display device;

[0023] The target display device is re-enhanced based on the target graphic effect information.

[0024] In some embodiments of this application, the target graphic effect information of the target display device is determined based on device type information, including:

[0025] Obtain the first association information; the first association information represents the correspondence between device type information and graphic effect information;

[0026] Based on device type information and primary association information, the target graphic effect information of the target display device is determined.

[0027] In some embodiments of this application, the target graphic effect information includes image mode information and / or window size information.

[0028] In some embodiments of this application, the colorimetric device also acquires the color coordinates of multiple grayscale images to calibrate the gamma curve of the target display device, including:

[0029] Based on the brightness data and color coordinates of each grayscale image and the color coordinates of the standard monochrome image, determine the monochrome brightness parameter item corresponding to each grayscale image;

[0030] The monochrome target curve is determined based on the monochrome brightness parameters corresponding to multiple grayscale images and the preset standard gamma value.

[0031] The gamma curve of the target display device is calibrated based on the gamma value of the monochrome target curve.

[0032] In some embodiments of this application, the monochrome brightness parameter item corresponding to each grayscale image is determined based on the brightness data and color coordinates of each grayscale image and the color coordinates of a standard monochrome image, including:

[0033] Set a set of monochrome brightness parameters for each grayscale image;

[0034] Based on the brightness data, color coordinates, monochrome brightness parameters of each grayscale image, and the color coordinates of the standard monochrome image, a system of equations is constructed.

[0035] Based on the system of equations, the monochromatic brightness parameter corresponding to each grayscale image is derived and solved.

[0036] In some embodiments of this application, a set of monochromatic luminance parameters includes red primary color luminance parameters, green primary color luminance parameters, and blue primary color luminance parameters.

[0037] In some embodiments of this application, a monochrome target curve is determined based on monochrome brightness parameters corresponding to multiple grayscale images and a preset standard gamma value, including:

[0038] Based on the monochrome brightness parameters corresponding to multiple grayscale images, the preset standard white balance data, and the preset standard gamma value, three monochrome arrays are generated.

[0039] Based on the interpolation algorithm and three sets of monochrome arrays, a set of monochrome target curves is calculated and generated.

[0040] In some embodiments of this application, the three sets of monochrome arrays include a red primary color array, a green primary color array, and a blue primary color array; and the set of monochrome target curves includes a red primary color target curve, a green primary color target curve, and a blue primary color target curve.

[0041] In some embodiments of this application, before calibrating the gamma curve of the target display device while the HDR function module is turned off, the following is included:

[0042] Obtain the IP address information of the target display device;

[0043] A communication connection is established with the target display device based on the IP address information.

[0044] Secondly, embodiments of this application also provide a device calibration apparatus, which is applied to a target display device. The target display device includes an HDR function module, and the device calibration apparatus includes:

[0045] The first calibration module is used to calibrate the gamma curve of the target display device when the HDR function module is turned off;

[0046] The function activation module is used to control the HDR function module to be activated after the gamma curve calibration is completed;

[0047] The second calibration module is used to calibrate the tone mapping curve of the target display device when the HDR function module is enabled.

[0048] In some embodiments of this application, the second calibration module includes:

[0049] The data acquisition unit is used to acquire the brightness data of the target display device;

[0050] The information determination unit is used to determine the target brightness value based on the brightness data; the target brightness value is the peak brightness in the brightness data.

[0051] The first calibration unit is used to calibrate the tone mapping curve of the target display device based on the target brightness value.

[0052] In some embodiments of this application, the data acquisition unit includes a first acquisition unit and a second acquisition unit, wherein the first acquisition unit is connected to a signal generator and the second acquisition unit is connected to a colorimetric device;

[0053] The first acquisition unit is used to control the signal generator to send grayscale signals to the target display device, so that the target display device can display multiple grayscale images based on the grayscale signals;

[0054] The second acquisition unit is used to control the color measuring device to acquire the brightness of multiple grayscale images displayed on the target display device, and obtain the brightness data of the target display device.

[0055] In some embodiments of this application, before calibrating the gamma curve of the target display device while the HDR function module is in the off state, the first calibration module is further configured to:

[0056] Obtain the device type information of the target display device;

[0057] Based on the device type information, determine the target graphic effect information of the target display device;

[0058] The target display device is re-enhanced based on the target graphic effect information.

[0059] In some embodiments of this application, the colorimetric device also acquires the color coordinates of multiple grayscale images, and the first calibration module is specifically used for:

[0060] Based on the brightness data and color coordinates of each grayscale image and the color coordinates of the standard monochrome image, determine the monochrome brightness parameter item corresponding to each grayscale image;

[0061] The monochrome target curve is determined based on the monochrome brightness parameters corresponding to multiple grayscale images and the preset standard gamma value.

[0062] The gamma curve of the target display device is calibrated based on the gamma value of the monochrome target curve.

[0063] In some embodiments of this application, the first calibration module is further used for:

[0064] Obtain the IP address information of the target display device;

[0065] A communication connection is established with the target display device based on the IP address information.

[0066] Thirdly, this application also provides a computer device, the computer device including: one or more processors, memory, and one or more application programs, wherein the one or more application programs are stored in memory and configured to be executed by the processor to implement the device calibration method of any one of the first aspects.

[0067] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps in the device calibration method of any of the first aspects. Beneficial effects

[0068] With the HDR function module off, the gamma curve of the target display device is calibrated. After the gamma curve calibration is completed, the HDR function module is turned on. With the HDR function module on, the tone mapping curve of the target display device is calibrated. This avoids the influence of the HDR function module on the gamma curve calibration results, improves the accuracy of the gamma curve and tone mapping curve of the target display device, and thus improves the color accuracy of the output image of the target display device. Attached Figure Description

[0069] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0070] Figure 1 is a schematic diagram of a scenario for the device calibration system provided in an embodiment of this application;

[0071] Figure 2 is a flowchart illustrating the device calibration method provided in an embodiment of this application;

[0072] Figure 3 is a schematic flowchart of a specific embodiment of calibrating tone mapping curves provided in this application.

[0073] Figure 4 is a schematic flowchart of a specific embodiment of calibrating a gamma curve provided in this application.

[0074] Figure 5 is a schematic block diagram of the device calibration apparatus provided in an embodiment of this application;

[0075] Figure 6 is a schematic diagram of an embodiment of the computer device provided in this application. Detailed Implementation

[0076] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0077] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0078] This application provides a device calibration method, apparatus, and computer equipment, which will be described in detail below.

[0079] Please refer to Figure 1, which is a schematic diagram of the device calibration system provided in this embodiment. The device calibration system includes a device calibration device 10 and a target display device 20. The target display device 20 includes an HDR function module, which is used to convert High Dynamic Range (HDR) images or videos into Standard Dynamic Range (SDR) images or videos. The device calibration device 10 is used to: calibrate the gamma curve of the target display device when the HDR function module is off; control the HDR function module to turn on after the gamma curve calibration is completed; and calibrate the tone mapping curve of the target display device when the HDR function module is on. This embodiment, by calibrating the gamma curve of the target display device when the HDR function module is off, and then controlling the HDR function module to turn on after the gamma curve calibration is completed, and calibrating the tone mapping curve while the HDR function module is on, can avoid the influence of the HDR function module on the gamma curve calibration results, improve the accuracy of the gamma curve and tone mapping curve of the target display device, and thus improve the color accuracy of the output image of the target display device.

[0080] In one specific embodiment, the device calibration device 10 is integrated into a computer device. This computer device can be the target display device, or it can be any other computer device besides the target display device; this embodiment does not impose any limitations. When the computer device is the target display device, the target display device can calibrate itself by executing the device calibration method provided in this embodiment. When the computer device is any other computer device besides the target display device, the other computer device can calibrate the target display device by executing the device calibration method provided in this embodiment. The target display device can be any device with display functionality; for example, the target display device can be a television, a projector, or a computer, etc., and this embodiment does not impose any limitations.

[0081] In one specific embodiment, continuing to refer to FIG1, the device calibration system further includes a signal generator 30 and a colorimeter 40. The signal generator 30 is connected to the device calibration device 10 and the target display device 20, and the colorimeter 40 is connected to the device calibration device 10. The device calibration device 10 is used to control the signal generator 30 to send grayscale signals to the target display device 20, so that the target display device 20 displays multiple grayscale images based on the grayscale signals. The device calibration device 10 is also used to control the colorimeter 40 to collect brightness data of the multiple grayscale images displayed on the target display device 20, thereby obtaining brightness data of the target display device 20. The colorimeter 40 can be a CA410 color temperature meter or a CS2000 luminance meter; this embodiment does not limit the specific device.

[0082] Those skilled in the art will understand that the application environment shown in Figure 1 is only one application scenario of the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may include more or fewer devices than those shown in Figure 1. It is understood that the device calibration system may also include one or more other services, which are not specifically limited here.

[0083] In addition, as shown in Figure 1, the device calibration system may also include a memory for storing data, such as image data, such as brightness data, color coordinates, etc., and mapping curves, such as gamma curves, tone mapping curves, etc.

[0084] It should be noted that the schematic diagram of the equipment calibration system shown in Figure 1 is merely an example. The equipment calibration system and scenario described in this application are intended to more clearly illustrate the technical solutions of this application and do not constitute a limitation on the technical solutions provided in this application. As those skilled in the art will know, with the evolution of equipment calibration systems and the emergence of new business scenarios, the technical solutions provided in this application are also applicable to similar technical problems.

[0085] First, this application provides a device calibration method. The device calibration method is executed by a device calibration device, which is applied to a target display device. The target display device includes an HDR function module. The device calibration method includes: calibrating the gamma curve of the target display device when the HDR function module is off; controlling the HDR function module to turn on after the gamma curve calibration is completed; and calibrating the tone mapping curve of the target display device when the HDR function module is on.

[0086] Figure 2 shows a schematic flowchart of an embodiment of the device calibration method in this application. The device calibration method may include the following steps S201 to S203, as detailed below:

[0087] Step S201: With the HDR function module in the off state, calibrate the gamma curve of the target display device.

[0088] In this embodiment, the HDR function module is used to convert High Dynamic Range (HDR) images or videos into Standard Dynamic Range (SDR) images or videos. When the HDR function module is enabled, the target display device can convert HDR images or videos into SDR images or videos; when the HDR function module is disabled, the target display device cannot convert HDR images or videos into SDR images or videos.

[0089] Furthermore, the gamma curve is a curve obtained with gray level as the x-axis and brightness as the y-axis. The gamma curve of the target display device can describe the relationship between different gray levels and brightness of the target display device. By adjusting the gamma curve of the target display device, the brightness and contrast of the image displayed by the target display device can be improved, thereby improving the visual effect of the image.

[0090] Step S202: After the gamma curve calibration is completed, turn on the HDR function module.

[0091] In one specific embodiment, the device calibration apparatus includes a first calibration module, which is used to calibrate the gamma curve of the target display device. When the HDR function module is enabled, the HDR function will affect the input of the first calibration module, resulting in inaccurate gamma curve calibration results. In this embodiment, the gamma curve of the target display device is calibrated when the HDR function module is disabled. After the gamma curve calibration is completed, the HDR function module is then enabled. That is, during the gamma curve calibration process, the HDR function of the target display device is not active, which can avoid the influence of the HDR function module being enabled on the gamma curve calibration, thereby improving the color accuracy of the target display device.

[0092] Step S203: With the HDR function module enabled, calibrate the tone mapping curve of the target display device.

[0093] In this embodiment, the tone mapping curve is a luminance mapping function with input luminance as the abscissa and output luminance as the ordinate. The target display device can map the luminance range of a High Dynamic Range (HDR) image to the luminance range of a Standard Dynamic Range (SDR) display device using the tone mapping curve. This ensures that high-brightness content can be correctly displayed on low-brightness display devices, avoiding luminance overflow or loss of detail. This embodiment calibrates the gamma curve of the target display device when the HDR function module is off, and calibrates the tone mapping curve when the HDR function module is on. This avoids the influence of the HDR function module on gamma curve calibration, improving the color accuracy of the target display device.

[0094] In one specific implementation, referring to Figure 3, the calibration of the tone mapping curve of the target display device in step S203 may include steps S301 to S303, as follows:

[0095] Step S301: Obtain the brightness data of the target display device.

[0096] In one specific embodiment, the device calibration device is connected to the signal generator and the colorimeter. The steps of obtaining the brightness data of the target display device include: controlling the signal generator to send a grayscale signal to the target display device so that the target display device displays multiple grayscale images based on the grayscale signal; and controlling the colorimeter to collect the brightness of the multiple grayscale images displayed on the target display device to obtain the brightness data of the target display device.

[0097] In this context, grayscale refers to the brightness level of a light or dark area, and a grayscale image is an image that represents the brightness level. A grayscale image is a monochrome image with 256 grayscale levels or grades from black to white. This embodiment uses a colorimeter to collect brightness data from multiple grayscale images displayed on the target display device. Based on this brightness data, the gamma curve and tone mapping curve are calibrated, which improves the accuracy of the calibrated gamma curve and tone mapping curve.

[0098] Step S302: Determine the target brightness value based on the brightness data.

[0099] In this embodiment, the brightness data includes multiple brightness values ​​corresponding to multiple grayscale images, and the target brightness value is the peak brightness among the multiple brightness values ​​in the brightness data. This embodiment obtains the brightness data of the target display device and performs tone mapping curve calibration based on the peak brightness in the brightness data, which can improve the calibration accuracy of the tone mapping curve.

[0100] Step S303: Based on the target brightness value, calibrate the tone mapping curve of the target display device.

[0101] In one specific embodiment, the step of calibrating the tone mapping curve of the target display device based on the target brightness value specifically includes: determining the target brightness value as the inflection point of the electro-optical transfer function (EOTF); and calibrating the tone mapping curve of the target display device based on the inflection point of the EOTF. The calibration of the tone mapping curve of the target display device based on the inflection point of the EOTF is prior art, and to avoid repetition, it will not be described further in this embodiment.

[0102] In one specific implementation, the color measuring device also acquires the color coordinates of multiple grayscale images. Referring to Figure 4, the calibration of the gamma curve of the target display device in step S203 can include steps S401 to S403, as follows:

[0103] Step S401: Determine the monochrome brightness parameter item corresponding to each grayscale image based on the brightness data, color coordinates of each grayscale image and the color coordinates of the standard monochrome image.

[0104] In this embodiment, a standard monochrome image refers to the representative image of the three primary colors of the RGB color standard, including the red primary color standard image, the green primary color standard image, and the blue primary color standard image. Monochrome brightness parameters refer to the red primary color brightness parameters, green primary color brightness parameters, and blue primary color brightness parameters under different primary color fields (red primary color field, green primary color field, and blue primary color field) in the RGB color standard. Each grayscale image has a corresponding monochrome brightness parameter. For example, the red primary color brightness parameter, green primary color brightness parameter, and blue primary color brightness parameter of the i-th grayscale image are YiR, YiG, and YiB, respectively, while the three monochrome brightness parameters of the (i+1)-th grayscale image are Y(i+1)R, Y(i+1)G, and Y(i+1)B.

[0105] In one specific embodiment, the step of determining the monochrome luminance parameter item corresponding to each grayscale image based on the luminance data, color coordinates, and color coordinates of the standard monochrome image specifically includes: setting a set of monochrome luminance parameter items for each grayscale image; wherein, the set of monochrome luminance parameter items includes red primary color luminance parameter items, green primary color luminance parameter items, and blue primary color luminance parameter items; constructing a system of equations based on the luminance data, color coordinates, monochrome luminance parameter items, and color coordinates of the standard monochrome image; and deriving and solving the monochrome luminance parameter item corresponding to each grayscale image based on the system of equations. The construction of the system of equations based on the luminance data, color coordinates, monochrome luminance parameter items, and color coordinates of the standard monochrome image, and the derivation and solution of the monochrome luminance parameter item corresponding to each grayscale image based on the system of equations, are existing technologies and will not be described again in this embodiment to avoid repetition.

[0106] Step S402: Determine the monochrome target curve based on the monochrome brightness parameters corresponding to multiple grayscale images and the preset standard gamma value.

[0107] In one specific embodiment, the step of determining the monochrome target curve based on the monochrome brightness parameters corresponding to multiple grayscale images and the preset standard gamma value specifically includes: generating three sets of monochrome arrays based on the monochrome brightness parameters corresponding to multiple grayscale images, the preset standard white balance data, and the preset standard gamma value; wherein the three sets of monochrome arrays include a red primary color array, a green primary color array, and a blue primary color array; calculating and generating a set of monochrome target curves based on the interpolation algorithm and the three sets of monochrome arrays; wherein the set of monochrome target curves includes a red primary color target curve, a green primary color target curve, and a blue primary color target curve, and the standard gamma value can adopt the gamma2.2 standard.

[0108] Step S403: Calibrate the gamma curve of the target display device based on the gamma value of the monochrome target curve.

[0109] In this embodiment, the monochrome target curve includes a new gamma value. The gamma curve of the target display device is calibrated based on the gamma value of the monochrome target curve, which can improve the accuracy and speed of the gamma curve calibration of the target display device.

[0110] In one specific embodiment, before calibrating the gamma curve of the target display device in the above step S201 when the HDR function module is in the off state, the steps include: obtaining device type information of the target display device; determining the target graphic effect information of the target display device based on the device type information; and resetting the graphic effect of the target display device based on the target graphic effect information.

[0111] In this embodiment of the application, the target graphic effect information is graphic effect information that matches the device type corresponding to the target display device. In a specific embodiment, the step of determining the target graphic effect information of the target display device based on the device type information specifically includes: obtaining first association information; the first association information represents the correspondence between the device type information and the graphic effect information; and determining the target graphic effect information of the target display device based on the device type information and the first association information.

[0112] Furthermore, the target image effect information may include image mode information and / or window size information. For example, if the image mode information is determined to be HDR movie mode based on the device type information, and the window size information is 18% window, then the image mode of the target display device is set to HDR movie mode, and the window size of the target display device is set to 18% window.

[0113] In one specific embodiment, before calibrating the gamma curve of the target display device while the HDR function module is in the off state, the process includes: obtaining the IP address information of the target display device; establishing a communication connection with the target display device based on the IP address information, wherein the communication connection between the device calibration device and the target display device can be realized through the IP address information of the target display device, so that the device calibration device can calibrate the gamma curve and tone mapping curve of the target display device.

[0114] To verify the effectiveness of the device calibration method provided in this application, the inventors used the calibrated gamma curve and tone mapping curve to map the input image of the target display device, and calculated the DE2000 value between the mapped image and the original image based on the CIE DE2000 color difference formula. The results showed that the DE2000 value between the mapped image and the original image was less than or equal to 1, indicating that the device calibration method provided in this application can improve the color accuracy of the target display device.

[0115] To better implement the device calibration method in this application embodiment, based on the device calibration method, this application embodiment also provides a device calibration apparatus. The device calibration apparatus is applied to a target display device, which includes an HDR function module. As shown in Figure 5, the device calibration apparatus 600 includes:

[0116] The first calibration module 610 is used to calibrate the gamma curve of the target display device when the HDR function module is turned off.

[0117] The function activation module 620 is used to control the HDR function module to be activated after the gamma curve calibration is completed;

[0118] The second calibration module 630 is used to calibrate the tone mapping curve of the target display device when the HDR function module is enabled.

[0119] In this embodiment, by calibrating the gamma curve of the target display device while the HDR function module is off, and then turning on the HDR function module after the gamma curve calibration is completed, and calibrating the tone mapping curve while the HDR function module is on, the influence of the HDR function module on the gamma curve calibration result can be avoided, the accuracy of the gamma curve and tone mapping curve of the target display device can be improved, and the color accuracy of the output image of the target display device can be improved.

[0120] In some embodiments of this application, the second calibration module 630 includes:

[0121] The data acquisition unit is used to acquire the brightness data of the target display device;

[0122] The information determination unit is used to determine the target brightness value based on the brightness data; the target brightness value is the peak brightness in the brightness data.

[0123] The first calibration unit is used to calibrate the tone mapping curve of the target display device based on the target brightness value.

[0124] In some embodiments of this application, the data acquisition unit includes a first acquisition unit and a second acquisition unit, wherein the first acquisition unit is connected to a signal generator and the second acquisition unit is connected to a colorimetric device;

[0125] The first acquisition unit is used to control the signal generator to send grayscale signals to the target display device, so that the target display device can display multiple grayscale images based on the grayscale signals;

[0126] The second acquisition unit is used to control the color measuring device to acquire the brightness of multiple grayscale images displayed on the target display device, and obtain the brightness data of the target display device.

[0127] In some embodiments, before calibrating the gamma curve of the target display device while the HDR function module is in the off state, the first calibration module 610 is further configured to:

[0128] Obtain the device type information of the target display device;

[0129] Based on the device type information, determine the target graphic effect information of the target display device;

[0130] The target display device is re-enhanced based on the target graphic effect information.

[0131] In one specific embodiment, the colorimetric device also acquires the color coordinates of multiple grayscale images, and the first calibration module 610 is further used for:

[0132] Based on the brightness data and color coordinates of each grayscale image and the color coordinates of the standard monochrome image, determine the monochrome brightness parameter item corresponding to each grayscale image;

[0133] The monochrome target curve is determined based on the monochrome brightness parameters corresponding to multiple grayscale images and the preset standard gamma value.

[0134] The gamma curve of the target display device is calibrated based on the gamma value of the monochrome target curve.

[0135] In one specific embodiment, the first calibration module 610 is further configured to:

[0136] Obtain the IP address information of the target display device;

[0137] A communication connection is established with the target display device based on the IP address information.

[0138] This application also provides a computer device that integrates any of the device calibration devices provided in this application. The computer device includes:

[0139] One or more processors;

[0140] Memory; and

[0141] One or more applications, wherein the applications are stored in memory and configured to be executed by a processor from the steps of the device calibration method in any of the embodiments described above.

[0142] This application also provides a computer device that integrates any of the device calibration devices provided in this application. Figure 6 shows a schematic diagram of the structure of the computer device involved in this application. Specifically:

[0143] The computer device may include components such as a processor 801 with one or more processing cores, a memory 802 with one or more computer-readable storage media, a power supply 803, and an input unit 804. Those skilled in the art will understand that the computer device structure shown in FIG6 does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:

[0144] The processor 801 is the control center of the computer device. It connects various parts of the computer device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 802, and by calling data stored in the memory 802, it performs various functions of the computer device and processes data, thereby providing overall monitoring of the computer device. Optionally, the processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 801.

[0145] The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.

[0146] The computer device also includes a power supply 803 that supplies power to the various components. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 803 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0147] The computer device may also include an input unit 804, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0148] Although not shown, the computer device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 801 in the computer device loads the executable files corresponding to the processes of one or more application programs into the memory 802 according to the following instructions, and the processor 801 runs the application programs stored in the memory 802 to realize various functions, as follows:

[0149] With the HDR function module turned off, the gamma curve of the target display device is calibrated;

[0150] After the gamma curve calibration is completed, enable the HDR function module.

[0151] With the HDR function module enabled, the tone mapping curve of the target display device is calibrated.

[0152] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0153] Therefore, embodiments of this application provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any of the device calibration methods provided in embodiments of this application. For example, the computer program loaded by the processor can execute the following steps:

[0154] With the HDR function module turned off, the gamma curve of the target display device is calibrated;

[0155] After the gamma curve calibration is completed, enable the HDR function module.

[0156] With the HDR function module enabled, the tone mapping curve of the target display device is calibrated.

[0157] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0158] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.

[0159] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0160] The above provides a detailed description of a device calibration method, apparatus, and computer device provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

A method of calibrating a device, wherein, The device calibration method is applied to a target display device, the target display device including an HDR function module, and the device calibration method includes: With the HDR function module turned off, the gamma curve of the target display device is calibrated. After the gamma curve calibration is completed, the HDR function module is turned on. With the HDR function module enabled, the tone mapping curve of the target display device is calibrated. The device calibration method of claim 1, wherein, The calibration of the tone mapping curve of the target display device includes: Acquire the brightness data of the target display device; Based on the brightness data, a target brightness value is determined; the target brightness value is the peak brightness in the brightness data. Based on the target brightness value, the tone mapping curve of the target display device is calibrated. The device calibration method of claim 2, wherein, The step of acquiring the brightness data of the target display device includes: The control signal generator sends grayscale signals to the target display device, so that the target display device displays multiple grayscale images based on the grayscale signals; The colorimetric device is controlled to acquire the brightness of multiple grayscale images displayed on the target display device, thereby obtaining the brightness data of the target display device. The device calibration method of claim 2, wherein, The calibration of the tone mapping curve of the target display device based on the target brightness value includes: The target brightness value is determined as the inflection point of the electro-optic conversion function; The tone mapping curve of the target display device is calibrated based on the inflection point of the electro-optic conversion function. The device calibration method of claim 1, wherein, Before calibrating the gamma curve of the target display device while the HDR function module is in the off state, the process includes: Obtain the device type information of the target display device; Based on the device type information, the target graphic effect information of the target display device is determined; The target display device is re-enhanced based on the target graphic effect information. The device calibration method of claim 5, wherein, The step of determining the target graphic effect information of the target display device based on the device type information includes: Obtain the first association information; the first association information represents the correspondence between device type information and graphic effect information; Based on the device type information and the first association information, the target graphic effect information of the target display device is determined. The device calibration method of claim 6, wherein, The target image effect information includes image mode information and / or window size information. The device calibration method of claim 3, wherein, The colorimetric device also acquires the color coordinates of multiple grayscale images, and the calibration of the gamma curve of the target display device includes: Based on the brightness data, color coordinates, and color coordinates of each grayscale image, determine the monochrome brightness parameter item corresponding to each grayscale image; The monochrome target curve is determined based on the monochrome brightness parameter items corresponding to multiple grayscale images and the preset standard gamma value; The gamma curve of the target display device is calibrated based on the gamma value of the monochrome target curve. The device calibration method of claim 8, wherein, The step of determining the monochrome brightness parameter item corresponding to each grayscale image based on the brightness data, color coordinates, and color coordinates of the standard monochrome image of each grayscale image includes: A set of monochrome brightness parameters is set for each of the grayscale images; Based on the brightness data, color coordinates, monochrome brightness parameter items, and color coordinates of the standard monochrome image for each grayscale image, a system of equations is constructed. Based on the set of equations, the monochrome brightness parameter corresponding to each grayscale image is derived and solved. The device calibration method of claim 9, wherein, The set of monochromatic brightness parameters includes red primary color brightness parameters, green primary color brightness parameters, and blue primary color brightness parameters. The device calibration method of claim 8, wherein, The step of determining the monochrome target curve based on the monochrome brightness parameters corresponding to multiple grayscale images and a preset standard gamma value includes: Based on the monochrome brightness parameter items corresponding to multiple grayscale images, the preset standard white balance data, and the preset standard gamma value, three monochrome arrays are generated. Based on the interpolation algorithm and three sets of monochrome arrays, a set of monochrome target curves is calculated and generated. The device calibration method of claim 11, wherein, The three sets of monochrome arrays include a red primary color array, a green primary color array, and a blue primary color array; the set of monochrome target curves includes a red primary color target curve, a green primary color target curve, and a blue primary color target curve. The device calibration method of claim 1, wherein, Before calibrating the gamma curve of the target display device while the HDR function module is in the off state, the process includes: Obtain the IP address information of the target display device; A communication connection is established with the target display device based on the IP address information. A device calibration apparatus, wherein, The device calibration apparatus is applied to a target display device, the target display device including an HDR function module, and the device calibration apparatus includes: The first calibration module is used to calibrate the gamma curve of the target display device when the HDR function module is turned off. The function activation module is used to control the HDR function module to be activated after the gamma curve calibration is completed; The second calibration module is used to calibrate the tone mapping curve of the target display device when the HDR function module is enabled. The device calibration apparatus of claim 14, wherein, The second calibration module includes: The data acquisition unit is used to acquire the brightness data of the target display device; An information determination unit is used to determine a target brightness value based on the brightness data; the target brightness value is the peak brightness in the brightness data. The first calibration unit is used to calibrate the tone mapping curve of the target display device based on the target brightness value. The device calibration apparatus of claim 15, wherein, The data acquisition unit includes a first acquisition unit and a second acquisition unit, wherein the first acquisition unit is connected to a signal generator and the second acquisition unit is connected to a colorimetric device. The first acquisition unit is used to control the signal generator to send a grayscale signal to the target display device, so that the target display device displays multiple grayscale images based on the grayscale signal; The second acquisition unit is used to control the color measuring device to acquire the brightness of multiple grayscale images displayed on the target display device, and obtain the brightness data of the target display device. The device calibration apparatus of claim 14, wherein, Before the first calibration module calibrates the gamma curve of the target display device when the HDR function module is in the off state, the first calibration module is further configured to: Obtain the device type information of the target display device; Based on the device type information, the target graphic effect information of the target display device is determined; reset the target display device based on the target picture efficiency information. The device calibration apparatus of claim 16, wherein, The colorimeter also collects color coordinates of the multiple gray scale images, and the first calibration module is specifically further configured to: determine a single-color luminance parameter item corresponding to each of the multiple gray scale images according to the luminance data, the color coordinates of each of the multiple gray scale images, and color coordinates of a standard single-color image; determine a single-color target curve according to the single-color luminance parameter items corresponding to the multiple gray scale images and a preset standard gamma value; calibrate a gamma curve of the target display device according to a gamma value of the single-color target curve. The device calibration apparatus of claim 14, wherein, The first calibration module is specifically further configured to: obtain IP address information of the target display device; establish a communication connection with the target display device based on the IP address information. A computer device, wherein, The computer device comprises one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processors to implement the device calibration method in any one of claims 1 to 13.