Gamma correction method and device for liquid crystal display panel and medium
By setting a custom register value group and brightness standard calculation formula, and using a lookup table to perform linear interpolation calculations, the Gamma correction of the LCD panel is optimized, solving the problem of low efficiency in the existing technology and achieving more efficient and accurate correction. Effect.
Patent Information
- Application Number
- CN202410853951.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-10
AI Technical Summary
The gamma correction process of existing LCD panels is inefficient. As color display requirements increase, more efficient methods are needed to shorten operation time, save costs and improve accuracy.
By setting a custom register value group, measuring brightness, using brightness standard calculation formulas and lookup tables for linear interpolation calculations, optimizing the Gamma register value, and reducing the number of bound grayscales to improve correction efficiency and accuracy.
It achieves Gamma correction time reduction, cost saving and accuracy improvement, simplifies the correction process and improves the Gamma correction effect of the LCD panel.
Smart Images

Figure CN118629362A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of display panels, and in particular relates to a Gamma correction method, device and medium for a liquid crystal display panel. Background Art
[0002] Gamma correction is to edit the Gamma curve of the LCD panel, and the Gamma curve is the relationship curve between the grayscale voltage and the corresponding brightness. Gamma correction is a method of non-linearly editing the brightness of the LCD panel by adjusting the grayscale voltage. The Gamma correction process of the existing LCD panel is generally for 8-bit, 0-255 grayscale correction, that is, the adjustment parameter of the binding point register in the DriveIC driver chip is 8 bits, including 2 8 = 256 register values, each register value corresponds to a grayscale voltage, so adjusting each register value is equivalent to adjusting the corresponding grayscale voltage, and the Gamma curve is adjusted by adjusting the register values corresponding to all grayscales.
[0003] As the color display requirements of LCD panels increase, more accurate Gamma correction is required, so the adjustment parameters of the DriveIC driver chip's binding point register are set to 10 bits (including 2 10 =1024 register values), and even the adjustment parameters of some DriveIC driver chips may be set to more than 10 bits, but this will greatly reduce the efficiency of Gamma correction. This is because the number of register values corresponding to each binding point grayscale increases from 256 to 1024 or even more. If the register value of each binding point grayscale is adjusted and corrected, that is, 1024 register values are set first, and then the brightness of the 1024 register values is measured by a color analyzer to compare with the preset Gamma curve, and then the size of the register value that does not conform to the preset Gamma curve is adjusted, the operation time of Gamma correction will be long and the cost will be high. Therefore, a more efficient Gamma correction method is needed to solve this problem in order to improve the effect and efficiency of Gamma correction. Summary of the invention
[0004] The purpose of the present invention is to provide a gamma correction method, device and medium for a liquid crystal display panel to improve the gamma correction efficiency and accuracy of the liquid crystal display panel, thereby shortening the correction time, saving storage resources and computing resources, and reducing labor costs.
[0005] To achieve the above object, a first aspect of the present invention provides a gamma correction method for a liquid crystal display panel, which comprises the following steps:
[0006] S1. Set a set of custom register value groups including N binding point grayscales, where N is an integer; each binding point grayscale corresponds to a custom register value;
[0007] S2, measuring the brightness of the binding point corresponding to each of the custom register values, and forming a lookup table of custom register values and binding point brightness;
[0008] S3, measuring the actual brightness values of the grayscale of the starting binding point and the grayscale of the ending binding point, obtaining a brightness standard calculation formula with the grayscale of the binding point and the theoretical brightness corresponding to the grayscale of the binding point as variables based on the actual brightness values of the grayscale of the starting binding point and the grayscale of the ending binding point, and calculating the theoretical brightness corresponding to each grayscale of the binding point based on the brightness standard calculation formula;
[0009] S4. According to the theoretical brightness, search in the lookup table for the previous item of binding point brightness and the next item of binding point brightness that have the smallest difference from the theoretical brightness value, and the previous item of custom register value and the next item of custom register value that respectively correspond to the previous item of binding point brightness and the next item of binding point brightness;
[0010] S5. Based on the previous custom register value and the next custom register value, calculate the Gamma register value corresponding to the theoretical brightness according to a linear interpolation formula to complete the correction of the Gamma register value of the binding point grayscale.
[0011] Preferably, the Gamma correction method for the liquid crystal display panel further includes: S6, repeating steps S4-S5, obtaining Gamma register values corresponding to all binding point grayscales, forming a set of corrected Gamma register value groups, and completing the Gamma correction of the liquid crystal display panel.
[0012] Preferably, when the number of grayscales is 256, the value range of N is N≥15.
[0013] Preferably, the grayscale of the starting binding point is located at the 1st grayscale, the 20th grayscale, or between the two grayscales;
[0014] The grayscale of the end binding point is located at the 236th grayscale, the 256th grayscale, or between the two grayscales.
[0015] Preferably, the brightness standard calculation formula is:
[0016]
[0017] Among them, M is the grayscale value corresponding to the grayscale of the i-th binding point, Lv i is the theoretical brightness value of the grayscale of the i-th binding point, Lv Nis the actual brightness value of the grayscale of the end binding point, Lv1 is the actual brightness value of the grayscale of the starting binding point, gamma is the brightness contrast index, i=2, 3...N-1, and B is the number of bytes of the grayscale.
[0018] Preferably, the value range of gamma is 2.0 to 2.4.
[0019] Preferably, the step of setting a custom register value group including N binding point grayscales comprises the following steps:
[0020] S11, determining a register parameter bit, and obtaining a first value and a second value of a custom register value of the register parameter bit;
[0021] S12, dividing the difference between the second value and the first value of the custom register value by N-1 to obtain the grayscale interval d of adjacent binding points;
[0022] S13, set the second value of the custom register value of the register parameter bit to the last custom register value R of the custom register value group N , set the first value to the first custom register value R1 of the custom register value group;
[0023] S14, the first custom register value R1 and the last custom register value R N Custom register value R between i =R1+(i-1)×d; where i=2, 3...N-1, and R i is an integer.
[0024] Preferably, the first value is the minimum value of the custom register value, and the second value is the maximum value of the custom register value. Preferably, the register parameter bit=8 or 10; when the register parameter bit=8, the maximum value of the custom register value is 255, and the minimum value is 0; when the register parameter bit=10, the maximum value of the custom register value is 1023, and the minimum value is 0.
[0025] Preferably, the brightness of the binding point corresponding to the custom register value is measured using a color analyzer.
[0026] Preferably, if the theoretical brightness corresponding to the binding point grayscale calculated in step S3 is equal to the binding point brightness corresponding to the binding point grayscale in the lookup table LUT, the custom register value corresponding to the binding point brightness is used as the Gamma register value after the binding point grayscale is corrected.
[0027] Preferably, the brightness of the binding points in the lookup table is monotonic.
[0028] Preferably, the binding point brightnesses in the lookup table are arranged in a monotonically increasing order according to the corresponding custom register values.
[0029] Preferably, the linear interpolation formula is:
[0030]
[0031] Among them, x0 and y0 are the brightness of the previous binding point and its corresponding register value, x1 and y1 are the brightness of the next binding point and its corresponding register value, x is the theoretical brightness, and y is the Gamma register value.
[0032] A second aspect of the present invention provides a computer device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the above-mentioned gamma correction method for the liquid crystal display panel.
[0033] A third aspect of the present invention provides a computer-readable storage medium, characterized in that at least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to implement the above-mentioned Gamma correction method for the liquid crystal display panel.
[0034] Compared with the prior art, the Gamma correction method, device and medium of a liquid crystal display panel provided by the present invention have at least the following beneficial effects: by reducing the number N of grayscales of binding points, the time of Gamma correction can be shortened; by increasing the number N of grayscales of binding points, the accuracy of Gamma correction can be improved; at the same time, the theoretical brightness corresponding to each grayscale of binding points is calculated by the brightness standard calculation formula, and then the previous binding point brightness and the next binding point brightness with the smallest difference from the theoretical brightness value are searched through the lookup table LUT, and the previous custom register value and the next custom register value corresponding to the position are calculated, and the corrected Gamma register value is calculated based on the linear interpolation formula according to the previous custom register value and the next custom register value, so as to complete the correction of the Gamma register value. The Gamma correction method provided by the present invention is simple, greatly shortens the correction time, and improves the correction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of a Gamma curve of an exemplary embodiment of the present invention;
[0036] Figure 2 A schematic flow chart of a gamma correction method for a liquid crystal display panel according to an exemplary embodiment of the present invention;
[0037] Figure 3 A schematic diagram of a lookup table LUT of a custom register value and a binding point brightness according to an exemplary embodiment of the present invention;
[0038] Figure 4 A structural block diagram of a computer device provided for an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0039] The following will be combined with the attached embodiment of the present invention Figure 1 ~Attached Figure 4 , the technical solutions, structural features, objectives achieved and effects in the embodiments of the present invention are described in detail.
[0040] It should be noted that the drawings are in a very simplified form and use non-precise proportions. They are only used to conveniently and clearly assist in explaining the embodiments of the present invention, and are not used to limit the conditions for the implementation of the present invention. Therefore, they have no substantive technical significance. Any structural modification, change in proportional relationship or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical content disclosed by the present invention.
[0041] It should be noted that, in the present invention, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or equipment including a series of elements includes not only the elements explicitly listed, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment.
[0042] Please refer to Figure 1 , Figure 1The schematic diagram of the Gamma curve of the embodiment of the present invention, the horizontal axis of the Gamma curve schematic diagram is grayscale, exemplary, the grayscale range is 0 grayscale ~ 255 grayscale, but the specific embodiment of the grayscale range is not limited to this; the vertical axis of the Gamma curve schematic diagram is the brightness corresponding to each grayscale (hereinafter referred to as grayscale brightness), and the Gamma curve is adjusted by adjusting each grayscale brightness to the ideal brightness. Further, the adjustment of each grayscale brightness to the ideal brightness is achieved by adjusting the grayscale voltage. In this embodiment, the mapping value of the grayscale voltage corresponding to each grayscale brightness is written into the register to achieve the adjustment of each grayscale brightness. That is, each register value in the register corresponds to a grayscale voltage, and adjusting each of the register values is equivalent to adjusting each grayscale voltage and its corresponding grayscale brightness, thereby achieving the correction of Gamma. However, since the adjustment parameters in the register are, for example, 8 bits or more than 10 bits, that is, the register values are at least 256 or 1024, if the above register values are measured and corrected one by one, the operation time of Gamma correction will be long and the cost will be high.
[0043] In view of the above defects, an embodiment of the present invention provides a Gamma correction method for a liquid crystal display panel, which improves the correction efficiency while ensuring the correction accuracy; Figure 2 As shown, the Gamma correction method includes the following steps:
[0044] S1. Set a set of custom register value groups including N binding point grayscales, where N is an integer; each binding point grayscale corresponds to a custom register value; illustratively, the grayscale range is 0 to 255 (256 grayscales), and the value range of N is preferably N ≥ 15, such as 15, 30, 45, 60, etc., to ensure the calibration accuracy. Specifically, if the number of binding point grayscales is less than 15, the difference between the custom register values corresponding to the two adjacent grayscale binding points will be large, affecting the adjustment accuracy. When the number of binding point grayscales N is larger, the reference sample volume is larger, and the adjustment accuracy is higher. The N value can be adjusted according to customer needs to achieve customized functions. Preferably, the starting binding point grayscale is located at the 1st grayscale (i.e., 0th grayscale), and is not limited to 0th grayscale, such as the 20th grayscale, or a grayscale between the 1st grayscale and the 20th grayscale; the ending binding point grayscale is located at the 256th grayscale, and is not limited to this, and can also be located at the 236th grayscale, or a grayscale between the 236th grayscale and the 256th grayscale.
[0045] Further, the step S1 of setting a custom register value group including N binding point grayscales includes the following steps:
[0046] S11, determine the register parameter bit, and obtain the first value and the second value of the custom register value of the register parameter bit. Preferably, the first value may be its minimum value, and the second value may be its maximum value;
[0047] S12, dividing the difference between the second value and the first value of the custom register value by N-1 to obtain the grayscale interval d of adjacent binding points;
[0048] S13, set the first value to the first custom register value R1 of the custom register value group, and set the second value to the last custom register value R N ;
[0049] S14, the first custom register value R1 and the last custom register value R N Custom register value R between i =R1+(i-1)×d; where i=2, 3...N-1, and R i is an integer.
[0050] Among them, the register parameter bit=8 or 10; when the register parameter bit=8, the maximum value of the custom register value is 255 and the minimum value is 0; when the register parameter bit=10, the maximum value of the custom register value is 1023 and the minimum value is 0.
[0051] Specifically, in this embodiment, taking register parameter bit=10 as an example, Figure 3 As shown, the maximum value of the custom register value in step S11 is 1023, and the minimum value is 0; at the same time, the number of grayscales of the binding points N in this embodiment is preferably set to 30, so that the number of grayscales of the binding points is equal to the output number of the conventional register. Therefore, in this embodiment, the adjacent binding point grayscale interval d obtained by step S12 is d = (1023-0) / (30-1) ≈ 35.3; if the custom register value 20 is taken as the first item and the maximum value 1023 is taken as the last item, then d = (1023-20) / (30-1) ≈ 34.6, and so on, which will not be repeated in detail.
[0052] Further, by rounding or rounding, the first custom register value R1=35 and the last custom register value R2=35 of the custom register value group in step S13 are obtained. 30 =1023; the first custom register value R1 and the last custom register value R1 can be obtained by calculating the formula in step S14. N Custom register values between R2=35、R3=70、R4=105·…………·R 29 =1015. Therefore, if Figure 3As shown, this embodiment sets a set of custom register value groups including 30 binding point grayscales = {0, 35, 70·…………·980, 1015, 1023}.
[0053] S2, measure the brightness of the binding point corresponding to each of the custom register values, and form a lookup table LUT of the custom register values and the brightness of the binding point; wherein the brightness of the binding point corresponding to each of the custom register values is measured using a color analyzer. Specifically, in this embodiment, each custom register value in the set of custom register values including 30 binding point grayscales is measured using a color analyzer to obtain the corresponding binding point brightness, and then form a lookup table LUT such as Figure 3 The register values shown are compared to the lookup table LUT of the tie point brightness.
[0054] Among them, Figure 3 As shown, the brightness of the binding points in the lookup table LUT is monotonic, which can speed up the search process and simplify range queries. For example, in the monotonically increasing lookup table LUT, finding the insertion position of a value can determine all elements in the range of the value. Furthermore, since the brightness of the binding points increases with the increase of the custom register value, the brightness of the binding points in the lookup table LUT is arranged in the monotonically increasing order of the corresponding custom register values, so that the brightness of the binding points within the range of the theoretical brightness can be quickly found.
[0055] S3. Measure the actual brightness values of the starting binding point grayscale and the ending binding point grayscale, and based on the actual brightness values of the starting binding point grayscale and the ending binding point grayscale, obtain a brightness standard calculation formula with the binding point grayscale and the theoretical brightness corresponding to the binding point grayscale as variables, and calculate the theoretical brightness corresponding to each binding point grayscale based on the brightness standard calculation formula.
[0056] The brightness standard calculation formula in step S3 is:
[0057]
[0058] In the above formula, M is the grayscale value corresponding to the grayscale of the i-th binding point, Lv i is the theoretical brightness value of the grayscale of the i-th binding point, Lv N is the actual brightness value of the grayscale at the end binding point, Lv1 is the actual brightness value of the grayscale at the starting binding point, gamma is the brightness contrast index, i=2, 3...N-1, and B is the number of byte bits of the grayscale. Among them, the value range of gamma is 2.0~2.4, and the gamma value can be set according to customer needs. Preferably, gamma=2.2 can ensure that the output brightness of the LCD panel matches the perception of the human eye, making the image look more natural and real.
[0059] Specifically, in this embodiment, Figure 1 and Figure 3 As shown, gamma = 2.2, the brightness of the starting binding point grayscale (taking grayscale 0 as an example) corresponding to Lv1 is 0.14 nit, and the Lv 30 The brightness of the corresponding end binding point grayscale (taking grayscale 255 as an example) is 241.57 nit. The grayscale values corresponding to the 28 binding point grayscales other than grayscale 0 and grayscale 255 are shown in Table 1 (this table is only an example and is not limited to this):
[0060] i 2 3 4 5 6 7 8 9 10 11 12 13 14 15 M 1 3 5 7 9 11 13 15 23 31 47 63 95 127 i 16 17 18 19 20 21 22 23 24 25 26 27 28 29 M 128 160 192 208 224 232 240 242 244 246 248 250 252 254
[0061] Table 1
[0062] The theoretical brightness corresponding to each grayscale value can be obtained by substituting the grayscale value corresponding to the binding point grayscale in Table 1 into the brightness standard calculation formula.
[0063] Furthermore, if the theoretical brightness corresponding to the grayscale of the binding point calculated in step S3 is equal to the brightness of the binding point corresponding to the grayscale of the binding point in the lookup table LUT, it means that the grayscale voltage corresponding to the custom register value is the ideal grayscale voltage and no correction is required, so the custom register value corresponding to the brightness of the binding point is used as the Gamma register value after the grayscale correction of the binding point. On the contrary, if the theoretical brightness corresponding to the grayscale of the binding point calculated in step S3 is not equal to the brightness of the binding point corresponding to the grayscale of the binding point in the lookup table LUT, it means that there is a difference between the grayscale voltage corresponding to the custom register value and the ideal grayscale voltage, and then execute steps S4 to S5.
[0064] S4, according to a theoretical brightness in step S3, searching in the lookup table LUT for the previous binding point brightness and the next binding point brightness that have the smallest difference from the theoretical brightness value, and the previous custom register value and the next custom register value corresponding to the previous binding point brightness and the next binding point brightness respectively;
[0065] S5. Based on the previous custom register value and the next custom register value, the Gamma register value corresponding to the theoretical brightness is calculated according to a linear interpolation formula to complete the correction of the Gamma register value of the binding point grayscale.
[0066] Wherein, the linear interpolation formula is:
[0067]
[0068] Among them, x0 and y0 are the brightness of the previous binding point and its corresponding register value, x1 and y1 are the brightness of the next binding point and its corresponding register value, x is the theoretical brightness, and y is the Gamma register value.
[0069] Specifically, taking the grayscale value M=192 corresponding to the grayscale of the 18th binding point as an example, the theoretical brightness corresponding to the grayscale of 192 is obtained by the brightness calculation formula in step S3 as Lv 18 = x = 129.45995 nit. Step S4 is performed to find the value corresponding to the theoretical brightness value Lv in the lookup table LUT. 14 The previous binding point brightness (x0=86.90677nit) and the next binding point brightness (x1=129.88002nit) with the smallest value difference, as well as the previous custom register value (y0=595) and the next custom register value (y1=630) corresponding to the position. Substitute (x0, y0), (x1, y1) and the theoretical brightness x found by the lookup table LUT into the linear interpolation formula to calculate the Gamma register value y≈629.658, and round it off to get the corrected Gamma register value 630, which completes the correction of the Gamma register value of the grayscale of the binding point.
[0070] Further, the correction method further includes S6, repeating steps S4-S5, obtaining the Gamma register values corresponding to all the grayscales of the binding points, forming a group of corrected Gamma register value groups, and completing the Gamma correction of the liquid crystal display panel. Specifically, in this embodiment, steps S4-S5 are repeated to calculate the Gamma register values corresponding to all the grayscales in Table 1 to form a group of corrected Gamma register value groups, and at the same time, the group of Gamma register value groups is checked before output to see whether it is monotonic with the grayscale to complete Figure 1 Correction of the Gamma curve in .
[0071] The Gamma correction method for the liquid crystal panel provided in this embodiment can shorten the Gamma correction time by reducing the number N of grayscales of the binding points; can improve the accuracy of the Gamma correction by increasing the number N of grayscales of the binding points; at the same time, the theoretical brightness corresponding to each grayscale of the binding points is calculated by the brightness standard calculation formula, and then the previous binding point brightness and the next binding point brightness with the smallest difference from the theoretical brightness value are searched through the lookup table LUT, and the previous custom register value and the next custom register value corresponding to the position are calculated based on the linear interpolation formula to complete the correction of the Gamma register value. The Gamma correction method provided in this embodiment is simple, greatly shortens the correction time, and improves the correction efficiency.
[0072] The embodiment of the present invention further provides a computer device 100, such as Figure 4As shown, the computer device 100 is connected to the register 200, and the computer device 100 includes a processor 101 and a memory 102, and the memory 102 stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor 101 to implement the gamma correction method of the liquid crystal display panel in the above embodiment.
[0073] Among them, the memory 102 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 102 can be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the memory 102 can also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 102 can also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory 102 is generally used to store an operating system and various application software installed on the computer device, such as a program code of a Gamma correction method for a liquid crystal panel, etc. In addition, the memory 102 can also be used to temporarily store various types of data that have been output or will be output, such as corrected register values, and then write a group of corrected Gamma register values into the register 200 through a computer device to complete the Gamma correction of the LCD panel.
[0074] The processor 101 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 101 is generally used to control the overall operation of a computer device. In this embodiment, the processor 101 is used to run the program code stored in the memory 102 or process data, such as running a program code of a gamma correction method for a liquid crystal panel.
[0075] According to an embodiment of the present invention, a computer-readable storage medium is further provided, characterized in that at least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to implement the above-mentioned Gamma correction method for the liquid crystal display panel.
[0076] Optionally, the computer readable storage medium may include: a read only memory (ROM), a random access memory (RAM), a solid state drive (SSD), or an optical disk, etc. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM).
[0077] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.
Claims
1. A gamma correction method for a liquid crystal display panel, characterized in that: The steps include: S1. Set a set of custom register value groups including N binding point grayscales, where N is an integer; each binding point grayscale corresponds to a custom register value; S2, measuring the brightness of the binding point corresponding to each of the custom register values, and forming a lookup table of custom register values and binding point brightness; S3, measuring the actual brightness values of the starting binding point grayscale and the ending binding point grayscale, obtaining a brightness standard calculation formula with the binding point grayscale and the theoretical brightness corresponding to the binding point grayscale as variables based on the actual brightness values of the starting binding point grayscale and the ending binding point grayscale, and calculating the theoretical brightness corresponding to each binding point grayscale based on the brightness standard calculation formula; S4. According to the theoretical brightness, search in the lookup table for the previous item of binding point brightness and the next item of binding point brightness that have the smallest difference from the theoretical brightness value, and the previous item of custom register value and the next item of custom register value that respectively correspond to the previous item of binding point brightness and the next item of binding point brightness; S5. Based on the previous custom register value and the next custom register value, calculate the Gamma register value corresponding to the theoretical brightness according to a linear interpolation formula to complete the correction of the Gamma register value of the binding point grayscale.
2. The gamma correction method according to claim 1, wherein: Also includes: S6. Repeat steps S4-S5 to obtain the Gamma register values corresponding to the grayscales of all binding points, form a set of corrected Gamma register value groups, and complete the Gamma correction of the liquid crystal display panel.
3. The gamma correction method according to claim 1, wherein: When the number of grayscales is 256, the value range of N is N≥15.
4. The gamma correction method according to claim 3, characterized in that: The starting binding point grayscale is located at the 1st grayscale, the 20th grayscale, or between the two grayscales; the ending binding point grayscale is located at the 236th grayscale, the 256th grayscale, or between the two grayscales.
5. The gamma correction method according to claim 1, wherein: The brightness standard calculation formula is: Among them, M is the grayscale value corresponding to the grayscale of the i-th binding point, Lv i is the theoretical brightness value of the grayscale of the i-th binding point, Lv N is the actual brightness value of the grayscale of the end binding point, Lv1 is the actual brightness value of the grayscale of the starting binding point, gamma is the brightness contrast index, i=2, 3...N-1, and B is the number of bytes of the grayscale.
6. The gamma correction method according to claim 5, characterized in that: The value range of gamma is 2.0 to 2.
4.
7. The gamma correction method according to claim 1, wherein: The step of setting a custom register value group including N binding point grayscales comprises the following steps: S11, determining a register parameter bit, and obtaining a first value and a second value of a custom register value of the register parameter bit; S12, dividing the difference between the second value and the first value of the custom register value by N-1 to obtain the grayscale interval d of adjacent binding points; S13, set the second value of the custom register value of the register parameter bit to the last custom register value R of the custom register value group N , set the first value to the first custom register value R1 of the custom register value group; S14, the first custom register value R1 and the last custom register value R N Custom register value R between i =R1+(i-1)×d; where i=2, 3...N-1, and R i is an integer.
8. The gamma correction method according to claim 7, wherein: The first value is the minimum value of the custom register value, and the second value is the maximum value of the custom register value.
9. The gamma correction method according to claim 1, wherein: The brightness of the binding point corresponding to the custom register value is measured using a color analyzer.
10. The gamma correction method according to claim 1, wherein: If the theoretical brightness corresponding to the binding point grayscale calculated in step S3 is equal to the binding point brightness corresponding to the binding point grayscale in the lookup table, the custom register value corresponding to the binding point brightness is used as the Gamma register value after the binding point grayscale is corrected.
11. The gamma correction method according to claim 1, wherein: The brightness of the binding points in the lookup table is monotonic.
12. The gamma correction method according to claim 11, wherein: The binding point brightness in the lookup table is arranged in a monotonically increasing order according to the corresponding custom register value.
13. The gamma correction method according to claim 1, wherein: The linear interpolation formula is: Among them, x0 and y0 are the brightness of the previous binding point and its corresponding register value, x1 and y1 are the brightness of the next binding point and its corresponding register value, x is the theoretical brightness, and y is the Gamma register value.
14. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the gamma correction method for the liquid crystal display panel as described in any one of claims 1 to 13.
15. A computer-readable storage medium, characterized in that: At least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by the processor to implement the gamma correction method for a liquid crystal display panel as described in any one of claims 1 to 13.
Citation Information
Patent Citations
Method for generating LCD device gamma correction table
CN101231830A
OLED module Gamma adjustment and calibration method based on linear interpolation calculation
CN106384573A
Customized Gamma correction method for silicon-based OLED micro display screen
CN114170960A
Brightness correction method and device of display panel, equipment and storage medium
CN115775533A
Debugging-interpolation coupling gamma correction method and system for display panel
CN117711314A
