Gamma optimization method, Gamma debugging method and related devices for display panel

By determining the data scaling relationship and gamma optimization algorithm of the display panel and adjusting the correspondence between grayscale and brightness, the problem of insufficient grayscale margin at high grayscale is solved, ensuring that the brightness change meets the target gamma value.

CN116682348BActive Publication Date: 2025-09-26SUZHOU GUOXIAN INNOVATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310751134.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-25
Publication Date
2025-09-26
Estimated Expiration
2043-06-25

AI Technical Summary

Technical Problem

After the gamma adjustment of the display panel, the luminous sub-pixels at high grayscale cannot provide sufficient grayscale margin for brightness compensation, resulting in the brightness change not matching the change curve of the target gamma value.

Method used

The scaled grayscale value corresponding to the original grayscale value is determined by the data scaling relationship, and the optimized Gamma value is calculated using the luminous brightness of the maximum scaled grayscale value and the Gamma optimization algorithm, and the corresponding relationship between grayscale and brightness is adjusted to meet the target Gamma value.

Benefits of technology

After turning on the data scaling function, the correspondence between grayscale and brightness meets the target gamma value, improving the impact of data scaling on the gamma debugging effect and providing grayscale margin compensation at high grayscale.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116682348B_ABST
    Figure CN116682348B_ABST
Patent Text Reader

Abstract

The present application discloses a Gamma optimization method and device, a Gamma debugging method and device, an electronic device, and a computer storage medium for a display panel. The method includes: determining the scaled grayscale values ​​corresponding to multiple original grayscale values ​​within a first grayscale range according to a data scaling relationship; determining the second luminous brightness corresponding to the maximum scaled grayscale value according to the first luminous brightness corresponding to the maximum original grayscale value within the first grayscale range; the maximum scaled grayscale value is greater than the scaled grayscale value corresponding to any original grayscale value; and determining the optimized Gamma values ​​corresponding to multiple original grayscale values ​​according to the first luminous brightness, the second luminous brightness, the multiple scaled grayscale values, and the Gamma optimization algorithm. The embodiment of the present application can obtain the optimized Gamma value corresponding to each original grayscale value through the optimization algorithm, so that after the display panel performs Gamma debugging by optimizing the Gamma value, the corresponding relationship between grayscale and brightness meets the target Gamma curve when the data scaling function is turned on, thereby improving the influence of the data scaling function on the Gamma debugging effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of display panels, and in particular relates to a Gamma optimization method, a Gamma debugging method, and related devices for a display panel. Background Art

[0002] With the continuous development of display panel technology, OLED (Organic Light-Emitting Diode) devices and other light-emitting devices have gradually been applied to various display panel products such as mobile phones, tablets, and notebooks.

[0003] After gamma tuning, the display panel also needs to perform mura compensation on each sub-pixel. However, when the sub-pixels display high grayscale, it is not possible to provide a higher grayscale margin for the sub-pixels. For example, in a grayscale range of 0-255, if the sub-pixel is darker than the target brightness at grayscale 255 and needs to be brightened, it is not possible to achieve brightening compensation by further increasing the grayscale.

[0004] To ensure that the sub-pixels emit a certain amount of grayscale margin at high grayscales, the driver chip can perform data scaling on the input grayscale. The scaled grayscale is usually lower than the original grayscale, allowing some margin for brightness compensation at high grayscales. However, after the driver chip performs data scaling on the input grayscale, the grayscale value changes, and the correspondence between grayscale and brightness can no longer meet the target gamma value. In other words, data scaling affects the gamma adjustment effect, causing the brightness change to not match the target gamma value change curve, resulting in a certain deviation. Summary of the Invention

[0005] The embodiments of the present application provide a gamma optimization method, a gamma debugging method, and related devices for a display panel, which can improve the technical problem that data scaling affects the gamma debugging effect.

[0006] In a first aspect, an embodiment of the present application provides a method for optimizing the gamma of a display panel, the method comprising:

[0007] Determine, according to the data scaling relationship, scaled grayscale values ​​corresponding to a plurality of original grayscale values ​​within the first grayscale range; wherein the original grayscale values ​​are integers and the scaled grayscale values ​​are real numbers;

[0008] Determining a second luminous brightness corresponding to a maximum scaled grayscale value based on a first luminous brightness corresponding to a maximum original grayscale value within a first grayscale range; wherein the maximum scaled grayscale value and the second luminous brightness satisfy a target gamma value, and the maximum scaled grayscale value is greater than a scaled grayscale value corresponding to any original grayscale value;

[0009] The optimized Gamma values ​​corresponding to the multiple original grayscale values ​​are determined according to the first luminous brightness, the second luminous brightness, the multiple scaled grayscale values ​​and the Gamma optimization algorithm; the optimized Gamma values ​​are used to perform Gamma debugging on the original grayscale values.

[0010] In some embodiments, determining a second luminous brightness corresponding to a maximum scaled grayscale value within the first grayscale range according to a first luminous brightness corresponding to a maximum original grayscale value within the first grayscale range includes:

[0011] Determine a first luminous brightness corresponding to a maximum original grayscale value within a first grayscale range and a first scaled grayscale value corresponding to the maximum original grayscale value;

[0012] According to the target gamma value, the first scaled grayscale value, and the first luminous brightness, the second luminous brightness corresponding to the maximum scaled grayscale value within the first grayscale range is determined by the correspondence between grayscale and brightness; wherein the maximum original grayscale value is the same as the maximum scaled grayscale value, and the second luminous brightness is greater than the first luminous brightness.

[0013] In some embodiments, the correspondence between grayscale and brightness includes:

[0014] L1=L2*(G1 / G2) Gamma1 ;

[0015] Wherein, Gamma1 is the target Gamma value, L1 is the first luminous brightness, L2 is the second luminous brightness, G1 is the first scaled grayscale value, and G2 is the maximum scaled grayscale value.

[0016] In some embodiments, the gamma optimization algorithm includes:

[0017] Gamma2=log((L1*(Gx / Gmax) Gamma1 ) / L2) / log(Gy / Gmax);

[0018] Among them, Gamma1 is the target Gamma value, Gamma2 is the optimized Gamma value corresponding to the integer part of Gy, L1 is the first luminous brightness, L2 is the second luminous brightness, Gmax is the maximum original grayscale value, Gx is the original grayscale value, and Gy is the scaled grayscale value corresponding to Gx.

[0019] In some embodiments, after determining the optimized gamma values ​​corresponding to the plurality of original grayscale values ​​respectively according to the first luminous brightness, the second luminous brightness, the plurality of scaled grayscale values, and the gamma optimization algorithm, the method further includes:

[0020] Determining the optimized luminance corresponding to each original grayscale value according to the second luminance corresponding to the maximum scaled grayscale value and the optimized gamma value corresponding to each original grayscale value; wherein the multiple original grayscale values ​​are multiple binding point grayscales within the first grayscale range;

[0021] According to the optimized luminous brightness corresponding to each grayscale of each binding point within the first grayscale range, the optimized luminous brightness corresponding to each grayscale of each non-binding point is determined by interpolation calculation.

[0022] In some embodiments, the first grayscale range includes a first sub-grayscale interval, a second sub-grayscale interval, and a third sub-grayscale interval; the multiple original grayscale values ​​include each grayscale value in the first sub-grayscale interval, each grayscale value in the third sub-grayscale interval, and multiple binding point grayscales in the second sub-grayscale interval;

[0023] According to the optimized luminous brightness corresponding to each grayscale of each binding point within the first grayscale range, the optimized luminous brightness corresponding to each grayscale of each non-binding point is determined by interpolation calculation, including:

[0024] According to the optimized luminous brightness corresponding to each binding point grayscale in the second sub-grayscale interval, the optimized luminous brightness corresponding to each non-binding point grayscale in the second sub-grayscale interval is determined by interpolation calculation.

[0025] In some embodiments, the first grayscale range includes a first sub-grayscale interval, a second sub-grayscale interval, and a third sub-grayscale interval;

[0026] The distribution density of the binding point grayscale in the first sub-grayscale interval is greater than the distribution density of the binding point grayscale in the second sub-grayscale interval, and the distribution density of the binding point grayscale in the third sub-grayscale interval is greater than the distribution density of the binding point grayscale in the second sub-grayscale interval; wherein the distribution density is the ratio of the number of binding point grayscales in the grayscale interval to the interval length of the grayscale interval.

[0027] In some embodiments, any original grayscale value within the first grayscale range is greater than its corresponding scaled grayscale value.

[0028] In some embodiments, within the first grayscale range, the difference between any original grayscale value and its corresponding scaled grayscale value is no greater than a first threshold; wherein the first threshold is the difference between the maximum original grayscale value within the first grayscale range and the corresponding first scaled grayscale value.

[0029] In some embodiments, determining scaled grayscale values ​​corresponding to a plurality of original grayscale values ​​within the first grayscale range according to the data scaling relationship includes:

[0030] determining a scaling factor according to a scaling degree of a maximum original grayscale value within a first grayscale range;

[0031] A scaled grayscale value corresponding to each original grayscale value within the first grayscale range is determined according to the scaling coefficient.

[0032] In some embodiments, the calculation formula for scaling the grayscale value includes:

[0033] Gray_on=Gray_off*c;

[0034] Among them, Gray_off is the original grayscale value, Gray_on is the scaled grayscale value, and c is the scaling coefficient.

[0035] In a second aspect, an embodiment of the present application provides a gamma debugging method, the method comprising:

[0036] Obtaining optimized Gamma values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range;

[0037] Gamma debugging is performed on the panel to be debugged based on the second luminous brightness and the optimized gamma values ​​corresponding to the respective original grayscale values ​​to obtain gamma register values ​​corresponding to each grayscale value within the first grayscale range; wherein the optimized gamma value and the second luminous brightness are the optimized gamma value and second luminous brightness of the gamma optimization method for the display panel of the first aspect;

[0038] Burn the Gamma register value to the panel to be debugged.

