A display compensation method
By obtaining multiple compensation tables and calculating color indicator variables on the display panel, the problem of poor brightness compensation effect in the existing technology is solved, and more ideal brightness uniformity and user experience are achieved.
Patent Information
- Application Number
- CN202311339864.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-16
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-10-16
AI Technical Summary
Existing display panels have flaws in brightness compensation. In particular, due to storage space limitations, they cannot effectively handle grayscale compensation values under different RGB values, resulting in poor compensation algorithm results.
By obtaining a variety of compensation tables under preset grayscale constraints, combining the pixel position and the grayscale value of the target display screen, the color indicator variable and compensation adjustment value are calculated, and the brightness curve function and linear function are used to construct a compensation expression to calculate each The target compensation value of the pixel.
It implements brightness compensation based on a pre-stored compensation table, improves the brightness uniformity and user experience of the display panel, and solves the problem of grayscale compensation under storage space constraints.
Smart Images

Figure CN117577035B
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a display compensation method. Background Art
[0002] Since the manufacturing process of display panels is not yet mature, display panels inevitably have some defects, such as the need to compensate for uneven screen brightness (Mura), the need to compensate for panel voltage drop (IR-dorp), etc. These compensations are mostly pre-stored compensation values of each sub-pixel of the display primary colors R, G, and B at certain grayscale binding points, and the data of each pixel is calculated and corrected in real time based on these compensation values.
[0003] The problem found so far is that for any pixel, the compensation value of the sub-pixel will be affected by the values of other sub-pixels. For example, when the grayscale value of the pixel is (R, G, B) = (0, 255, 0) and (R, G, B) = (255, 255, 255), the compensation value of G is obviously different. However, due to the limitation of storage space, the compensation table cannot list the compensation value of G under different R and B values, which brings problems to the compensation algorithm. Summary of the invention
[0004] In order to alleviate the above problems, the present application provides a display compensation method, including:
[0005] Acquire at least one compensation table of display primary colors according to the pixel position under a preset grayscale constraint, and calculate a color indicator variable according to the grayscale value of the pixel position under the target display screen;
[0006] Under the target display screen, obtaining a compensation value corresponding to the pixel position according to the compensation table, and obtaining a compensation adjustment value corresponding to the pixel position according to the color indication variable;
[0007] A target compensation value of the pixel position is calculated according to the compensation adjustment value and the compensation value.
[0008] Optionally, each compensation table corresponds to a preset grayscale constraint; the process of acquiring at least one compensation table for displaying primary colors according to pixel positions under the preset grayscale constraint includes:
[0009] Under multiple preset grayscale constraints, measuring the brightness of the display primary colors at multiple locations on the display screen within a preset grayscale value interval;
[0010] Under each preset grayscale constraint, the brightness of the plurality of positions is respectively saved to obtain a compensation table of the display primary color under the preset grayscale constraint.
[0011] Optionally, the plurality of preset grayscale constraints include a first grayscale constraint, a second grayscale constraint and a third grayscale constraint;
[0012] The process of obtaining at least one compensation table of display primary colors according to pixel positions under the preset grayscale constraint also includes:
[0013] In the first grayscale constraint, the R grayscale value, the G grayscale value and the B grayscale value are set to be equal, and a first compensation table corresponding to the display primary color is obtained;
[0014] Optionally, the process of acquiring at least one compensation table of display primary colors according to pixel positions under a preset grayscale constraint further includes:
[0015] In the second grayscale constraint, the R grayscale value and the B grayscale value are set to zero, and a second compensation table corresponding to the display primary color is obtained;
[0016] Optionally, the process of acquiring at least one compensation table of display primary colors according to pixel positions under a preset grayscale constraint further includes:
[0017] In the third grayscale constraint, the R grayscale value is set equal to the G grayscale value, the B grayscale value is set to zero, and a third compensation table corresponding to the display primary color is obtained.
[0018] Optionally, the step of acquiring the compensation value corresponding to the pixel position according to the compensation table under the target display screen includes:
[0019] For each display pixel, the grayscale value and pixel position of the pixel in the target display image are obtained, and the compensation table is retrieved to query the brightness curve function of the reference position;
[0020] According to the brightness curve function, a compensation value under the target display image is calculated based on the pixel position.
[0021] Optionally, in the step of calculating the compensation value under the target display image based on the pixel position according to the brightness curve function, the calculation is performed according to the following expression:
[0022]
[0023] Where x is the grayscale value of the original color displayed on the target display screen, k is the pixel position, V k (x) is the compensation value when the input grayscale of the display primary color at position k is x, h k (x) is the brightness curve function, h k The inverse function of .
[0024] Optionally, in the process of obtaining the compensation value corresponding to the pixel position according to the compensation table under the target display screen, the first compensation value is calculated according to the first compensation table, the second compensation value is calculated according to the second compensation table, and the third compensation value is calculated according to the third compensation table.
[0025] Optionally, the step of calculating a color indication variable according to the grayscale value of the pixel position in the target display image includes:
[0026] Assigning a plurality of preset indicators to color indicator variables of different display grayscale data combinations, and solving the constraint coefficient in the chromaticity component calculation formula based on the chromaticity component calculation formula to obtain a color indicator variable expression;
[0027] The color indicator variable is calculated using the grayscale value according to the color indicator variable expression.
[0028] Optionally, before the step of acquiring the compensation adjustment value corresponding to the pixel position according to the color indication variable, the step includes:
[0029] Based on the linear function, a group of equations is constructed according to multiple optimal compensation values under different display grayscale data combinations, and the linear constraint coefficients in the linear function are solved to respectively determine the weight value of each compensation value under the display primary color, thereby constructing a compensation adjustment function expression to calculate the compensation adjustment value using the color indication variable.
[0030] Optionally, the linear function is based on constructing a set of equations according to multiple optimal compensation values under different combinations of display grayscale data, solving the linear constraint coefficients in the linear function to respectively determine the weight value of each compensation value under the display primary color, so as to construct the compensation adjustment function expression, and calculating according to the following expression:
[0031] h(γ)=m*γ+n
[0032]
[0033] in, is the optimal compensation value, h(γ) is a linear function, k is a positive integer, γ is a color indicator variable, m is a first linear coefficient, n is a second linear coefficient, a is a first compensation value calculated according to a first compensation table, h1(γ) is a first weight value of the first compensation value, b is a second compensation value calculated according to a second compensation table, h2(γ) is a second weight value of the second compensation value, c is a third compensation value calculated according to a third compensation table, and h3(γ) is a third weight value of the third compensation value.
[0034] Optionally, the step of constructing a set of equations based on a linear function according to a plurality of optimal compensation values under different combinations of display grayscale data, solving the linear constraint coefficients in the linear function, and respectively determining the weight value of each compensation value under the display primary colors, thereby constructing a compensation adjustment function expression, and the step of using the color indication variable to calculate the compensation adjustment value also complies with the following expression constraint:
[0035] As described above, the display compensation method provided in the present application can calculate the target compensation value of each pixel under different display primary color values based on the pre-stored compensation table, thereby providing an ideal compensation scheme for the brightness compensation of the display panel and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0037] Figure 1 FIG. 4 is a flow chart of a display compensation method according to an embodiment of the present application.
[0038] Figure 2 A schematic diagram of a display screen measurement position according to an embodiment of the present application.
[0039] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0040] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0041] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0042] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] First embodiment
[0044] The present application provides a display compensation method. Figure 1 FIG. 4 is a flow chart of a display compensation method according to an embodiment of the present application.
[0045] like Figure 1 As shown, the display compensation method includes:
[0046] S10: acquiring at least one compensation table for displaying primary colors according to the pixel position under a preset grayscale constraint, and calculating a color indicator variable according to the grayscale value of the pixel position under a target display screen.
[0047] In the field of display technology, various displays that use pixels to form images have become very popular as display devices for information and images. However, generally, a pixel is composed of sub-pixels of three primary colors composed of RGB, and it is a display device that performs color display in this way. Multi-primary color display technology (MPC) is a display that can display a wider range of colors than traditional displays. In the standard three-primary color display technology, the display primary colors generally include display primary color R, display primary color G, and display primary color B. Modern display devices continue to develop towards better clarity, and the number of pixels per row can reach 4000 (4K). The number of pixels per row of new displays has even reached 8000 (8K), and the number of pixels per unit area is also continuously developing towards high definition. On this basis, in addition to the standard three-primary color light mode (red, green, and blue), multi-primary color display technology uses other colors, such as yellow, magenta, and cyan, and can therefore more naturally display colors within the range that the human eye can see.
[0048] If you want to improve the color reproduction effect of the display, you can achieve more natural colors by providing a variety of primary color schemes. In fact, when using binary storage operations, using a certain power of 2 can be more suitable for digital storage and operations. 2 primary colors, 4 primary colors, 8 primary colors, etc. are the numerical values of binary storage operations. 2 primary colors are difficult to achieve color reproduction of 3 primary colors, and 4 primary colors are a good primary color alternative to 3 primary colors. If more primary colors can be provided to restore colors, for example, an 8-primary color scheme, then the color display of the display will be closer to natural colors, and the color chromaticity values of natural colors will be fuller and richer.
[0049] The embodiment of the present application is described by taking the three-primary color display technology as an example, but it is not limited to the three-primary color display technology, and its principle can also be applied to the multi-primary color display technology. For example, taking the display primary color G as an example, the compensation values calculated under several different grayscale constraints are selected to construct a multidimensional compensation table. For example, when a pure W screen is selected, that is, when the grayscale R=G=B is controlled, the compensation value of the display primary color G calculated by experiment is stored in the first compensation table A; when a pure G screen is selected, that is, when the grayscale R=B=0 is controlled, the compensation value of the display primary color G calculated by experiment is stored in the second compensation table B; when a pure RG screen is selected, that is, when the grayscale R=G is controlled and B=0, the compensation value of the display primary color G calculated by experiment is stored in the third compensation table C. In other embodiments, the results under other typical grayscale constraint scenarios can also be selected. For the display primary colors R and B, the steps of displaying the primary color G can be referred to.
[0050] Exemplarily, the compensation table is a multidimensional lookup table. Optionally, for each display primary color, compensation values at different grayscale binding points are stored to form lookup tables of different categories, that is, to form a multidimensional lookup table; so as to facilitate comprehensive calculation of the compensation values obtained from these compensation tables to obtain the final compensation value of the display primary color G.
[0051] Optionally, the color indicator variable γ of any pixel grayscale value (r, g, b) whose input data is a specific grayscale value can be calculated, and the variables describing the color in the conversion formula of the color space can be taken as the main consideration. According to the different pixel grayscale values, the corresponding color indicator variable can be calculated based on the preset color indicator variable expression.
[0052] S20: Under the target display screen, obtaining a compensation value corresponding to the pixel position according to the compensation table, and obtaining a compensation adjustment value corresponding to the pixel position according to the color indication variable.
[0053] Optionally, for any pixel whose input data is a specific grayscale value, by looking up the above multidimensional lookup table, the compensation value of each display primary color corresponding to each lookup table can be calculated. Exemplarily, in the above embodiment, the first compensation value a of the display primary color G is calculated by the first compensation table, the second compensation value b of the display primary color G is calculated by the second compensation table B, and the third compensation value of the display primary color G is calculated by the third compensation table C. For the display primary colors R and B, the steps of display primary color G can be referred to.
[0054] Optionally, based on the linear weight constraint at each pixel position, the color indicator variable can be substituted into a preset compensation adjustment function expression to calculate the corresponding compensation adjustment value. The compensation adjustment function expression can realize the constraint based on a linear function solving the optimal compensation value under different grayscale data combinations.
[0055] S30: Calculating a target compensation value at the pixel position according to the compensation adjustment value and the compensation value.
[0056] Exemplarily, based on the compensation adjustment value at each pixel position as a weight constraint, the compensation adjustment value and the compensation value calculated by table lookup are substituted into a preset target compensation expression, so that the target compensation value of the pixel position can be accurately and conveniently calculated.
[0057] The display compensation method in this embodiment can quickly calculate the compensation value of each pixel under different display primary color values based on a pre-stored compensation table and further through a calculation expression under specific constraints, thereby providing an ideal compensation scheme for the brightness compensation of the display panel and improving the user experience.
[0058] Optionally, each compensation table corresponds to a preset grayscale constraint. The process of acquiring at least one compensation table for displaying primary colors according to pixel positions under the preset grayscale constraint includes:
[0059] Under multiple preset grayscale constraints, measuring the brightness of the display primary colors at multiple locations on the display screen within a preset grayscale value interval;
[0060] Under each preset grayscale constraint, the brightness of the plurality of positions is respectively saved to obtain a compensation table of the display primary color under the preset grayscale constraint.
[0061] Figure 2 A schematic diagram of a display screen measurement position according to an embodiment of the present application.
[0062] Please refer to Figure 2 For example, four positions on the screen are selected, and the brightness of the four positions is measured when the grayscale value of each display primary color ranges from 0 to 255 under the W screen (the grayscale value of each display primary color is R=G=B), and the brightness curve L=h is obtained. k(x), where x represents grayscale, L represents observed brightness, and k represents different positions. The lookup table stores the compensation values at several selected grayscales at these positions.
[0063] Exemplarily, the compensation table is a multi-dimensional lookup table. For example, in the above embodiment, different compensation tables are for the same primary color. For example, in the process of obtaining the compensation value of G=100 corresponding to the display primary color G, a pure G picture can be tested to obtain it, or a pure W picture can be tested to obtain it. In these two pictures, although the input of G is 100, the results obtained are different.
[0064] Optionally, the plurality of preset grayscale constraints include a first grayscale constraint, a second grayscale constraint and a third grayscale constraint.
[0065] Exemplarily, taking the display of the primary color G as an example, compensation values calculated under several different grayscale constraint situations are selected to construct a multi-dimensional compensation table.
[0066] Optionally, the process of acquiring at least one compensation table of display primary colors according to pixel positions under a preset grayscale constraint further includes:
[0067] In the first grayscale constraint, the R grayscale value, the G grayscale value and the B grayscale value are set to be equal, and a first compensation table corresponding to the display primary color is obtained.
[0068] Exemplarily, when a pure W picture is selected, that is, when the grayscale R=G=B is controlled, the compensation value of the display primary color G obtained by experimental calculation is stored in the first compensation table A.
[0069] Optionally, the process of acquiring at least one compensation table of display primary colors according to pixel positions under a preset grayscale constraint further includes:
[0070] In the second grayscale constraint, the R grayscale value and the B grayscale value are set to zero, and a second compensation table corresponding to the display primary color is obtained.
[0071] Exemplarily, when a pure G picture is selected, that is, when the grayscale R=B=0 is controlled, the compensation value of the display primary color G obtained by experimental calculation is stored in the second compensation table B.
[0072] Optionally, the process of acquiring at least one compensation table of display primary colors according to pixel positions under a preset grayscale constraint further includes:
[0073] In the third grayscale constraint, the R grayscale value is set equal to the G grayscale value, the B grayscale value is set to zero, and a third compensation table corresponding to the display primary color is obtained.
[0074] Exemplarily, when a pure RG picture is selected, that is, when the grayscale R=G and B=0 is controlled, the compensation value of the display primary color G obtained by experimental calculation is stored in the third compensation table C.
[0075] In other embodiments, the results of other typical grayscale constraint scenarios may also be selected. The steps of displaying the primary color R and displaying the primary color B may be performed with reference to the steps of displaying the primary color G.
[0076] Optionally, the step of acquiring the compensation value corresponding to the pixel position according to the compensation table under the target display screen includes:
[0077] For each display pixel, the grayscale value and pixel position of the pixel under the target display screen are obtained, and the compensation table is called to query the brightness curve function of the reference position; according to the brightness curve function, the compensation value under the target display screen is calculated based on the pixel position.
[0078] Please refer to Figure 2 For example, the brightness of four positions is measured under the W screen (R=G=B) when the grayscale value ranges from 0 to 255, and the brightness curve L=h is obtained. k (x). Taking position 1 as the standard, the compensation values can be calculated for the other positions.
[0079] Optionally, in the step of calculating the compensation value under the target display image based on the pixel position according to the brightness curve function, the calculation is performed according to the following expression:
[0080]
[0081] Where x is the grayscale value of the original color displayed on the target display screen, k is the position of the pixel, V k (x) is the compensation value when the input grayscale of the display primary color at position k is x, h k (x) is the brightness curve function, h k The inverse function of . After compensating the brightness of the pixel at that position with the compensation value, the brightness at different positions will be kept consistent.
[0082] Optionally, in the process of obtaining the compensation value corresponding to the pixel position according to the compensation table under the target display screen, the first compensation value is calculated according to the first compensation table, the second compensation value is calculated according to the second compensation table, and the third compensation value is calculated according to the third compensation table.
[0083] Exemplarily, for pixels whose input grayscale data is (r, g, b), the first compensation value a of the display primary color G can be calculated through lookup table A, the second compensation value b of the display primary color G can be calculated through lookup table B, and the third compensation value c of the display primary color G can be calculated through lookup table C.
[0084] Optionally, the step of calculating a color indication variable according to the grayscale value of the pixel position in the target display image includes:
[0085] The color indicator variables of different display grayscale data combinations are assigned multiple indicators, and based on the chromaticity component calculation formula, the constraint coefficient in the chromaticity component calculation formula is solved to obtain the color indicator variable expression; the color indicator variable is calculated using the grayscale value according to the color indicator variable expression.
[0086] When fusing the results of different pictures, it is necessary to select an indicator that can reflect the characteristics of different pictures. It should be noted that in the process of assigning indicators to color indicator variables of different display grayscale data combinations, corresponding indicators can be assigned to them in the range of 0-1 based on the characteristics of the color indicator variables.
[0087] Exemplarily, based on the chromaticity component calculation formula in the color space, certain indicators are assigned to color indicator variables under different grayscale data combinations, for example:
[0088] f(255, 255, 255) = 0;
[0089] f(0,255,0)=1;
[0090] f(0, 255, 255) = 0.5;
[0091] f(128,255,0)=0.2;
[0092] At this time, the coefficient value of the chromaticity component calculation formula can be solved based on the variable function of the color indication variable.
[0093] Optionally, in the process of calculating the color indication variable according to the grayscale value of the pixel position under the target display screen, the calculation is performed according to the following expression:
[0094] γ=f(r,g,b)=α1*r+α2*g+α3*b+α4
[0095] Among them, γ is the color indicator variable; f(r, g, b) is the variable function, r is the grayscale value of the first display primary color under the target display screen, g is the grayscale value of the second display primary color under the target display screen, b is the grayscale value of the third display primary color under the target display screen, a1 is the first constraint coefficient, a2 is the second constraint coefficient, a3 is the third constraint coefficient, and a4 is the fourth constraint coefficient.
[0096] For example, when the results of different pictures are merged, an indicator can be selected to reflect the characteristics of different pictures. Based on the above expression, the difference between the two pictures of r=g=b=200 and r=g=200, b=0 under different grayscale data can be quantified.
[0097] Optionally, before the step of acquiring the compensation adjustment value corresponding to the pixel position according to the color indication variable, the step includes:
[0098] Based on the linear function, a group of equations is constructed according to multiple optimal compensation values under different display grayscale data combinations, and the linear constraint coefficients in the linear function are solved to respectively determine the weight value of each compensation value under the display primary color, thereby constructing the compensation adjustment function expression to calculate the compensation adjustment value using the color indication variable.
[0099] The determination of the optimal compensation value can be a compensation value obtained through experiments when the picture is a grayscale data combination (r, g, b), and the results at different positions obtain different optimal compensation values. Exemplarily, the calculation method of the optimal compensation value can be consistent with the calculation method of constructing the compensation table mentioned above. When the picture is (r, g, b), the brightness results at different positions are measured and obtained by inverse calculation of the function. Exemplarily, when calculating the compensation value of the corresponding pixel based on the multiple compensation values calculated by looking up the multidimensional compensation table, the weight constraint calculation can be performed using a linear function first, that is, h k (γ)=β k *γ+δ k In the process of determining the values of each coefficient in the linear function, the respective optimal compensation values can be determined for different grayscale data, thereby solving the coefficient values in the linear function.
[0100] Optionally, the linear function is based on constructing a set of equations according to multiple optimal compensation values under different combinations of display grayscale data, solving the linear constraint coefficients in the linear function to respectively determine the weight value of each compensation value under the display primary color, so as to construct the compensation adjustment function expression, and calculating according to the following expression:
[0101] h(γ)=m*γ+n
[0102]
[0103] in, is the optimal compensation value, h(γ) is a linear function, k is a positive integer, γ is a color indicator variable, m is a first linear coefficient, n is a second linear coefficient, a is a first compensation value calculated according to a first compensation table, h1(γ) is a first weight value of the first compensation value, b is a second compensation value calculated according to a second compensation table, h2(γ) is a second weight value of the second compensation value, c is a third compensation value calculated according to a third compensation table, and h3(γ) is a third weight value of the third compensation value.
[0104] For example, when calculating the compensation value of the corresponding pixel according to the multiple compensation values calculated by looking up the multidimensional compensation table, different grayscale data combinations can be selected, such as grayscale data (R, G, B) = [200 100 150], and the optimal compensation value of G in this picture is determined by experiment. Calculate γ = γ = f (r, g, b), and the first compensation value a, the second compensation value b, and the third compensation value c corresponding to each compensation table. Multiple equations can be constructed according to the above expressions. By selecting multiple equations corresponding to different (R, G, B) grayscale data, a system of equations can be constructed, and then the linear function h can be inversely solved. k The coefficients in (γ).
[0105] Optionally, the step of constructing a set of equations based on a linear function according to a plurality of optimal compensation values under different combinations of display grayscale data, solving the linear constraint coefficients in the linear function, and respectively determining the weight value of each compensation value under the display primary colors, thereby constructing a compensation adjustment function expression, and the step of using the color indication variable to calculate the compensation adjustment value also complies with the following expression constraint:
[0106] h1(γ)=h2(γ)=h3(γ)=1 / 3
[0107] or
[0108]
[0109] Among them, h1(γ) is the first weight value of the first compensation value, h2(γ) is the second weight value of the second compensation value, and h3(γ) is the third weight value of the third compensation value.
[0110] As described above, the display compensation method provided in the present application can calculate the target compensation value of each pixel under different display primary color values based on the pre-stored compensation table, thereby providing an ideal compensation scheme for the brightness compensation of the display panel and improving the user experience.
[0111] Second embodiment
[0112] The present application also provides a display device, the display device comprising a processor and a storage medium connected to each other, wherein:
[0113] The storage medium is used to store a computer program; the processor is used to read and run the computer program to implement the display compensation method as described above.
[0114] In one embodiment, the grayscale data received by a certain pixel in the display device is (R, G, B)=(90, 100, 200).
[0115] The following operations are performed on the first display primary color R, the second display primary color G, and the third display primary color B in sequence:
[0116] Taking the second display primary color G as an example, the first compensation value a=1 of G=100 is calculated by looking up the first compensation table A.
[0117] By looking up the second compensation table B, the second compensation value b=2 of G=100 is calculated.
[0118] By looking up the third compensation table C, the third compensation value c=3 of G=100 is calculated.
[0119] Therefore, the color indicator variable is calculated as
[0120]
[0121] Then the final compensation value of the second display primary color G of the pixel is
[0122]
[0123] Therefore, in the final compensation result of the pixel, the grayscale data displayed by the second display primary color G is:
[0124] 100+2.55=102.55
[0125] Third embodiment
[0126] The present application also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the display compensation method described above are implemented.
[0127] It should be noted that in the present application, step codes such as S10, S20, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the scope of protection of the present application.
[0128] In the embodiments of the display device and the storage medium provided in the present application, all technical features of any of the above-mentioned method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the above-mentioned method embodiments, and will not be repeated here.
[0129] An embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above various possible implementation modes.
[0130] An embodiment of the present application also provides a chip, including a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.
[0131] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0132] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0133] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.
[0134] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.
[0135] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0136] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various 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 the present application.
[0137] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A display compensation method, characterized in that: include: Acquire at least one compensation table of display primary colors according to the pixel position under a preset grayscale constraint, and calculate a color indicator variable according to the grayscale value of the pixel position under the target display screen; Under the target display screen, obtaining a compensation value corresponding to the pixel position according to the compensation table, and obtaining a compensation adjustment value corresponding to the pixel position according to the color indication variable; Calculating a target compensation value for the pixel position according to the compensation adjustment value and the compensation value; The step of calculating the color indicator variable according to the grayscale value of the pixel position in the target display image comprises: Assigning a plurality of preset indicators to color indicator variables of different display grayscale data combinations, and solving the constraint coefficient in the chromaticity component calculation formula based on the chromaticity component calculation formula to obtain a color indicator variable expression; Calculating the color indicator variable using the grayscale value according to the color indicator variable expression; The step of obtaining the compensation adjustment value corresponding to the pixel position according to the color indication variable includes: Based on a linear function, a group of equations is constructed according to multiple optimal compensation values under different display grayscale data combinations, and the linear constraint coefficients in the linear function are solved to respectively determine the weight value of each compensation value under the display primary color, thereby constructing a compensation adjustment function expression to calculate the compensation adjustment value using the color indication variable.
2. The display compensation method according to claim 1, characterized in that: Each compensation table corresponds to a preset grayscale constraint; the process of obtaining at least one compensation table for displaying primary colors according to pixel positions under the preset grayscale constraint includes: Under multiple preset grayscale constraints, measuring the brightness of the display primary colors at multiple locations on the display screen within a preset grayscale value interval; Under each preset grayscale constraint, the brightness of the plurality of positions is respectively saved to obtain a compensation table of the display primary color under the preset grayscale constraint.
3. The display compensation method according to claim 2, wherein: The plurality of preset grayscale constraints include a first grayscale constraint, a second grayscale constraint and a third grayscale constraint; The process of obtaining at least one compensation table of display primary colors according to pixel positions under the preset grayscale constraint also includes: In the first grayscale constraint, the R grayscale value, the G grayscale value and the B grayscale value are set to be equal, and a first compensation table corresponding to the display primary color is obtained; and / or, In the second grayscale constraint, the R grayscale value and the B grayscale value are set to zero, and a second compensation table corresponding to the display primary color is obtained; and / or, In the third grayscale constraint, the R grayscale value is set equal to the G grayscale value, the B grayscale value is set to zero, and a third compensation table corresponding to the display primary color is obtained.
4. The display compensation method according to claim 3, characterized in that: The step of obtaining the compensation value corresponding to the pixel position according to the compensation table under the target display screen includes: For each display pixel, the grayscale value and pixel position of the pixel in the target display image are obtained, and the compensation table is retrieved to query the brightness curve function of the reference position; According to the brightness curve function, a compensation value under the target display image is calculated based on the pixel position.
5. The display compensation method according to claim 4, characterized in that: In the step of calculating the compensation value of the target display screen based on the pixel position according to the brightness curve function, the calculation is performed according to the following expression: Where x is the grayscale value of the original color displayed on the target display screen, k is the pixel position, V k (x) is the compensation value when the input grayscale of the display primary color at position k is x, h k (x) is the brightness curve function, h k The inverse function of .
6. The display compensation method according to claim 5, characterized in that: In the process of obtaining the compensation value corresponding to the pixel position according to the compensation table under the target display screen, the first compensation value is calculated according to the first compensation table, the second compensation value is calculated according to the second compensation table, and the third compensation value is calculated according to the third compensation table.
7. The display compensation method according to any one of claims 1 to 6, characterized in that: In the process of constructing the compensation adjustment function expression based on the linear function, according to multiple optimal compensation values under different display grayscale data combinations, solving the linear constraint coefficients in the linear function to respectively determine the weight value of each compensation value under the display primary color, the following expression is used for calculation: h(γ)=m*γ+n in, is the optimal compensation value, h(γ) is a linear function, k is a positive integer, γ is a color indicator variable, m is a first linear coefficient, n is a second linear coefficient, a is a first compensation value calculated according to a first compensation table, h1(γ) is a first weight value of the first compensation value, b is a second compensation value calculated according to a second compensation table, h2(γ) is a second weight value of the second compensation value, c is a third compensation value calculated according to a third compensation table, and h3(γ) is a third weight value of the third compensation value.
8. The display compensation method according to claim 7, characterized in that: The step of constructing a set of equations based on a linear function according to a plurality of optimal compensation values under different combinations of display grayscale data, solving the linear constraint coefficients in the linear function to respectively determine the weight value of each compensation value under the display primary colors, thereby constructing a compensation adjustment function expression, and using the color indicator variable to calculate the compensation adjustment value also complies with the following expression constraints: h1(γ)=h2(γ)=h3(γ)=1 / 3 or Among them, h1(γ) is the first weight value of the first compensation value, h2(γ) is the second weight value of the second compensation value, and h3(γ) is the third weight value of the third compensation value.
Citation Information
Patent Citations
Method, device and system for compensating for brightness of display
CN108510965A
Pixel compensation data generation method and device of display panel and display panel
CN110827745A
Display panel picture adjustment method and device, server and storage medium
CN113990232A
Method for generating chromaticity correction compensation table and mobile terminal
CN115050300A
Display control for multi-primary display
US20140043371A1
