Gamma correction method, gamma correction device, display device, and display terminal
By establishing a mapping relationship between the gamma register values of color sub-pixels in the AMOLED display panel, rapid calibration was achieved, solving the problem of excessively long gamma calibration time and improving the production efficiency of display terminals.
Patent Information
- Application Number
- CN202510074198.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2045-01-16
AI Technical Summary
In existing technologies, the gamma correction of AMOLED display panels takes too long, which affects the production capacity of display terminals.
By establishing a mapping relationship between the gamma register values of the first color sub-pixel and the second color sub-pixel at each gray level, the gamma register value at the target gray level is determined, and the gamma register value of the second color sub-pixel is corrected based on the mapping relationship so that the display parameter value is close to the target display parameter value.
It shortened the gamma correction time and increased the production capacity of display terminals.
Smart Images

Figure CN119600945B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display, in particular to a gamma correction method, a gamma correction device, a display device and a display terminal. BACKGROUND
[0002] Active matrix organic light emitting diode (AMOLED) is the next generation of semiconductor display technology, which is widely used in display terminals such as smart phones due to its advantages of thinness, high contrast, high refresh rate, wide viewing angle, wide color gamut and the like.
[0003] In order to ensure the display effect of the AMOLED display panel when it is shipped, it is usually necessary to correct the display effect of each AMOLED display panel, that is, gamma correction, so that the display panel can achieve the best display effect and meet the best perception of the human eye to the changes in brightness and chroma.
[0004] However, the gamma correction in the related art takes too long, which seriously affects the production capacity of the display terminal. SUMMARY
[0005] Therefore, the embodiments of the present application provide a gamma correction method, a gamma correction device, a display device and a display terminal to at least partially solve the above problems.
[0006] According to a first aspect of the embodiments of the present application, a gamma correction method is provided, comprising:
[0007] establishing a mapping relationship between a first color sub-pixel and a second color sub-pixel at each gray level of a gamma register value;
[0008] determining a first gamma register value of the first color sub-pixel at a target gray level;
[0009] based on the mapping relationship and the first gamma register value, correcting a second gamma register value of the second color sub-pixel at the target gray level, so that the difference between the first gamma register value and the corrected second gamma register value and a first target display parameter value is less than or equal to an upper limit value of deviation; wherein the display parameter value includes a brightness value and a color coordinate.
[0010] In another implementation of the present application, the method for establishing the mapping relationship between the gamma register values of the first color sub-pixel and the second color sub-pixel at each gray scale includes: determining that the gamma register values of the first color sub-pixel and the second color sub-pixel at each gray scale satisfy an initial mapping relationship; determining a third gamma register value of the first color sub-pixel at a first gray scale and a fourth gamma register value of the second color sub-pixel at the first gray scale, wherein the display parameter values corresponding to the third gamma register value and the fourth gamma register value are less than or equal to the upper limit of the deviation from the second target display parameter value; and establishing the mapping relationship based on the third gamma register value, the fourth gamma register value and the initial mapping relationship.
[0011] In another implementation of the present application, after the second gamma register value of the second color sub-pixel at the target gray scale is corrected, the method further includes: converting the first gamma register value into a first gamma voltage, converting the corrected second gamma register value into a second gamma voltage, and outputting the first gamma voltage and the second gamma voltage to the display panel to make the display panel display a white picture at the target gray scale; and extracting the luminance value and the color coordinate of the white picture to obtain the display parameter values corresponding to the first gamma register value and the corrected second gamma register value.
[0012] In another implementation of the present application, the first gamma voltage includes a light and dark unevenness compensation value of the first color sub-pixel at the target gray scale, and the second gamma voltage includes a light and dark unevenness compensation value of the second color sub-pixel at the target gray scale.
[0013] In another implementation of the present application, before the second gamma register value of the second color sub-pixel at the target gray scale is corrected, the method further includes: obtaining the display parameter value of the white picture of the display panel at the highest gray scale; determining a first target display parameter value of the white picture of the display panel at the target gray scale based on the display parameter value of the white picture of the display panel at the highest gray scale; and preferably, the first target display parameter value L of the white picture of the display panel at the target gray scale is L = Gray / max * γ * L w , where Gray is the target gray scale, max is the highest gray scale, γ is an index corresponding to the gamma curve of the display panel, and L w is the display parameter value of the white picture of the display panel at the highest gray scale.
[0014] In another implementation of the present application, the mapping relationship is a linear mapping relationship; preferably, the first color sub-pixel is one of red sub-pixel, green sub-pixel and blue sub-pixel, the second color sub-pixel is one color sub-pixel other than the one color sub-pixel, and the initial mapping relationship is y=k0x, where k0 is a constant, x is the gamma register value of the first color sub-pixel, and y is the gamma register value of the second color sub-pixel; preferably, k0=y0 / x0, where x0 is the third gamma register value and y0 is the fourth gamma register value; preferably, the first color sub-pixel is one of red sub-pixel, green sub-pixel and blue sub-pixel, the second color sub-pixel is another color sub-pixel other than the one color sub-pixel, and the initial mapping relationship is y=k1x, where k1 is a constant and k0 is not equal to k1; preferably, k1=y1 / x1, where x1 is the seventh gamma register value of the first color sub-pixel at the third gray scale and y1 is the eighth gamma register value of the second color sub-pixel at the third gray scale, where the display parameter value at the seventh gamma register value and the eighth gamma register value is less than or equal to the upper limit of the deviation from the fourth target display parameter value.
[0015] In another implementation of the present application, the difference between the luminance value at the first gamma register value and the corrected second gamma register value and the first target luminance value is less than or equal to the first upper limit of the deviation; and the difference between the color coordinate at the first gamma register value and the corrected second gamma register value and the first target color coordinate is less than or equal to the second upper limit of the deviation; preferably, the difference between the luminance value at the first gamma register value and the corrected second gamma register value and the first target luminance value is less than or equal to the first lower limit of the deviation; and the difference between the color coordinate at the first gamma register value and the corrected second gamma register value and the first target color coordinate is less than or equal to the second lower limit of the deviation.
[0016] According to a second aspect of the present application, a gamma correction device is provided, comprising:
[0017] The establishing module is configured to establish a mapping relationship between the gamma register values of the first color sub-pixel and the second color sub-pixel at each gray scale;
[0018] The determining module is configured to determine a first gamma register value of the first color sub-pixel at a target gray scale;
[0019] The correction module is configured to correct the second gamma register value of the second color sub-pixel at the target gray scale based on the mapping relationship and the first gamma register value, so that a difference between a display parameter value under the first gamma register value and the corrected second gamma register value and a first target display parameter value is less than or equal to an upper deviation value, wherein the display parameter value includes a luminance value and a color coordinate.
[0020] According to a third aspect of the embodiments of the present application, a display device is provided, including: a display panel; a memory, the memory storing a gamma register value; and a processor, the processor retrieving the gamma register value from the memory and controlling the display panel according to the gamma register value, wherein the gamma register value is obtained by the method according to the first aspect.
[0021] According to a fourth aspect of the embodiments of the present application, a display terminal is provided, including a terminal device body and the display device according to the third aspect arranged on the terminal device body.
[0022] According to a fifth aspect of the embodiments of the present application, a computer readable storage medium is provided, the computer readable storage medium storing a computer program, the computer program being executed by one or more processors to implement the method according to the first aspect.
[0023] According to a sixth aspect of the embodiments of the present application, a computer program product is provided, including computer program instructions, the computer program instructions causing a computer to execute the method according to the first aspect.
[0024] According to a seventh aspect of the embodiments of the present application, a computer program is provided, when the computer program is executed on a computer, causing the computer to execute the method according to the first aspect.
[0025] According to the scheme provided by the embodiments of the present application, the mapping relationship between the gamma register value of the first color sub-pixel and the gamma register value of the second color sub-pixel at each gray scale can be established, after obtaining the corrected first gamma register value of the first color sub-pixel at the target gray scale, the second gamma register value of the second color sub-pixel at the target gray scale can be corrected based on the mapping relationship and the first gamma register value, so that the display parameter value under the first gamma register value and the corrected second gamma register value is close to the first target display parameter value. In this way, the second gamma register value can be corrected by the mapping relationship and the first gamma register value, so that the gamma correction time can be shortened and the production capacity of the display terminal can be improved without separately correcting the gamma register value of each color sub-pixel. BRIEF DESCRIPTION OF DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the description of the embodiments or the related art will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art based on these drawings.
[0027] Figure 1 is a gamma curve conforming to the characteristics of human eyes;
[0028] Figure 2 is a flowchart of a gamma correction method;
[0029] Figure 3 is a flowchart of a gamma correction method provided by the present application;
[0030] Figure 4A is a schematic diagram of gamma register values of a plurality of color sub-pixels provided by the present application;
[0031] Figure 4B is a schematic diagram of gamma register values of a plurality of color sub-pixels provided by the present application;
[0032] Figure 5 is a schematic diagram of a composition structure of a gamma correction device provided by the present application;
[0033] Figure 6 is a schematic diagram of a structure of a display device provided by the present application;
[0034] Figure 7 is a schematic diagram of a structure of a display terminal provided by the present application. DETAILED DESCRIPTION
[0035] In order to make the personnel in the art better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art should belong to the scope of protection of the present application.
[0036] The terms used in the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0037] In the following description, "some embodiments" are referred to, which describe a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0038] It should also be noted that the terms "first", "second", "third" involved in the embodiments of the present application are only used to distinguish similar objects, and do not represent a specific order of the objects. Understandably, "first", "second", "third" can be interchanged in a specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0039] In addition, the term "and / or" in the embodiments of the present application only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the existence of A alone, the existence of A and B together, and the existence of B alone. In addition, the character " / " herein generally represents an "or" relationship between the associated objects before and after it.
[0040] In order to facilitate the understanding of the technical solutions of the embodiments of the present application, the related technologies of the embodiments of the present application are described as follows. The following related technologies can be combined with the technical solutions of the embodiments of the present application in any way, and all belong to the protection scope of the embodiments of the present application.
[0041] AMOLED is the next generation of semiconductor display technology, which is widely used in display terminals such as smart phones due to its advantages of thinness, high contrast, high refresh rate, wide viewing angle, wide color gamut, etc.
[0042] In order to ensure the display effect of AMOLED display panel when it leaves the factory, it is usually necessary to correct the display effect of each AMOLED display panel, that is, gamma correction, so that the display panel achieves the best display effect and meets the best perception of the human eye to the changes of brightness and chroma.
[0043] Exemplarily, Figure 1 is a gamma curve consistent with the characteristics of the human eye. As Figure 1 shown, taking 256 gray scales as an example, the abscissa is the gray scale, and the ordinate is the target brightness value. The target brightness value is a normalized brightness value, and the gray scale and the target brightness value satisfy a nonlinear relationship. Through gamma correction, the best perception of the human eye to the change of brightness can be achieved, that is, through gamma correction, the brightness value under each gray scale can be close to the target brightness value under the gray scale. For example, through gamma correction, the brightness value under 125 gray scale can be close to the target brightness value 0.2.
[0044] Exemplarily, Figure 2 is a flowchart of a gamma correction method.Figure 2 A gamma correction process under one gray scale is given. It can be understood that other gray scales can repeat the gamma correction process, so as to realize gamma correction of a display panel. As shown in the figure, the process can include the following steps. Figure 2
[0045] S210, write the gamma register values of the three color sub-pixels into the gamma register.
[0046] Among them, the three color sub-pixels can include red sub-pixels, green sub-pixels and blue sub-pixels.
[0047] It should be noted that after writing the gamma register values of the three color sub-pixels, the gamma register values of the three color sub-pixels can be converted into gamma voltages, and the gamma voltages are output to the display panel to make the display panel display a white picture.
[0048] It should also be noted that different gamma voltages control white pictures with different brightness values and color coordinates. In the case of large gamma voltage, the brightness value and color coordinate of the white picture can be large; in the case of small gamma voltage, the brightness value and color coordinate of the white picture can be small.
[0049] Further, outputting the gamma voltage to the display panel to make the display panel display a white picture can be understood as that the gamma voltage can be provided to the three color sub-pixels through the data line of the display panel, so that the three color sub-pixels display a white picture.
[0050] Exemplarily, the calculation formula for converting the gamma register value into the gamma voltage is as follows:
[0051] V data = VGMP-(VGMP-VGSP) / 4095*data (1)
[0052] Among them, data is the gamma register value under one gray scale, V data is the gamma voltage under the gray scale, VGMP is the gamma voltage corresponding to 0 gray scale (at this time the gamma voltage is the highest voltage), and VGSP is the gamma voltage corresponding to 255 gray scale (at this time the gamma voltage is the lowest voltage).
[0053] S220, obtain the display parameter value of the three color sub-pixels under the gamma register value through the color analyzer.
[0054] Among them, the display parameter value can include the brightness value and the color coordinate.
[0055] Exemplarily, the brightness value and the color coordinate of the white picture can be extracted by the color analyzer, and the brightness value and the color coordinate are taken as the display parameter value.
[0056] S230, determining whether the display parameter value is close to the target display parameter value.
[0057] It should be understood that determining whether the display parameter value is close to the target display parameter value can be understood as determining whether the luminance value is close to the target luminance value, and determining whether the color coordinates are close to the target color coordinates.
[0058] Exemplarily, if the difference between the luminance value and the target luminance value is less than or equal to 2.2, it is determined that the luminance value is close to the target luminance value; if the difference between the luminance value and the target luminance value is greater than 2.2, it is determined that the luminance value is not close to the target luminance value.
[0059] Exemplarily, if the difference between the X color coordinate and the target X color coordinate is less than or equal to 0.3, it is determined that the X color coordinate is close to the target X color coordinate; if the difference between the Y color coordinate and the target Y color coordinate is less than or equal to 0.315, it is determined that the Y color coordinate is close to the target Y color coordinate.
[0060] It should be noted that in the case where the display parameter value is close to the target display parameter value, it is indicated that the gamma register values of the three color sub-pixels have been corrected, and thus S240 is executed; or in the case where the display parameter value is not close to the target display parameter value, the gamma register values of the three color sub-pixels need to be corrected at this time, and thus S250 is executed.
[0061] S240, burn the gamma register values of the three color sub-pixels into the gamma register.
[0062] It should be noted that burning the gamma register values of the three color sub-pixels into the gamma register can facilitate the user to view the corresponding gamma register values of the display panel, so as to understand the performance of the display panel.
[0063] S250, correcting the gamma register values of the three color sub-pixels.
[0064] It should be noted that the gamma register values of the three color sub-pixels can be corrected, and S220 and S230 can be repeatedly executed until the display parameter value under the corrected gamma register value can be close to the target display parameter value.
[0065] In the gamma correction process shown in S210-S250, the gamma register values of the three color sub-pixels at one gray scale are independent of each other, and when the gamma register values of the three color sub-pixels at one gray scale change, they will have different degrees of influence on the luminance value and the color coordinates, resulting in that the gamma correction takes too long time and seriously affects the production capacity of the display terminal.
[0066] Exemplarily, after correcting the gamma register value of the red sub-pixel at the gray scale by the gamma algorithm, the luminance value can be close to the target luminance value, but the color coordinate is not close to the target color coordinate; at this time, it is necessary to correct the gamma register value of the green sub-pixel and / or the blue sub-pixel at the gray scale by the gamma algorithm again until the luminance value is close to the target luminance value and the color coordinate is close to the target color coordinate, which will make the gamma correction time too long and affect the production capacity of the display terminal.
[0067] Based on this, the embodiment of the present application provides a gamma correction method, which can establish a mapping relationship of the gamma register values of the first color sub-pixel and the second color sub-pixel at each gray scale, after obtaining the first gamma register value of the first color sub-pixel at the target gray scale after correction, the second gamma register value of the second color sub-pixel at the target gray scale can be corrected based on the mapping relationship and the first gamma register value, so that the display parameter value under the first gamma register value and the corrected second gamma register value is close to the first target display parameter value. In this way, the second gamma register value can be corrected by the mapping relationship and the first gamma register value, so that the gamma register values of each color sub-pixel do not need to be corrected separately, the time consumption of gamma correction is shortened, and the production capacity of the display terminal is improved.
[0068] In order to facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application are described in detail below through specific embodiments. The above related technologies can be combined with the technical solutions of the embodiments of the present application as optional solutions, which all belong to the protection scope of the embodiments of the present application, and the embodiments of the present application include at least part of the following contents.
[0069] Figure 3 is a flow diagram of a gamma correction method provided by the embodiment of the present application, as shown in Figure 3 the method can include the following steps.
[0070] S310, a mapping relationship of the gamma register values of the first color sub-pixel and the second color sub-pixel at each gray scale is established.
[0071] It should be noted that in the embodiments of the present application, the gamma correction method can be applied to a gamma correction device, or a display terminal integrated with the device. The display terminal can be implemented in various forms, for example, the display terminal can include a smart phone, a tablet computer, a notebook computer, a palm computer, a personal digital assistant (PDA), a portable media player (PMP), etc., which are not limited here.
[0072] It should be noted that the first color sub-pixel can be one of a red sub-pixel, a green sub-pixel and a blue sub-pixel; the second color sub-pixel can be one or two of the red sub-pixel, the green sub-pixel and the blue sub-pixel, and the first color sub-pixel is different from the second color sub-pixel.
[0073] Exemplarily, the first color sub-pixel can be a red sub-pixel, the second color sub-pixel can be a green sub-pixel and a blue sub-pixel, and the mapping relationship can be a mapping relationship between a gamma register value of the red sub-pixel and a gamma register value of the green sub-pixel at each gray scale, and a mapping relationship between the gamma register value of the red sub-pixel and a gamma register value of the blue sub-pixel at each gray scale.
[0074] It should be noted that the mapping relationship can be a linear mapping relationship, such as a first-order function relationship (such as a direct proportion function relationship) between the gamma register value of the first color sub-pixel and the gamma register value of the second color sub-pixel at each gray scale; or a non-linear mapping relationship, such as a second-order function relationship between the gamma register value of the first color sub-pixel and the gamma register value of the second color sub-pixel at each gray scale.
[0075] In some embodiments, establishing the mapping relationship between the gamma register value of the first color sub-pixel and the gamma register value of the second color sub-pixel at each gray scale can include:
[0076] determining that the gamma register value of the first color sub-pixel and the gamma register value of the second color sub-pixel satisfy an initial mapping relationship at each gray scale;
[0077] determining a third gamma register value of the first color sub-pixel at the first gray scale and a fourth gamma register value of the second color sub-pixel at the first gray scale, wherein a difference between a display parameter value corresponding to the third gamma register value and the fourth gamma register value and the second target display parameter value is less than or equal to the upper limit of the deviation;
[0078] establishing the mapping relationship based on the third gamma register value, the fourth gamma register value and the initial mapping relationship.
[0079] The display parameter value can include a luminance value and a color coordinate.
[0080] It should be noted that the gamma register values of the first color sub-pixel and the second color sub-pixel after completing gamma correction can be obtained by using other display panels, so that a mapping relationship between the gamma register value of the first color sub-pixel and the gamma register value of the second color sub-pixel at each gray scale can be determined, and based on this, the display panel in the embodiments of the present application can determine that the gamma register value of the first color sub-pixel and the gamma register value of the second color sub-pixel satisfy an initial mapping relationship at each gray scale. It can be understood that the certain mapping relationship is a mapping relationship without unknown parameters, and the initial mapping relationship is a mapping relationship with unknown parameters, and the initial mapping relationship can be determined based on the certain mapping relationship.
[0081] It should be further noted that the initial mapping relationship can be an initial linear mapping relationship or an initial nonlinear mapping relationship, and the embodiments of the present application do not limit this.
[0082] Exemplarily, through the other display panel, it can be obtained that the gamma register value of the first color sub-pixel and the gamma register value of the second color sub-pixel satisfy a linear function relationship at multiple gray scales. It can be understood that the linear function relationship does not contain unknown parameters. Through the linear function relationship, a linear function relationship containing unknown parameters can be obtained.
[0083] For example, the gamma register value of the first color sub-pixel is denoted as x, and the gamma register value of the second color sub-pixel is denoted as y. Through the other display panel, it can be obtained that y=3*x, so that for the display panel in the embodiments of the present application, the initial mapping relationship can be denoted as y=k*x.
[0084] Further, determining the display parameter values under the third gamma register value and the fourth gamma register value can include: converting the third gamma register value into a third gamma voltage, converting the fourth gamma register value into a fourth gamma voltage, and outputting the third gamma voltage and the fourth gamma voltage to the display panel to make the display panel display a white picture at the first gray scale; and extracting the luminance value and the color coordinate of the white picture at the first gray scale to obtain the display parameter values under the third gamma register value and the fourth gamma register value.
[0085] It should be noted that the third gamma register value can be converted into the third gamma voltage, and the fourth gamma register value can be converted into the fourth gamma voltage through the above formula (1), and the embodiments of the present application will not be repeated.
[0086] It should be understood that outputting the third gamma voltage and the fourth gamma voltage to the display panel to make the display panel display a white picture at the first gray scale can be understood as that the third gamma voltage and the fourth gamma voltage can be provided to the first color sub-pixel and the second color sub-pixel through the data line of the display panel, so that the first color sub-pixel and the second color sub-pixel display a white picture at the first gray scale.
[0087] Exemplarily, the luminance value and the color coordinate of the white picture at the first gray scale can be taken as the display parameter values under the third gamma register value and the fourth gamma register value.
[0088] Exemplarily, the luminance value and the color coordinate of the white picture at the first gray scale can be extracted through a color analyzer.
[0089] By the method, the display parameter values under the third gamma register value and the fourth gamma register value can be determined, and in a case that the display parameter values under the third gamma register value and the fourth gamma register value are close to the second target display parameter value, a mapping relationship can be established based on the third gamma register value and the fourth gamma register value, the gamma register value (such as the second gamma register value under the target gray scale) under other gray scales is corrected by using the mapping relationship, the time consumption of gamma correction can be shortened, and the production capacity of the display terminal can be improved.
[0090] Further, the second target display parameter value under the first gray scale can include: obtaining a display parameter value of a white picture under the highest gray scale of the display panel; determining the second target display parameter value of the white picture under the first gray scale of the display panel based on the display parameter value of the white picture under the highest gray scale of the display panel.
[0091] It should be noted that the second target luminance value can be determined according to formula (2):
[0092] L = Gray / max * γ * L w (2)
[0093] Wherein, Gray is the first gray scale, max is the highest gray scale, γ is the index corresponding to the gamma curve of the display panel, L w is the luminance value of the white picture under the highest gray scale, and L is the second target luminance value of the white picture under the first gray scale.
[0094] Exemplarily, the highest gray scale can be 255.
[0095] Exemplarily, the index corresponding to the gamma curve of the display panel can be 2.2.
[0096] It should be noted that the color coordinates of the display panel under each gray scale can be the same, that is, the second target color coordinates of the white picture under the first gray scale are the same as the color coordinates of the white picture under the highest gray scale.
[0097] By the method, the second target display parameter value of the display panel under the first gray scale can be accurately determined, thereby ensuring the accuracy of the gamma correction.
[0098] It should be noted that the upper limit of the deviation can be artificially set, or can be set in other ways, and the embodiments of the application do not limit this.
[0099] It should be further noted that the difference between the display parameter values under the third gamma register value and the fourth gamma register value and the second target display parameter value is less than or equal to the upper limit of the deviation, which indicates that the display parameter values under the third gamma register value and the fourth gamma register value are close to the second target display parameter value.
[0100] Further, the display parameter value at the third gamma register value and the fourth gamma register value and the second target display parameter value have a difference less than or equal to an upper limit of deviation, which can include:
[0101] The luminance value at the third gamma register value and the fourth gamma register value and the second target luminance value have a difference less than or equal to a first upper limit of deviation; and,
[0102] The color coordinate at the third gamma register value and the fourth gamma register value and the second target color coordinate have a difference less than or equal to a second upper limit of deviation.
[0103] Exemplarily, the first upper limit of deviation can be 2.2.
[0104] Exemplarily, in the case of the color coordinate being an X color coordinate, the second upper limit of deviation can be 0.3; in the case of the color coordinate being a Y color coordinate, the second upper limit of deviation can be 0.315.
[0105] By the method, the display parameter value at the third gamma register value and the fourth gamma register value and the second target display parameter value have a difference less than or equal to an upper limit of deviation, which indicates that, for the display panel in the embodiment of the present application, the third gamma register value and the fourth gamma register value are the gamma register values that have been corrected, and a mapping relationship can be established based on the third gamma register value and the fourth gamma register value, the gamma register values at other gray scales are corrected by using the mapping relationship, which can shorten the time consumption of gamma correction and improve the production capacity of the display terminal.
[0106] Figure 4A is a schematic diagram of the gamma register values of a plurality of color sub-pixels provided by the embodiment of the present application. As shown in Figure 4A , the first color sub-pixel is one of a red color sub-pixel, a green color sub-pixel and a blue color sub-pixel, the second color sub-pixel is one color sub-pixel other than the one color sub-pixel, and the initial mapping relationship is y=k0x, where k0 is a constant, x is the gamma register value of the first color sub-pixel, and y is the gamma register value of the second color sub-pixel.
[0107] That is, in this scenario, the gamma register value of the first color sub-pixel and the gamma register value of the second color sub-pixel satisfy y=k0x at a plurality of gray scales (such as gray scale #1, such as gray scale #n-1, such as gray scale #n, n is an integer between 0 and 255).
[0108] Further, k0=y0 / x0, where x0 is the third gamma register value and y0 is the fourth gamma register value. Thus, the mapping relationship can be obtained as: y=y0 / x 0* x.
[0109] This method establishes a mapping relationship between the third and fourth gamma register values. Subsequently, the gamma register values at other gray levels can be corrected based on this mapping relationship, which can shorten the gamma correction time and improve the productivity of the display terminal.
[0110] Figure 4B This is a schematic diagram of another type of gamma register value for multiple color sub-pixels provided in an embodiment of this application. For example... Figure 4B As shown, the first color sub-pixel is one of the red, green and blue sub-pixels, and the second color sub-pixel is another color sub-pixel besides one of the color sub-pixels. The initial mapping relationship is y = k1x, where k1 is a constant and k0 is not equal to k1.
[0111] In other words, in this scenario, the gamma register value of the first color sub-pixel and the gamma register value of the second color sub-pixel satisfy y = k1x at multiple gray levels (such as gray level #1, gray level #n-1, and gray level #n, where n is an integer between 0 and 255).
[0112] Furthermore, k1 = y1 / x1, where x1 is the seventh gamma register value of the first color sub-pixel at the third grayscale, and y1 is the eighth gamma register value of the second color sub-pixel at the third grayscale. The difference between the display parameter values under the seventh and eighth gamma register values and the fourth target display parameter value is less than or equal to the upper limit of the deviation. Therefore, the mapping relationship can be obtained as: y = y1 / x 1* x.
[0113] It is understandable that the explanations of the values of the seventh and eighth gamma registers are similar to those of the third and fourth gamma registers, and will not be repeated here.
[0114] This method establishes a mapping relationship between the seventh and eighth gamma register values. Subsequently, the gamma register values at other gray levels can be corrected based on this mapping relationship, which can shorten the gamma correction time and improve the productivity of the display terminal.
[0115] It is understandable that when there are two unknown parameters in the initial mapping relationship, other register values may be involved in establishing the mapping relationship in addition to the third and fourth gamma register values.
[0116] In other words, in some embodiments, establishing the mapping relationship between the gamma register values of the first color sub-pixel and the second color sub-pixel at each grayscale level may include:
[0117] determining that the gamma register values of the first color sub-pixel and the second color sub-pixel satisfy the initial mapping relationship at each gray scale;
[0118] determining a third gamma register value of the first color sub-pixel at the first gray scale and a fourth gamma register value of the second color sub-pixel at the first gray scale, wherein the display parameter values at the third gamma register value and the fourth gamma register value are less than or equal to the upper limit of the deviation from the second target display parameter value;
[0119] determining a fifth gamma register value of the first color sub-pixel at the second gray scale and a sixth gamma register value of the second color sub-pixel at the second gray scale, wherein the display parameter values at the fifth gamma register value and the sixth gamma register value are less than or equal to the upper limit of the deviation from the third target display parameter value;
[0120] establishing the mapping relationship based on the third gamma register value, the fourth gamma register value, the fifth gamma register value, the sixth gamma register value and the initial mapping relationship.
[0121] Exemplarily, a mapping relationship without the unknown parameter obtained by other display panels can be used to determine the initial mapping relationship with the unknown parameter. For example, the gamma register value of the first color sub-pixel is denoted as p, and the gamma register value of the second color sub-pixel is denoted as q. The mapping relationship q=3*p+5 can be obtained by other display panels, so that the initial mapping relationship can be denoted as q=a*p+b for the display panel in the embodiment of the present application.
[0122] Further, the determination of the display parameter values at the fifth gamma register value and the sixth gamma register value can include: converting the fifth gamma register value into a fifth gamma voltage, converting the sixth gamma register value into a sixth gamma voltage, and outputting the fifth gamma voltage and the sixth gamma voltage to the display panel to make the display panel display a white picture at the second gray scale; and extracting the luminance value and the color coordinate of the white picture at the second gray scale to obtain the display parameter values at the fifth gamma register value and the sixth gamma register value.
[0123] It should be noted that the fifth gamma register value can be converted into the fifth gamma voltage and the sixth gamma register value can be converted into the sixth gamma voltage by using the above formula (1), and the embodiment of the present application will not be described again.
[0124] It should be understood that the outputting of the fifth gamma voltage and the sixth gamma voltage to the display panel to make the display panel display a white picture at the second gray scale can be understood as that the fifth gamma voltage and the sixth gamma voltage can be provided to the first color sub-pixel and the second color sub-pixel through the data line of the display panel, so that the first color sub-pixel and the second color sub-pixel display a white picture at the second gray scale.
[0125] Exemplarily, the luminance value and the color coordinate of the white picture at the second gray scale can be taken as the display parameter values at the fifth gamma register value and the sixth gamma register value.
[0126] Exemplarily, the luminance value and the color coordinate of the white picture at the second gray scale can be extracted by a color analyzer.
[0127] By this method, the display parameter values at the third gamma register value and the fourth gamma register value, the display parameter values at the fifth gamma register value and the sixth gamma register value can be determined, and subsequently, when the display parameter values at the third gamma register value and the fourth gamma register value are close to the second target display parameter value, and the display parameter values at the fifth gamma register value and the sixth gamma register value are close to the third target display parameter value, a mapping relationship can be established based on the third gamma register value, the fourth gamma register value, the fifth gamma register value and the sixth gamma register value, and the gamma register values at other gray scales (such as the second gamma register value at the target gray scale) can be corrected by using the mapping relationship, so that the time consumption of gamma correction can be shortened, and the production capacity of the display terminal can be improved.
[0128] Further, determining the third target display parameter value at the second gray scale can include: obtaining the display parameter value of the white picture of the display panel at the highest gray scale; and determining the third target display parameter value of the white picture of the display panel at the second gray scale based on the display parameter value of the white picture of the display panel at the highest gray scale.
[0129] It should be understood that the calculation formula for determining the third target luminance value can refer to the above formula (2), and the present embodiment will not be described again.
[0130] It should also be understood that the color coordinates of the display panel at each gray scale can be the same, that is, the third target color coordinate of the white picture at the second gray scale is the same as the color coordinate of the white picture at the highest gray scale.
[0131] By this method, the third target display parameter value of the display panel at the second gray scale can be accurately determined, thereby ensuring the accuracy of the gamma correction.
[0132] It should be noted that the difference between the display parameter values at the fifth gamma register value and the sixth gamma register value and the third target display parameter value is less than or equal to the upper limit of the deviation, which means that the display parameter values at the fifth gamma register value and the sixth gamma register value are close to the third target display parameter value.
[0133] Further, the difference between the display parameter values at the fifth gamma register value and the sixth gamma register value and the third target display parameter value is less than or equal to the upper limit of the deviation, which can include:
[0134] the difference between the luminance value under the fifth gamma register value and the sixth gamma register value and the third target luminance value is less than or equal to the first upper limit of the deviation; and
[0135] the difference between the color coordinate under the fifth gamma register value and the sixth gamma register value and the third target color coordinate is less than or equal to the second upper limit of the deviation.
[0136] By this method, the difference between the display parameter value under the fifth gamma register value and the sixth gamma register value and the third target display parameter value is less than or equal to the upper limit of the deviation, which means that for the display panel in the embodiment of the present application, the fifth gamma register value and the sixth gamma register value are the corrected gamma register values, and subsequent mapping relationship can be established based on the fifth gamma register value and the sixth gamma register value, and the gamma register values under other gray scales are corrected by using the mapping relationship, which can shorten the time consumption of gamma correction and improve the production capacity of the display terminal.
[0137] Exemplarily, the gamma register value of the first color sub-pixel is denoted as p, the gamma register value of the second color sub-pixel is denoted as q, and the initial mapping relationship is denoted as q=a*p+b; the third gamma register value is denoted as p1, the fourth gamma register value is denoted as q1, the fifth gamma register value is denoted as p2, and the sixth gamma register value is denoted as q2. Then, p1, q1, p2 and q2 are substituted into q=a*p+b, and a=(q1-q2) / (p1-p2) and b=q1-(q1-q2) / (p1-p2)*p1 can be obtained, so that the mapping relationship q=(q1-q2) / (p1-p2)*p+q1-(q1-q2) / (p1-p2)*p1 can be obtained.
[0138] By this method, the mapping relationship can be established based on the third gamma register value, the fourth gamma register value, the fifth gamma register value and the sixth gamma register value, and the gamma register values under other gray scales are corrected based on the mapping relationship subsequently, which can shorten the time consumption of gamma correction and improve the production capacity of the display terminal.
[0139] It can be understood that in the case where the number of unknown parameters in the initial mapping relationship is more than two (not including two), when the mapping relationship is established through the initial mapping relationship, in addition to the third gamma register value, the fourth gamma register value, the fifth gamma register value and the sixth gamma register value, other register values can also be involved. For the establishment of the mapping relationship based on the initial mapping relationship containing more than two unknown parameters, reference can be made to the foregoing embodiment: the scheme for establishing the mapping relationship based on the initial mapping relationship containing one or two unknown parameters, and the present embodiment will not be described again.
[0140] S320, determining the first gamma register value of the first color sub-pixel at the target gray scale.
[0141] It should be noted that the first gamma register value is a corrected gamma register value, and the second gamma register value is an uncorrected gamma register value.
[0142] Exemplarily, after the first gamma register value is obtained, it is possible that the luminance value under the first gamma register value and the second gamma register value is close to the first target luminance value, and the color coordinates under the first gamma register value and the second gamma register value are not close to the first target color coordinates. At this time, the second gamma register value needs to be corrected based on the mapping relationship and the first gamma register value, so that the display parameter value under the first gamma register value and the corrected second gamma register value is close to the first target display parameter value.
[0143] S330, correcting the second gamma register value of the second color sub-pixel at the target gray scale based on the mapping relationship and the first gamma register value, so that the difference between the display parameter value under the first gamma register value and the corrected second gamma register value and the first target display parameter value is less than or equal to the upper limit of the deviation.
[0144] It should be noted that the difference between the display parameter value under the first gamma register value and the corrected second gamma register value and the first target display parameter value is less than or equal to the upper limit of the deviation, which means that the display parameter value under the first gamma register value and the corrected second gamma register value is close to the first target display parameter value.
[0145] Further, the difference between the display parameter value under the first gamma register value and the corrected second gamma register value and the first target display parameter value is less than or equal to the lower limit of the deviation.
[0146] That is, the difference between the luminance value under the first gamma register value and the corrected second gamma register value and the first target luminance value is less than or equal to the first lower limit of the deviation;
[0147] The difference between the color coordinates under the first gamma register value and the corrected second gamma register value and the first target color coordinates is less than or equal to the second lower limit of the deviation.
[0148] It can be understood that the difference less than or equal to the upper limit of the deviation includes the range of the difference less than or equal to the lower limit of the deviation and the range of the difference between the lower limit of the deviation and the upper limit of the deviation, and the difference less than or equal to the lower limit of the deviation does not include the range of the difference between the lower limit of the deviation and the upper limit of the deviation. Therefore, compared with the difference less than or equal to the upper limit of the deviation, the display parameter value under the first gamma register value and the corrected second gamma register value is closer to the first target display parameter value when the difference is less than or equal to the lower limit of the deviation, so that the display effect of the display panel can be better, and more in line with the best perception of the human eye to the change of luminance and chroma.
[0149] For example, assuming the mapping relationship is y=y0 / x 0* x, where the gamma register value of the first color sub-pixel is x, the gamma register value of the second color sub-pixel is y, and the first gamma register value is recorded as x1, the corrected second gamma register value can be y0 / x 0* x1.
[0150] For example, assuming the mapping relationship is q=(q1-q2) / (p1-p2)*p+q1-(q1-q2) / (p1-p2)*p1, where the gamma register value of the first color sub-pixel is p, the gamma register value of the second color sub-pixel is q, and the first gamma register value is recorded as p3, the corrected second gamma register value can be (q1-q2) / (p1-p2)*p3+q1-(q1-q2) / (p1-p2)*p1.
[0151] It should be noted that if the difference between the display parameter value under the first gamma register value and the corrected second gamma register value and the first target display parameter value is less than or equal to the upper limit of the deviation, it indicates that the first gamma register value and the second gamma register value have been corrected, and at this time, the first gamma register value and the second gamma register value can be burned into the gamma register, thereby facilitating the user to view the first gamma register value and the second gamma register value corresponding to the display panel, so as to enable the user to understand the performance of the display panel.
[0152] It should be further noted that if the difference between the display parameter value under the first gamma register value and the corrected second gamma register value and the first target display parameter value is greater than the upper limit of the deviation, the first gamma register value can be corrected again, and based on the corrected first gamma register value and the mapping relationship, the second gamma register value that has been corrected once can be corrected twice to obtain a second gamma register value corrected twice, and it is again determined whether the difference between the display parameter value under the corrected first gamma register value and the second gamma register value corrected twice and the first target display parameter value is less than or equal to the upper limit of the deviation. If yes, it indicates that the first gamma register value and the second gamma register value have been corrected; if not, the above gamma correction process is repeated until the difference between the display parameter value under the first gamma register value corrected multiple times and the second gamma register value corrected multiple times and the first target display parameter value is less than or equal to the upper limit of the deviation.
[0153] In some embodiments, determining the display parameter values at the first gamma register value and the corrected second gamma register value can include: converting the first gamma register value into a first gamma voltage, converting the corrected second gamma register value into a second gamma voltage, and outputting the first gamma voltage and the second gamma voltage to the display panel to cause the display panel to display a white picture at the target gray scale; and extracting a luminance value and a color coordinate of the white picture to obtain the display parameter values at the first gamma register value and the corrected second gamma register value.
[0154] It should be noted that the first gamma register value can be converted into the first gamma voltage and the corrected second gamma register value can be converted into the second gamma voltage by the above formula (1), and the embodiments of the present application will not be described again.
[0155] It should be understood that outputting the first gamma voltage and the second gamma voltage to the display panel to cause the display panel to display a white picture at the target gray scale can be understood as that the first gamma voltage and the second gamma voltage can be provided to the first color sub-pixel and the second color sub-pixel through the data line of the display panel, so that the first color sub-pixel and the second color sub-pixel display a white picture at the target gray scale.
[0156] Exemplarily, the luminance value and the color coordinate of the white picture at the target gray scale can be taken as the display parameter values at the first gamma register value and the corrected second gamma register value.
[0157] Exemplarily, the luminance value and the color coordinate of the white picture at the target gray scale can be extracted by a color analyzer.
[0158] By this method, the display parameter values at the first gamma register value and the corrected second gamma register value can be determined, and in the case that the display parameter values at the first gamma register value and the corrected second gamma register value are close to the first target display parameter value, it is indicated that the first gamma register value and the corrected second gamma register value have been corrected, the whole gamma correction process is shortened, and the production capacity of the display terminal is improved.
[0159] It should be understood that in the production process of the display panel, due to production process, material and other reasons, uneven bright and dark defects will appear on the display panel, which affects the display effect of the display panel. After the display panel is produced, uneven bright and dark compensation data can be used to solve the uneven bright and dark defects on the display panel. However, since the uneven bright and dark compensation data is stored separately, when the gamma voltage is provided to the sub-pixel of the display panel, the gamma voltage corresponding to the uneven bright and dark compensation data (denoted as uneven bright and dark compensation value) needs to be calculated.
[0160] Based on this, in some embodiments, the first gamma voltage includes a brightness and darkness unevenness compensation value of the first color sub-pixel at the target gray scale, and the second gamma voltage includes a brightness and darkness unevenness compensation value of the second color sub-pixel at the target gray scale.
[0161] Through the method, when the first gamma voltage and the second gamma voltage are provided to the sub-pixel of the display panel, it is not necessary to calculate the gamma voltage corresponding to the brightness and darkness unevenness compensation data again, so that the driving aging can be improved.
[0162] In some embodiments, determining the first target display parameter value at the target gray scale can include: obtaining a display parameter value of a white picture of the display panel at the highest gray scale; and determining a first target display parameter value of a white picture of the display panel at the target gray scale based on the display parameter value of the white picture of the display panel at the highest gray scale.
[0163] It should be understood that the calculation formula for determining the first target brightness value can refer to the above formula (2) (corresponding to Gray being the target gray scale), and the embodiments of the present application will not be described again.
[0164] It should also be understood that the color coordinates of the display panel at each gray scale can be the same, that is, the first target color coordinates of the white picture at the target gray scale are the same as the color coordinates of the white picture at the highest gray scale.
[0165] Through the method, the first target display parameter value of the display panel at the target gray scale can be accurately determined, so that the accuracy of gamma correction is ensured.
[0166] Further, in some embodiments, the difference between the display parameter values at the first gamma register value and the corrected second gamma register value and the first target display parameter value is less than or equal to the upper limit of the deviation, which can include:
[0167] The difference between the brightness values at the first gamma register value and the corrected second gamma register value and the first target brightness value is less than or equal to the first upper limit of the deviation; and
[0168] The difference between the color coordinates at the first gamma register value and the corrected second gamma register value and the first target color coordinates is less than or equal to the second upper limit of the deviation.
[0169] Through the method, the difference between the display parameter values at the first gamma register value and the corrected second gamma register value and the first target display parameter value is less than or equal to the upper limit of the deviation, which means that for the display panel in the embodiments of the present application, the first gamma register value and the corrected second gamma register value are the corrected gamma register values, the entire gamma correction process is shortened in time consumption, and the production capacity of the display terminal is improved.
[0170] The embodiment of the present application provides a gamma correction method, which can establish a mapping relationship of gamma register values of a first color sub-pixel and a second color sub-pixel at each gray scale, after obtaining a first gamma register value of the first color sub-pixel at a target gray scale, can correct a second gamma register value of the second color sub-pixel at the target gray scale based on the mapping relationship and the first gamma register value, so that a display parameter value under the first gamma register value and the corrected second gamma register value is close to a first target display parameter value. In this way, the second gamma register value can be corrected through the mapping relationship and the first gamma register value, so that the gamma register values of each color sub-pixel do not need to be corrected separately, the time consumption of gamma correction is shortened, and the production capacity of the display terminal is improved.
[0171] The preferred embodiments of the present application are described in detail above in combination with the drawings, but the present application is not limited to the specific details in the above-described embodiments. Within the technical concept range of the present application, the technical solutions of the present application can be subjected to various simple modifications, and these simple modifications all belong to the protection range of the present application. For example, in the above-described specific embodiments, various specific technical features described in the embodiments can be combined in any appropriate manner without contradiction. In order to avoid unnecessary repetition, various possible combination manners are not described again in the present application. For another example, various different embodiments of the present application can also be combined in any manner, as long as it does not deviate from the idea of the present application, and it should also be regarded as the disclosed content of the present application. For another example, under the premise of no conflict, each embodiment described in the present application and / or the technical features in each embodiment can be combined with any related technology, and the technical solutions obtained after combination should also fall within the protection range of the present application.
[0172] It should also be understood that, in various method embodiments of the present application, the size of the serial number of the above-described processes does not mean the order of execution, and the execution order of the processes should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0173] Based on the same inventive concept as the foregoing embodiments, Figure 5 is a component structure schematic diagram of a gamma correction device provided by the embodiment of the present application, as Figure 5 indicated, the gamma correction device 500 can include an establishing module 510, a determining module 520 and a correcting module 530, wherein:
[0174] The establishing module 510 is configured to establish a mapping relationship of gamma register values of a first color sub-pixel and a second color sub-pixel at each gray scale.
[0175] The determining module 520 is configured to determine a first gamma register value of the first color sub-pixel at a target gray scale.
[0176] The correction module 530 is configured to correct the second gamma register value of the second color sub-pixel at the target gray scale based on the mapping relationship and the first gamma register value, so that a difference between the display parameter value at the first gamma register value and the corrected second gamma register value and the first target display parameter value is less than or equal to the upper deviation limit value; the display parameter value includes a luminance value and a color coordinate.
[0177] In some embodiments, the determination module 520 is further configured to determine that the gamma register values of the first color sub-pixel and the second color sub-pixel at each gray scale satisfy an initial mapping relationship; determine a third gamma register value of the first color sub-pixel at the first gray scale and a fourth gamma register value of the second color sub-pixel at the first gray scale, where a difference between the display parameter value at the third gamma register value and the fourth gamma register value and the second target display parameter value is less than or equal to the upper deviation limit value; and the establishing module 510 is further configured to establish the mapping relationship based on the third gamma register value, the fourth gamma register value, and the initial mapping relationship.
[0178] In some embodiments, after correcting the second gamma register value of the second color sub-pixel at the target gray scale, the gamma correction apparatus 500 can further include a conversion module 540, an output module 550, and an extraction module 560, where:
[0179] The conversion module 540 is configured to convert the first gamma register value into a first gamma voltage and convert the corrected second gamma register value into a second gamma voltage.
[0180] The output module 550 is configured to output the first gamma voltage and the second gamma voltage to the display panel, so that the display panel displays a white picture at the target gray scale.
[0181] The extraction module 560 is configured to extract the luminance value and the color coordinate of the white picture to obtain the display parameter value at the first gamma register value and the corrected second gamma register value.
[0182] In some embodiments, the first gamma voltage includes a bright-dark unevenness compensation value of the first color sub-pixel at the target gray scale, and the second gamma voltage includes a bright-dark unevenness compensation value of the second color sub-pixel at the target gray scale.
[0183] In some embodiments, before correcting the second gamma register value of the second color sub-pixel at the target gray scale, the gamma correction apparatus 500 can further include an acquisition module 570, where:
[0184] The acquisition module 570 is configured to acquire the display parameter value of the white picture of the display panel at the highest gray scale.
[0185] The determining module 520 is configured to determine a first target display parameter value of a white picture of the display panel at the target gray scale based on a display parameter value of the white picture of the display panel at the maximum gray scale.
[0186] Preferably, the first target display parameter value L of the white picture of the display panel at the target gray scale is L = Gray / max * γ * L w , where Gray is the target gray scale, max is the maximum gray scale, γ is an index corresponding to a gamma curve of the display panel, L w is the display parameter value of the white picture of the display panel at the maximum gray scale.
[0187] In some embodiments, the mapping relationship is a linear mapping relationship.
[0188] Preferably, the first color sub-pixel is one of red sub-pixels, green sub-pixels and blue sub-pixels, the second color sub-pixel is another color sub-pixel except the one of the red sub-pixels, the green sub-pixels and the blue sub-pixels, and the initial mapping relationship is y = k0x, where k0 is a constant, x is a gamma register value of the first color sub-pixel, and y is a gamma register value of the second color sub-pixel.
[0189] Preferably, k0 = y0 / x0, where x0 is a third gamma register value, and y0 is a fourth gamma register value.
[0190] Preferably, the first color sub-pixel is one of red sub-pixels, green sub-pixels and blue sub-pixels, the second color sub-pixel is another color sub-pixel except the one of the red sub-pixels, the green sub-pixels and the blue sub-pixels, and the initial mapping relationship is y = k1x, where k1 is a constant, and k0 is not equal to k1.
[0191] Preferably, k1 = y1 / x1, where x1 is a seventh gamma register value of the first color sub-pixel at the third gray scale, and y1 is an eighth gamma register value of the second color sub-pixel at the third gray scale, and a difference between display parameter values corresponding to the seventh gamma register value and the eighth gamma register value and the fourth target display parameter value is less than or equal to the upper deviation limit value.
[0192] In some embodiments, a difference between luminance values corresponding to the first gamma register value and the corrected second gamma register value and the first target luminance value is less than or equal to a first upper deviation limit value, and a difference between color coordinates corresponding to the first gamma register value and the corrected second gamma register value and the first target color coordinates is less than or equal to a second upper deviation limit value.
[0193] Preferably, a difference between luminance values corresponding to the first gamma register value and the corrected second gamma register value and the first target luminance value is less than or equal to a first lower deviation limit value.
[0194] The difference between the color coordinates under the first gamma register value and the corrected second gamma register value and the first target color coordinate is less than or equal to the second deviation lower limit value.
[0195] The embodiment of the present application provides a gamma correction device, which can establish a mapping relationship of the gamma register value of the first color sub-pixel and the second color sub-pixel at each gray scale, and after obtaining the first gamma register value of the corrected first color sub-pixel at the target gray scale, the second gamma register value of the second color sub-pixel at the target gray scale can be corrected based on the mapping relationship and the first gamma register value, so that the display parameter value under the first gamma register value and the corrected second gamma register value is close to the first target display parameter value. In this way, the second gamma register value can be corrected through the mapping relationship and the first gamma register value, so that the gamma register value of each color sub-pixel does not need to be corrected separately, the time consumption of gamma correction is shortened, and the production capacity of the display terminal is improved.
[0196] Those skilled in the art should understand that the above description of the gamma correction device of the embodiment of the present application can be understood with reference to the description of the gamma correction method of the embodiment of the present application.
[0197] Figure 6 is a structural schematic diagram of a display device provided by the embodiment of the present application. As shown in Figure 6 The display device 600 can include a display panel 610, a memory 620 and a processor 630.
[0198] The memory 620 stores the gamma register value, and the processor 630 retrieves the gamma register value from the memory and controls the display panel 610 according to the gamma register value, wherein the gamma register value is the gamma register value obtained by the gamma correction method introduced in the above embodiment.
[0199] The processor 630 can be referred to as a central processing unit (CPU). The processor 630 can be an integrated circuit chip with processing capability. The processor 630 can also be a general purpose processor, 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, discrete hardware components. The general purpose processor can be a microprocessor or any conventional processor.
[0200] The memory 620 can be a memory stick, a TF card, etc., and can store all information in the display device 600 of the equipment, including input raw data, computer programs, intermediate running results and final running results. It is saved in the memory 620. It is stored and retrieved according to the location specified by the controller. With the memory 620, the display device 600 has a memory function and can work normally. The memory 620 of the display device 600 can be divided into main memory (memory) and auxiliary memory (external memory) according to the purpose, and there is also a classification method of dividing into external memory and internal memory. The external memory is usually a magnetic medium or an optical disc, etc., which can store information for a long time. The internal memory refers to the storage component on the motherboard, which is used to store the data and programs currently being executed, but only used to temporarily store programs and data, and the data will be lost when the power is off.
[0201] Figure 7 is a structural schematic diagram of a display terminal provided by an embodiment of the present application. As shown in Figure 7 , the display terminal 700 can include a terminal device body 710 and a display device 600. The display device 600 is arranged on the terminal device body 710 and is electrically connected with the terminal device body 710. The display device 600 is used to display static pictures or dynamic pictures.
[0202] Exemplarily, the display terminal 700 can be realized in the form of various electronic devices such as a mobile phone, a tablet computer, a palm computer, a PAD, etc.
[0203] The embodiment of the present application further provides a computer readable storage medium for storing a computer program.
[0204] In some embodiments, the computer readable storage medium can be applied to the display terminal in the embodiment of the present application, and the computer program is executed by one or more processors to realize the corresponding processes realized by the display terminal in the various methods of the embodiment of the present application. For the sake of brevity, it will not be repeated here.
[0205] The embodiment of the present application further provides a computer program product including computer program instructions.
[0206] In some embodiments, the computer program product can be applied to the display terminal in the embodiment of the present application, and the computer program instructions make the computer execute the corresponding processes realized by the display terminal in the various methods of the embodiment of the present application. For the sake of brevity, it will not be repeated here.
[0207] The embodiment of the present application further provides a computer program.
[0208] In some embodiments, the computer program can be applied to the display terminal in the embodiments of the present application, and when the computer program is executed on the computer, the computer is caused to execute the corresponding processes realized by the display terminal in the various methods of the embodiments of the present application. For brevity, details are not described herein.
[0209] Those skilled in the art can realize that the units and method steps of the examples described in combination with the embodiments disclosed in the present application can be realized in electronic hardware or in combination of computer software and electronic hardware. Whether the functions are realized in hardware or software mode depends on the specific application and design constraints of the technical solutions. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of the present application.
[0210] It should be noted that in the present application, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, so that the processes, methods, articles or devices including a series of elements not only include those elements, but also include other elements not explicitly listed or inherent to such processes, methods, articles or devices. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article or device including the element.
[0211] The serial numbers of the embodiments of the present application described above are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0212] The methods disclosed in the several method embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments.
[0213] The features disclosed in the several product embodiments provided by the present application can be combined arbitrarily without conflict to obtain new product embodiments.
[0214] The features disclosed in the several method or device embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method or device embodiments.
[0215] The above implementation manners are only used to illustrate the embodiments of the present application, and not to limit the embodiments of the present application. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application, and the patent protection scope of the embodiments of the present application should be defined by the claims.
Claims
1. A gamma correction method, characterized by, The method comprises: establishing a mapping relationship between a gamma register value of a first color sub-pixel and a gamma register value of a second color sub-pixel at each gray scale; determining a first gamma register value of the first color sub-pixel at a target gray scale; based on the mapping relationship and the first gamma register value, correcting a second gamma register value of the second color sub-pixel at the target gray scale, so that a difference between a display parameter value under the first gamma register value and the corrected second gamma register value and a first target display parameter value is less than or equal to an upper deviation limit value; wherein the display parameter value comprises a luminance value and a color coordinate; the establishing a mapping relationship between a gamma register value of a first color sub-pixel and a gamma register value of a second color sub-pixel at each gray scale comprises: determining that the gamma register values of the first color sub-pixel and the second color sub-pixel satisfy an initial mapping relationship at each gray scale; determining a third gamma register value of the first color sub-pixel at a first gray scale and a fourth gamma register value of the second color sub-pixel at the first gray scale, wherein a difference between display parameter values under the third gamma register value and the fourth gamma register value and a second target display parameter value is less than or equal to the upper deviation limit value; based on the third gamma register value, the fourth gamma register value and the initial mapping relationship, establishing the mapping relationship.
2. The method of claim 1, wherein, After correcting the second gamma register value of the second color sub-pixel at the target gray scale, the method further comprises: converting the first gamma register value into a first gamma voltage, converting the corrected second gamma register value into a second gamma voltage, and outputting the first gamma voltage and the second gamma voltage to a display panel, so that the display panel displays a white picture at the target gray scale; extracting the luminance value and the color coordinate of the white picture to obtain the display parameter values under the first gamma register value and the corrected second gamma register value.
3. The method of claim 2, wherein, The first gamma voltage comprises a bright-dark uneven compensation value of the first color sub-pixel at the target gray scale, and the second gamma voltage comprises a bright-dark uneven compensation value of the second color sub-pixel at the target gray scale.
4. The method of claim 1, wherein, Before correcting the second gamma register value of the second color sub-pixel at the target gray scale, the method further comprises: obtaining a display parameter value of a white picture of a display panel at a highest gray scale; based on the display parameter value of the white picture of the display panel at the highest gray scale, determining a first target display parameter value of a white picture of the display panel at the target gray scale.
5. The method of claim 1, wherein, The mapping relationship is a linear mapping relationship.
6. The method of claim 5, wherein: the first color sub-pixel is one of a red sub-pixel, a green sub-pixel and a blue sub-pixel, the second color sub-pixel is a color sub-pixel other than the one color sub-pixel, and the initial mapping relationship is y=k0x, where k0 is a constant, x is a gamma register value of the first color sub-pixel, and y is a gamma register value of the second color sub-pixel.
7. The method of claim 6, wherein k0 = y0 / x0, where x0 is a third gamma register value and y0 is a fourth gamma register value.
8. The method of claim 5, wherein the first color sub-pixel is one of a red color sub-pixel, a green color sub-pixel, and a blue color sub-pixel, the second color sub-pixel is another color sub-pixel other than the one of the red color sub-pixel, the green color sub-pixel, and the blue color sub-pixel, and the initial mapping relationship is y = k1x, where k1 is a constant and k0 is not equal to k1.
9. The method of claim 8, wherein k1 = y1 / x1, where x1 is a seventh gamma register value of the first color sub-pixel at a third gray level and y1 is an eighth gamma register value of the second color sub-pixel at the third gray level, and wherein a difference between a display parameter value at the seventh gamma register value and the eighth gamma register value and a fourth target display parameter value is less than or equal to the upper deviation value.
10. The method of claim 1, wherein a difference between a luminance value at the first gamma register value and the corrected second gamma register value and a first target luminance value is less than or equal to a first upper deviation value; and a difference between a color coordinate at the first gamma register value and the corrected second gamma register value and a first target color coordinate is less than or equal to a second upper deviation value.
11. The method of claim 10, wherein the difference between the luminance value at the first gamma register value and the corrected second gamma register value and the first target luminance value is less than or equal to a first lower deviation value; and the difference between the color coordinate at the first gamma register value and the corrected second gamma register value and the first target color coordinate is less than or equal to a second lower deviation value.
12. A method comprising: establishing a mapping relationship of gamma register values of a first color sub-pixel and a second color sub-pixel at each gray level; determining a first gamma register value of the first color sub-pixel at a target gray level; and correcting a second gamma register value of the second color sub-pixel at the target gray level based on the mapping relationship and the first gamma register value, such that a difference between a display parameter value at the first gamma register value and the corrected second gamma register value and a first target display parameter value is less than or equal to an upper deviation value, wherein the display parameter value comprises a luminance value and a color coordinate. 12. A gamma correction device characterized by comprising: The establishing module is configured to establish a mapping relationship between a first color sub-pixel and a second color sub-pixel at each gray scale, including: determining that the first color sub-pixel and the second color sub-pixel satisfy an initial mapping relationship at each gray scale; determining a third gamma register value of the first color sub-pixel at a first gray scale and a fourth gamma register value of the second color sub-pixel at the first gray scale, wherein a difference between display parameter values at the third gamma register value and the fourth gamma register value and a second target display parameter value is less than or equal to the upper limit of the deviation; and establishing the mapping relationship based on the third gamma register value, the fourth gamma register value, and the initial mapping relationship.
13. A display device comprising: The display device includes: a display panel; a memory storing a gamma register value; a processor configured to retrieve the gamma register value from the memory and control the display panel according to the gamma register value, wherein the gamma register value is obtained by the gamma correction method of any one of claims 1 to 11.
14. A display terminal, characterized by The display terminal includes a terminal device body and the display device of claim 13 disposed on the terminal device body.
Citation Information
Patent Citations
Gray correction data generation device, gray correction device, and electronic apparatus
CN110379380A
Image correction method and preprocessing method thereof, and image correction circuit
CN115050306A