[0039] In some embodiments, the panel to be debugged is gamma debugged according to the second luminous brightness and the optimized gamma value corresponding to each original grayscale value to obtain the gamma register value corresponding to each grayscale value within the first grayscale range, including:

[0040] Determine the optimized luminous brightness corresponding to each original grayscale value within the first grayscale range according to the second luminous brightness and the optimized gamma value corresponding to each original grayscale value; wherein the multiple original grayscale values ​​are multiple binding point grayscales within the first grayscale range;

[0041] According to the plurality of binding point grayscales and their corresponding optimized luminous brightness, interpolation calculation is performed on every two adjacent binding point grayscales to obtain the optimized luminous brightness corresponding to each non-binding point grayscale within the first grayscale range;

[0042] The panel to be debugged is gamma debugged according to the optimized luminous brightness corresponding to the binding point grayscale and the non-binding point grayscale within the first grayscale range to obtain the gamma register value corresponding to each grayscale value within the first grayscale range.

[0043] In a third aspect, an embodiment of the present application provides a gamma optimization device for a display panel, the device comprising:

[0044] A scaling corresponding module, configured to determine scaled grayscale values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range according to a data scaling relationship; wherein the original grayscale values ​​are integers and the scaled grayscale values ​​are real numbers;

[0045] a brightness determination module, configured to determine a second luminous brightness corresponding to a maximum scaled grayscale value within the first grayscale range based on a first luminous brightness corresponding to a maximum original grayscale value within the first grayscale range, wherein the maximum scaled grayscale value and the second luminous brightness satisfy a target gamma value;

[0046] The gamma determination module is used to determine the optimized gamma values ​​corresponding to the multiple original grayscale values ​​according to the first luminous brightness, the second luminous brightness, the multiple scaled grayscale values ​​and the gamma optimization algorithm; the optimized gamma values ​​are used to perform gamma debugging on the original grayscale values.

[0047] In a fourth aspect, an embodiment of the present application provides a gamma debugging device, comprising:

[0048] A gamma acquisition module, configured to acquire optimized gamma values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range;

[0049] a gamma debugging module configured to perform gamma debugging on the panel to be debugged based on the second luminous brightness and the optimized gamma values ​​corresponding to the respective original grayscale values, and obtain gamma register values ​​corresponding to each grayscale value within the first grayscale range; wherein the optimized gamma value and the second luminous brightness are the optimized gamma value and the second luminous brightness in the gamma optimization device for the display panel of the third aspect;

[0050] The Gamma burning module is used to burn the Gamma register value to the panel to be debugged.

[0051] In a fifth aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;

[0052] When the processor executes the computer program instructions, the Gamma optimization method for the display panel of the first aspect or the Gamma debugging method of the second aspect is implemented.

[0053] In a sixth aspect, an embodiment of the present application provides a computer storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the Gamma optimization method for the display panel of the first aspect or the Gamma debugging method of the second aspect is implemented.

[0054] Compared with the prior art, the Gamma optimization method, Gamma debugging method and related devices of the display panel provided in the embodiment of the present application can determine the scaled grayscale values ​​corresponding to multiple original grayscale values ​​within the first grayscale range through the data scaling relationship, and the second luminous brightness corresponding to the maximum scaled grayscale value can be calculated based on the first luminous brightness corresponding to the maximum original grayscale value. In combination with the first luminous brightness and the second luminous brightness, the Gamma optimization algorithm can be used to determine the optimized Gamma values ​​corresponding to each scaled grayscale value. The optimized Gamma value is used to perform Gamma debugging on the corresponding original grayscale value, and the corresponding relationship between the obtained original grayscale value and the luminous brightness does not meet the curve of the target Gamma value, but after data scaling, the corresponding relationship between the scaled grayscale value and the luminous brightness can meet the curve of the target Gamma value, so that after the display panel turns on the data scaling function, the corresponding relationship between the grayscale and the brightness meets the Gamma curve, which improves the problem that the data scaling function affects the Gamma debugging effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments of the present application. 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 creative work.

[0056] Figure 1 1 is a flow chart of a method for optimizing the gamma of a display panel provided in one embodiment of the present application;

[0057] Figure 2 2 is a flow chart of a method for optimizing the gamma of a display panel provided by another embodiment of the present application;

[0058] Figure 3 2 is a flow chart of a method for optimizing the gamma of a display panel provided in another embodiment of the present application;

[0059] Figure 4 This is the correspondence between the scaled grayscale value and the Gamma value before optimization provided by an embodiment of the present application;

[0060] Figure 5 This is the correspondence between the optimized scaled grayscale value and the Gamma value provided in one embodiment of the present application;

[0061] Figure 6 2 is a flow chart of a method for optimizing the gamma of a display panel provided in yet another embodiment of the present application;

[0062] Figure 7This is a flowchart of a Gamma debugging method provided in one embodiment of the present application;

[0063] Figure 8 1 is a flow chart of a Gamma debugging method provided in another embodiment of the present application;

[0064] Figure 9 A schematic diagram of the structure of a gamma optimization device for a display panel provided in one embodiment of the present application;

[0065] Figure 10 A schematic diagram of the structure of a Gamma debugging device provided in one embodiment of the present application;

[0066] Figure 11 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0067] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present application by illustrating the examples of the present application.

[0068] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, the elements defined by the phrase "comprising..." do not exclude the presence of other identical elements in the process, method, article, or device comprising the elements.

[0069] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The embodiments will be described in detail below with reference to the accompanying drawings.

[0070] With the continuous development of display panel technology, OLED (Organic Light-Emitting Diode) devices and other light-emitting devices have gradually been applied to various display panel products such as mobile phones, tablets, and notebooks.

[0071] After gamma tuning, the display panel also needs to perform mura compensation on each sub-pixel. However, when the sub-pixels display high grayscale, it is not possible to provide a higher grayscale margin for the sub-pixels. For example, in a grayscale range of 0-255, if the sub-pixel is darker than the target brightness at grayscale 255 and needs to be brightened, it is not possible to achieve brightening compensation by further increasing the grayscale.

[0072] To ensure that sub-pixels with high grayscales have a certain grayscale margin compensation, the driver chip can perform data scaling on the input grayscale. The scaled grayscale is usually lower than the original grayscale, allowing some margin for brightness compensation at high grayscales. However, after the driver chip performs data scaling on the input grayscale, the grayscale value changes, and the correspondence between grayscale and brightness no longer meets the target gamma value. In other words, the actual brightness change during display does not match the target gamma value change curve, and there is a certain deviation.

[0073] In order to solve the above technical problems, the embodiments of the present application provide a display panel Gamma optimization method, a Gamma debugging method and related devices. The following first introduces the display panel Gamma optimization method provided by the embodiments of the present application.

[0074] Figure 1 A flow chart of a method for optimizing the gamma of a display panel provided by an embodiment of the present application is shown. The method for optimizing the gamma of a display panel includes:

[0075] S110, determining scaled grayscale values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range according to a data scaling relationship; wherein the original grayscale values ​​are integers and the scaled grayscale values ​​are real numbers;

[0076] S120, determining a second luminous brightness corresponding to a maximum scaled grayscale value based on a first luminous brightness corresponding to a maximum original grayscale value within a first grayscale range; wherein the maximum scaled grayscale value and the second luminous brightness satisfy a target gamma value, and the maximum scaled grayscale value is greater than a scaled grayscale value corresponding to any original grayscale value;

[0077] S130, determining optimized Gamma values ​​corresponding to the multiple original grayscale values ​​according to the first luminous brightness, the second luminous brightness, the multiple scaled grayscale values, and the Gamma optimization algorithm; the optimized Gamma values ​​are used to perform Gamma debugging on the original grayscale values.

[0078] The display panel gamma optimization method provided in the embodiments of the present application can be applied to a display panel gamma optimization device. The device can determine a corresponding scaled grayscale value based on the original grayscale value of the display panel and generate an optimized gamma value for the original grayscale value. This allows the display panel to be gamma-tuned according to the optimized gamma value and, when the data scaling function is enabled, ensure that the correspondence between the scaled grayscale value and the luminous brightness meets the target gamma value. The specific form of the device is not limited in this embodiment.

[0079] In this embodiment, the scaled grayscale values ​​corresponding to the multiple original grayscale values ​​within the first grayscale range can be determined by the data scaling relationship, and the second luminous brightness corresponding to the maximum scaled grayscale value can be calculated based on the first luminous brightness corresponding to the maximum original grayscale value. In combination with the first luminous brightness and the second luminous brightness, the optimized Gamma value corresponding to each scaled grayscale value can be determined using the Gamma optimization algorithm. The optimized Gamma value is used to perform Gamma debugging on the corresponding original grayscale value, and the corresponding relationship between the obtained original grayscale value and the luminous brightness does not meet the curve of the target Gamma value. However, after data scaling, the corresponding relationship between the scaled grayscale value and the luminous brightness can meet the curve of the target Gamma value, so that after the display panel turns on the data scaling function, the corresponding relationship between the grayscale and the brightness meets the Gamma curve, which improves the problem of the data scaling function affecting the Gamma debugging effect.

[0080] In S110, the device may determine a data scaling relationship corresponding to the display panel, where the data scaling relationship is a correspondence between original grayscale values ​​and scaled grayscale values ​​within a first grayscale range. The original grayscale values ​​are grayscale values ​​input to a display panel driver chip, and the scaled grayscale values ​​are grayscale values ​​obtained after the driver chip performs data scaling on the original grayscale values.

[0081] Taking a display panel with a first grayscale range of 0-255 as an example, the data scaling relationship can be used to scale the original grayscale values ​​within the first grayscale range. When the original grayscale value is 255, the corresponding scaled grayscale value can be determined to be 247 based on the data scaling relationship. Therefore, when the display panel driver chip receives a grayscale of 255, it can use data scaling to reduce it to 247. In this case, if the luminance of some sub-pixels is low, there is still 8 grayscale margins for mura compensation, thus improving the problem of sub-pixels having no grayscale margin for compensation at high grayscales.

