Gray scale compensation processing method, device and machine readable storage medium
Patent Information
- Application Number
- CN202311693616.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-07
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2043-12-07
AI Technical Summary
但是,现有的灰阶补偿方案中确定灰阶补偿值的过程较为复杂,且容易产生过补偿或欠补偿的问题
[0041]本申请提供的一种显示灰阶补偿处理方法、装置及机器可读存储介质,根据第一显示亮度值下显示第一灰阶时需要补偿的期望补偿亮度值可以计算获得各个灰阶时需要补偿的期望补偿亮度值,再结合测试获得的各个显示亮度值下显示各个灰阶时会导致过补偿的最大补偿值,可以快速确定出能够在不产生过补情况下的最优补偿亮度值进行补偿。
Smart Images

Figure CN117558226B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and more specifically, to a display grayscale compensation processing method, apparatus, and machine-readable storage medium. Background Technology
[0002] During the manufacturing process of display panels, due to differences in processes or materials, the display panels may exhibit brightness deviations at different grayscale levels. Therefore, it is necessary to set grayscale compensation parameters to compensate for the brightness values of the display panels. However, the process of determining grayscale compensation values in existing grayscale compensation schemes is relatively complex and prone to overcompensation or undercompensation. Summary of the Invention
[0003] To overcome the aforementioned shortcomings in the prior art, the purpose of this application is to provide a grayscale compensation processing method, the method comprising:
[0004] Obtain the expected compensation brightness value that needs to be compensated when the display panel displays the first grayscale at the first display brightness value;
[0005] Based on the expected compensation brightness value that needs to be compensated when displaying the first grayscale at the first display brightness value, calculate the expected compensation brightness value that the display panel needs to compensate when displaying each grayscale at the first display brightness value and other second display brightness values other than the first display brightness value.
[0006] The test obtained the maximum compensation value that would cause overcompensation when the display panel displays various gray levels at various display brightness values.
[0007] Based on the expected compensation brightness value and the maximum compensation value for each grayscale level under each display brightness value, the corresponding actual compensation brightness value is determined.
[0008] In one possible implementation, the step of calculating the expected compensation brightness value required for the display panel to display each grayscale at the first display brightness value and other second display brightness values besides the first display brightness value, based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, includes:
[0009] Calculate the first ratio of the second display brightness value to the first display brightness value;
[0010] Based on the first ratio and the expected compensation brightness value required when displaying the first grayscale at the first display brightness value, the expected compensation brightness value required when displaying the first grayscale at the second display brightness value is determined.
[0011] In one possible implementation, the step of calculating the expected compensation brightness value required for the display panel to display each grayscale at the first display brightness value and other second display brightness values besides the first display brightness value, based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, includes:
[0012] Based on the preset gamma parameters, the expected visible brightness value when displaying the first grayscale at the first display brightness value is calculated as the target visible brightness value.
[0013] Under the preset gamma parameter conditions, obtain the third gray level required to achieve the target visible brightness value at the third display brightness value;
[0014] The expected compensation brightness value that needs to be compensated when displaying the first grayscale under the first display brightness value is taken as the expected compensation brightness value that needs to be compensated when displaying the third grayscale under the third display brightness value.
[0015] In one possible implementation, the step of calculating the expected compensation brightness value required for the display panel to display each grayscale at the first display brightness value and other second display brightness values besides the first display brightness value, based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, further includes:
[0016] Calculate a second ratio between the first display brightness value and the third display brightness value;
[0017] Based on the second ratio and the expected compensation brightness value required when displaying the third grayscale at the third display brightness value, the expected compensation brightness value required when displaying the third grayscale at the first display brightness value is determined.
[0018] In one possible implementation, the step of calculating the expected compensation brightness value required for the display panel to display each grayscale at the first display brightness value and other second display brightness values besides the first display brightness value, based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, further includes:
[0019] Interpolation is performed based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, the expected compensation brightness value required to display the first grayscale at the second display brightness value, the expected compensation brightness value required to display the third grayscale at the third display brightness value, and / or the expected compensation brightness value required to display the third grayscale at the first display brightness value, to obtain the expected compensation brightness value required for the display panel to display each grayscale at each display brightness value.
[0020] In one possible implementation, the step of obtaining the desired compensation brightness value that needs to be compensated when the display panel displays the first grayscale at the first display brightness value includes:
[0021] Based on the preset gamma parameters, the expected visible brightness value when displaying the first grayscale at the first display brightness value is calculated as the target visible brightness value.
[0022] The desired compensation brightness value is obtained through testing to achieve the desired visible brightness value when the display panel needs to display the first grayscale at the first display brightness value.
[0023] In one possible implementation, the step of determining the corresponding actual compensation brightness value based on the expected compensation brightness value and the maximum compensation value for each grayscale level displayed at each display brightness value includes:
[0024] For each grayscale under each display brightness value, if the expected compensation brightness value corresponding to the grayscale is greater than the maximum compensation value corresponding to the grayscale, then the maximum compensation value corresponding to the grayscale is used as the actual compensation brightness value; if the expected compensation brightness value corresponding to the grayscale is not greater than the maximum compensation value corresponding to the grayscale, then the expected compensation brightness value corresponding to the grayscale is used as the actual compensation brightness value.
[0025] In one possible implementation, the method further includes the step of determining the corresponding actual compensation brightness value based on the expected compensation brightness value and the maximum compensation value for displaying each grayscale level under each display brightness value, followed by:
[0026] For each grayscale level displayed under each display brightness value, the grayscale compensation intensity value of each display screen is determined based on the expected compensation brightness value of each grayscale level displayed under each display brightness value on the same display screen panel.
[0027] The grayscale compensation adjustment value for each display panel is determined based on the grayscale compensation intensity and the actual compensation brightness value.
[0028] Gray-scale compensation is performed on the display panel based on the gray-scale compensation intensity value and the gray-scale compensation adjustment value.
[0029] In one possible implementation, after the step of testing and obtaining the maximum compensation value that would cause overcompensation when the display panel displays each grayscale at each display brightness value, the method further includes:
[0030] Obtain the maximum compensation value corresponding to the fifth grayscale level displayed under the fourth display brightness value;
[0031] Based on the preset gamma parameters, the expected visible brightness value when displaying the fifth grayscale at the fourth display brightness value is calculated as the target visible brightness value.
[0032] Under the preset gamma parameter conditions, obtain the sixth gray level required to achieve the target visible brightness value at the fifth display brightness value;
[0033] The maximum compensation value when displaying the fifth grayscale at the fourth display brightness value is taken as the maximum compensation value when displaying the sixth grayscale at the fifth display brightness value.
[0034] This application also provides a grayscale compensation processing device, the device comprising:
[0035] The first data acquisition module acquires the expected compensation brightness value that needs to be compensated when the display panel displays the first grayscale at the first display brightness value;
[0036] The grayscale compensation calculation module calculates the expected compensation brightness value that the display panel needs to compensate for when displaying each grayscale under the first display brightness value and other second display brightness values other than the first display brightness value, based on the expected compensation brightness value that needs to be compensated when displaying the first grayscale under the first display brightness value.
[0037] The second data acquisition module tests and acquires the maximum compensation value that would cause overcompensation when the display panel displays various gray levels at various display brightness values.
[0038] The grayscale compensation confirmation module determines the corresponding actual compensation brightness value by displaying the expected compensation brightness value and the maximum compensation value for each grayscale level under each display brightness value.
[0039] This application also provides a machine-readable storage medium, characterized in that the machine-readable storage medium stores machine-executable instructions, which, when executed by one or more processors, implement the method provided in this application.
[0040] Compared with the prior art, this application has the following beneficial effects:
[0041] This application provides a display grayscale compensation processing method, apparatus, and machine-readable storage medium. Based on the expected compensation brightness value required when displaying the first grayscale under the first display brightness value, the expected compensation brightness value required for each grayscale can be calculated. Combined with the maximum compensation value that would lead to overcompensation when displaying each grayscale under each display brightness value obtained by testing, the optimal compensation brightness value that can be compensated without overcompensation can be quickly determined. Attached Figure Description
[0042] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 A flowchart illustrating the steps of the grayscale compensation processing method provided in this embodiment. Figure 1 ;
[0044] Figure 2 A flowchart illustrating the steps of the grayscale compensation processing method provided in this embodiment. Figure 2 ;
[0045] Figure 3 This is a schematic diagram illustrating the compensation value calculation process provided in this embodiment;
[0046] Figure 4 A flowchart illustrating the steps of the grayscale compensation processing method provided in this embodiment. Figure 3 ;
[0047] Figure 5 A flowchart illustrating the steps of the grayscale compensation processing method provided in this embodiment. Figure 4 ;
[0048] Figure 6 A flowchart illustrating the steps of the grayscale compensation processing method provided in this embodiment. Figure 5 ;
[0049] Figure 7 This is a schematic diagram of the electronic device provided in this embodiment;
[0050] Figure 8 This is a schematic diagram of the functional modules of the grayscale compensation processing device provided in this embodiment. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0052] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0053] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0054] In the description of this application, it should be noted that the terms "center," "upper," "lower," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship commonly used when the product of the invention is in use. They are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. In addition, the terms "first," "second," and "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0055] It should be noted that, where there is no conflict, different features in the embodiments of this application can be combined with each other.
[0056] The inventors discovered that some grayscale compensation processing solutions either require multiple data acquisitions when the display panel displays different grayscale levels at different brightness values to determine the grayscale compensation parameters required for each grayscale level at each brightness value, or involve a complex and inefficient process of performing a few data acquisitions and then using interpolation to calculate the grayscale compensation parameters for other brightness values and grayscale levels. However, the interpolation calculation error is large, and the calculated grayscale compensation parameters are prone to overcompensation or undercompensation.
[0057] In view of this, this embodiment provides a scheme that can efficiently and accurately determine grayscale compensation parameters. The scheme provided in this embodiment will be described in detail below.
[0058] Please see Figure 1 , Figure 1This is a flowchart illustrating a grayscale compensation processing method for display provided in this embodiment. The method may include the following steps.
[0059] Step S110: Obtain the expected compensation brightness value that needs to be compensated when the display panel displays the first grayscale at the first display brightness value.
[0060] In this embodiment, the Display Brightness Value (DBV) is the value displayed on the display panel.
[0061] The desired compensation brightness value can be determined first by actual data collection and testing, when the display panel displays the first grayscale at the first display brightness value.
[0062] Specifically, in step S110, the expected visible brightness value when displaying the first grayscale at the first display brightness value can be calculated as the target visible brightness value based on the preset gamma parameter. For example, with a first display brightness value of DBV500, a first grayscale value of 32, and a preset gamma parameter of 2.2, the expected visible brightness value Y = 500 * (32 / 255)^2.2 ≈ 5.199 according to the gamma calculation formula.
[0063] Then, the expected compensation brightness value is obtained through testing to achieve the desired visible brightness value when the display panel needs to display the first grayscale at the first display brightness value. For example, the actual visible brightness value when displaying the first grayscale at the first display brightness value is obtained through testing, and the difference between the expected visible brightness value and the actual visible brightness value is calculated as the expected compensation brightness value.
[0064] In this embodiment, the expected compensation brightness value that needs to be compensated when displaying the first grayscale at the first display brightness value, obtained in step S110, can be recorded first. For example, please refer to... Figure 2 Assuming that the first display brightness value is determined to be DBV500 according to step S110, and the first grayscale value is 32, the expected compensation brightness value is 1.538, then in Figure 2 The dark cells in the diagram record this correspondence.
[0065] Step S120: Based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, calculate the expected compensation brightness value required to display each grayscale at the first display brightness value and other second display brightness values besides the first display brightness value.
[0066] In one possible implementation, please refer to Figure 3 Step S120 may include the following sub-steps.
[0067] Step S201: Calculate the first ratio of the second display brightness value to the first display brightness value.
[0068] For example, taking the second display brightness value as DBV300, the first ratio D1 of the second display brightness value to the first display brightness value is calculated as 300 / 500 = 0.6.
[0069] Step S202: Based on the first ratio and the expected compensation brightness value that needs to be compensated when displaying the first grayscale under the first display brightness value, determine the expected compensation brightness value that needs to be compensated when displaying the first grayscale under the second display brightness value.
[0070] Specifically, at the same grayscale, the change in visible brightness value is linearly related to the change in displayed brightness value, and the change in expected compensation brightness value is also linearly related at different displayed brightness values at the same grayscale. Therefore, in step S202, the expected compensation brightness value that needs to be compensated when displaying the first grayscale at the second display brightness value can be calculated using the first ratio.
[0071] For example, when the first display brightness value is DBV500 and the first grayscale value is 32, the expected compensation brightness value is 1.538. Then, when the second display brightness value is DBV300 and the first grayscale value is 32, the expected compensation brightness value is 1.538*(300 / 500)≈0.923, and this correspondence is recorded as follows: Figure 2 The dashed arrow marked with 1 is shown.
[0072] In one possible implementation, please refer to Figure 4 Step S120 may include the following sub-steps.
[0073] Step S301: Calculate the desired visible brightness value when displaying the first grayscale at the first display brightness value, based on the preset gamma parameters, as the target visible brightness value.
[0074] Optionally, please refer to again Figure 2 In step S301, the expected visible brightness value corresponding to each gray level can be calculated using the gamma formula based on the preset gamma parameters.
[0075] Step S302: Obtain the third gray level required to achieve the target visible brightness value under the preset gamma parameter conditions and the third display brightness value.
[0076] In this embodiment, the gray level whose expected visible brightness value is closest to the expected visible brightness value when displaying the first gray level under the first display brightness value can be taken as the third gray level.
[0077] For example, please refer to again Figure 2 Taking the third display brightness value as DVB300 as an example, when the first display brightness value is DBV500 and the first gray level value is 32, the expected visible brightness value is 5.199. According to the result recorded in step S301, when the third display brightness value is DVB300, the expected visible brightness value (i.e., 5.096) is closest to 5.199 when the gray level is 40. Therefore, when the third display brightness value is DVB300, the gray level is 40, which is the third gray level.
[0078] Step S303: The expected compensation brightness value that needs to be compensated when displaying the first grayscale under the first display brightness value is taken as the expected compensation brightness value that needs to be compensated when displaying the third grayscale under the third display brightness value.
[0079] Specifically, within the same display panel, if the desired visible brightness value is approximately the same under different display brightness values and grayscale levels, then the corresponding desired compensation brightness value should also be the same. Therefore, in step S303, the desired compensation brightness value that needs to be compensated when displaying the first grayscale under the first display brightness value is used as the desired compensation brightness value that needs to be compensated when displaying the third grayscale under the third display brightness value.
[0080] For example, if the expected visible brightness value of grayscale 32 in DBV500 is approximately the same as the expected visible brightness value of grayscale 40 in DBV300, then the expected compensation brightness value of grayscale 32 in DBV500 can be used as the expected compensation grayscale value of grayscale 40 in DBV300, and this correspondence can be established immediately. Figure 2 Zhongru Figure 2 The dashed arrow marked with 1 is shown.
[0081] Further, please refer to Figure 5 In one possible implementation, after step S303, the following sub-steps may also be included.
[0082] Step S401: Calculate a second ratio between the first display brightness value and the third display brightness value.
[0083] Step S402: Based on the second ratio and the expected compensation brightness value that needs to be compensated when displaying the third grayscale under the third display brightness value, determine the expected compensation brightness value that needs to be compensated when displaying the third grayscale under the first display brightness value.
[0084] Specifically, similar to steps S201 and S202, in steps S401 and S402, the expected compensation brightness value to be compensated when displaying the third grayscale under the first display brightness value can be determined based on the second ratio of the first display brightness value to the third display brightness value and the expected compensation brightness value to be compensated when displaying the third grayscale under the third display brightness value.
[0085] For example, if the desired compensation brightness value is 1.538 when grayscale 40 is determined in step S301 and step S303, then the desired compensation brightness value at grayscale 40 in DBV300 is 1.538*(500 / 300)≈2.563, and this correspondence is recorded. Figure 2 The arrow in the middle represents 3.
[0086] It should be noted that in the above steps, the second display brightness value and the third display brightness value can be the same or different. The second display brightness value and the third display brightness value can also include multiple display brightness values. For example, if the first display brightness is set to DVB500, the expected compensation brightness values corresponding to each grayscale under multiple other display brightness levels such as DVB300 and DVB800 can be calculated according to the above steps.
[0087] Furthermore, in one possible implementation, after calculating the expected compensation brightness value corresponding to some gray levels under some display brightness values, the display brightness and gray level with the calculated expected compensation brightness value can be used as the first display brightness value and the first gray level in step S110. Then, step S120 is executed to obtain the expected compensation brightness value corresponding to other gray levels under other display brightness values. This process will not be described in detail in this embodiment.
[0088] Furthermore, in one possible implementation, after calculating the expected compensation brightness value corresponding to some gray levels under some display brightness values, interpolation processing can be performed based on the expected compensation brightness value that needs to be compensated when displaying the first gray level under the first display brightness value, the expected compensation brightness value that needs to be compensated when displaying the first gray level under the second display brightness value, the expected compensation brightness value that needs to be compensated when displaying the third gray level under the third display brightness value, and / or the expected compensation brightness value that needs to be compensated when displaying the third gray level under the first display brightness value, to obtain the expected compensation brightness value that the display panel needs to compensate when displaying each gray level under each display brightness value.
[0089] For example, please refer to again Figure 2After calculating the expected compensation brightness value for DBV300 grayscale 32 and the corresponding expected compensation brightness value for DBV300 grayscale 40, interpolation can be performed between these two values based on the gamma curve relationship to obtain the expected compensation brightness values for grayscales 33 to 39 under DVB300. Similar actions can be performed for other brightness values, which will not be elaborated upon in this embodiment.
[0090] Based on the above steps, in the solution provided in this embodiment, the expected compensation brightness value corresponding to each gray level under each display brightness value can be calculated based on only a measured expected compensation brightness value that needs to be compensated when displaying the first gray level under the first display brightness value. This can effectively improve the efficiency of obtaining the expected compensation brightness value and reduce the compensation test time.
[0091] Step S130: Test and obtain the maximum compensation value that would cause overcompensation when the display panel displays each gray level at each display brightness value.
[0092] Step S140: Based on the expected compensation brightness value and the maximum compensation value of each grayscale level under each display brightness value, determine the corresponding actual compensation brightness value.
[0093] In one possible implementation, in step S140, for each grayscale under each display brightness value, if the expected compensation brightness value corresponding to the grayscale is greater than the maximum compensation value corresponding to the grayscale, then the maximum compensation value corresponding to the grayscale is used as the actual compensation brightness value; if the expected compensation brightness value corresponding to the grayscale is not greater than the maximum compensation value corresponding to the grayscale, then the expected compensation brightness value corresponding to the grayscale is used as the actual compensation brightness value.
[0094] Furthermore, in one possible implementation, after step S140, the method may further include the following steps.
[0095] Step S601: Obtain the maximum compensation value corresponding to the fifth grayscale under the fourth display brightness value;
[0096] Step S602: Calculate the desired visible brightness value when displaying the fifth grayscale under the fourth display brightness value according to the preset gamma parameters, and use it as the target visible brightness value.
[0097] Step S603: Obtain the sixth gray level required to achieve the target visible brightness value under the fifth display brightness value under the preset gamma parameter conditions;
[0098] Step S604: The maximum compensation value when displaying the fifth grayscale under the fourth display brightness value is taken as the maximum compensation value when displaying the sixth grayscale under the fifth display brightness value.
[0099] For example, if the fifth gray level is displayed as DBV300 gray level 40 under the fourth display brightness value, since the expected visible brightness value of DBV300 gray level 40 is approximately the same as the expected visible brightness value of DBV500 gray level 32, then the sixth gray level can be DBV500 gray level 32 under the fifth display brightness value.
[0100] Assuming that the maximum compensation value of grayscale 40 under DBV300 indicates that 20 grayscale levels need to be compensated, then the maximum compensation value of grayscale 40 under DBV300 can be used as the maximum compensation value of grayscale 32 under DBV500. That is, the maximum compensation value of grayscale 32 under DBV500 also indicates that 20 grayscale levels need to be compensated.
[0101] In one possible implementation, please refer to Figure 6 The following steps may be included after step S140.
[0102] Step S501: For each grayscale value displayed at each display brightness value, determine the grayscale compensation intensity value of each display screen based on the expected compensation brightness value of each grayscale value displayed by each display screen on the same display panel at each display brightness value.
[0103] Step S502: Determine the grayscale compensation adjustment value corresponding to each of the display panels based on the grayscale compensation intensity and the actual compensation brightness value.
[0104] Step S503: Perform grayscale compensation on the display panel according to the grayscale compensation intensity value and the grayscale compensation adjustment value.
[0105] Specifically, for the grayscale compensation operation, the first register D, the second register FA, the third register FB, and the fourth register FC can be set in the display panel.
[0106] In step S501, based on the expected compensation brightness values of each grayscale displayed on each display screen on the same large display panel at each display brightness value, the grayscale compensation intensity value of each grayscale displayed on each display screen at each display brightness value can be determined and recorded in the first register D. Simultaneously, the maximum compensation value for each grayscale displayed at each display brightness value can also be determined and recorded in the second register FA.
[0107] In step S503, based on the compensation using the grayscale compensation intensity value, it can be first determined whether the desired compensation brightness value exceeds the maximum compensation value. If it exceeds, then based on the maximum compensation value, fine-tuning is performed by setting the corresponding grayscale compensation adjustment value according to the individual differences of each display panel. If it does not exceed, then based on the desired compensation brightness value, fine-tuning is performed by setting the corresponding grayscale compensation adjustment value according to the individual differences of each display panel.
[0108] For example, two compensation adjustment parameters are recorded in the second register FB and the third register FC respectively, and the value in the second register FB multiplied by the value in the third register FB is used as the grayscale compensation adjustment value. That is, for each display panel, the final grayscale compensation value = D*Gain - FB*FC, where Gain is the compensation intensity coefficient.
[0109] Based on the above design, in the solution provided in this embodiment, the expected compensation brightness value that needs to be compensated when displaying the first gray level under the first display brightness value can be calculated to obtain the expected compensation brightness value that needs to be compensated for each gray level. Combined with the maximum compensation value that would cause overcompensation when displaying each gray level under each display brightness value obtained by testing, the optimal compensation brightness value that can be compensated without overcompensation can be quickly determined.
[0110] This embodiment also provides an electronic device that can perform... Figure 1 The method shown can also be used to write the final compensated grayscale value to the display panel.
[0111] Please refer to Figure 7 The electronic device 100 includes a grayscale compensation processing device 110, a machine-readable storage medium 120, and a processor 130.
[0112] The machine-readable storage medium 120 and the processor 130 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The display grayscale compensation processing device 110 includes at least one software function module that can be stored in the machine-readable storage medium 120 in the form of software or firmware or embedded in the operating system (OS) of the electronic device 100. The processor 130 is used to execute the executable modules stored in the machine-readable storage medium 120, such as the software function modules and computer programs included in the display grayscale compensation processing device 110.
[0113] The machine-readable storage medium 120 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc. The machine-readable storage medium 120 is used to store programs, and the processor 130 executes these programs / can execute the display grayscale compensation processing method provided in this embodiment after receiving an execution instruction.
[0114] The processor 130 may be an integrated circuit chip with signal processing capabilities. The aforementioned processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor.
[0115] Please refer to Figure 8 This embodiment also provides a grayscale compensation processing device 110, which includes at least one functional module that can be stored in machine-readable storage medium 120 in software form. Functionally, the grayscale compensation processing device 110 may include…
[0116] The system comprises a first data acquisition module 111, a compensation grayscale calculation module 1112, a second data acquisition module 113, and a compensation grayscale confirmation module 1114.
[0117] The first data acquisition module 111 is used to acquire the expected compensation brightness value that needs to be compensated when the display panel displays the first grayscale at the first display brightness value;
[0118] In this embodiment, the first data acquisition module 111 can be used to perform... Figure 1 For a detailed description of the first data acquisition module 111, see the description of step S110 shown.
[0119] The grayscale compensation calculation module 1112 is used to calculate the expected compensation brightness value that the display panel needs to compensate when displaying each grayscale under the first display brightness value and other second display brightness values other than the first display brightness value, based on the expected compensation brightness value that needs to be compensated when displaying the first grayscale under the first display brightness value.
[0120] In this embodiment, the compensation grayscale calculation module 1112 can be used to perform... Figure 1 For a detailed description of the compensation grayscale calculation module 1112 shown in step S120, please refer to the description of step S120.
[0121] The second data acquisition module 113 is used to test and acquire the maximum compensation value that would cause overcompensation when the display panel displays various gray levels at various display brightness values.
[0122] In this embodiment, the second data acquisition module 113 can be used to perform... Figure 1 For a detailed description of step S130 shown, please refer to the description of step S130.
[0123] The grayscale compensation confirmation module 1114 is used to determine the corresponding actual compensation brightness value based on the expected compensation brightness value and the maximum compensation value of each grayscale level displayed under each display brightness value.
[0124] In this embodiment, the compensation grayscale confirmation module can be used to perform... Figure 1 For a detailed description of the compensation grayscale confirmation module shown in step S140, please refer to the description of step S140.
[0125] In summary, the grayscale compensation processing method, apparatus, and machine-readable storage medium provided in this application can calculate the expected compensation brightness value for each grayscale level based on the expected compensation brightness value required when displaying the first grayscale level under the first display brightness value. Combined with the maximum compensation value that would lead to overcompensation when displaying each grayscale level under each display brightness value obtained by testing, the optimal compensation brightness value that can be used for compensation without overcompensation can be quickly determined.
[0126] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0127] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.
Claims
1. A method for grayscale compensation processing, characterized in that, The method includes: Obtain the expected compensation brightness value that needs to be compensated when the display panel displays the first grayscale at the first display brightness value; Based on the expected compensation brightness value that needs to be compensated when displaying the first grayscale at the first display brightness value, calculate the expected compensation brightness value that the display panel needs to compensate when displaying each grayscale at the first display brightness value and other second display brightness values other than the first display brightness value. The test obtained the maximum compensation value that would cause overcompensation when the display panel displays various gray levels at various display brightness values. Based on the expected compensation brightness value and the maximum compensation value for each grayscale level under each display brightness value, the corresponding actual compensation brightness value is determined; The step of calculating the expected compensation brightness value required for the display panel to display each grayscale at the first display brightness value and other second display brightness values besides the first display brightness value, based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, includes: Calculate the first ratio of the second display brightness value to the first display brightness value; Based on the first ratio and the expected compensation brightness value required when displaying the first grayscale at the first display brightness value, the expected compensation brightness value required when displaying the first grayscale at the second display brightness value is determined.
2. The method according to claim 1, characterized in that, The step of calculating the expected compensation brightness value required for the display panel to display each grayscale at the first display brightness value and other second display brightness values besides the first display brightness value, based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, includes: Based on the preset gamma parameters, the expected visible brightness value when displaying the first grayscale at the first display brightness value is calculated as the target visible brightness value. Under the preset gamma parameter conditions, obtain the third gray level required to achieve the target visible brightness value at the third display brightness value; The expected compensation brightness value that needs to be compensated when displaying the first grayscale under the first display brightness value is taken as the expected compensation brightness value that needs to be compensated when displaying the third grayscale under the third display brightness value.
3. The method according to claim 2, characterized in that, The step of calculating the expected compensation brightness value required for the display panel to display each grayscale at the first display brightness value and other second display brightness values besides the first display brightness value, based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, further includes: Calculate a second ratio between the first display brightness value and the third display brightness value; Based on the second ratio and the expected compensation brightness value required when displaying the third grayscale at the third display brightness value, the expected compensation brightness value required when displaying the third grayscale at the first display brightness value is determined.
4. The method according to any one of claim 2 or 3, characterized in that, The step of calculating the expected compensation brightness value required for the display panel to display each grayscale at the first display brightness value and other second display brightness values besides the first display brightness value, based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, further includes: Interpolation is performed based on the expected compensation brightness value required to display the first grayscale at the first display brightness value, the expected compensation brightness value required to display the first grayscale at the second display brightness value, the expected compensation brightness value required to display the third grayscale at the third display brightness value, and / or the expected compensation brightness value required to display the third grayscale at the first display brightness value, to obtain the expected compensation brightness value required for the display panel to display each grayscale at each display brightness value.
5. The method according to claim 1, characterized in that, The step of obtaining the expected compensation brightness value that needs to be compensated when the display panel displays the first grayscale at the first display brightness value includes: Based on the preset gamma parameters, the expected visible brightness value when displaying the first grayscale at the first display brightness value is calculated as the target visible brightness value. The desired compensation brightness value is obtained through testing to achieve the desired visible brightness value when the display panel needs to display the first grayscale at the first display brightness value.
6. The method according to claim 1, characterized in that, The step of determining the corresponding actual compensation brightness value based on the expected compensation brightness value and the maximum compensation value for each grayscale level under each display brightness value includes: For each grayscale under each display brightness value, if the expected compensation brightness value corresponding to the grayscale is greater than the maximum compensation value corresponding to the grayscale, then the maximum compensation value corresponding to the grayscale is used as the actual compensation brightness value; if the expected compensation brightness value corresponding to the grayscale is not greater than the maximum compensation value corresponding to the grayscale, then the expected compensation brightness value corresponding to the grayscale is used as the actual compensation brightness value.
7. The method according to claim 1, characterized in that, The method further includes the following steps: First, determining the corresponding actual compensation brightness value based on the expected compensation brightness value and the maximum compensation value for each grayscale level displayed at each display brightness value. For each grayscale level displayed under each display brightness value, the grayscale compensation intensity value of each display screen is determined based on the expected compensation brightness value of each grayscale level displayed under each display brightness value on the same display screen panel. The grayscale compensation adjustment value for each display panel is determined based on the grayscale compensation intensity and the actual compensation brightness value. Gray-scale compensation is performed on the display panel based on the gray-scale compensation intensity value and the gray-scale compensation adjustment value.
8. The method according to claim 1, characterized in that, After the step of obtaining the maximum compensation value that would cause overcompensation when the display panel displays various gray levels at various display brightness values, the method further includes: Obtain the maximum compensation value corresponding to the fifth grayscale level displayed under the fourth display brightness value; Based on the preset gamma parameters, the expected visible brightness value when displaying the fifth grayscale at the fourth display brightness value is calculated as the target visible brightness value. Under the preset gamma parameter conditions, obtain the sixth gray level required to achieve the target visible brightness value at the fifth display brightness value; The maximum compensation value when displaying the fifth grayscale at the fourth display brightness value is taken as the maximum compensation value when displaying the sixth grayscale at the fifth display brightness value.
9. A grayscale compensation processing device for display, characterized in that, The device includes: The first data acquisition module acquires the expected compensation brightness value that needs to be compensated when the display panel displays the first grayscale at the first display brightness value; The grayscale compensation calculation module calculates the expected compensation brightness value that the display panel needs to compensate for when displaying each grayscale under the first display brightness value and other second display brightness values other than the first display brightness value, based on the expected compensation brightness value that needs to be compensated when displaying the first grayscale under the first display brightness value. The second data acquisition module tests and acquires the maximum compensation value that would cause overcompensation when the display panel displays various gray levels at various display brightness values. The grayscale compensation confirmation module determines the corresponding actual compensation brightness value by displaying the expected compensation brightness value and the maximum compensation value for each grayscale level under each display brightness value. The grayscale compensation calculation module is specifically used to: calculate a first ratio between the second display brightness value and the first display brightness value; and determine the expected compensation brightness value that needs to be compensated when displaying the first grayscale under the second display brightness value, based on the first ratio and the expected compensation brightness value that needs to be compensated when displaying the first grayscale under the first display brightness value.
10. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores machine-executable instructions that, when executed by one or more processors, implement the method according to any one of claims 1-9.
Citation Information
Patent Citations
Control method and control system for performing data compensation and compression on AMOLED panel
CN113628590A
Compensation method and device of display panel, equipment and storage medium
CN115019716A