Color display correction method, device, equipment, medium and product for display screen
By generating a color parameter correction curve to offset the change of the LED display color with temperature, the problem of brightness attenuation is solved, and the display effect is stable and the virtual shooting effect is improved.
Patent Information
- Application Number
- CN202211534685.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2042-11-29
AI Technical Summary
The color brightness of the LED display attenuates with temperature changes, resulting in unstable virtual shooting effects.
By obtaining the color parameter values and temperature values of the display screen, reverse fitting is performed to generate a color parameter correction curve to offset the color changes and keep the color of the display screen stable.
The display effect of the LED display screen is improved, ensuring that the brightness, color temperature and color gamut are in a relatively stable state, and improving the quality of virtual shooting.
Smart Images

Figure CN116486735B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a method, device, equipment, medium and product for color display correction of a display screen. Background Art
[0002] With the development of shooting technology, virtual shooting technology has been developed. The application of virtual shooting technology in the process of TV and movie shooting can eliminate the need to build a large number of real scenes, which can greatly reduce shooting costs.
[0003] During the virtual shooting process, a giant ring screen composed of multiple LED (Light-Emitting Diode) screens is built on the shooting site as the background of the performance area. During shooting, the modeled and rendered background is projected onto the LED ring screen to display a high-fidelity environment picture, and the actors only need to perform in front of the LED ring screen to complete the shooting.
[0004] However, after testing, it was found that the color brightness of LED lamp beads will decay with temperature. Therefore, how to stably manage the display effect of the LED screen is the key to improving the virtual shooting effect. Summary of the Invention
[0005] The present invention provides a method, device, equipment, medium, and product for color correction of a display screen. The technical solution is as follows:
[0006] In one aspect, an embodiment of the present application provides a method for color correction of a display screen, the method comprising:
[0007] Acquire at least two groups of first sampling data, each group of first sampling data including a first color parameter value and a first temperature value of the display screen at the same sampling moment;
[0008] Performing reverse fitting on the first color parameter value and the first temperature value to generate a color parameter correction curve for the display screen, wherein the color parameter correction curve has a change state opposite to that of a curve formed by the first color parameter value and the first temperature value;
[0009] Based on the color parameter correction curve, color display correction is performed on the display screen.
[0010] On the other hand, an embodiment of the present application provides a color display correction device for a display screen, the device comprising:
[0011] An acquisition module, configured to acquire at least two groups of first sampling data, each group of first sampling data including a first color parameter value and a first temperature value of the display screen at the same sampling moment;
[0012] a curve fitting module, configured to perform reverse fitting on the first color parameter value and the first temperature value to generate a color parameter correction curve for the display screen, wherein the color parameter correction curve has a change state opposite to that of a curve formed by the first color parameter value and the first temperature value;
[0013] The color correction module is used to perform color display correction on the display screen based on the color parameter correction curve.
[0014] On the other hand, an embodiment of the present application provides a computer device, which includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the color display correction method of the display screen as described in the above aspect.
[0015] In another aspect, the present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the color display correction method for a display screen provided in the above aspects.
[0016] In an embodiment of the present application, the correspondence between the real color parameter values and temperature values of the display screen is collected, and the color parameter values and temperature values are reversely fitted, so that the generated color parameter correction curve is opposite to the change state of the curve composed of the real color parameter values and temperature values. Therefore, when the color parameter correction curve is applied to correct the color display of the display screen, the original color change state can be offset, so that the color of the display screen remains stable, thereby improving the display effect of the display screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0018] Figure 1 It is the changing state of the LED display corresponding to brightness, color temperature and color gamut;
[0019] Figure 2 A schematic diagram showing an implementation environment provided by an exemplary embodiment of the present application is shown;
[0020] Figure 3 A flowchart of a color display correction method for a display screen provided by an exemplary embodiment of the present application is shown;
[0021] Figure 4 A schematic diagram of a color correction curve shown in an exemplary embodiment of the present application is shown;
[0022] Figure 5 A flow chart showing a method for color display correction of a display screen provided by another exemplary embodiment of the present application is shown;
[0023] Figure 6 A schematic diagram showing the principle of generating a color parameter correction curve according to an exemplary embodiment of the present application is shown;
[0024] Figure 7 A flow chart showing a method for color display correction of a display screen provided by another exemplary embodiment of the present application is shown;
[0025] Figure 8 A flow chart showing a method for color display correction of a display screen provided by another exemplary embodiment of the present application is shown;
[0026] Figure 9 A schematic diagram of a process for generating a color correction curve according to an exemplary embodiment of the present application is shown;
[0027] Figure 10 A schematic diagram of a color correction process according to an exemplary embodiment of the present application is shown;
[0028] Figure 11 A structural block diagram of a color display correction device for a display screen provided by an exemplary embodiment of the present application is shown;
[0029] Figure 12 A schematic structural diagram of a computer device provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0030] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0031] First, a brief introduction to the terms involved in the embodiments of this application is given:
[0032] (1) White color temperature (also known as reference white point or target white point): The white point refers to the white reference point of the LED display device, which defines the location of the "white" color temperature of the display device. There are two common ways to express the white point. One is to express its coordinate position on the CIE1931 chromaticity diagram. Since the white point can be mixed by various colors, CIE has introduced the D series light source, and its similar color temperature value can be inferred based on the white point coordinates. Therefore, the white point can also be expressed as a color temperature value, such as: D65, its color temperature is 6500K.
[0033] (2) Color gamut: Color gamut is a concept used to represent the range of colors that a display system can display. The larger the color gamut, the stronger the display capability of the system. Since most modern display devices emit light in three colors (R, G, and B), the color display capability of the three channels (R, G, and B) also limits the color gamut size of the display system. Therefore, the color gamut is Figure 1 It is generally a triangle formed by the display capability extremes of red, green and blue, and their positions on the chromaticity diagram.
[0034] (3) Brightness: The brightness of a self-luminous body, measured in cd / m 2 (nits) to indicate.
[0035] Taking LED display as an example, after testing, it was found that the changes in brightness, color temperature and color gamut of LED display are as follows: Figure 1 As shown. Among them, the brightness of the LED display screen is continuously screened for half an hour after it is turned on. After half an hour, the brightness can be stabilized at about 1630nits, and it is about attenuated by about 100nits. Because the white color with a brightness of 1700nis is used for burning, the temperature increase will be more obvious than the temperature increase for normal shooting. In actual application, it is estimated that it will take longer for the brightness to stabilize. After the screen has been turned on for a long time, the color temperature will gradually shift toward the blue direction, and finally stop at a place about 300K higher than the screen. After 5 minutes, the color gamut size is reduced to 99% of the original due to the attenuation of the brightness of the three colors; after 30 minutes, it is reduced to 98% of the original; after 60 minutes, the color gamut size is reduced to 97% of the original. It should be noted that, Figure 1 The test data shown above is obtained by testing a certain LED display screen. It is only used as a reference to describe the brightness, color temperature, and color gamut changes of the LED display screen, and may not be applicable to other LED screens.
[0036] (4) Virtual filming: A giant circular screen composed of multiple LED screens is built at the filming site as the background of the performance area. During filming, the modeled and rendered background is projected onto the LED circular screen to display a high-fidelity environmental image. The actors only need to perform in front of the LED circular screen to complete the filming. However, after testing, it was found that the color brightness of LED lamp beads will decay with temperature. Therefore, how to stably manage the display effect of the LED screen is the key to improving the virtual filming effect.
[0037] In order to improve the display effect of the LED display screen, the embodiment of this application proposes a corresponding color correction method. Figure 2 , which shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application, the implementation environment includes: an LED display screen 210, a camera 220, a computer device 230 and a display controller 240.
[0038] LED display 210 is a screen that emits light by controlling semiconductor light-emitting diodes. In a virtual filming scene, the LED display is used to display the actual environment or background of the performance, allowing real-time capture of both the background environment and the actual performance. In this embodiment, to improve the display quality of the LED display, the color parameter values of the sampled display during actual display are predicted and a color parameter correction curve is obtained by reverse fitting. This is then used to perform color display correction on the LED display, ensuring that the brightness, color temperature, and color gamut of the LED display remain relatively stable.
[0039] Camera 220 is a device with image acquisition capabilities. In this embodiment, during the curve reverse fitting phase, the brightness value of the LED display can be captured by camera 220 for fitting the brightness correction curve of the display. Optionally, during the application phase, camera 220 can be used for virtual shooting.
[0040] The computer device 230 is a device with data processing capabilities. It can be a tablet computer, a portable notebook, or a desktop computer, and the present embodiment of the application does not limit this. In this embodiment, in the curve reverse fitting stage, the computer device 230 is used to obtain discrete measurement data of the LED display 210, such as brightness values, color temperature values, color gamut values, temperature values, etc., and reverse fit the discrete measurement data to obtain multiple color parameter correction curves, such as a brightness correction curve (the relationship between brightness and temperature), a color temperature correction curve (the relationship between color temperature and temperature), etc. Optionally, in the application stage, the computer device 230 can feedback the color parameter value to the display controller 240 based on the reverse fitting curve to achieve color display correction of the LED display 210.
[0041] The display controller 240 is used to control the display of the LED display screen 210. Optionally, the display controller 240 and the LED display screen can constitute the same display device. In this embodiment, the display controller 240 can receive color parameter values transmitted by the computer device 230 to control the display of the LED display screen 210, thereby achieving color parameter correction of the LED display screen 210.
[0042] Please refer to Figure 3 , which shows a flow chart of a color display correction method for a display screen provided by an exemplary embodiment of the present application. The present embodiment of the application takes the method applied to the computer device 230 in the above embodiment as an example for explanation. The method includes:
[0043] Step 301: Acquire at least two groups of first sampling data, each group of first sampling data including a first color parameter value and a first temperature value of the display screen at the same sampling moment.
[0044] After testing in the laboratory, it was found that the brightness of the LED display screen will continue to decay in the first half hour of power-on, and the entire process will decay by about 100 nits; the color temperature will also gradually shift toward the blue direction, and there will be a color temperature change of about 300K in the entire process, and the color gamut will gradually shrink to 97.8281% of the original. Among them, the changes in color temperature and color gamut are particularly obvious, and the human eye's visual ability can clearly perceive the color change. In order to cope with the color changes of this type of display screen, the embodiment of the present application provides a color display correction method for the display screen, which obtains the color parameter correction curve of the display screen by reverse fitting, so as to use the color parameter correction curve to correct the color control of the display screen, so that its brightness, color temperature and color gamut remain in a relatively stable state after power-on.
[0045] Since the color parameter correction curve is intended to improve the original color variation of the display screen, in order to generate the color parameter correction curve, the computer device needs to obtain the actual color parameter value variation of the display screen. Since the change in color parameter values is affected by the display screen's temperature, in one possible implementation, the computer device needs to obtain the corresponding relationship between the first color parameter value and the first temperature value of the display screen at multiple consecutive sampling moments to obtain multiple sets of first sampling data.
[0046] Optionally, color-related parameters of an LED display screen may include brightness, color temperature, and color gamut; the first color parameter value may include the absolute brightness value, color temperature, and color gamut size of the display screen. Specifically, the computer device obtains the corresponding relationship between the absolute brightness value and temperature value of the display screen, the corresponding relationship between the color temperature and temperature value, and the corresponding relationship between the color gamut and temperature value at multiple consecutive sampling moments.
[0047] Optionally, when the LED display screen displays the test image, the first color parameter value can be measured using a colorimeter; optionally, the absolute brightness value in the first color parameter value can also be acquired using a camera as a measuring device; optionally, the first temperature value can be directly acquired by a temperature sensor within the LED display screen. After the computer device acquires the first color parameter value of the display screen at multiple consecutive sampling moments and the first temperature value of the display screen at multiple consecutive sampling moments, it can associate the first color parameter value and the first temperature value at the same sampling moment according to the sampling moment to obtain multiple sets of first sampling data.
[0048] Exemplarily, the first sample data acquired by the computer device may be as shown in the following code:
[0049] Nits Centigrade 1700.3 24 1675.6 28 1655.9 32 1640.4 36 1620.5 40 1615.2 44 1610.1 48
[0057] The left column is the first brightness value of a pixel, and the right column is the temperature value. As can be seen, as the temperature rises, the brightness value of a pixel will decrease.
[0058] Optionally, the display screen can be not only an LED display screen, but also other display screens that change color after being turned on. This embodiment only uses the LED display screen as an example for illustrative description and does not limit the luminous display mode of the display screen.
[0059] Step 302 : performing reverse fitting on the first color parameter value and the first temperature value to generate a color parameter correction curve for the display screen. The color parameter correction curve has a change state opposite to that of the curve formed by the first color parameter value and the first temperature value.
[0060] Since the color parameter correction curve is used to correct the color changes of the display screen, taking the brightness of the display screen as an example, in actual use, the brightness of the display screen will decay as the temperature rises. In order to correct this decay process and keep the brightness of the display screen in a stable state, it is necessary to continuously increase the brightness of the display screen when controlling the display screen to offset the brightness decay. Based on the principle of brightness correction - reverse cancellation, in one possible embodiment, the computer device needs to perform reverse fitting on the first color parameter value and the first temperature value so that the generated color parameter correction curve has the opposite change state to the curve formed by the first color parameter value and the first temperature value. In this way, when the color parameter correction curve is applied to the color display of the display screen, the original color change state can be offset, thereby keeping the color of the display screen stable.
[0061] For example, if the first color parameter value is a brightness value, and the curve formed by the first color parameter value and the first temperature value indicates that the first color parameter value decreases as the first temperature value increases, then after performing a reverse fit based on the first color parameter value and the first temperature value, the color parameter value in the resulting color parameter correction curve will increase as the temperature increases. When correcting the display based on the color parameter correction curve, the brightness value can be gradually increased to offset the brightness attenuation of the display, thereby maintaining a relatively stable brightness.
[0062] Step 303 : performing color display correction on the display screen based on the color parameter correction curve.
[0063] In one possible implementation, after the computer device obtains the required color parameter correction curve through fitting, the color parameter correction curve can be transmitted to the display controller, which then performs color display correction on the display based on the color parameter values in the color parameter correction curve.
[0064] like Figure 4 , which shows a schematic diagram of a color correction curve according to an exemplary embodiment of the present application. Taking the change in brightness with temperature as an example, the brightness of a display screen decays as the temperature rises (as shown by curve 401). To offset this decay, the brightness and temperature values are inversely fitted to obtain a brightness correction curve 402. This brightness correction curve controls the brightness of the display screen to gradually increase as the temperature rises. In other words, the change state of brightness correction curve 402 is opposite to that of curve 401.
[0065] In an embodiment of the present application, the correspondence between the real color parameter values and temperature values of the display screen is collected, and the color parameter values and temperature values are reversely fitted, so that the generated color parameter correction curve is opposite to the change state of the curve composed of the real color parameter values and temperature values. Therefore, when the color parameter correction curve is applied to correct the color display of the display screen, the original color change state can be offset, so that the color of the display screen remains stable, thereby improving the display effect of the display screen.
[0066] During the reverse fitting process, it is necessary to change the state of the color parameter values as the temperature increases, for example, changing the original color parameter values from gradually decreasing to gradually increasing. Therefore, before performing the curve fitting process, it is necessary to first flip the first color parameter value to obtain an updated color parameter value. Then, based on the updated color parameter value and the first temperature value, a color parameter correction curve is obtained by fitting.
[0067] like Figure 5 , which shows a flow chart of a color display correction method for a display screen provided by another exemplary embodiment of the present application. The present embodiment of the application takes the method as applied to the computer device 230 in the above embodiment as an example, and the method includes:
[0068] Step 501: Acquire at least two groups of first sampling data, each group of first sampling data including a first color parameter value and a first temperature value of the display screen at the same sampling moment.
[0069] The implementation of step 501 can refer to the above embodiment, and will not be described in detail in this embodiment.
[0070] Step 502: Perform a flip operation on the first color parameter value to obtain a flipped and updated second color parameter value.
[0071] To change the way the color parameter value changes with temperature, the first color parameter value must be changed during the curve fitting process, given the original correspondence between the first color parameter value and the first temperature value. This embodiment performs a flip operation on the first color parameter value to obtain a flipped and updated second color parameter value. This flip operation can change the relationship between the color parameter value and temperature.
[0072] When performing a flip operation on the first color parameter value, it is first necessary to determine a flip line, and then perform a flip operation based on the flip line. Correspondingly, in an exemplary example, step 502 may include step 502A and step 502B.
[0073] Step 502A: Determine a flip line based on first color parameter values included in at least two sets of first sampling data.
[0074] In an exemplary example, step 502A may further include steps 502A1 to 502A3.
[0075] Step 502A1 : Determine a minimum color parameter value from the first color parameter values included in at least two groups of first sampling data.
[0076] Step 502A2 : Based on the minimum color parameter value and the color parameter error value, select a third color parameter value from the first color parameter value, wherein the deviation between the third color parameter value and the minimum color parameter value is less than the color parameter error value.
[0077] Step 502A3: Determine the average value of the sum of the third color parameter values as the flip line.
[0078] In an exemplary example, the process of determining the flip line may be as shown in formula (1).
[0079] L1=Y3 / n(1)
[0080] Wherein, L1 represents the flip line, Y3 represents the third color parameter value, the third color parameter value is the color parameter value among the first color parameter values whose deviation from the minimum color parameter value is less than the color parameter error value, n represents the number of third color parameter values, the minimum color parameter value is the minimum value among the first color parameter values, and the color parameter error value can be set manually, for example, the color parameter error value can be 20.
[0081] It can be seen from formula (1) that when a computer device needs to obtain a flip line, it first needs to determine the minimum color parameter value from the first color parameter values contained in at least two groups of first sampling data, and compare the deviation value between each first color parameter value and the minimum color parameter value. If the deviation is less than the color parameter error value, the first color parameter value is determined as the third color parameter value, so as to filter out the third color parameter value from the first color parameter values, and then the average value of the sum of the third color parameter values is determined as the flip line.
[0082] Taking the color parameter value as a brightness value as an example, the flip line is the brightness in a stable state.
[0083] Step 502B: performing a flip operation on the first color parameter value based on the flip line to obtain a flipped and updated second color parameter value.
[0084] In an illustrative example, step 502B may further include step 502B1 and step 502B2.
[0085] Step 502B1 , determining a color parameter change difference, where the color parameter change difference is determined by a difference between a maximum color parameter value and a minimum color parameter value in the first color parameter values.
[0086] Step 502B2: Determine a flipped and updated second color parameter value based on the color parameter change difference, the first color parameter value, and the flip line.
[0087] In an exemplary example, the process of performing a flip operation on the first color parameter value to obtain the second color parameter value may be as shown in formula (2).
[0088] Y2=(Y1-D)+∑|Y1-L1|*2(2)
[0089] Wherein, Y2 represents the second color parameter value, Y1 represents the first color parameter value, D represents the color parameter change difference, which is determined by the difference between the maximum color parameter value and the minimum color parameter value in the first color parameter values, Y1 represents the i-th first color parameter value, and L1 represents the flip line. i -L1| means taking the absolute value of the difference between the i-th first color parameter value and the flip line.
[0090] As shown in formula (2), when the computer device performs a flip operation on the first color parameter value based on the flip line, it is first necessary to find the maximum value (maximum color parameter value) and the minimum value (minimum color parameter value) of the color parameter value from the first color parameter value, and determine the color parameter change difference based on the difference between the maximum color parameter value and the minimum color parameter value. Further, each first color parameter value is processed based on the color parameter change difference and the flip line to obtain the second color parameter value. The specific processing process is: subtract the color parameter change difference from the first color parameter value, and then add the absolute value of the difference between all first color parameter values and the flip line multiplied by 2, so that the second color parameter value after the flip update operation can be obtained.
[0091] Step 503 : Perform curve fitting on the second color parameter value and the first temperature value to generate a color parameter correction curve for the display screen.
[0092] Since the first color parameter value is flipped, the second color parameter value after the flipping operation changes with the first temperature value in a manner opposite to the first color parameter value's change with the first temperature value. Since the current correspondence between the second color parameter value and the first temperature value is still discrete data, in order to obtain a color parameter correction curve (a continuous curve) between the color parameter value and the temperature value, it is necessary to perform curve fitting on the second color parameter value and the first temperature value. This continuous curve is used to approximate or simulate the functional relationship between the second color parameter value and the first temperature value, thereby generating a color parameter correction curve for the display screen.
[0093] Optionally, the method of curve fitting for the second color parameter value and the first temperature value can adopt the method of polynomial fitting, or other curve fitting methods. This embodiment does not limit the specific method of curve fitting.
[0094] In an exemplary example, the code logic for inverse fitting of the first color parameter value and the first temperature value can be as follows:
[0095] function FittingOfPolynomial() / / Polynomial function fitting
[0096] x = [24, 28, 32, 36, 40, 44, 48]; / / Temperature value
[0097] y = [1700.3, 1675.6, 1655.9, 1640.4, 1620.5, 1615.2, 1610.1]; / / Brightness value
[0098] % Obtain the difference in color over time
[0099] Max_y = max(y); / / Take the maximum value of y
[0100] Min_y = min(y); / / Take the minimum value of y
[0101] difference_value = Max_y - Min_y; / / Brightness change difference = maximum brightness value - minimum brightness value
[0102] % Obtain the flip line
[0103] error = 20; / / Preset an error value
[0104] low_LineArray = find(y < Min_y + error); / / Find the values in y that are less than the set error value from the minimum brightness value
[0105] sum = 0;
[0106] for i = 1:length(low_LineArray)
[0107] sum = y(i) + sum;
[0108] end
[0109] low_Line = sum / length(low_LineArray); / / Take the average of the found values to obtain the flip line
[0110] % Obtain the new y values after inversion
[0111] newY = [];
[0112] for i=1:length(y);
[0113] newY(end+1)=y(i)-difference_value+(low_Line-(y(i))
[0114] -difference_value))*2; / / First subtract the brightness change difference obtained before, then add the absolute value between all sampling points and the flip line*2 to get the new y value after the inversion
[0115] end
[0116] % Summary of the drawing section
[0117] p = polyfit(x, newY, 3);
[0118] disp(num2str(p));
[0119] x2=20:.1:50;
[0120] y2=polyval(p,x2);
[0121] plot(x; newY; 'o', x2, y2)
[0122] grid on
[0123] s=sprintf('y=(%.1f)x^3+(%.1f)x^2+(%.1f)x+(%.1f), p(1), p(5), p(15), p(25));
[0124] text(2, 400, s)
[0125] end / / Perform polynomial fitting on the flipped sampling points and draw a new curve. This curve shows the opposite change state to the previous curve (the previous curve refers to the curve composed of x and y).
[0126] The variable p is the parameter of the polynomial. Its value is p=[0.0024305556,-0.14255952,
[0127] -3.2686508, 1826.781].
[0128] Step 504 : performing color display correction on the display screen based on the color parameter correction curve.
[0129] The implementation of step 504 may refer to step 303 and will not be described in detail in this embodiment.
[0130] Please refer to Figure 6 , which shows a schematic diagram of the principle of generating a color parameter correction curve shown in an exemplary embodiment of the present application. After the computer device obtains the first color parameter value 601 and the first temperature value 609, it first determines the maximum color parameter value 602 and the minimum color parameter value 603 from the first color parameter value 601, and based on the minimum color parameter value 603 and the color parameter error value 604, the first color parameter value 601 is filtered to obtain a third color parameter value 605; the third color parameter value 605 is averaged to obtain a flip line 606; at the same time, based on the difference between the maximum color parameter value 602 and the minimum color parameter value 603, a color parameter change difference 607 is determined; then, based on the flip line 606 and the color parameter change difference 607, the first color parameter value 601 is flipped to generate a flipped second color parameter value 608; further, a curve fitting is performed based on the second color parameter value 608 and the first temperature value 609 to obtain a color parameter correction curve 610.
[0131] In this embodiment, a color parameter value in a stable state is obtained and used as a flip line. The first color parameter value is flipped according to the flip line to obtain a second color parameter value. Then, a curve fitting is performed based on the second color parameter value and the first temperature value. That is, the change state of the fitted color parameter correction curve can be made opposite to the change state between the original first color parameter value and the first temperature value. Therefore, the color display of the display screen can be directly corrected based on the color parameter correction curve, so that the color parameters of the corrected display screen are maintained in a relatively stable state.
[0132] For example, if the color parameter value is a brightness value, the user may need to maintain the display brightness at an ideal state of around 1600 nits. However, when using a color parameter correction curve to perform color display correction on the display, although the display brightness can be stabilized to a certain extent, it may still be some distance away from the ideal state. To further improve the display effect, it is necessary to make the correction effect of the color parameter correction curve closer to the ideal curve. Therefore, in one possible embodiment, a curve adjustment factor is also provided so that the computer device can perform reverse fitting based on the curve adjustment factor, thereby improving the correction accuracy of the color parameter correction curve.
[0133] exist Figure 3 On the basis of Figure 7 As shown, step 302 can be replaced by steps 701 and 702.
[0134] Step 701: Acquire a curve adjustment factor of a color parameter correction curve, where the curve adjustment factor includes at least one of a first adjustment factor, a second adjustment factor, and a third adjustment factor.
[0135] The curve adjustment factor acts on the generation process of the color parameter correction curve to make the correction result of the generated color parameter correction curve for the display closer to the ideal value or ideal curve. Optionally, the curve adjustment factor may include at least one of a first adjustment factor, a second adjustment factor, and a third adjustment factor, wherein the first adjustment factor is L, which is used to adjust the value of the color parameter in the color parameter correction curve; the second adjustment factor is lift, which is used to scale the color correction curve upward; and the third adjustment factor is gain, which is used to scale the color correction curve downward.
[0136] Step 702 : Based on the curve adjustment factor, reverse fitting is performed on the first color parameter value and the first temperature value to generate a color parameter correction curve for the display screen.
[0137] Optionally, in the process of reverse fitting based on the first color parameter value and the first temperature value, a set curve adjustment factor can be pre-input so that the computer device can reverse fit the first color parameter value and the first temperature value based on the curve adjustment factor to generate a color parameter correction curve for the display screen.
[0138] Optionally, in other possible embodiments, the curve adjustment factor may not be used when performing reverse fitting for the first time. After obtaining the color parameter correction curve, a suitable curve adjustment factor may be determined based on the difference between the color parameter correction curve and the ideal curve, or by comparing the deviation value between the correction result of the color parameter correction curve and the ideal value. Then, based on the curve adjustment factor, the first color parameter value and the first temperature value may be repeatedly reverse fitted to improve the accuracy of the color parameter correction curve.
[0139] Optionally, a curve adjustment factor is used in the reverse fitting process, and the curve adjustment factor is mainly used to generate the flipped updated color parameter value. Correspondingly, in an exemplary example, step 702 may include step 702A and step 702B.
[0140] Step 702A: performing a flip operation on the first color parameter value based on the curve adjustment factor to obtain a flipped and updated second color parameter value.
[0141] Step 702B: performing curve fitting on the second color parameter value and the first temperature value to generate a color parameter correction curve for the display screen.
[0142] In an exemplary example, the code logic for updating the color parameter value using the adjustment factor may be as follows:
[0143] % Get the new y value after reversal
[0144] newY = [];
[0145] L=250; %Offset factor L
[0146] lift=0.75;% Lower scaling factor lift value range (between -1 and 1)
[0147] gain=0.15;% Upper scaling factor gain value range (between 0 and 2)
[0148] for i=1:length(y)
[0149] m=y(i)-difference_value+(low_Line-(y(i)-difference_value))*2;
[0150] m=m*(1-lift)+m*lift; / / The lift adjustment method is to subtract the set lift value from 1, then multiply it by the y value, and then add the product of the y value and the set lift value
[0151] m=m*gain; / / Gain adjustment method is to multiply the original y value by the set gain value
[0152] newY(end+1)=m+L;L is the offset value, and the L adjustment method is to increase or decrease the final value as a whole.
[0153] end
[0154] As can be seen from the above code, during the reverse fitting process based on the curve adjustment factors L, lift, and gain, the computer device flips the first color parameter value based on the curve adjustment factor to obtain a flipped and updated second color parameter value. Specifically, by inputting the first color parameter value, the first adjustment factor (L), the second adjustment factor (lift), the third adjustment factor (gain), the flip line, and the color parameter change difference, and performing correlation processing on the above multiple values, a second color parameter value after the flipping operation can be obtained. This second color parameter value is the value of the curve adjustment factor. Then, a curve fitting is performed on the second color parameter value obtained by the curve adjustment factor and the first temperature value to generate a color parameter correction curve.
[0155] Optionally, in other possible implementations, to improve the accuracy of the curve adjustment factor, the actual color parameter values and the ideal color parameter values can be compared, and a deviation value can be obtained through machine learning. The curve adjustment factor can then be adjusted using a gradient descent algorithm to minimize the deviation between the actual color parameter values and the ideal color parameter values. The process of adjusting the curve adjustment factor through machine learning can include the following steps: step 1 and step 2.
[0156] Step 1: When color display calibration is performed on the display screen, a fourth color parameter value of the display screen is obtained.
[0157] Since the learning goal of machine learning is to minimize the deviation between the actual color parameter value and the ideal color parameter value after correction based on the color parameter correction curve adjusted by the curve adjustment factor by adjusting the curve adjustment factor, it is necessary to obtain the actual color parameter value of the display screen, i.e., the fourth color parameter value, based on the current color display calibration, and then determine the curve adjustment factor based on the deviation between the fourth color parameter value and the ideal color parameter value.
[0158] Step 2: Input the fourth color parameter value, the ideal color parameter value, and the curve adjustment factor into the factor update model to obtain the updated curve adjustment factor output by the factor update model. The factor update model is used to adjust the curve adjustment factor to reduce the deviation between the color parameter value after color display correction and the ideal color parameter value.
[0159] Optionally, the fourth color parameter value, the ideal color parameter value, and the curve adjustment factor are input into a factor update model. The factor update model uses a gradient descent algorithm to adjust the curve adjustment factor based on the deviation between the fourth color parameter value and the ideal color parameter value to reduce the deviation between the color parameter value after color display correction and the ideal color parameter value. Then, a reverse fit is performed on the first color parameter value and the first temperature value based on the updated curve adjustment factor.
[0160] In this embodiment, by setting the curve adjustment factor, the computer device performs reverse fitting on the color parameter value and the temperature value based on the curve adjustment factor, so that the fitted color parameter correction curve is closer to the ideal correction curve (the correction effect of the ideal correction curve is in an ideal state), thereby improving the accuracy of subsequent color display correction and further improving the display effect of the display screen.
[0161] When the first color parameter value is a brightness value, and a brightness correction curve is obtained by reverse fitting based on the first brightness value and the first temperature value, and the brightness correction curve is applied to the controller of the LED display, stability in both color gamut and brightness can be achieved during the use of the LED display. However, the color temperature of the system after brightness correction may still change slightly, so in addition to applying brightness correction, color temperature correction of the display is also required.
[0162] Please refer to Figure 8 , which shows a flow chart of a color display correction method for a display screen provided by another exemplary embodiment of the present application. This embodiment of the present application takes the method applied to the computer device 230 in the above embodiment as an example for explanation. The method includes:
[0163] Step 801: Acquire at least two groups of first sampling data, each group of first sampling data including a first color parameter value and a first temperature value of the display screen at the same sampling moment.
[0164] Wherein, the first color parameter value is a first brightness value. Optionally, in actual operation, each pixel has three color components, namely R (red), G (green), and B (blue). The brightness value of each color component will change with temperature, wherein the brightness of blue may increase slightly with increasing temperature. In other words, the brightness of different color components may change differently with temperature. In order to obtain a more accurate color parameter correction curve, it is necessary to sample, fit, and correct the brightness values of different color components separately. This can stabilize the color gamut while stabilizing the brightness. Correspondingly, in one possible embodiment, the computer device needs to obtain multiple sets of first sampled data on different color components, namely, obtain at least two sets of first sampled data on the R component, at least two sets of first sampled data on the G component, and at least two sets of first sampled data on the B component. Each set of first sampled data on the R component includes the first R component brightness value and the first temperature value of the display screen at the same sampling time. Each set of first sampled data on the G component includes the first G component brightness value and the first temperature value of the display screen at the same sampling time. Each set of first sampled data on the B component includes the first B component brightness value and the first temperature value of the display screen at the same sampling time.
[0165] Step 802 : Perform reverse fitting on the first brightness value and the first temperature value to generate a brightness correction curve for the display screen.
[0166] Optionally, the computer device determines a minimum brightness value from the first brightness value, and based on the minimum brightness value and a preset brightness error value, filters out a third brightness value from the first brightness value whose deviation from the minimum brightness value is less than the brightness error value, and determines the average value of the sum of the third brightness values as the flip line; further, based on the flip line, the brightness change difference (determined by the difference between the maximum brightness value and the minimum brightness value) and the first brightness value, determines the second brightness value after flipping and updating, and then performs curve fitting on the second brightness value and the first temperature value to obtain a brightness correction curve for the display screen.
[0167] Optionally, if the brightness values of different color components are collected respectively, it is necessary to fit the brightness correction curves of the different color components respectively. Correspondingly, in an exemplary example, step 802 may include steps 802A to 802C.
[0168] Step 802A: perform reverse fitting on the first R component brightness value and the first temperature value to generate an R component brightness correction curve of the display screen.
[0169] Regarding the method of generating the brightness correction curve on the R color component, the computer device determines the minimum brightness value from the first R component brightness value, and based on the minimum brightness value and the preset brightness error value, screens out the third R component brightness value whose deviation from the minimum brightness value is less than the brightness error value from the first R component brightness value, and determines the average value of the sum of the third R component brightness values as the flip line of the R component brightness value; further, based on the flip line, the R component brightness change difference (determined by the difference between the maximum brightness value and the minimum brightness value) and the first R component brightness value, determines the flipped and updated second R component brightness value, and then performs curve fitting on the second R component brightness value and the first temperature value to obtain the R component brightness correction curve of the display screen.
[0170] Step 802B: perform reverse fitting on the first G component brightness value and the first temperature value to generate a G component brightness correction curve of the display screen.
[0171] Regarding the method for generating a brightness correction curve on the G color component, the computer device determines the minimum brightness value from the first G component brightness value, and based on the minimum brightness value and a preset brightness error value, screens out a third G component brightness value from the first G component brightness value whose deviation from the minimum brightness value is less than the brightness error value, and determines the average value of the sum of the third G component brightness values as the flip line of the G component brightness value; further, based on the flip line, the G component brightness change difference (determined by the difference between the maximum brightness value and the minimum brightness value) and the first G component brightness value, determines the flipped and updated second G component brightness value, and then performs curve fitting on the second G component brightness value and the first temperature value to obtain the G component brightness correction curve of the display screen.
[0172] Step 802C: perform reverse fitting on the first B component brightness value and the first temperature value to generate a B component brightness correction curve for the display screen.
[0173] Regarding the method for generating a brightness correction curve on the B color component, the computer device determines a minimum brightness value from the first B component brightness values, and based on the minimum brightness value and a preset brightness error value, screens out a third B component brightness value from the first B component brightness values whose deviation from the minimum brightness value is less than the brightness error value, and determines the average value of the sum of the third B component brightness values as the flip line of the B component brightness value; further, based on the flip line, the B component brightness change difference (determined by the difference between the maximum brightness value and the minimum brightness value) and the first B component brightness value, determines a flipped and updated second B component brightness value, and then performs curve fitting on the second B component brightness value and the first temperature value to obtain the B component brightness correction curve of the display screen.
[0174] It should be noted that the process of obtaining the brightness correction curves for different color components may be performed simultaneously or sequentially, and this embodiment does not limit this.
[0175] Step 803: Perform brightness correction on the display screen based on the brightness correction curve.
[0176] Optionally, after the computer device obtains the brightness correction curves on the three color components, it can perform brightness display correction on the display screen based on the R component brightness correction curve, the G component brightness correction curve, and the B component brightness correction curve.
[0177] Step 804 : When performing brightness display correction on the display screen, obtain at least two sets of second sampling data of the display screen, each set of second sampling data including a first color temperature value and a second temperature value of the display screen at the same sampling moment.
[0178] Optionally, after brightness correction has been performed on the display, the brightness and color gamut of the display can be maintained in a relatively stable state. However, the color temperature may still change with temperature. Therefore, in order to stabilize the color temperature of the display, in addition to applying brightness correction, it is necessary to obtain a color temperature correction curve for the display so as to perform color temperature correction on the display. In one possible embodiment, when brightness correction is performed on the display, at least two sets of second sampled data of the display are obtained, each set of second sampled data including a correspondence between a first color temperature and a second temperature value of the display at the same sampling time.
[0179] Step 805 : Perform reverse fitting on the first color temperature value and the second temperature value to generate a color temperature correction curve for the display screen.
[0180] The computer device can generate a color temperature correction curve for the display screen by performing reverse fitting on the first color temperature value and the second temperature value. The specific generation process is as follows: the computer device determines the minimum color temperature value from the first color temperature value, and based on the minimum color temperature value and a preset color temperature error value, selects a third color temperature value from the first color temperature value whose deviation from the minimum color temperature value is less than the color temperature error value, and determines the average value of the sum of the third color temperature values as the color temperature value reversal line. Furthermore, based on the reversal line, the color temperature change difference (determined by the difference between the maximum color temperature value and the minimum color temperature value), and the first color temperature value, the computer device determines a second color temperature value after reversal and update, and then performs curve fitting on the second color temperature value and the second temperature value to obtain the color temperature correction curve for the display screen.
[0181] Optionally, a curve adjustment factor may be used to perform adjustment during the generation of the color temperature correction curve. The specific adjustment process may refer to the above embodiment, which will not be described in detail in this embodiment.
[0182] Step 806 : Perform color temperature display correction on the display screen based on the color temperature correction curve.
[0183] After the computer device obtains the color temperature correction curve, the color temperature correction curve can be input into the display screen controller to control the display screen to perform color temperature display correction.
[0184] Optionally, in this embodiment, if it is necessary to stabilize the brightness, color gamut and color temperature of the display screen, the color parameter correction curve generated by reverse fitting includes: an R component brightness correction curve on the R color component, a G component brightness correction curve on the G color component, a B component brightness correction curve on the B color component, and a color temperature correction curve; and in the display correction process of the display screen, the brightness correction curve can be used first to correct the brightness of the display screen, and then the color temperature correction curve can be used to correct the color temperature of the display screen.
[0185] Optionally, since the color parameter correction curve may include multiple rounds of adjustment and generation processes, only the most recently generated color parameter correction curve (i.e., the most accurate color parameter correction curve) needs to be stored; therefore, in one possible implementation, after generating the color parameter correction curve, the color display of the display screen is first corrected using the color parameter correction curve to obtain the fifth color parameter value of the display screen under correction, and the fifth color parameter value is verified. When the verification result of the fifth color parameter value meets the preset color display correction condition, it indicates that the color parameter correction curve is generated and the color parameter correction curve can be directly stored for feedback to the user.
[0186] Optionally, the verification method may include: determining whether the collected fifth color parameter value can be maintained in a relatively stable state and stable near a user expected value.
[0187] like Figure 9 As shown, it shows a schematic diagram of the generation process of the color correction curve shown in an exemplary embodiment of the present application. 901, the computer device obtains the absolute brightness value of the three RGB points. 902, generate a reverse fitting curve. 903, judge whether the result is optimized. That is, judge whether the reverse fitting curve meets the expected change state; if not, execute step 904, feedback the user to judge the system problem, if it meets the expectation, execute step 905, and perform color temperature sampling. Step 906, judge whether the result is optimized. That is, judge whether the sampled color temperature after the reverse fitting curve correction is in a stable state, if it does not meet the expectation, execute step 907, and then feedback the user to judge the system problem, if it meets the expectation, execute step 908, and save the positive curve. That is, save the reverse fitting curve. 909, based on user data feedback.
[0188] In this embodiment, by applying a brightness correction curve, the brightness and color gamut of the display screen are kept in a relatively stable state. Based on the application of the brightness correction curve, a color temperature correction is performed again to further stabilize the color temperature of the display screen, thereby achieving color stability in the three dimensions of brightness, color gamut, and color temperature of the display screen.
[0189] Please refer to Figure 10 , which shows a schematic diagram of the color correction process shown in an exemplary embodiment of the present application. The process includes:
[0190] Step 1001: Get system status.
[0191] Step 1002: Check whether the verification status is met.
[0192] First, determine whether the current system status meets the verification requirements. This refers to ensuring that all devices required for data measurement, such as the measurement equipment and display, are powered on. If the system status meets the verification requirements, data measurement can begin. Otherwise, report any system issues to the user.
[0193] Step 1003: Feedback system issues.
[0194] Step 1004: Display the test screen.
[0195] During data measurement, the LED display needs to display a test picture, and a colorimeter or other measuring equipment (such as a camera) is used to measure the value of the current picture. The discrete measurement data obtained mainly includes: absolute brightness, color temperature, color gamut size, etc.
[0196] Step 1005: Discrete measurement data.
[0197] Step 1006: reverse fitting the curve.
[0198] Step 1007: display the data.
[0199] Based on the discrete measurement data obtained by measurement, a brightness correction curve and a color temperature correction curve are fitted in a reverse fitting manner, and then each correction curve is input into the display controller to correct the value based on the display, so that the brightness, color gamut and color temperature of the display can be stabilized to a certain extent.
[0200] Please refer to Figure 11 , which shows a structural block diagram of a color display correction device for a display screen provided by an exemplary embodiment of the present application, the device includes:
[0201] An acquisition module 1101 is configured to acquire at least two sets of first sampling data, each set of first sampling data including a first color parameter value and a first temperature value of the display screen at the same sampling moment;
[0202] a curve fitting module 1102 configured to perform reverse fitting on the first color parameter value and the first temperature value to generate a color parameter correction curve for the display screen, wherein the color parameter correction curve has a state opposite to that of a curve formed by the first color parameter value and the first temperature value;
[0203] The color correction module 1103 is configured to perform color display correction on the display screen based on the color parameter correction curve.
[0204] Optionally, the curve fitting module 1102 is further configured to:
[0205] Performing a flip operation on the first color parameter value to obtain a flipped and updated second color parameter value;
[0206] Curve fitting is performed on the second color parameter value and the first temperature value to generate the color parameter correction curve of the display screen.
[0207] Optionally, the curve fitting module 1102 is further configured to:
[0208] determining a flip line based on the first color parameter values included in the at least two groups of first sampling data;
[0209] A flip operation is performed on the first color parameter value based on the flip line to obtain a flipped and updated second color parameter value.
[0210] Optionally, the curve fitting module 1102 is further configured to:
[0211] Determine a minimum color parameter value from the first color parameter values included in the at least two groups of first sampling data;
[0212] Based on the minimum color parameter value and the color parameter error value, selecting a third color parameter value from the first color parameter value, wherein a deviation between the third color parameter value and the minimum color parameter value is less than the color parameter error value;
[0213] An average value of the sum of the third color parameter values is determined as the flip line.
[0214] Optionally, the curve fitting module 1102 is further configured to:
[0215] Determining a color parameter change difference, where the color parameter change difference is determined by a difference between a maximum color parameter value and a minimum color parameter value among the first color parameter values;
[0216] Based on the color parameter change difference, the first color parameter value, and the flip line, the second color parameter value after flipping and updating is determined.
[0217] Optionally, the first color parameter value is a first brightness value of the display screen;
[0218] The curve fitting module 1102 is further configured to:
[0219] performing reverse fitting on the first brightness value and the first temperature value to generate a brightness correction curve for the display screen;
[0220] The color correction module 1103 is further configured to:
[0221] Performing brightness display correction on the display screen based on the brightness correction curve;
[0222] The device further comprises:
[0223] An acquisition module 1101 is configured to acquire at least two sets of second sampling data of the display screen when brightness display correction is performed on the display screen, each set of second sampling data including a first color temperature value and a second temperature value of the display screen at the same sampling moment;
[0224] a curve fitting module 1102, configured to perform reverse fitting on the first color temperature value and the second temperature value to generate a color temperature correction curve for the display screen;
[0225] The color correction module 1103 is configured to perform color temperature display correction on the display screen based on the color temperature correction curve.
[0226] Optionally, the acquisition module 1101 is further configured to:
[0227] Acquire the at least two groups of first sampled data on the R component, the at least two groups of first sampled data on the G component, and the at least two groups of first sampled data on the B component, wherein each group of first sampled data on the R component includes a first R component brightness value and the first temperature value of the display screen at the same sampling moment, each group of first sampled data on the G component includes a first G component brightness value and the first temperature value of the display screen at the same sampling moment, and each group of first sampled data on the B component includes a first B component brightness value and the first temperature value of the display screen at the same sampling moment;
[0228] The curve fitting module 1102 is further configured to:
[0229] performing reverse fitting on the first R component brightness value and the first temperature value to generate an R component brightness correction curve of the display screen;
[0230] performing reverse fitting on the first G component brightness value and the first temperature value to generate a G component brightness correction curve of the display screen;
[0231] performing reverse fitting on the first B component brightness value and the first temperature value to generate a B component brightness correction curve of the display screen;
[0232] The color correction module 1103 is further configured to:
[0233] Brightness display correction is performed on the display screen based on the R component brightness correction curve, the G component brightness correction curve, and the B component brightness correction curve.
[0234] Optionally, the curve fitting module 1103 is further configured to:
[0235] Obtaining a curve adjustment factor of the color parameter correction curve, the curve adjustment factor including at least one of a first adjustment factor, a second adjustment factor, and a third adjustment factor, the first adjustment factor being used to adjust a color parameter value in the color parameter correction curve, the second adjustment factor being used to scale up the color correction curve, and the third adjustment factor being used to scale down the color correction curve;
[0236] Based on the curve adjustment factor, reverse fitting is performed on the first color parameter value and the first temperature value to generate the color parameter correction curve of the display screen.
[0237] Optionally, the curve fitting module 1103 is further configured to:
[0238] Based on the curve adjustment factor, performing a flipping operation on the first color parameter value to obtain a flipped and updated second color parameter value;
[0239] Curve fitting is performed on the second color parameter value and the first temperature value to generate the color parameter correction curve of the display screen.
[0240] Optionally, the device further includes:
[0241] An acquisition module 1101 is configured to acquire a fourth color parameter value of the display screen when color display correction is performed on the display screen;
[0242] An updating module is configured to input the fourth color parameter value, the ideal color parameter value, and the curve adjustment factor into a factor updating model to obtain an updated curve adjustment factor output by the factor updating model, wherein the factor updating model is configured to adjust the curve adjustment factor to reduce a deviation between the color parameter value after color display correction and the ideal color parameter value.
[0243] Optionally, the device further includes:
[0244] An acquisition module 1101 is configured to acquire a fifth color parameter value of the display screen when color display correction is performed on the display screen;
[0245] A verification module, configured to verify the fifth color parameter value;
[0246] A storage module is configured to store the color parameter correction curve when a verification result of the fifth color parameter value satisfies a color display correction condition.
[0247] To sum up, in this embodiment, by collecting the correspondence between the real color parameter values and temperature values of the display screen, and performing reverse fitting on the color parameter values and temperature values, the generated color parameter correction curve is opposite to the change state of the curve composed of the real color parameter values and temperature values. Therefore, when the color parameter correction curve is applied to correct the color display of the display screen, the original color change state can be offset, so that the color of the display screen remains stable, thereby improving the display effect of the display screen.
[0248] It should be noted that the apparatus provided in the above embodiments is merely exemplified by the division of the above functional modules. In actual applications, the above functions can be distributed among different functional modules as needed, that is, the internal structure of the apparatus can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments are based on the same concept. The implementation process is detailed in the method embodiments and will not be repeated here.
[0249] Please refer to Figure 12, which shows a schematic diagram of the structure of a computer device provided by an exemplary embodiment of the present application. Specifically, the computer device 1200 includes a central processing unit (CPU) 1201, a system memory 1204 including a random access memory 1202 and a read-only memory 1203, and a system bus 1205 connecting the system memory 1204 and the CPU 1201. The computer device 1200 also includes a basic input / output system (I / O system) 1206 that helps transmit information between various components within the computer, and a mass storage device 1207 for storing an operating system 1213, application programs 1214, and other program modules 1215.
[0250] In some embodiments, the basic input / output system 1206 includes a display 1208 for displaying information and an input device 1209, such as a mouse or keyboard, for user input. Both the display 1208 and the input device 1209 are connected to the central processing unit 1201 via an input / output controller 1210 connected to the system bus 1205. The basic input / output system 1206 may also include an input / output controller 1210 for receiving and processing input from a variety of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1210 also provides output to a display screen, printer, or other types of output devices.
[0251] The mass storage device 1207 is connected to the central processing unit 1201 via a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer-readable media provide non-volatile storage for the computer device 1200. In other words, the mass storage device 1207 may include a computer-readable medium (not shown) such as a hard disk or drive.
[0252] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include random access memory (RAM), read-only memory (ROM), flash memory or other solid-state storage technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic tape cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media are not limited to the above-mentioned ones. The above-mentioned system memory 1204 and mass storage device 1207 can be collectively referred to as memory.
[0253] The memory stores one or more programs, and the one or more programs are configured to be executed by one or more central processing units 1201. The one or more programs contain instructions for implementing the above-mentioned methods. The central processing unit 1201 executes the one or more programs to implement the methods provided by the above-mentioned various method embodiments.
[0254] According to various embodiments of the present application, the computer device 1200 may also be connected to a remote computer on a network such as the Internet for operation. That is, the computer device 1200 may be connected to a network 1212 via a network interface unit 1211 connected to the system bus 1205, or the network interface unit 1211 may be used to connect to other types of networks or remote computer systems (not shown).
[0255] The memory also includes one or more programs, which are stored in the memory and include steps executed by a computer device in the method provided in the embodiment of the present application.
[0256] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, code set, or instruction set. The at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement the color display correction method of a display screen described in any of the above embodiments.
[0257] An embodiment of the present application provides a computer program product, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the color display correction method for a display screen provided in the above aspects.
[0258] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program. The program can be stored in a computer-readable storage medium, which can be the computer-readable storage medium contained in the memory in the above embodiments; or it can be a separate computer-readable storage medium that is not assembled into the computer device. The computer-readable storage medium stores at least one instruction, at least one program, code set, or instruction set. The at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement the method for generating a virtual-reality fusion image as described in any of the above method embodiments.
[0259] Optionally, the computer-readable storage medium may include: ROM, RAM, solid-state drives (SSDs), or optical disks. Among them, RAM may include resistance random access memory (ReRAM) and dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0260] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0261] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. And the "first", "second", etc. mentioned in this article are used to distinguish similar objects, and are not used to limit a specific order or sequence. In addition, the step numbers described in this article only exemplify a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application do not limit this.
[0262] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for color display correction of a display screen, characterized in that: The method comprises: Acquire at least two groups of first sampling data, each group of first sampling data including a first color parameter value and a first temperature value of the display screen at the same sampling moment; Determining a flip line based on the first color parameter values included in the at least two sets of first sampled data; performing a flip operation on the first color parameter value based on the flip line to obtain a flipped and updated second color parameter value; performing curve fitting on the second color parameter value and the first temperature value to generate a color parameter correction curve for the display screen, wherein the color parameter correction curve has a change state opposite to that of a curve formed by the first color parameter value and the first temperature value; Based on the color parameter correction curve, color display correction is performed on the display screen.
2. The method according to claim 1, characterized in that The determining of the flip line based on the first color parameter values included in the at least two sets of first sampling data includes: Determine a minimum color parameter value from the first color parameter values included in the at least two groups of first sampling data; Based on the minimum color parameter value and the color parameter error value, selecting a third color parameter value from the first color parameter value, wherein a deviation between the third color parameter value and the minimum color parameter value is less than the color parameter error value; An average value of the sum of the third color parameter values is determined as the flip line.
3. The method according to claim 1, characterized in that The performing a flipping operation on the first color parameter value based on the flip line to obtain a flipped and updated second color parameter value includes: Determining a color parameter change difference, where the color parameter change difference is determined by a difference between a maximum color parameter value and a minimum color parameter value among the first color parameter values; Based on the color parameter change difference, the first color parameter value, and the flip line, the second color parameter value after flipping and updating is determined.
4. The method according to any one of claims 1 to 3, characterized in that: The first color parameter value is a first brightness value of the display screen; The method further comprises: performing reverse fitting on the first brightness value and the first temperature value to generate a brightness correction curve for the display screen; The step of performing color display correction on the display screen based on the color parameter correction curve includes: Performing brightness display correction on the display screen based on the brightness correction curve; The method further comprises: In the case of performing brightness display correction on the display screen, obtaining at least two sets of second sampling data of the display screen, each set of second sampling data including a first color temperature value and a second temperature value of the display screen at the same sampling moment; Performing reverse fitting on the first color temperature value and the second temperature value to generate a color temperature correction curve for the display screen; Based on the color temperature correction curve, color temperature display correction is performed on the display screen.
5. The method according to claim 4, characterized in that The obtaining of at least two sets of first sampling data includes: Acquire the at least two groups of first sampled data on the R component, the at least two groups of first sampled data on the G component, and the at least two groups of first sampled data on the B component, wherein each group of first sampled data on the R component includes a first R component brightness value and the first temperature value of the display screen at the same sampling moment, each group of first sampled data on the G component includes a first G component brightness value and the first temperature value of the display screen at the same sampling moment, and each group of first sampled data on the B component includes a first B component brightness value and the first temperature value of the display screen at the same sampling moment; The performing reverse fitting on the first brightness value and the first temperature value to generate a brightness correction curve for the display screen includes: performing reverse fitting on the first R component brightness value and the first temperature value to generate an R component brightness correction curve of the display screen; performing reverse fitting on the first G component brightness value and the first temperature value to generate a G component brightness correction curve of the display screen; performing reverse fitting on the first B component brightness value and the first temperature value to generate a B component brightness correction curve of the display screen; The step of performing brightness correction on the display screen based on the brightness correction curve includes: Brightness display correction is performed on the display screen based on the R component brightness correction curve, the G component brightness correction curve, and the B component brightness correction curve.
6. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Obtaining a curve adjustment factor of the color parameter correction curve, the curve adjustment factor including at least one of a first adjustment factor, a second adjustment factor, and a third adjustment factor, the first adjustment factor being used to adjust a color parameter value in the color parameter correction curve, the second adjustment factor being used to scale up the color correction curve, and the third adjustment factor being used to scale down the color correction curve; Based on the curve adjustment factor, reverse fitting is performed on the first color parameter value and the first temperature value to generate the color parameter correction curve of the display screen.
7. The method according to claim 6, characterized in that The performing reverse fitting on the first color parameter value and the first temperature value based on the curve adjustment factor to generate the color parameter correction curve of the display screen includes: Based on the curve adjustment factor, performing a flipping operation on the first color parameter value to obtain a flipped and updated second color parameter value; Curve fitting is performed on the second color parameter value and the first temperature value to generate the color parameter correction curve of the display screen.
8. The method according to claim 6, characterized in that The method further comprises: When color display correction is performed on the display screen, obtaining a fourth color parameter value of the display screen; The fourth color parameter value, the ideal color parameter value and the curve adjustment factor are input into a factor update model to obtain an updated curve adjustment factor output by the factor update model. The factor update model is used to adjust the curve adjustment factor to reduce the deviation between the color parameter value after color display correction and the ideal color parameter value.
9. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When color display correction is performed on the display screen, obtaining a fifth color parameter value of the display screen; verifying the fifth color parameter value; In a case where the verification result of the fifth color parameter value meets the color display correction condition, the color parameter correction curve is stored.
10. A color display correction device for a display screen, characterized in that: The device comprises: An acquisition module, configured to acquire at least two groups of first sampling data, each group of first sampling data including a first color parameter value and a first temperature value of the display screen at the same sampling moment; a curve fitting module, configured to determine a flip line based on the first color parameter values included in the at least two sets of first sampled data; perform a flip operation on the first color parameter values based on the flip line to obtain a flipped and updated second color parameter value; and perform curve fitting on the second color parameter value and the first temperature value to generate a color parameter correction curve for the display screen, wherein the color parameter correction curve has a change state opposite to that of a curve formed by the first color parameter value and the first temperature value; The color correction module is used to perform color display correction on the display screen based on the color parameter correction curve.
11. The device according to claim 10, characterized in that The curve fitting module is used to: Determine a minimum color parameter value from the first color parameter values included in the at least two groups of first sampling data; Based on the minimum color parameter value and the color parameter error value, selecting a third color parameter value from the first color parameter value, wherein a deviation between the third color parameter value and the minimum color parameter value is less than the color parameter error value; An average value of the sum of the third color parameter values is determined as the flip line.
12. The device according to claim 10, characterized in that The curve fitting module is used to: Determining a color parameter change difference, where the color parameter change difference is determined by a difference between a maximum color parameter value and a minimum color parameter value among the first color parameter values; Based on the color parameter change difference, the first color parameter value, and the flip line, the second color parameter value after flipping and updating is determined.
13. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the color display correction method of a display screen according to any one of claims 1 to 9.
14. A computer-readable storage medium, characterized in that The readable storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the color display correction method of a display screen according to any one of claims 1 to 9.
15. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to implement the color display correction method for a display screen as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Color correction of electronic displays
US20100091039A1
Methods of controlling RGBW lamps, RGBW lamps and controller therefor
US20170027037A1