Equipment calibration method and device, computer equipment and computer readable storage medium
By calibrating the gamma curve of the display device when the HDR function module is turned off and the tone mapping curve is calibrated in the on state, the problem of poor color accuracy effect in the output image in the prior art is solved, and higher color accuracy accuracy is achieved.
Patent Information
- Application Number
- CN202411652522.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-03-14
AI Technical Summary
During mapping processing by existing display devices, fixed gamma curves and tone mapping curves lead to poor color accuracy of the output image.
When the HDR function module is in the off state, the gamma curve of the target display device is calibrated, and the HDR function module is turned on after the gamma curve calibration is completed, and the tone mapping curve of the target display device is calibrated.
By avoiding the influence of the HDR function module on the gamma curve calibration results, the accuracy of the gamma curve and tone mapping curve of the target display device is improved, thereby improving the color accuracy effect of the output image.
Smart Images

Figure CN119626180A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a device calibration method, apparatus, computer equipment, and computer-readable storage medium. Background Art
[0002] With the rapid development of display technology, consumers have higher and higher requirements for the image quality of display devices. Color consistency and accuracy are the key to users' pursuit of high-quality visual experience. In order to improve the image quality display effect of display devices, existing display devices usually map the input image through gamma curves, tone mapping curves, etc. However, existing display devices all use fixed mapping curves to map the input image, which has the problem of poor color accuracy of the output image due to inaccurate mapping curves. Summary of the invention
[0003] The embodiments of the present application provide a device calibration method, apparatus, computer equipment, and computer-readable storage medium, which can improve the color accuracy of an image output by a target display device.
[0004] The technical solution adopted by the present invention to solve the problem is as follows:
[0005] In a first aspect, the present application provides a device calibration method, which is applied to a target display device, the target display device includes an HDR function module, and the device calibration method includes:
[0006] When the HDR function module is turned off, calibrate the gamma curve of the target display device;
[0007] After the gamma curve calibration is completed, the HDR function module is controlled to be turned on;
[0008] When the HDR function module is turned on, the tone mapping curve of the target display device is calibrated.
[0009] In some embodiments of the present application, calibrating the tone mapping curve of the target display device includes:
[0010] Get the brightness data of the target display device;
[0011] Based on the brightness data, a target brightness value is determined; the target brightness value is the peak brightness in the brightness data;
[0012] Based on the target brightness value, the tone mapping curve of the target display device is calibrated.
[0013] In some embodiments of the present application, obtaining brightness data of a target display device includes:
[0014] The control signal generator sends a grayscale signal to the target display device, so that the target display device displays a plurality of grayscale images based on the grayscale signal;
[0015] The color measuring device is controlled to collect brightness of multiple grayscale images displayed on the target display device to obtain brightness data of the target display device.
[0016] In some embodiments of the present application, when the HDR function module is in a turned-off state, before calibrating the gamma curve of the target display device, the process includes:
[0017] Get the device type information of the target display device;
[0018] Based on the device type information, determine the target image effect information of the target display device;
[0019] The target display device is reset based on the target image effect information.
[0020] In some embodiments of the present application, the color measuring device further collects color coordinates of multiple grayscale images to calibrate the gamma curve of the target display device, including:
[0021] Determine the monochrome brightness parameter item corresponding to each grayscale image according to the brightness data and color coordinates of each grayscale image and the color coordinates of the standard monochrome image;
[0022] Determine a monochrome target curve according to monochrome brightness parameter items corresponding to the plurality of grayscale images and a preset standard gamma value;
[0023] The gamma curve of the target display device is calibrated according to the gamma value of the monochrome target curve.
[0024] In some embodiments of the present application, when the HDR function module is in a turned-off state, before calibrating the gamma curve of the target display device, the process includes:
[0025] Get the IP address information of the target display device;
[0026] Based on the IP address information, a communication connection is established with the target display device.
[0027] In a second aspect, an embodiment of the present invention further provides 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:
[0028] A first calibration module, used for calibrating the gamma curve of the target display device when the HDR function module is in a turned-off state;
[0029] Function enabling module, used to control the HDR function module to be enabled after the gamma curve calibration is completed;
[0030] The second calibration module is used to calibrate the tone mapping curve of the target display device when the HDR function module is in the turned-on state.
[0031] In some embodiments of the present application, the second calibration module includes:
[0032] A data acquisition unit, used to acquire brightness data of a target display device;
[0033] An information determination unit is used to determine a target brightness value based on the brightness data; the target brightness value is a peak brightness in the brightness data;
[0034] The first calibration unit is used to calibrate the tone mapping curve of the target display device based on the target brightness value.
[0035] In a third aspect, the present application also provides a computer device, comprising: one or more processors, a memory, and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement any one of the device calibration methods in the first aspect.
[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the device calibration methods in the first aspect.
[0037] The beneficial effects of the present invention are as follows: when the HDR function module is in a closed state, the gamma curve of the target display device is calibrated; after the gamma curve calibration is completed, the HDR function module is controlled to be turned on; when the HDR function module is in a turned-on state, the tone mapping curve of the target display device is calibrated, which can avoid the influence of the HDR function module on the gamma curve calibration result, improve the accuracy of the gamma curve and the tone mapping curve of the target display device, and further improve the color accuracy effect of the output image of the target display device. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 is a schematic diagram of a scenario of a device calibration system provided by an embodiment of the present invention;
[0040] Figure 2 is a flow chart of a device calibration method provided by an embodiment of the present invention;
[0041] Figure 3 is a schematic diagram of a specific embodiment flow of calibrating a tone mapping curve provided by an embodiment of the present invention;
[0042] Figure 4 is a schematic diagram of a specific embodiment flow of calibrating a gamma curve provided by an embodiment of the present invention;
[0043] Figure 5 is a principle block diagram of a device calibration apparatus provided by an embodiment of the present invention;
[0044] Figure 6 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0046] In this application, the word "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.
[0047] The embodiments of the present application provide a device calibration method, apparatus, computer equipment, and computer-readable storage medium, which are described in detail below.
[0048] See also Figure 1 , Figure 1The schematic diagram of the scene of the device calibration system provided in the embodiment of the present application includes a device calibration device 10 and a target display device 20. The target display device 20 includes an HDR function module, which is a function module for converting a high dynamic range (HDR) image or video into a standard dynamic range (SDR) image or video. The device calibration device 10 is used to: calibrate the gamma curve of the target display device when the HDR function module is in the off state; 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 in the on state. In this embodiment, by calibrating the gamma curve of the target display device when the HDR function module is in the off state, controlling the HDR function module to turn on after the gamma curve calibration is completed, and calibrating the tone mapping curve when the HDR function module is in the on state, the influence of the HDR function module on the gamma curve calibration result can be avoided, and the accuracy of the gamma curve and the tone mapping curve of the target display device can be improved, thereby improving the color accuracy of the output image of the target display device.
[0049] In a specific embodiment, the device calibration apparatus 10 is integrated on a computer device, and the computer device may be a target display device, or may be other computer devices other than the target display device, which is not limited in this embodiment. When the computer device is a target display device, the target display device may calibrate itself by executing the device calibration method provided in the embodiment of the present application; when the computer device is other computer devices other than the target display device, other computer devices may calibrate the target display device by executing the device calibration method provided in the embodiment of the present application. Among them, the target display device is any device with a display function, for example, the target display device may be a TV, the target display device may also be a projector, the target display device may also be a computer, etc., which is not limited in this embodiment.
[0050] In a specific embodiment, continue to refer to Figure 1As shown, the device calibration system also includes a signal generator 30 and a colorimetric device 40. The signal generator 30 is connected to the device calibration device 10 and the target display device 20, and the colorimetric device 40 is connected to the device calibration device 10. The device calibration device 10 is used to control the signal generator 30 to send a grayscale signal to the target display device 20, so that the target display device 20 displays multiple grayscale images based on the grayscale signal; the device calibration device 10 is also used to control the colorimetric device 40 to collect the brightness of the multiple grayscale images displayed on the target display device 20, and obtain the brightness data of the target display device 20. Among them, the colorimetric device 40 can be a CA410 color temperature meter, and the colorimetric device 40 can also be a CS2000 brightness meter, which is not limited in this embodiment.
[0051] Those skilled in the art will understand that Figure 1 The application environment shown in the figure 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 also include Figure 1 It can be understood that the device calibration system may further include one or more other services, which are not specifically limited here, although more or less devices are shown in the figure.
[0052] In addition, if Figure 1 As shown, the device calibration system may further include a memory for storing data, such as image data, such as brightness data, color coordinates, etc., such as mapping curves, such as a gamma curve, a tone mapping curve, etc.
[0053] It should be noted that Figure 1 The scenario diagram of the device calibration system shown is merely an example. The device calibration system and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the device calibration system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is equally applicable to similar technical problems.
[0054] First, a device calibration method is provided in an embodiment of the present application. The executor of the device calibration method is a device calibration device. The device calibration device is applied to a target display device. The target display device includes an HDR function module. The device calibration method includes: when the HDR function module is in an off state, calibrating the gamma curve of the target display device; after the gamma curve calibration is completed, controlling the HDR function module to turn on; when the HDR function module is in an on state, calibrating the tone mapping curve of the target display device.
[0055] like Figure 2FIG. 2 is a flow chart of an embodiment of a device calibration method in an embodiment of the present application. The device calibration method may include the following steps S201 to S203, which are as follows:
[0056] Step S201: When the HDR function module is in a closed state, calibrate the gamma curve of the target display device.
[0057] In the embodiment of the present application, the HDR function module is a function module for converting a high dynamic range (HDR) image or video into a standard dynamic range (SDR) image or video. When the HDR function module is turned on, the target display device can convert the HDR image or video into an SDR image or video. When the HDR function module is turned off, the target display device cannot convert the HDR image or video into an SDR image or video.
[0058] Furthermore, the gamma curve is a curve obtained by taking grayscale as the x-axis and brightness as the y-axis. The gamma curve of the target display device can describe the relationship between different grayscales 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.
[0059] Step S202: After the gamma curve calibration is completed, the HDR function module is controlled to be turned on.
[0060] In a specific embodiment, the device calibration apparatus includes a first calibration module, and the first calibration module is used to calibrate the gamma curve of the target display device. When the HDR function module is in an on state, the HDR function will affect the input of the first calibration module, thereby causing inaccurate gamma curve calibration results. In the embodiment of the present application, when the HDR function module is in an off state, the gamma curve of the target display device is calibrated. After the gamma curve calibration is completed, the HDR function module is turned on, that is, during the gamma curve calibration process, the HDR function of the target display device is not effective, which can avoid the influence of the HDR function module on the gamma curve calibration, thereby improving the color accuracy effect of the target display device.
[0061] Step S203: When the HDR function module is in an on state, calibrate the tone mapping curve of the target display device.
[0062] In the embodiment of the present application, the tone mapping curve is a brightness mapping function with input brightness as the horizontal coordinate and output brightness as the vertical coordinate. The target display device can map the brightness range of the high dynamic range (HDR) image to the brightness range of the standard dynamic range (SDR) display device through the tone mapping curve, so that high-brightness content can also be correctly displayed on a low-brightness display device to avoid brightness overflow or loss of details. In the embodiment of the present application, the gamma curve of the target display device is calibrated when the HDR function module is in the off state, and the tone mapping curve of the target display device is calibrated when the HDR function module is in the on state, which can avoid the influence of the HDR function module on the gamma curve calibration and improve the color accuracy effect of the target display device.
[0063] In a specific implementation, referring to Figure 3 As shown, the tone mapping curve of the target display device is calibrated in the above step S203, which may include steps S301 to S303, which are specifically as follows:
[0064] Step S301: Acquire brightness data of a target display device.
[0065] In a specific embodiment, the device calibration device is connected to the signal generator and the color measuring device, and the above-mentioned step of obtaining the brightness data of the target display device specifically includes: 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; controlling the color measuring device 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.
[0066] Among them, grayscale refers to the degree of brightness, grayscale image refers to an image that can represent the brightness of brightness, and grayscale image is a monochrome image with 256 grayscale levels or grades from black to white. In this embodiment, the brightness of multiple grayscale images displayed on the target display device is collected by a colorimetric device to obtain brightness data of the target display device, and then the gamma curve and tone mapping curve are calibrated based on the brightness data, which can improve the accuracy of the calibrated gamma curve and tone mapping curve.
[0067] Step S302: Determine a target brightness value based on the brightness data.
[0068] In the embodiment of the present application, 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 of the brightness data. In this embodiment, the brightness data of the target display device is obtained, and the tone mapping curve is calibrated based on the peak brightness in the brightness data, which can improve the calibration accuracy of the tone mapping curve.
[0069] Step S303: calibrate the tone mapping curve of the target display device based on the target brightness value.
[0070] In a specific embodiment, based on the target brightness value, the step of calibrating the tone mapping curve of the target display device specifically includes: determining the target brightness value as the turning point of the electro-optical transfer function (EOTF); based on the turning point of the electro-optical transfer function, calibrating the tone mapping curve of the target display device. Among them, calibrating the tone mapping curve of the target display device based on the turning point of the electro-optical transfer function is a prior art, and to avoid repetition, this embodiment will not be repeated here.
[0071] In a specific implementation, the color measuring device also collects color coordinates of multiple grayscale images, referring to Figure 4 As shown, the gamma curve of the target display device is calibrated in the above step S203, which may include steps S401 to S403, which are specifically as follows:
[0072] Step S401: Determine a monochrome brightness parameter item corresponding to each grayscale image according to the brightness data and color coordinates of each grayscale image and the color coordinates of a standard monochrome image.
[0073] In the embodiment of the present application, the standard monochrome image refers to the three primary color representative image 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. The monochrome brightness parameter item refers to the red primary color brightness parameter item, the green primary color brightness parameter item and the blue primary color brightness parameter item under different primary color fields (red primary color field, green primary color field and blue primary color field) under the RGB color standard. Each grayscale image has a corresponding monochrome brightness parameter item. For example, the red primary color brightness parameter item, the green primary color brightness parameter item and the blue primary color brightness parameter item of the i-th grayscale image are YiR, YiG and YiB respectively, and the three monochrome brightness parameter items of the i+1-th grayscale image are Y(i+1)R, Y(i+1)G and Y(i+1)B.
[0074] In a specific embodiment, the step of determining the monochrome brightness parameter item corresponding to each grayscale image according to the brightness data, color coordinates and color coordinates of the standard monochrome image of each grayscale image specifically includes: setting a group of monochrome brightness parameter items corresponding to each grayscale image; wherein the group of monochrome brightness parameter items includes a red primary color brightness parameter item, a green primary color brightness parameter item and a blue primary color brightness parameter item; constructing an equation group according to the brightness data, color coordinates, monochrome brightness parameter items and color coordinates of each grayscale image; and deriving and solving the monochrome brightness parameter item corresponding to each grayscale image according to the equation group. Among them, constructing an equation group according to the brightness data, color coordinates, monochrome brightness parameter items and color coordinates of each grayscale image, and deriving and solving the monochrome brightness parameter item corresponding to each grayscale image according to the equation group are prior arts, and to avoid repetition, this embodiment will not be described in detail here.
[0075] Step S402: determining a monochrome target curve according to monochrome brightness parameter items corresponding to the plurality of grayscale images and a preset standard gamma value.
[0076] In a specific embodiment, the step of determining a monochrome target curve according to monochrome brightness parameter items corresponding to multiple grayscale images and preset standard gamma values specifically includes: generating three groups of monochrome arrays according to the monochrome brightness parameter items corresponding to the multiple grayscale images, preset standard white balance data and preset standard gamma values; wherein the three groups of monochrome arrays include a red primary color array, a green primary color array and a blue primary color array; calculating and generating a group of monochrome target curves according to an interpolation algorithm and the three groups of monochrome arrays; wherein a group of monochrome target curves include 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.
[0077] Step S403: calibrate the gamma curve of the target display device according to the gamma value of the monochrome target curve.
[0078] In the embodiment of the present application, the monochrome target curve includes a new gamma value, and 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.
[0079] In a specific embodiment, in the above step S201, when the HDR function module is in a turned-off state, before calibrating the gamma curve of the target display device, it includes: obtaining device type information of the target display device; determining target image effect information of the target display device based on the device type information; and resetting the image effect of the target display device based on the target image effect information.
[0080] In an embodiment of the present 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, based on the device type information, the step of determining the target graphic effect information of the target display device specifically includes: obtaining first association information; the first association information represents the correspondence between the device type information and the graphic effect information; based on the device type information and the first association information, determining the target graphic effect information of the target display device.
[0081] Furthermore, the target image effect information may include image mode information and / or window size information. For example, based on the device type information, the image mode information is determined to be HDR movie mode, 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.
[0082] In a specific embodiment, when the HDR function module is in a closed state, before calibrating the gamma curve of the target display device, it includes: obtaining the IP address information of the target display device; based on the IP address information, establishing a communication connection with the target display device, and the IP address information of the target display device can realize the communication connection between the device calibration device and the target display device, so that the device calibration device can calibrate the gamma curve and tone mapping curve of the target display device.
[0083] In order to verify the effect of the device calibration method provided in the embodiment of the present application, the inventor 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 the embodiment of the present application can improve the color accuracy effect of the target display device.
[0084] In order to better implement the device calibration method in the embodiment of the present application, based on the device calibration method, a device calibration device is also provided in the embodiment of the present application. The device calibration device is applied to a target display device, and the target display device includes an HDR function module, such as Figure 5 As shown, the device calibration apparatus 600 includes:
[0085] A first calibration module 610, configured to calibrate a gamma curve of a target display device when the HDR function module is in a turned-off state;
[0086] A function enabling module 620 is used to control the HDR function module to be enabled after the gamma curve calibration is completed;
[0087] The second calibration module 630 is used to calibrate the tone mapping curve of the target display device when the HDR function module is in the on state.
[0088] In an embodiment of the present application, by calibrating the gamma curve of the target display device when the HDR function module is in a turned-off state, controlling the HDR function module to turn on after the gamma curve calibration is completed, and calibrating the tone mapping curve when the HDR function module is turned on, the influence of the HDR function module on the gamma curve calibration result can be avoided, the accuracy of the gamma curve and the tone mapping curve of the target display device can be improved, and the color accuracy effect of the image output by the target display device can be improved.
[0089] In some embodiments of the present application, the second calibration module 630 includes:
[0090] A data acquisition unit, used to acquire brightness data of a target display device;
[0091] An information determination unit is used to determine a target brightness value based on the brightness data; the target brightness value is a peak brightness in the brightness data;
[0092] The first calibration unit is used to calibrate the tone mapping curve of the target display device based on the target brightness value.
[0093] In some embodiments of the present application, the data acquisition unit includes a first acquisition unit and a second acquisition unit, the first acquisition unit is connected to the signal generator, and the second acquisition unit is connected to the color measurement device;
[0094] A first acquisition unit, configured to control the signal generator to send a grayscale signal to a target display device, so that the target display device displays a plurality of grayscale images based on the grayscale signal;
[0095] The second acquisition unit is used to control the color measurement device to collect brightness of multiple grayscale images displayed on the target display device to obtain brightness data of the target display device.
[0096] In some embodiments, when the HDR function module is in a turned-off state, before the first calibration module 610 calibrates the gamma curve of the target display device, the first calibration module 610 is further configured to:
[0097] Get the device type information of the target display device;
[0098] Based on the device type information, determine the target image effect information of the target display device;
[0099] The target display device is reset based on the target image effect information.
[0100] In a specific embodiment, the color measuring device further collects color coordinates of multiple grayscale images, and the first calibration module 610 is further specifically used for:
[0101] Determine the monochrome brightness parameter item corresponding to each grayscale image according to the brightness data and color coordinates of each grayscale image and the color coordinates of the standard monochrome image;
[0102] Determine a monochrome target curve according to monochrome brightness parameter items corresponding to the plurality of grayscale images and a preset standard gamma value;
[0103] The gamma curve of the target display device is calibrated according to the gamma value of the monochrome target curve.
[0104] In a specific embodiment, the first calibration module 610 is further configured to:
[0105] Get the IP address information of the target display device;
[0106] Based on the IP address information, a communication connection is established with the target display device.
[0107] The embodiment of the present application further provides a computer device, which integrates any device calibration device provided in the embodiment of the present application, and the computer device includes:
[0108] one or more processors;
[0109] Memory; and
[0110] One or more applications, wherein the one or more applications are stored in the memory and are configured to execute, by the processor, the steps of the device calibration method in any of the above device calibration method embodiments.
[0111] The present application also provides a computer device that integrates any device calibration device provided in the present application. Figure 6 As shown, it shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:
[0112] The computer device may include one or more processing core processors 801, one or more computer-readable storage media memories 802, a power supply 803, an input unit 804 and other components. Those skilled in the art will appreciate that Figure 6 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:
[0113] The processor 801 is the control center of the computer device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 802 and calling data stored in the memory 802, it executes various functions of the computer device and processes data, thereby monitoring the computer device as a whole. 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 processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 801.
[0114] 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, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an 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 a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.
[0115] The computer device also includes a power supply 803 for supplying power to each component. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions. The power supply 803 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
[0116] The computer device may further include an input unit 804, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0117] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 801 in the computer device will load 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 will run the application programs stored in the memory 802, thereby realizing various functions, as follows:
[0118] When the HDR function module is turned off, calibrate the gamma curve of the target display device;
[0119] After the gamma curve calibration is completed, the HDR function module is controlled to be turned on;
[0120] When the HDR function module is turned on, the tone mapping curve of the target display device is calibrated.
[0121] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0122] To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a 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 device calibration method provided in the embodiment of the present application. For example, the computer program is loaded by a processor to execute the following steps:
[0123] When the HDR function module is turned off, calibrate the gamma curve of the target display device;
[0124] After the gamma curve calibration is completed, the HDR function module is controlled to be turned on;
[0125] When the HDR function module is turned on, the tone mapping curve of the target display device is calibrated.
[0126] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.
[0127] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.
[0128] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0129] The above is a detailed introduction to a device calibration method, apparatus, computer equipment and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A device calibration method, characterized in that: The device calibration method is applied to a target display device, the target display device includes an HDR function module, and the device calibration method includes: When the HDR function module is in a turned-off state, calibrating the gamma curve of the target display device; After the gamma curve calibration is completed, controlling the HDR function module to start; When the HDR function module is in an on state, the tone mapping curve of the target display device is calibrated.
2. The device calibration method according to claim 1, characterized in that: The calibrating the tone mapping curve of the target display device includes: Acquire brightness data of the target display device; Based on the brightness data, determining a target brightness value; the target brightness value is a peak brightness in the brightness data; Based on the target brightness value, a tone mapping curve of the target display device is calibrated.
3. The device calibration method according to claim 2, characterized in that: The acquiring brightness data of the target display device includes: The control signal generator sends a grayscale signal to the target display device, so that the target display device displays a plurality of grayscale images based on the grayscale signal; The color measuring device is controlled to collect brightness of the plurality of grayscale images displayed on the target display device to obtain brightness data of the target display device.
4. The device calibration method according to claim 1, characterized in that: The method includes: before calibrating the gamma curve of the target display device when the HDR function module is in the off state, comprising: Acquire device type information of the target display device; Based on the device type information, determining target image effect information of the target display device; The target display device is reset based on the target graphic effect information.
5. The device calibration method according to claim 3, characterized in that: The color measuring device also collects color coordinates of the plurality of grayscale images, and the gamma curve of the target display device is calibrated, including: Determine a monochrome brightness parameter item corresponding to each of the grayscale images according to the brightness data of each of the grayscale images, the color coordinates, and the color coordinates of a standard monochrome image; Determining a monochrome target curve according to the monochrome brightness parameter items corresponding to the plurality of grayscale images and a preset standard gamma value; The gamma curve of the target display device is calibrated according to the gamma value of the monochrome target curve.
6. The device calibration method according to any one of claims 1 to 5, characterized in that: The method includes: before calibrating the gamma curve of the target display device when the HDR function module is in the off state, comprising: Obtaining the IP address information of the target display device; Based on the IP address information, a communication connection is established with the target display device.
7. A device calibration apparatus, characterized in that: The device calibration apparatus is applied to a target display device, the target display device includes an HDR function module, and the device calibration apparatus includes: A first calibration module, configured to calibrate a gamma curve of the target display device when the HDR function module is in a turned-off state; A function enabling module, used for controlling the HDR function module to be enabled 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 in the on state.
8. The device calibration apparatus according to claim 7, characterized in that: The second calibration module comprises: A data acquisition unit, used to acquire brightness data of the target display device; An information determining unit, configured to determine a target brightness value based on the brightness data; the target brightness value is a 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.
9. A computer device, characterized in that: 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 processor to implement the device calibration method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to be executed to implement the steps in the device calibration method according to any one of claims 1 to 6.
Citation Information
Cited By
Device calibration method and apparatus, and computer device
WO2026103322A1