[0082] After determining multiple original grayscale values ​​within the first grayscale range, the device can determine the scaled grayscale value corresponding to each original grayscale value based on the data scaling relationship. The original grayscale value can be an integer grayscale value within the first grayscale range, such as 0, 1, 2, 4, 8, 16, 32, 64, 128, 192, 223, 255, etc., and there is no restriction on the grayscale value of the original grayscale value.

[0083] When the original grayscale value is 255 grayscales, the scaled grayscale value can be 247 grayscales. This allows for compensation of 8 grayscales after data scaling when the input grayscale value is the maximum grayscale value. In another embodiment, when the original grayscale value is 255 grayscales, the scaled grayscale value can be 223 grayscales. In this case, after data scaling, there is a 32 grayscale margin for compensation.

[0084] The scaled grayscale value can be calculated based on the data scaling relationship and the original grayscale value. For example, the data scaling relationship can include a calculation formula for the scaled grayscale value. Substituting the original grayscale value into the formula can calculate the scaled grayscale value corresponding to the original grayscale value.

[0085] It is understood that the original grayscale value received by the driver chip should be an integer value within the first grayscale range, while the scaled grayscale value after data scaling can be a real value. For example, when the original grayscale value is 255 grayscale, the corresponding scaled grayscale value can be 247 grayscale, in which case the scaled grayscale value is an integer value; and when the original grayscale value is 247 grayscale, the corresponding scaled grayscale value can be 239.28125 grayscale, in which case the scaled grayscale value is a real value.

[0086] Please refer to Figure 2 As an optional embodiment, the above S110 may include:

[0087] S210, determining a scaling factor according to a scaling degree of a maximum original grayscale value within a first grayscale range;

[0088] S220 , determining a scaled grayscale value corresponding to each original grayscale value within the first grayscale range according to the scaling coefficient.

[0089] In this embodiment, the scaling coefficients of the original grayscale values ​​in the first grayscale range can be determined by the scaling degree of the maximum original grayscale value. The scaled grayscale values ​​corresponding to each original grayscale value in the first grayscale range can be calculated according to the scaling coefficients.

[0090] In S210 , the data scaling relationship between the original grayscale value and the scaled grayscale value may be determined by setting a scaling degree corresponding to the maximum original grayscale value.

[0091] The device can obtain the scaling degree of the maximum original grayscale value within the first grayscale range set by the user. For example, the user can trigger a setting instruction to cause the device to determine the scaling degree of the maximum original grayscale value. The scaling degree can be the scaled grayscale value corresponding to the maximum original grayscale value, or the grayscale amplitude compressed after the original grayscale value is scaled. For example, the user can trigger a relevant instruction to determine that the scaled grayscale value corresponding to the maximum original grayscale value of 255 is 247 grayscales, or set the grayscale amplitude compressed after the maximum original grayscale value of 255 is 8 grayscales.

[0092] The device can determine the scaling factor corresponding to the conversion of the original grayscale value into the scaled grayscale value within the first grayscale range based on the scaling degree of the maximum original grayscale value within the first grayscale range.

[0093] In S220 , after determining the scaling factor, the device may calculate the scaled grayscale value corresponding to each original grayscale value within the first grayscale range according to the scaling factor.

[0094] In an optional embodiment, the scaled grayscale value corresponding to each original grayscale value may be obtained by calculating the product of each original grayscale value and the scaling coefficient.

[0095] In another embodiment, different weight coefficients may be set for different grayscale intervals within the first grayscale range, and within each grayscale interval, the scaled grayscale value may be the product of the original grayscale value, the scaling coefficient, and the weight coefficient. In addition, other calculation methods including scaling coefficients may be used to calculate the scaled grayscale value corresponding to each original grayscale value, which is not limited here.

[0096] As an optional embodiment, the calculation formula for scaling the grayscale value may include:

[0097] Gray_on=Gray_off*c;

[0098] Among them, Gray_off is the original grayscale value, Gray_on is the scaled grayscale value, and c is the scaling coefficient.

[0099] In this embodiment, the apparatus may determine a scaling factor c according to the scaling degree of the maximum original grayscale value, and after determining the scaling factor c, determine a corresponding scaling grayscale value Gray_on according to the product of each original grayscale value Gray_off and the scaling factor c.

[0100] In an optional embodiment, the scaling factor may be set to be related to the ratio of the scaled grayscale value corresponding to the maximum original grayscale value to the maximum original grayscale value. For example, when the maximum original grayscale value is 255 grayscale and the corresponding scaled grayscale value is 247 grayscale, the scaling factor may be 247 / 255, or (247+1) / (255+1), or other related values, without limitation herein.

[0101] As an optional embodiment, any original grayscale value within the first grayscale range is greater than its corresponding scaled grayscale value.

[0102] When determining the data scaling relationship between the original grayscale value and the scaled grayscale value, the device should ensure that the scaled grayscale value corresponding to any original grayscale value is smaller than the original grayscale value itself. That is, after data scaling the original grayscale value, the resulting scaled grayscale value should be reduced so that the margin for upward grayscale compensation of the scaled grayscale value is greater than the margin for upward grayscale compensation of the original grayscale value. For example, within the first grayscale range of 0-255, the margin for upward grayscale compensation of the original grayscale value of 255 is 0 grayscales, while the margin for upward grayscale compensation of the corresponding scaled grayscale value of 247 is 8 grayscales. After data scaling, the margin for upward grayscale compensation increases.

[0103] As an optional embodiment, within the first grayscale range, the difference between any original grayscale value and its corresponding scaled grayscale value is not greater than a first threshold; wherein the first threshold is the difference between the maximum original grayscale value within the first grayscale range and the corresponding first scaled grayscale value.

[0104] The data scaling relationship between the original grayscale value and the scaled grayscale value should also satisfy that within the first grayscale range, the difference between any original grayscale value and its corresponding scaled grayscale value is no greater than a first threshold value. The first threshold value can be the difference between the maximum original grayscale value within the first grayscale range and its corresponding first scaled grayscale value.

[0105] In an exemplary embodiment, if the maximum original grayscale value 255 grayscale corresponds to the first scaled grayscale value 247 grayscale, the first threshold is the difference between the maximum original grayscale value and the corresponding first scaled grayscale value 255 grayscale-247 grayscale=8 grayscales.

[0106] After determining the first threshold, the difference between any original grayscale value in the grayscale range of 0-255 and its corresponding scaled grayscale value should be no greater than 8. That is, during data scaling, the maximum original grayscale value is scaled the most, and the scaling degrees of other original grayscale values ​​should be less than the scaling degree of the maximum original grayscale value.

[0107] In S120 , after determining the maximum original grayscale value within the first grayscale range, the first light-emitting brightness corresponding to the maximum original grayscale value may be determined according to the brightness level for which gamma adjustment is required.

[0108] The display panel may include HDR (High Dynamic Range Imaging), HBM (High Brightness Monitor) and multiple Normal brightness levels. The maximum brightness values ​​under the Gamma band corresponding to different target brightness levels are not the same. For example, the brightness value of each luminous pixel at the maximum grayscale is higher under the HDR brightness level and the HBM brightness level. For example, the brightness value of the display panel at the highest grayscale of the HDR brightness level can reach 1000nit or above, and the brightness value of the display panel at the HBM brightness level can reach 700nit or above. Multiple Normal brightness levels can correspond to 460nit, 300nit, 120nit, 60nit, 20nit, 10nit, 6nit or other luminous brightness, respectively, and are not limited here.

[0109] For example, if the maximum brightness value corresponding to the brightness level NOR1 of the display panel is 600 nit, when the first grayscale range is 0-255 grayscales, the maximum original grayscale value is 255 grayscale, and the first luminous brightness corresponding to 255 grayscale is 600 nit.

[0110] After determining the first luminous brightness corresponding to the maximum original grayscale value, the luminous brightness of the scaled grayscale value corresponding to the maximum original grayscale value can be determined to also be the first luminous brightness. For example, if the maximum original grayscale value is 255 grayscale and the corresponding scaled grayscale value is 247 grayscale, then the luminous brightness corresponding to the scaled grayscale value 247 grayscale is also 600 nits.

[0111] Since the grayscale range of the scaled grayscale value is consistent with the grayscale range of the original grayscale value, that is, when the first grayscale range is 0-255 grayscales, the grayscale range of the scaled grayscale value is also 0-255 grayscales, it can be determined that the maximum scaled grayscale value is 255 grayscales.

[0112] Since the scaled grayscale value corresponding to each original grayscale value is smaller than the original grayscale value, the maximum scaled grayscale value, which is the same as the maximum original grayscale value, is also greater than the scaled grayscale value corresponding to any original grayscale value. For example, taking the scaled grayscale value corresponding to the maximum original grayscale value of 255 as 247, among the multiple scaled grayscale values ​​corresponding to the multiple original grayscale values, 247 is the maximum value of the multiple scaled grayscale values, and the maximum scaled grayscale value is the same as the maximum original grayscale value, both of which are 255. In this case, the maximum scaled grayscale value is greater than the maximum value of the multiple scaled grayscale values, 247. In other words, the maximum scaled grayscale value is greater than the scaled grayscale value corresponding to any of the original grayscale values.

[0113] According to the conversion formula between grayscale and brightness, after determining the maximum scaled grayscale value, the luminance corresponding to the maximum scaled grayscale value, and the target gamma value, the luminance corresponding to each other grayscale value can be calculated. So, when the scaled grayscale value is 247 grayscale and its corresponding luminance is 600nit, the target gamma value is 2.2, and the maximum scaled grayscale value is 255 grayscale, the luminance corresponding to the maximum scaled grayscale value of 255 grayscale can be reversely calculated. Of course, the above-mentioned target gamma value can also be other gamma values, such as 2.0, 2.1, or 2.3, etc., which are not limited here.

[0114] After the luminous brightness corresponding to the maximum scaled grayscale value is calculated, the luminous brightness is the second luminous brightness corresponding to the maximum scaled grayscale value.

[0115] Please refer to Figure 3 As an optional embodiment, the above S120 may include:

[0116] S310, determining a first luminous brightness corresponding to a maximum original grayscale value within a first grayscale range and a first scaled grayscale value corresponding to the maximum original grayscale value;

[0117] S320, based on the target gamma value, the first scaled grayscale value, and the first luminous brightness, determine a second luminous brightness corresponding to the maximum scaled grayscale value within the first grayscale range through the correspondence between grayscale and brightness; wherein the maximum original grayscale value is the same as the maximum scaled grayscale value, and the second luminous brightness is greater than the first luminous brightness.

[0118] In this embodiment, the corresponding first scaled grayscale value can be determined based on the maximum original grayscale value. When the maximum original grayscale value corresponds to the first luminous brightness, the first scaled grayscale value should also correspond to the first luminous brightness. At this time, based on the target gamma value, the second luminous brightness corresponding to the maximum scaled grayscale value can be calculated in reverse.

[0119] In S310 , the apparatus may determine a first luminous brightness corresponding to a maximum original grayscale value within a first grayscale range and a first scaled grayscale value corresponding to the maximum original grayscale value.

[0120] Taking the first grayscale range of 0-255 as an example, the maximum original grayscale value is 255, and the corresponding first luminous brightness is 600 nits. The device can determine the first scaled grayscale value corresponding to the maximum original grayscale value based on the data scaling relationship. For example, if the maximum scaling degree of the original grayscale value is 8 grayscales, then the first scaled grayscale value corresponding to the maximum original grayscale value of 255 is 247 grayscale. In this case, the luminous brightness corresponding to the first scaled grayscale value of 247 is also 600 nits.

[0121] In S320 , after determining the first scaled grayscale value and its corresponding first luminous brightness, a second luminous brightness corresponding to the maximum scaled grayscale value within the first grayscale range may be determined according to a correspondence between grayscale and brightness.

[0122] It can be understood that the correspondence between the first scaled grayscale value and the first luminous brightness and the correspondence between the maximum scaled grayscale value and the second brightness should satisfy the variation curve of the target Gamma value.

[0123] Typically, based on the correspondence between grayscale and brightness, after determining the luminous brightness corresponding to the maximum grayscale value, the actual luminous brightness corresponding to any grayscale value can be calculated based on a preset target gamma value. Therefore, if any grayscale value and its corresponding actual luminous brightness are known, combined with the target gamma value, the luminous brightness corresponding to the maximum grayscale value can be determined. In the above embodiment, any grayscale value and its corresponding actual luminous brightness are the first scaled grayscale value and the first luminous brightness. When the target gamma value and the maximum scaled grayscale value are known, the second luminous brightness corresponding to the maximum scaled grayscale value can be determined.

[0124] It should be noted that within the first grayscale range, the maximum original grayscale value and the maximum scaled grayscale value should be the same. For example, when the first grayscale range is 0-255 grayscales, the maximum original grayscale value is 255 grayscales, and the maximum scaled grayscale value is also 255 grayscales.

[0125] Since the first scaled grayscale value is necessarily smaller than the maximum scaled grayscale value, based on the positive correlation between grayscale and brightness, when the grayscale value increases, the corresponding luminous brightness will inevitably increase. Therefore, the second luminous brightness corresponding to the maximum scaled grayscale value should be greater than the first luminous brightness corresponding to the first scaled grayscale value.

[0126] As an optional embodiment, the correspondence between grayscale and brightness includes:

[0127] L1=L2*(G1 / G2) Gamma1 ;

[0128] Wherein, Gamma1 is the target Gamma value, L1 is the first luminous brightness, L2 is the second luminous brightness, G1 is the first scaled grayscale value, and G2 is the maximum scaled grayscale value.

[0129] Typically, based on the grayscale and brightness calculation formulas described above, the luminance Ln corresponding to any scaled grayscale value Gn can be calculated, given the maximum scaled grayscale value G2 and its corresponding second luminance L2, as well as the target gamma value Gamma1. Therefore, once the luminance corresponding to any scaled grayscale value is known, the second luminance L2 corresponding to the maximum scaled grayscale value G2 can be calculated in reverse order.

[0130] Taking the first scaled grayscale value G1 as an example, when the first scaled grayscale value G1 and its corresponding first luminous brightness L1 are known, since the target Gamma value is known, the maximum scaled grayscale value G2 is consistent with the maximum original grayscale value. Therefore, the corresponding numerical values ​​can be substituted to calculate the second luminous brightness L2 corresponding to the maximum scaled grayscale value G2.

[0131] In one embodiment, taking the first scaled grayscale value G1 as 247 grayscale as an example, when the first scaled grayscale value G1 is 247 grayscale, the corresponding first luminance L1 is 600 nit. At this time, if the target gamma value Gamma1 is 2.2 and the maximum scaled grayscale value G2 is 255 grayscale, substituting the corresponding values ​​into the above formula can be obtained:

[0132] 600 = L2 * (247 / 255) 2.2 ;

[0133] According to the above formula, it can be calculated that the second luminous brightness L2 is approximately 643.59 nit. That is, after turning on the data scaling function, when the original grayscale value input to the driver chip is 255 grayscale, the scaled grayscale value output by the driver chip is 247 grayscale, and the luminous brightness corresponding to 247 grayscale is 600 nit. At this time, the maximum scaled grayscale value of the driver chip can reach 255 grayscale, and the corresponding luminous brightness of 255 grayscale is 643.59 nit. Therefore, when the original grayscale value input to the driver chip reaches the maximum grayscale value of 255 grayscale, if the luminous brightness of some luminous sub-pixels is low, the driver chip can also increase the grayscale on the basis of the scaled grayscale value of 247 grayscale to achieve brightness compensation.

[0134] In S130, after determining the first and second luminous brightnesses, the device may determine optimized gamma values ​​corresponding to the respective original grayscale values ​​based on the respective scaled grayscale values ​​and a pre-set gamma optimization algorithm. After determining the optimized gamma values ​​corresponding to the respective original grayscale values, the device may adjust the respective original grayscale values ​​using the optimized gamma values ​​instead of the original target gamma values.

[0135] It should be noted that if a unified target gamma value is used to debug each original grayscale value, the debugged original grayscale values ​​and the corresponding luminous brightness can meet the target gamma value, but after the display panel turns on the data scaling function, the scaled grayscale values ​​and the corresponding luminous brightness cannot meet the target gamma value, that is, the actual gamma value and the target gamma value will deviate.

[0136] In this embodiment, after determining the scaled grayscale values ​​corresponding to each original grayscale value and the optimized gamma values ​​corresponding to each scaled grayscale value through the gamma optimization algorithm, the optimized gamma values ​​corresponding to each original grayscale value can be used to perform gamma debugging. In this debugging method, the original grayscale values ​​obtained by debugging and the corresponding luminous brightness do not meet the target gamma value, but after the display panel turns on the data scaling function, the scaled grayscale values ​​and the corresponding luminous brightness meet the target gamma value, which can make the grayscale brightness change of the display panel under the data scaling function meet the requirements of the target gamma value and conform to the perception of the human eye.

[0137] As an optional embodiment, the Gamma optimization algorithm includes:

[0138] Gamma2=log((L1*(Gx / Gmax) Gamma1 ) / L2) / log(Gy / Gmax);

[0139] Among them, Gamma1 is the target Gamma value, Gamma2 is the optimized Gamma value corresponding to the integer part of Gy, L1 is the first luminous brightness, L2 is the second luminous brightness, Gmax is the maximum original grayscale value, Gx is the original grayscale value, and Gy is the scaled grayscale value corresponding to Gx.

[0140] In this embodiment, the above formula may be used to calculate the optimized Gamma value corresponding to each original grayscale value.

[0141] In an exemplary embodiment, taking the target Gamma value as 2.2, when the first scaled grayscale value corresponding to the maximum original grayscale value 255 is 247, the scaling coefficient c may be (247+1) / (255+1)=0.96875.

[0142] Taking the original grayscale value of 254 as an example, the corresponding scaled grayscale value can be calculated as 246.0625 according to the above scaling coefficient c. Since the first luminance L1 corresponding to the original grayscale value of 255 is 600 nit, the second luminance L2 corresponding to the scaled grayscale value of 255 can be calculated as 643.59 nit.

[0143] Substituting the first luminance L1 of 600 nit, the second luminance L2 of 643.59 nit, the target gamma value Gamma1 of 2.2, the maximum original grayscale value Gmax of 255 grayscale, Gx of 254 grayscale, and Gy of 246.0625 grayscale into the above formula, we can obtain the integer portion of Gy, that is, the optimized gamma value Gamma2 corresponding to grayscale 246 is 2.1922. The integer portion of the scaled grayscale value Gy can be rounded off. The optimized gamma value 2.1922 is the optimized gamma value corresponding to the original grayscale value 246 grayscale.

[0144] Similarly, the above embodiment can also be used to calculate and obtain the optimized Gamma value corresponding to each original grayscale value.

[0145] It is understandable that if the optimized gamma values ​​corresponding to each original grayscale value are used for gamma debugging, the correspondence between the original grayscale value obtained by debugging and the luminous brightness will not meet the target gamma value. However, after the display panel turns on the data scaling function, the correspondence between the scaled grayscale value and the luminous brightness will be able to meet the target gamma value, thereby eliminating the impact of the data scaling function on gamma debugging.

[0146] In an optional implementation, the brightness level Gamma band may be NOR1, the maximum brightness value is 600 nit, the target Gamma value is 2.2, and the maximum original grayscale value of 255 grayscale corresponds to a scaled grayscale of 247 grayscale after data scaling.

[0147] In the related art, for a display panel without a data scaling function, after receiving the input grayscale, the input grayscale can be converted from 8 bits to 10 bits, that is, the grayscale range is converted from 0-255 to 0-1023. According to the luminous brightness of 600 nit corresponding to the grayscale 255 and the target Gamma value of 2.2, the luminous brightness at each grayscale can be calculated respectively. For example, the luminous brightness corresponding to the grayscale 246 is 554.3960 nit. When the display panel does not have a data scaling function, Gamma debugging is performed according to the luminous brightness corresponding to each grayscale value. The corresponding relationship between each grayscale and the luminous brightness can meet the change curve of the target Gamma value, that is, the Gamma value corresponding to each grayscale and the luminous brightness is 2.2.

[0148] In a display panel that includes a data scaling function, if data scaling is not enabled, the luminous brightness corresponding to each original grayscale value is determined based on the target gamma value of 2.2. After data scaling is enabled, the corresponding actual gamma value will deviate from the target gamma value of 2.2. For example, taking the original grayscale 254 as an example, the corresponding scaled grayscale value is determined to be 246.0625 grayscale based on the data scaling relationship. The grayscale closest to 246.0625 grayscale is 246 grayscale. When data scaling is not enabled, the luminous brightness of 246 grayscale calculated based on the target gamma value of 2.2 is 594.6688 nit. However, substituting 643.5856 nit corresponding to 255 grayscale and 594.6688 nit corresponding to 246 grayscale into the grayscale-luminance correspondence, the actual gamma value corresponding to 246 grayscale is 2.2714, which deviates significantly from the target gamma value of 2.2. Similarly, for other original grayscale values, there will also be a problem of a large difference between the actual Gamma value and the target Gamma value. For example, the scaled grayscale value corresponding to the original grayscale 253 is 245.09375 grayscale. The luminous brightness of 245 grayscale, which is closest to 245.09375 grayscale, is calculated with a target Gamma value of 2.2 to be 589.3636 nit. At this time, the luminous brightness corresponding to 643.5856 nit for 255 grayscale and 589.3636 nit for 245 grayscale is 2.2715. The luminous brightness corresponding to the scaled grayscale value 244.125 grayscale corresponding to the original grayscale 252 is 584.0844 nit, and the actual Gamma value is 2.2717. In addition to the high grayscale area, the low grayscale area and the medium grayscale area will also have the same problem. For example, the original grayscale 4 corresponds to a scaled grayscale of 3.875. The actual gamma value corresponding to grayscale 3.875 and a luminance of 0.0599 nit is 2.2173. The actual gamma value corresponding to grayscale 8 is 2.199, and the actual gamma value corresponding to grayscale 12 is 2.2077. Within each grayscale range, there is a large difference between the actual gamma value and the target gamma value.

[0149] According to the above embodiment, the Gamma optimization algorithm can calculate the optimized Gamma values ​​corresponding to each original grayscale value. For example, in the above embodiment, the optimized Gamma value 2.1922 can be determined as the optimized Gamma value corresponding to grayscale 246. After replacing the original target Gamma value 2.2 with the optimized Gamma value 2.1922, the second luminous brightness 643.5856 corresponding to the maximum scaled grayscale value 255 can be used as a reference, and the optimized Gamma value 2.1922 can be substituted into the calculated scaled grayscale value 246. The luminous brightness of 594.8358 nit can be used as the luminous brightness corresponding to the original grayscale value 246 when data scaling is not turned on.

[0150] Substituting the original grayscale value of 255, which corresponds to 643.5856 nit, and the scaled grayscale value of 246.0625, which corresponds to 594.8358 nit, into the grayscale-to-brightness correspondence, the resulting actual gamma value is 2.200. This means that the scaled grayscale value of 246.0625 and the luminous brightness of 594.8358 nit now meet the target gamma value of 2.2. In other words, with data scaling enabled on the display panel, the scaled grayscale value and luminous brightness correspondence can meet the target gamma value of 2.2.

[0151] According to the above-mentioned Gamma optimization algorithm, the optimized Gamma values ​​corresponding to grayscale 245 and grayscale 244 can also be calculated. According to the corresponding optimized Gamma values, the optimized luminous brightness corresponding to grayscale 245 and the optimized luminous brightness corresponding to grayscale 244 can be obtained. The correspondence between the optimized luminous brightness corresponding to grayscale 245 and grayscale 245 and the optimized luminous brightness corresponding to grayscale 255 and 643.5856nit satisfies the Gamma value of 2.2000, and the correspondence between the optimized luminous brightness corresponding to grayscale 244 and grayscale 244 and the optimized luminous brightness corresponding to grayscale 255 and 643.5856nit also satisfies the Gamma value of 2.2000. Therefore, after determining the optimized Gamma value of each original grayscale value and generating the corresponding optimized luminous brightness, the correspondence between the scaled grayscale value and the optimized luminous brightness can meet the requirements of the target Gamma value, thereby improving the impact of the data scaling function on the Gamma effect.

[0152] The above-mentioned Gamma optimization algorithm can also be applied to the low grayscale area within the first grayscale range. For example, if the target Gamma value is used to generate the luminous brightness of 0.0342 nit at grayscale 3 and the luminous brightness of 0.0342 nit at grayscale 4 when data scaling is not turned on, after determining that the luminous brightness value corresponding to the scaled grayscale value of 3.875 is 0.0599 nit, the actual Gamma value corresponding to the scaled grayscale value of 3.875 and the luminous brightness value of 0.0599 nit can be obtained through verification as 2.2173, which is significantly different from the target Gamma value of 2.2.

[0153] Taking the original grayscale value of 3 grayscale as an example, after determining the optimized Gamma value corresponding to 3 grayscale through the above-mentioned method of generating the optimized Gamma value, the optimized luminous brightness corresponding to 3 grayscale is calculated using the optimized Gamma value. The actual Gamma value corresponding to 3 grayscale and the optimized luminous brightness corresponding to 3 grayscale and 255 grayscale and 643.5856nit is 2.2000.

[0154] Figure 4 The graph shows the change curves of the actual Gamma value and the target Gamma value corresponding to each scaled grayscale value and the luminous brightness before the Gamma value is optimized. Figure 4 The horizontal axis is the scaled grayscale value, and the vertical axis is the Gamma value. Figure 4 It can be seen that in order to meet the needs of human eye perception, within the first grayscale range, the target gamma value corresponding to each scaled grayscale value and the luminous brightness should always remain consistent. The target gamma value can be 2.2, that is, curve 1 is the target gamma value change curve, and curve 2 is the actual gamma value change curve.

[0155] Whether in high-grayscale or low-grayscale areas, enabling the data scaling function will affect the gamma effect, causing the actual gamma value to deviate from the target gamma value.

[0156] Figure 5 The graph shows the change curves of the actual Gamma value and the target Gamma value corresponding to each scaled grayscale value and luminous brightness after optimization using the optimized Gamma algorithm. Figure 5 The horizontal axis is the scaled grayscale value, and the vertical axis is the actual Gamma value. Figure 5 As shown in the figure, after optimization by the optimized Gamma algorithm, the target Gamma value change curve ① and the actual Gamma value change curve ② can be kept consistent, that is, after optimization, the actual Gamma value corresponding to each scaled grayscale value and the luminous brightness can be maintained at 2.2 to meet the needs of human eye perception.

[0157] It should be noted that Figure 5The middle grayscale range can be converted between 0-1023 grayscale and 0-255 grayscale, and can also be other grayscale ranges, which are not limited here.

[0158] according to Figure 5 It can be seen that after using the optimized Gamma algorithm to determine the optimized Gamma value corresponding to each scaled grayscale value or each original grayscale value, after the display panel turns on the data scaling function, the correspondence between the scaled grayscale value and the optimized luminous brightness meets the target Gamma value requirement of 2.2, that is, after the data scaling function is turned on, the impact of the data scaling function on the Gamma effect can be improved.

[0159] Please refer to Figure 6 As an optional embodiment, after the above S130, the following steps may also be included:

[0160] S410, determining the optimized luminous brightness corresponding to each original grayscale value based on the second luminous brightness corresponding to the maximum scaled grayscale value and the optimized gamma value corresponding to each original grayscale value; wherein the multiple original grayscale values ​​are multiple binding point grayscales within the first grayscale range;

[0161] S420 , determining the optimized luminous brightness corresponding to each non-binding point grayscale by interpolation calculation according to the optimized luminous brightness corresponding to each binding point grayscale within the first grayscale range.

[0162] In this embodiment, after determining the second luminous brightness, it can be used as the maximum brightness value under the current brightness level during the Gamma debugging process. After determining the maximum brightness value, based on the correspondence between grayscale and brightness, the optimized luminous brightness corresponding to each original grayscale value can be calculated using the optimized Gamma value corresponding to each original grayscale value. When the original grayscale value is used as the binding point grayscale, for the non-binding point grayscale between each two binding point grayscales, the optimized luminous brightness corresponding to each non-binding point grayscale can be determined by interpolation calculation, so as to reduce the amount of calculation of the optimized luminous brightness of the non-binding point grayscale and save resource costs.

[0163] In S410, after determining the optimized Gamma values ​​corresponding to each scaled grayscale value according to the Gamma optimization algorithm, the optimized luminous brightness corresponding to each original grayscale value can be determined according to the second luminous brightness corresponding to the maximum scaled grayscale value and the optimized Gamma values ​​corresponding to each original grayscale value.

[0164] The device can use the second luminous brightness corresponding to the maximum scaled grayscale value as the luminous brightness corresponding to the maximum original grayscale value. According to the correspondence between grayscale and brightness, after determining the maximum grayscale value and its corresponding luminous brightness, the device can determine the actual luminous brightness corresponding to each grayscale value according to the optimized Gamma value corresponding to each grayscale value.

[0165] In this embodiment, after determining that the luminance corresponding to the maximum original grayscale value is the second luminance, the optimized luminance corresponding to each original grayscale value can be calculated based on the optimized gamma value corresponding to each original grayscale value. For example, when the maximum original grayscale value is 255 grayscale, the second luminance is 643.59 nit, and the optimized gamma value corresponding to the original grayscale value of 246 grayscale is 2.1922, the optimized luminance corresponding to the original grayscale value of 246 grayscale is:

[0166] L y=246 =643.59*(246 / 255) 2.1922 =594.8358nit;

[0167] That is, the optimized luminous brightness corresponding to the original grayscale 246 is 594.8358 nit.

[0168] The plurality of original grayscale values ​​preselected within the first grayscale range are a plurality of binding point grayscales within the first grayscale range. The device can calculate the optimized luminous brightness corresponding to the plurality of original grayscale values ​​respectively according to the above embodiment.

[0169] In S420, since the original grayscale values ​​are all binding point grayscales, after determining the optimized luminous brightness corresponding to each binding point grayscale within the first grayscale range, the device can determine the optimized luminous brightness corresponding to each non-binding point grayscale between each two binding point grayscales through interpolation calculation based on the optimized luminous brightness corresponding to each binding point grayscale. For example, the device can calculate the optimized luminous brightness corresponding to original grayscales 246 and 242, and determine the optimized luminous brightness corresponding to grayscales 243, 244, and 245 through interpolation calculation.

[0170] The interpolation algorithm for calculating the grayscale of the non-bound points may be a linear interpolation algorithm or a nonlinear interpolation algorithm, which is not limited here.

[0171] In another embodiment, the multiple original grayscale values ​​within the first grayscale range are not the binding point grayscales, but rather all grayscale values ​​within the first grayscale range. The device can calculate the optimized gamma value corresponding to each grayscale value based on the gamma optimization algorithm, and calculate the optimized luminous brightness corresponding to each grayscale value based on the second luminous brightness corresponding to the maximum grayscale value and the optimized gamma value corresponding to each grayscale value, so as to obtain the gamma register value corresponding to each grayscale value during the gamma debugging process.

[0172] In an optional embodiment, the first grayscale range may include a first sub-grayscale interval, a second sub-grayscale interval, and a third sub-grayscale interval; the multiple original grayscale values ​​may include each grayscale value in the first sub-grayscale interval, each grayscale value in the third sub-grayscale interval, and multiple binding point grayscales in the second sub-grayscale interval;

[0173] The above S420 may further include:

[0174] According to the optimized luminous brightness corresponding to each binding point grayscale in the second sub-grayscale interval, the optimized luminous brightness corresponding to each non-binding point grayscale in the second sub-grayscale interval is determined by interpolation calculation.

[0175] In this embodiment, the first grayscale range can be divided into a first sub-grayscale interval, a second sub-grayscale interval, and a third sub-grayscale interval. The first sub-grayscale interval is smaller than the second sub-grayscale interval, and the second sub-grayscale interval is smaller than the third sub-grayscale interval. For example, the first sub-grayscale interval can include grayscales 0-15, the second sub-grayscale interval can include grayscales 16-223, and the third sub-grayscale interval can include grayscales 224-255. In addition, the first sub-grayscale interval, the second sub-grayscale interval, and the third sub-grayscale interval can also be divided into other ranges, which are not limited here.

[0176] according to Figure 4 Curve ②, which shows the change in actual gamma values ​​corresponding to various scaled grayscale values ​​and luminous brightness, shows that the difference between the actual gamma value and the target gamma value is large in the lower and upper grayscale ranges, while the difference is smaller in the intermediate grayscale range. In other words, the deviation between the actual gamma value and the target gamma value is more serious in the first and third sub-grayscale intervals.

[0177] In order to solve the more serious gamma value offset problem in the first sub-grayscale interval, each grayscale value in the first sub-grayscale interval can be set to the original grayscale value, and the optimized gamma value corresponding to each grayscale value in the first sub-grayscale interval and the optimized luminous brightness corresponding to each grayscale value can be calculated according to the gamma optimization algorithm.

[0178] Similarly, when the deviation between the actual Gamma value and the target Gamma value in the third sub-grayscale interval is also relatively serious, each grayscale value in the third sub-grayscale interval can be set to the original grayscale value, and the optimized Gamma value corresponding to each grayscale value in the third sub-grayscale interval and the optimized luminous brightness corresponding to each grayscale value can be calculated according to the Gamma optimization algorithm.

[0179] Compared with the first and third sub-grayscale intervals, Figure 4From the change curve of the actual Gamma value ②, it can be seen that the difference between the actual Gamma value corresponding to each grayscale value in the second sub-grayscale interval and the target Gamma value is small. At this time, some grayscale values ​​in the second sub-grayscale interval can be determined as the binding point grayscale, and the binding point grayscale in the second sub-grayscale interval is used as the original grayscale value. According to the Gamma optimization algorithm, the optimized Gamma value corresponding to each binding point grayscale in the second sub-grayscale interval and the optimized luminous brightness corresponding to each binding point grayscale are calculated.

[0180] After calculating the optimized luminous brightness corresponding to each binding point grayscale in the second sub-grayscale interval, the optimized luminous brightness corresponding to other non-binding point grayscales in the second sub-grayscale interval can be calculated by interpolation calculation.

[0181] By calculating the optimized gamma value and optimized luminous brightness for the tied-point grayscale, and then combining this with interpolation to determine the optimized luminous brightness for the non-tied-point grayscale, the number of calculations required for the gamma optimization algorithm can be reduced, thereby conserving computing resources. Furthermore, because the difference between the actual gamma value and the target gamma value in the second sub-grayscale interval before optimization is smaller than that in other grayscale intervals, combining the tied-point grayscale with interpolation calculations for the second sub-grayscale interval can reduce the amount of computation while avoiding a significant difference between the actual gamma value and the target gamma value.

[0182] In an optional embodiment, the first grayscale range may include a first sub-grayscale interval, a second sub-grayscale interval and a third sub-grayscale interval, and multiple binding point grayscales within the first grayscale range may be respectively set in the first sub-grayscale interval, the second sub-grayscale interval and the third sub-grayscale interval, and the distribution density of the binding point grayscale in the first sub-grayscale interval is greater than the distribution density of the binding point grayscale in the second sub-grayscale interval, and the distribution density of the binding point grayscale in the third sub-grayscale interval is greater than the distribution density of the binding point grayscale in the second sub-grayscale interval.

[0183] The distribution density of the binding point grayscales in each of the above-mentioned grayscale intervals refers to the ratio of the number of binding point grayscales set in each grayscale interval to the interval length of the grayscale interval. Taking the first sub-grayscale interval of 0-15 grayscale as an example, if the number of binding point grayscales in the first sub-grayscale interval is 5, then the distribution density of the first sub-grayscale interval is 5 / (15-0+1). Taking the second sub-grayscale interval of 16-223 grayscale as an example, if the number of binding point grayscales in the second sub-grayscale interval is 4, then the distribution density of the second sub-grayscale interval is 4 / (223-16+1).

[0184] according to Figure 4It can be seen that the degree of deviation between the actual gamma value and the target gamma value in the first sub-grayscale interval is generally greater than the degree of deviation between the actual gamma value and the target gamma value in the second sub-grayscale interval. By setting the distribution density of the binding point grayscales in the first sub-grayscale interval to be greater than the distribution density of the binding point grayscales in the second sub-grayscale interval, the spacing between the binding point grayscales in the first sub-grayscale interval can be shortened, thereby reducing the proportion of grayscale values ​​interpolated in the first sub-grayscale interval.

[0185] In a certain grayscale range, the greater the proportion of grayscales whose optimized gamma values ​​are calculated according to the optimized gamma algorithm, the smaller the proportion of grayscales whose interpolation calculations are performed, and the closer the variation curve of the actual gamma value in the grayscale range is to the variation curve of the target gamma value.

[0186] By increasing the distribution density of the binding point grayscale in the first sub-grayscale interval, the proportion of grayscale values ​​interpolated in the first sub-grayscale interval can be reduced, so that the actual Gamma value change curve in the first sub-grayscale interval is closer to the target Gamma value change curve, thereby improving the problem of large deviation between the actual Gamma value change curve and the target Gamma value change curve in the first sub-grayscale interval.

[0187] Similarly, by setting the distribution density of the binding point grayscale of the third sub-grayscale interval to be greater than the distribution density of the binding point grayscale of the second sub-grayscale interval, the distribution density of the binding point grayscale of the third sub-grayscale interval can be improved, so that the change curve of the actual Gamma value in the third sub-grayscale interval is closer to the change curve of the target Gamma value, thereby improving the problem of large deviation between the change curve of the actual Gamma value in the third sub-grayscale interval and the change curve of the target Gamma value.

[0188] In an optional embodiment, the distribution density of the binding point grayscales in the third sub-grayscale interval can be set to be greater than the distribution density of the binding point grayscales in the first sub-grayscale interval. That is, the distribution density of the binding point grayscales in the third sub-grayscale interval, the first sub-grayscale interval, and the second sub-grayscale interval decreases in sequence.

[0189] It should be understood that the above embodiment only illustrates how to determine the optimized gamma values ​​corresponding to each original grayscale value at a brightness level corresponding to a maximum brightness value of 600 nits among multiple brightness levels. For other brightness levels, the optimized gamma values ​​corresponding to each original grayscale value at different brightness levels can be obtained by changing the first light brightness in the above embodiment.

[0190] Similarly, the above embodiment only illustrates the method for generating the optimized Gamma value when the first grayscale range is 0-255 grayscale. When the first grayscale range is 0-1023 grayscale or other grayscale ranges, the same or similar method can also be used to obtain the optimized Gamma values ​​corresponding to each original grayscale value in other grayscale ranges by changing the maximum original grayscale value and the maximum scaled grayscale value.

[0191] The present application also provides a Gamma debugging method. Figure 7 The following is a flow chart of a Gamma debugging method provided by an embodiment of the present application. The Gamma debugging method includes:

[0192] S510, obtaining optimized gamma values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range;

[0193] S520, performing gamma debugging on the display panel to be debugged based on the second luminous brightness and the optimized gamma values ​​corresponding to the respective original grayscale values, to obtain gamma register values ​​corresponding to each grayscale value within the first grayscale range; wherein the optimized gamma value and the second luminous brightness are the optimized gamma value and second luminous brightness of the gamma optimization method for the display panel;

[0194] S530: Burn the Gamma register value to the panel to be debugged.

[0195] The gamma tuning method provided in the embodiments of this application can be applied to a gamma tuning device. This device can perform gamma tuning on a panel to be tuned based on the optimized gamma value determined by a gamma optimization device for the display panel. This ensures that when the data scaling function is enabled on the tuned panel, the correspondence between the scaled grayscale value and the luminous brightness meets the target gamma value, thereby alleviating the problem of the data scaling function affecting the gamma tuning effect. The panel to be tuned can be a PC, a television, a smart terminal, or a tablet computer, etc. The specific form of the panel to be tuned is not limited in this embodiment.

[0196] In this embodiment, after determining the second luminous brightness and the optimized Gamma values ​​corresponding to each original grayscale value by the Gamma optimization method of the display panel in the above embodiment, the panel to be debugged can be Gamma debugged to obtain the Gamma register values ​​corresponding to each grayscale value within the first grayscale range, and the Gamma register values ​​are burned into the panel to be debugged. After turning on the data scaling function, the panel to be debugged can read the Gamma register values ​​corresponding to each scaled grayscale value to display the image. At this time, the correspondence between the scaled grayscale value and the luminous brightness can meet the requirements of the target Gamma value, thereby improving the influence of the data scaling function on the Gamma debugging effect, so that the brightness transformation of the image under the data scaling function meets the curve of the target Gamma value.

[0197] In S510, the device can obtain optimized Gamma values ​​corresponding to multiple original grayscale values ​​within the first grayscale range. The optimized Gamma values ​​can be obtained by executing the Gamma optimization method of the display panel in the above embodiment, which will not be described in detail here.

[0198] In S520, after knowing the first grayscale range and the first luminance corresponding to the maximum original grayscale value, the device may calculate the second luminance using the method for determining the second luminance proposed in the embodiment of the gamma optimization method for a display panel. Of course, after obtaining the second luminance, the gamma optimization method for a display panel in the above embodiment may store the second luminance, and the device may also directly read the stored second luminance.

[0199] After determining the second luminous brightness, the device can determine the optimized luminous brightness corresponding to each grayscale value according to the optimized Gamma value corresponding to each original grayscale value.

[0200] After determining the optimized luminance corresponding to each grayscale value, the optical probe can be used to perform gamma tuning on the panel under test. By continuously adjusting the data voltage provided by the driver chip in the panel under test, the corresponding gamma register value is obtained when the image of the panel under test matches the optimized luminance. In this case, the gamma register value at each optimized luminance is the gamma register value corresponding to each grayscale value within the first grayscale range.

[0201] In S530 , after obtaining the Gamma register value corresponding to each grayscale value, the Gamma register value can be burned into the panel to be debugged, so that the panel to be debugged can read the Gamma register value corresponding to each grayscale value and display the image screen of each grayscale value.

[0202] Please refer to Figure 8As an optional embodiment, the above S520 may include:

[0203] S610, determining the optimized luminous brightness corresponding to each original grayscale value within the first grayscale range based on the second luminous brightness and the optimized gamma value corresponding to each original grayscale value; wherein the multiple original grayscale values ​​are multiple binding point grayscales within the first grayscale range;

[0204] S620: Perform interpolation calculation on every two adjacent binding point grayscales based on the plurality of binding point grayscales and their corresponding optimized luminous brightnesses to obtain the optimized luminous brightness corresponding to each non-binding point grayscale within the first grayscale range;

[0205] S630: Perform gamma debugging on the panel to be debugged according to the optimized luminous brightness corresponding to the binding point grayscale and the non-binding point grayscale within the first grayscale range, and obtain a gamma register value corresponding to each grayscale value within the first grayscale range.

[0206] In this embodiment, by using the second luminous brightness as the maximum brightness value corresponding to the maximum grayscale value, the corresponding relationship between grayscale and brightness can be used to substitute the optimized gamma value corresponding to each original grayscale value to calculate the optimized luminous brightness corresponding to each original grayscale value. After determining the optimized luminous brightness corresponding to each original grayscale value, each two adjacent original grayscale values ​​can be used as two binding point grayscales to calculate the optimized luminous brightness of the non-binding point grayscale between each two binding point grayscales. After determining the optimized luminous brightness of all grayscale values, gamma debugging can be performed on the panel to be debugged to obtain the gamma register value corresponding to each grayscale value.

[0207] In S610, after determining the second luminous brightness as the luminous brightness corresponding to the maximum grayscale value at the current brightness level, the device can calculate the optimized luminous brightness corresponding to each grayscale value according to the optimized Gamma value corresponding to each original grayscale value and the correspondence between grayscale and brightness.

[0208] Each original grayscale value within the first grayscale range can be a plurality of binding point grayscales. For example, within the first grayscale range of 0-255 grayscales, 15 original grayscale values ​​can be selected as binding point grayscales.

[0209] In S620, after respectively calculating the optimized luminous brightness corresponding to each binding point grayscale, in order to reduce the consumption of calculation, interpolation calculation can be performed on every two adjacent binding point grayscales to obtain the optimized luminous brightness corresponding to each non-binding point grayscale within the first grayscale range.

[0210] In one exemplary embodiment, two adjacent binding point grayscales may include non-binding point grayscales. Calculating the corresponding optimized gamma value for each non-binding point grayscale would consume significant computing resources, increasing the resource cost of gamma tuning. Therefore, for a non-binding point grayscale, the optimized luminance corresponding to the two adjacent binding point grayscales can be interpolated to obtain the optimized luminance of the non-binding point grayscale. This reduces the computational effort for each non-binding point grayscale and reduces the resource cost of gamma tuning.

[0211] The above interpolation calculation method can be linear interpolation calculation or nonlinear interpolation calculation, which is not limited here.

[0212] In S630, after determining the optimized luminous brightness of each binding point grayscale according to the optimized Gamma value corresponding to each binding point grayscale, and obtaining the optimized luminous brightness corresponding to each non-binding point grayscale through interpolation calculation, it is equivalent to obtaining the optimized luminous brightness corresponding to each grayscale value within the first grayscale range. The device can perform Gamma debugging on the panel to be debugged, for example, driving the panel to be debugged to display an image screen greater than the second luminous brightness, and by continuously adjusting the Gamma register value, the luminous brightness of the image screen is reduced. During the process of reducing the luminous brightness of the image screen, if the actual luminous brightness matches the optimized luminous brightness of a certain grayscale value, the device can use the corresponding Gamma register value at this time as the Gamma register value corresponding to the grayscale value. Through Gamma debugging, the Gamma register value corresponding to each grayscale value within the first grayscale range can be obtained.

[0213] The embodiment of the present application also provides a Gamma optimization device for a display panel, such as Figure 9 As shown, the device includes:

[0214] A scaling corresponding module 901 is configured to determine scaled grayscale values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range according to a data scaling relationship; wherein the original grayscale values ​​are integers and the scaled grayscale values ​​are real numbers;

[0215] A brightness determination module 902 is configured to determine a second luminous brightness corresponding to a maximum scaled grayscale value based on a first luminous brightness corresponding to a maximum original grayscale value within a first grayscale range, wherein the maximum scaled grayscale value and the second luminous brightness satisfy a target gamma value, and the maximum scaled grayscale value is greater than a scaled grayscale value corresponding to any original grayscale value;

[0216] The gamma determination module 903 is used to determine the optimized gamma values ​​corresponding to the multiple original grayscale values ​​according to the first luminous brightness, the second luminous brightness, the multiple scaled grayscale values ​​and the gamma optimization algorithm; the optimized gamma values ​​are used to perform gamma adjustment on the original grayscale values.

[0217] It should be noted that the Gamma optimization device for the display panel is a device corresponding to the Gamma optimization method for the display panel described above. All implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.

[0218] The present application also provides a Gamma debugging device, such as Figure 10 As shown, the device includes:

[0219] A gamma acquisition module 1001 is configured to acquire optimized gamma values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range;

[0220] A gamma adjustment module 1002 is configured to perform gamma adjustment on the display panel to be adjusted based on the second luminous brightness and the optimized gamma values ​​corresponding to the respective original grayscale values, and obtain gamma register values ​​corresponding to each grayscale value within the first grayscale range; wherein the optimized gamma value and the second luminous brightness are the optimized gamma value and the second luminous brightness in the gamma optimization device for the display panel;

[0221] The Gamma burning module 1003 is used to burn the Gamma register value to the panel to be debugged.

[0222] It should be noted that the Gamma debugging device is a device corresponding to the above-mentioned Gamma debugging method. All implementation methods in the above-mentioned method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.

[0223] Figure 11 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0224] The electronic device may include a processor 1101 and a memory 1102 storing computer program instructions.

[0225] Specifically, the processor 1101 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0226] Memory 1102 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 1102 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 1102 may include removable or non-removable (or fixed) media. Where appropriate, memory 1102 may be internal or external to the electronic device. In certain embodiments, memory 1102 is a non-volatile solid-state memory.

[0227] In certain embodiments, the memory 1102 may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical / tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0228] The processor 1101 reads and executes computer program instructions stored in the memory 1102 to implement any one of the gamma optimization methods or gamma debugging methods for the display panel in the above embodiments.

[0229] In one example, the electronic device may further include a communication interface 1103 and a bus 1110. Figure 11 As shown, the processor 1101 , the memory 1102 , and the communication interface 1103 are connected via a bus 1110 and communicate with each other.

[0230] The communication interface 1103 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0231] Bus 1110 includes hardware, software or both, couples the parts of electronic equipment to each other.For example, but not limitation, bus can include accelerated graphics port (AGP) or other graphics bus, enhanced industry standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industry standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 1110 can include one or more buses. Although the present application embodiment describes and shows specific bus, the application considers any suitable bus or interconnection.

[0232] In addition, in conjunction with the gamma optimization method or gamma adjustment method for a display panel in the above-mentioned embodiments, embodiments of the present application may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any of the gamma optimization methods or gamma adjustment methods for a display panel in the above-mentioned embodiments is implemented.

[0233] It should be understood that the present application is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and illustrated as examples. However, the method process of the present application is not limited to the specific steps described and illustrated. Those skilled in the art can make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present application.

[0234] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0235] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps. In other words, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0236] Aspects of the present disclosure have been described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It is also understood that each box in the block diagram and / or flowchart and the combination of the boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0237] The above is only a specific implementation method of the present application. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the scope of protection of the present application is not limited to this. Any technician familiar with this technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the scope of protection of this application.

Claims

1. A method for optimizing the gamma of a display panel, characterized in that: The method comprises: Determining scaled grayscale values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range according to a data scaling relationship; wherein the original grayscale values ​​are integers and the scaled grayscale values ​​are real numbers; Determining a second luminous brightness corresponding to a maximum scaled grayscale value based on a first luminous brightness corresponding to a maximum original grayscale value within a first grayscale range; wherein the maximum scaled grayscale value and the second luminous brightness satisfy a target gamma value, and the maximum scaled grayscale value is greater than a scaled grayscale value corresponding to any original grayscale value; Optimized Gamma values ​​corresponding to multiple original grayscale values ​​are determined according to the first luminous brightness, the second luminous brightness, multiple scaled grayscale values, and a Gamma optimization algorithm; the optimized Gamma values ​​are used to perform Gamma debugging on the original grayscale values.

2. The method for optimizing the gamma of a display panel according to claim 1, wherein: The method of determining the second luminous brightness corresponding to the maximum scaled grayscale value within the first grayscale range according to the first luminous brightness corresponding to the maximum original grayscale value within the first grayscale range includes: Determine a first luminous brightness and a first scaled grayscale value corresponding to a maximum original grayscale value within a first grayscale range; the first scaled grayscale value is a scaled grayscale value corresponding to the maximum original grayscale value; According to the target gamma value, the first scaled grayscale value and the first luminous brightness, the second luminous brightness corresponding to the maximum scaled grayscale value within the first grayscale range is determined by the correspondence between grayscale and brightness; wherein the maximum original grayscale value is the same as the maximum scaled grayscale value, and the second luminous brightness is greater than the first luminous brightness.

3. The method for optimizing the gamma of a display panel according to claim 2, wherein: The corresponding relationship between grayscale and brightness includes: <h2 style=";text-align:left;direction:ltr">L1=L2*(G1 / G2)<h2 style=";text-align:left;direction:ltr"> Gamma1 <h2 style=";text-align:left;direction:ltr"> ; Wherein, Gamma1 is the target Gamma value, L1 is the first luminous brightness, L2 is the second luminous brightness, G1 is the first scaled grayscale value, and G2 is the maximum scaled grayscale value.

4. The method for optimizing the gamma of a display panel according to claim 1, wherein: The Gamma optimization algorithm includes: Gamma2=log((L1*(Gx / Gmax) Gamma1 ) / L2) / log(Gy / Gmax); Among them, Gamma1 is the target Gamma value, Gamma2 is the optimized Gamma value corresponding to the integer part of Gy, L1 is the first luminous brightness, L2 is the second luminous brightness, Gmax is the maximum original grayscale value, Gx is the original grayscale value, and Gy is the scaled grayscale value corresponding to Gx.

5. The method for optimizing the gamma of a display panel according to claim 1, wherein: After determining the optimized gamma values ​​corresponding to the plurality of original grayscale values ​​respectively according to the first luminous brightness, the second luminous brightness, the plurality of scaled grayscale values, and the gamma optimization algorithm, the method further includes: Determining the optimized luminance corresponding to each original grayscale value according to the second luminance corresponding to the maximum scaled grayscale value and the optimized gamma value corresponding to each original grayscale value; wherein the multiple original grayscale values ​​are multiple binding point grayscales within the first grayscale range; According to the optimized luminous brightness corresponding to each binding point grayscale within the first grayscale range, the optimized luminous brightness corresponding to each non-binding point grayscale is determined by interpolation calculation.

6. The method for optimizing the gamma of a display panel according to claim 5, wherein: The first grayscale range includes a first sub-grayscale interval, a second sub-grayscale interval, and a third sub-grayscale interval; the multiple original grayscale values ​​include each grayscale value in the first sub-grayscale interval, each grayscale value in the third sub-grayscale interval, and multiple binding point grayscales in the second sub-grayscale interval; The determining, by interpolation calculation based on the optimized luminous brightness corresponding to each grayscale of each binding point within the first grayscale range, the optimized luminous brightness corresponding to each grayscale of the non-binding point includes: According to the optimized luminous brightness corresponding to each binding point grayscale in the second sub-grayscale interval, the optimized luminous brightness corresponding to each non-binding point grayscale in the second sub-grayscale interval is determined by interpolation calculation.

7. The method for optimizing the gamma of a display panel according to claim 1, wherein: The first grayscale range includes a first sub-grayscale interval, a second sub-grayscale interval and a third sub-grayscale interval; The distribution density of the binding point grayscale in the first sub-grayscale interval is greater than the distribution density of the binding point grayscale in the second sub-grayscale interval, and the distribution density of the binding point grayscale in the third sub-grayscale interval is greater than the distribution density of the binding point grayscale in the second sub-grayscale interval; wherein the distribution density is the ratio of the number of binding point grayscales in the grayscale interval to the interval length of the grayscale interval.

8. The method for optimizing the gamma of a display panel according to claim 1, wherein: Any original grayscale value within the first grayscale range is greater than its corresponding scaled grayscale value.

9. The method for optimizing the gamma of a display panel according to claim 8, wherein: In the first grayscale range, the difference between any original grayscale value and its corresponding scaled grayscale value is not greater than a first threshold; wherein the first threshold is the difference between the maximum original grayscale value in the first grayscale range and the corresponding first scaled grayscale value.

10. The method for optimizing the gamma of a display panel according to claim 1, wherein: The step of determining scaled grayscale values ​​corresponding to a plurality of original grayscale values ​​within the first grayscale range according to the data scaling relationship includes: determining a scaling factor according to a scaling degree of a maximum original grayscale value within the first grayscale range; Determine, according to the scaling factor, a scaled grayscale value corresponding to each original grayscale value within the first grayscale range.

11. The method for optimizing the gamma of a display panel according to claim 10, wherein: The calculation formula of the scaled grayscale value includes: Gray_on=Gray_off*c; Among them, Gray_off is the original grayscale value, Gray_on is the scaled grayscale value, and c is the scaling coefficient.

12. A gamma optimization device for a display panel, characterized in that: The device comprises: a scaling corresponding module, configured to determine scaled grayscale values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range according to a data scaling relationship; wherein the original grayscale values ​​are integers and the scaled grayscale values ​​are real numbers; a brightness determination module, configured to determine a second luminous brightness corresponding to a maximum scaled grayscale value based on a first luminous brightness corresponding to a maximum original grayscale value within a first grayscale range; wherein the maximum scaled grayscale value and the second luminous brightness satisfy a target gamma value, and the maximum scaled grayscale value is greater than a scaled grayscale value corresponding to any original grayscale value; A gamma determination module is used to determine optimized gamma values ​​corresponding to multiple original grayscale values ​​according to the first luminous brightness, the second luminous brightness, multiple scaled grayscale values ​​and a gamma optimization algorithm; the optimized gamma values ​​are used to perform gamma debugging on the original grayscale values.

13. A Gamma debugging method for a display panel, characterized in that: The method comprises: Obtaining optimized Gamma values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range; Gamma debugging is performed on the panel to be debugged according to the second luminous brightness and the optimized gamma values ​​corresponding to each original grayscale value, to obtain a gamma register value corresponding to each grayscale value within the first grayscale range; wherein the optimized gamma value and the second luminous brightness are the optimized gamma value and the second luminous brightness of the gamma optimization method for a display panel according to any one of claims 1 to 11; Burn the Gamma register value to the panel to be debugged.

14. The method for adjusting the gamma of a display panel according to claim 13, wherein: The step of performing gamma debugging on the panel to be debugged according to the second luminous brightness and the optimized gamma values ​​corresponding to the original grayscale values ​​to obtain the gamma register values ​​corresponding to each grayscale value within the first grayscale range includes: Determining the optimized luminous brightness corresponding to each original grayscale value within the first grayscale range according to the second luminous brightness and the optimized gamma value corresponding to each original grayscale value; wherein the multiple original grayscale values ​​are multiple binding point grayscales within the first grayscale range; According to the plurality of binding point grayscales and their corresponding optimized luminous brightness, interpolation calculation is performed on every two adjacent binding point grayscales to obtain the optimized luminous brightness corresponding to each non-binding point grayscale within the first grayscale range; The panel to be debugged is gamma debugged according to the optimized luminous brightness corresponding to the binding point grayscale and the non-binding point grayscale within the first grayscale range to obtain the gamma register value corresponding to each grayscale value within the first grayscale range.

15. A gamma debugging device for a display panel, characterized in that: The device comprises: A gamma acquisition module, configured to acquire optimized gamma values ​​corresponding to a plurality of original grayscale values ​​within a first grayscale range; a gamma debugging module, configured to perform gamma debugging on the panel to be debugged based on the second luminous brightness and the optimized gamma values ​​corresponding to the respective original grayscale values, and obtain a gamma register value corresponding to each grayscale value within the first grayscale range; wherein the optimized gamma value and the second luminous brightness are the optimized gamma value and the second luminous brightness in the gamma optimization device for a display panel according to claim 12; The Gamma burning module is used to burn the Gamma register value to the panel to be debugged.

16. An electronic device, characterized in that: The electronic device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the gamma optimization method for the display panel according to any one of claims 1 to 11 or the gamma debugging method according to any one of claims 13 to 14 is implemented.

17. A computer storage medium, characterized in that The computer storage medium stores computer program instructions, which, when executed by a processor, implement the gamma optimization method for a display panel according to any one of claims 1 to 11 or the gamma debugging method according to any one of claims 13 to 14.

Citation Information

Patent Citations

  • Gamma correction method and system

    CN114390157A

  • Gamma adjusting method and device of display panel

    CN114743486A