Gamma curve generation method, display panel driving method and display apparatus
By generating an adaptive gamma curve to adjust the grayscale and brightness mapping relationship, the problem of decreased resolution of dark details in the display panel under different lighting conditions was solved, thus enhancing the image details.
Patent Information
- Application Number
- PCT/CN2024/119622
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-31
- Filing Date
- 2024-09-19
- Publication Date
- 2026-02-05
Smart Images

Figure CN2024119622_05022026_PF_FP_ABST
Abstract
Description
Gamma curve generation method, display panel driving method, and display device
[0001] The present application claims priority to the Chinese patent application No. 202411047484.5, filed on July 31, 2024, and entitled "Gamma curve generation method, display panel driving method, and display device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the technical field of display, and in particular to a gamma curve generation method, a display panel driving method, and a display device. BACKGROUND
[0003] When a display panel displays a picture, the presentation ability of details in the picture can be measured by the contrast of adjacent gray scales. However, in actual applications, the actual brightness contrast presented by the picture is much smaller than the theoretical value due to the influence of environmental light reflection and other factors, so that the details of the picture visible to the human eye are not obvious, and thus the picture details are lost.
[0004] SUMMARY
[0005] The embodiments of the present application provide a gamma curve generation method, a display panel driving method, and a display device to improve the influence of light on the presentation ability of picture details.
[0006] In a first aspect, the embodiments of the present application provide a gamma curve generation method, comprising:
[0007] According to the illumination value and the first gamma curve, a second gamma curve is generated, wherein in the first state and / or the first region of the display panel, the first brightness contrast corresponding to the same gray scale is smaller than the second brightness contrast corresponding thereto, the first brightness contrast is related to the illumination value and / or the first gamma curve, and the second brightness contrast is the brightness contrast corresponding to the gray scale under the second gamma curve.
[0008] In a second aspect, based on the same inventive concept, the embodiments of the present application provide a display panel driving method, comprising:
[0009] According to the detected illumination value of the environmental light, the second gamma curve matching the illumination value of the environmental light is searched from the stored N groups of second gamma curves;
[0010] The display is performed according to the searched second gamma curve;
[0011] The N sets of stored second gamma curves are generated according to a first gamma curve and N preset illuminance values, and one set of the second gamma curves corresponds to one preset illuminance value, wherein in a first state and / or a first area of the display panel, a first luminance contrast corresponding to a same gray scale is less than a second luminance contrast corresponding to the same gray scale, the first luminance contrast is related to the preset illuminance value and / or the first gamma curve, and the second luminance contrast is a luminance contrast corresponding to the gray scale under the second gamma curve.
[0012] In a third aspect, based on the same inventive concept, the present application provides a display device, comprising:
[0013] a display panel;
[0014] a sensing module configured to detect ambient light;
[0015] a first processing module electrically connected to the sensing module and configured to obtain an illuminance value of the ambient light according to information of the detected ambient light;
[0016] a second processing module electrically connected to the first processing module and configured to store N sets of second gamma curves and to find, according to the detected illuminance value of the ambient light, a second gamma curve matching the illuminance value of the ambient light from the N sets of second gamma curves, wherein the N sets of second gamma curves are generated according to a first gamma curve and N preset illuminance values, and one set of the second gamma curves corresponds to one preset illuminance value, wherein in a first state and / or a first area of the display panel, a first luminance contrast corresponding to a same gray scale is less than a second luminance contrast corresponding to the same gray scale, the first luminance contrast is related to the preset illuminance value and / or the first gamma curve, and the second luminance contrast is a luminance contrast corresponding to the gray scale under the second gamma curve;
[0017] a driving module electrically connected to the second processing module and the display panel respectively and configured to drive the display panel to display according to the found second gamma curve.
[0018] In a fourth aspect, based on the same inventive concept, the present application provides a driving method of a display panel, comprising:
[0019] generating a second gamma curve according to a first gamma curve and a detected illuminance value of ambient light, wherein in a first state and / or a first area of the display panel, a first luminance contrast corresponding to a same gray scale is less than a second luminance contrast corresponding to the same gray scale, the first luminance contrast is related to the detected illuminance value of the ambient light and / or the first gamma curve, and the second luminance contrast is a luminance contrast corresponding to the gray scale under the second gamma curve;
[0020] finding, in the second gamma curve, a luminance value corresponding to a display gray scale in a to-be-displayed picture;
[0021] According to the luminance value found in the second gamma curve, a first gray scale corresponding to the display gray scale is found in the first gamma curve;
[0022] According to the first gamma curve and the first gray scale, display is performed.
[0023] In a fifth aspect, based on the same inventive concept, the present application provides a display device, comprising:
[0024] a display panel;
[0025] a sensing module configured to detect ambient light;
[0026] a first processing module electrically connected to the sensing module and configured to obtain an illuminance value of the ambient light according to information of the detected ambient light;
[0027] a second processing module electrically connected to the first processing module and configured to generate a second gamma curve according to the first gamma curve and the illuminance value of the detected ambient light, wherein in a first state and / or a first area of the display panel, a first luminance contrast corresponding to a same gray scale is less than a second luminance contrast corresponding to the same gray scale, the first luminance contrast is related to the illuminance value of the detected ambient light and / or the first gamma curve, and the second luminance contrast is a luminance contrast corresponding to the gray scale under the second gamma curve; a luminance value corresponding to a display gray scale in a to-be-displayed picture is found in the second gamma curve; and according to the luminance value found in the second gamma curve, a first gray scale corresponding to the display gray scale is found in the first gamma curve;
[0028] a driving module electrically connected to the second processing module and the display panel respectively and configured to drive the display panel to display according to the first gamma curve and the first gray scale.
[0029] The above technical solution provided by the embodiments of the present application has the following beneficial effects:
[0030] In the embodiment of the present application, the second gamma curve is generated according to the illumination value and the first gamma curve, and the mapping relationship between the gray scale and the brightness is redistributed in the second gamma curve, so that for at least part of the gray scale, the second brightness contrast corresponding to the gray scale under the second gamma curve is greater than the first brightness contrast corresponding to the same gray scale, that is, greater than the actual brightness contrast of the picture affected by the light when the display panel is driven by the first gamma curve. Therefore, when the display panel is driven according to the mapping relationship between the gray scale and the brightness of the second gamma curve, the actual brightness contrast of the picture corresponding to this part of the gray scale is greater even if affected by the light, the contrast actually perceived by the human eye is more obvious, and the influence of the light on the brightness contrast corresponding to this part of the gray scale can be effectively compensated, so that the human eye can still clearly see the details of the picture.
[0031] In summary, the embodiment of the present application can generate a new gamma curve according to different illumination values, and then adaptively increase the brightness contrast corresponding to at least part of the gray scale, and enhance the details of the picture. BRIEF DESCRIPTION OF DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0033] Fig. 1 is a curve diagram of the brightness contrast provided by the embodiment of the present application;
[0034] Fig. 2 is a contrast curve diagram of the brightness contrast provided by the embodiment of the present application;
[0035] Fig. 3 is a flow chart of the generation method of the gamma curve provided by the embodiment of the present application;
[0036] Fig. 4 is another flow chart of the generation method of the gamma curve provided by the embodiment of the present application;
[0037] Fig. 5 is another flow chart of the generation method of the gamma curve provided by the embodiment of the present application;
[0038] Fig. 6 is another flow chart of the generation method of the gamma curve provided by the embodiment of the present application;
[0039] Fig. 7 is another flow chart of the generation method of the gamma curve provided by the embodiment of the present application;
[0040] Fig. 8 is a flow chart of the driving method of the display panel provided by the embodiment of the present application;
[0041] FIG. 9 is a schematic diagram of a structure of a display device according to an embodiment of the present application;
[0042] FIG. 10 is a schematic diagram of another structure of a display device according to an embodiment of the present application;
[0043] FIG. 11 is another flowchart of a driving method of a display panel according to an embodiment of the present application;
[0044] FIG. 12 is a schematic diagram of still another structure of a display device according to an embodiment of the present application;
[0045] FIG. 13 is a schematic diagram of yet another structure of a display device according to an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to better understand the technical solutions of the present application, the embodiments of the present application are described in detail below with reference to the drawings.
[0047] It should be clear that the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0048] The terms used in the embodiments of the present application are only for the purpose of describing the specific embodiments, and are not intended to limit the present application. The singular forms "a", "an" and "the" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0049] It should be understood that the term "and / or" used herein is only to describe 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 three cases of A alone, A and B together, and B alone. In addition, the character " / " in this paper generally represents that the front and rear associated objects are a "or" relationship.
[0050] Before describing the technical solutions provided by the embodiments of the present application, the problems existing in the related art are first described.
[0051] As described in the background, when the display panel displays a picture, the presentation ability of details in the picture can be measured by the contrast of adjacent gray scales, and the contrast of adjacent gray scales is also called the brightness contrast (Contrast Ratio, CR) between adjacent gray scales.
[0052] wherein, the gray scale G m and the gray scale G m-1The luminance contrast between the adjacent gray scales is CR(m). In theory, the luminance contrast CR(m) presented by the picture is only related to the gray scale G m and the gray scale G m-1 The display luminance L(m) and L(m-1) corresponding to the gamma curve respectively are related:
[0053] However, the inventors have found that in practical applications, the luminance contrast CR(m) presented by the picture is also affected by the light, so it is also related to the light contribution luminance L evr The light contribution luminance L evr is related to the illumination value of the light and the reflection of the light. When the environmental interference is large, the luminance contrast between the adjacent gray scales is greatly reduced, and the resolution of the human eye to the details is obviously decreased, thereby greatly affecting the viewing effect of the picture.
[0054] The inventors have further found that the above problem has a greater impact on the presentation of dark details in the picture. The inventors have tested based on the current benchmark gamma curve with a gamma value of 2.2 under the condition that the illumination is 1000 lux and the total reflectivity is 1.42%, as shown in FIG. 1, which is a curve diagram of the luminance contrast provided by an embodiment of the present application. It can be seen from the curve diagram that, due to the influence of the light, the luminance contrast between the adjacent gray scales in some lower gray scales, such as in the gray scale range framed by the dashed line, is very small, which will lead to a very poor resolution of the human eye to the dark details in the picture, and the loss of the dark details is particularly serious.
[0055] To this end, an embodiment of the present application provides a method for generating a gamma curve, which comprises: generating a second gamma curve according to an illumination value and a first gamma curve. In a first state and / or a first region of a display panel, the first luminance contrast corresponding to the same gray scale is less than the second luminance contrast corresponding thereto, the first luminance contrast is related to the illumination value and / or the first gamma curve, and the second luminance contrast is the luminance contrast corresponding to the gray scale under the second gamma curve.
[0056] First of all, it needs to be pointed out that:
[0057] Firstly, the luminance contrast corresponding to a certain gray scale in the embodiments of the present application refers to the luminance contrast between the gray scale and the adjacent previous gray scale, that is, the luminance contrast between the gray scale G m and the gray scale G m and the gray scale G m-1 Further, it can be understood that since m-1 can only be 0 at the minimum, the gray scale G0 does not exist the concept of luminance contrast. For example, when the gray scale range of the display panel is 0-255, only the gray scale G 255 -G1 will correspond to the luminance contrast.
[0058] II. The first state of the display panel is a display state of the display panel, for example, the first state can be a dark state, and the display panel displays a dark state image in the first state. The first area of the display panel is at least part of a display area in the display panel, for example, the first area can be a display area for presenting a dark state image. It should be noted that the dark state mentioned herein is not only a black picture, but also some pictures with low brightness.
[0059] III. The illumination value for generating the second gamma curve can be an actual detected ambient light illumination value in the working process of the display panel, or a set illumination value. Regardless of the type of illumination value, the size of the illumination value is used to reflect the intensity of the light. Different illumination values have different effects on the brightness contrast of the picture presented, that is, the first brightness contrast corresponding to the same gray scale is different, and then when the second gamma curve is generated according to different illumination values, the second brightness contrast corresponding to the same gray scale under the second gamma curve is also different.
[0060] When the display panel is driven to display by the first gamma curve, the actual brightness contrast of the picture presented is weakened due to the influence of light, which can be understood as the first brightness contrast mentioned in the present application.
[0061] In the embodiment of the present application, the second gamma curve is generated according to the illumination value and the first gamma curve, and the mapping relationship between the gray scale and the brightness is redistributed in the second gamma curve, so that for at least part of the gray scale, the second brightness contrast corresponding to the gray scale under the second gamma curve is greater than the first brightness contrast corresponding to the same gray scale, that is, greater than the actual brightness contrast of the picture presented under the influence of light when the display panel is driven to display by the first gamma curve. Then when the display panel is driven according to the mapping relationship between the gray scale and the brightness of the second gamma curve, even if it is affected by light, the actual brightness contrast of the picture presented for this part of the gray scale will be larger, the contrast that the human eye can actually perceive will be more obvious, and then the influence of light on the brightness contrast corresponding to this part of the gray scale can be effectively compensated, so that the human eye can still clearly see the details that the picture wants to present.
[0062] For example, when the second gamma curve is generated according to the first gamma curve with the illumination value of 1000 lux and the gamma value of 2.2, the embodiment of the present application also tests the second gamma curve under the condition that the ambient light illumination is 1000 lux and the total reflectivity is 1.42%, as shown in FIG. 2, which is a curve contrast diagram of the brightness contrast provided by the embodiment of the present application. According to the curve diagram, it can be obviously seen that the second brightness contrast corresponding to the second gamma curve Gamma2 of at least part of the low gray scale is large. When the display panel is driven according to the mapping relationship between the gray scale and the brightness of the second gamma curve Gamma2, under the illumination of the light, the human eye can still clearly see the dark details in the picture.
[0063] In conclusion, the embodiment of the present application can generate a new gamma curve according to different illumination values, and then adaptively realize the increase of the brightness contrast corresponding to at least part of the gray scale, and realize the enhancement of the picture details.
[0064] In a feasible implementation, the gray scale in the first state and / or in the first area is less than the threshold gray scale G x , so that the brightness contrast corresponding to the lower gray scale under the second gamma curve is large, and the resolution ability of the human eye to the dark details of the picture is improved.
[0065] It should be noted that the "gray scale in the first state and / or in the first area is less than the threshold gray scale G x " in the embodiment of the present application only means that the gray scale in the first state and / or in the first area is less than the threshold gray scale G x , and does not mean that all the gray scales less than the threshold gray scale G x must be the gray scale in the first state and / or in the first area.
[0066] That is, the "gray scale in the first state and / or in the first area is less than the threshold gray scale G x " at least includes two cases. The first case is that the gray scale in the first state and / or in the first area is part of the gray scale G0~G x-1 , and the second case is that the gray scale in the first state and / or in the first area is all the gray scale G0~G x-1 .
[0067] For example, in the step S23 mentioned below in combination with FIG. 2, after the first brightness contrast corresponding to each gray scale is obtained, the gray scale corresponding to the maximum first brightness contrast is set as the threshold gray scale G x . At this time, the gray scale range in the first state and / or in the first area can be G0~G x1 , that is, the gray scale G0~G x1In some embodiments, the second luminance contrast corresponding to the gray scale under the second gamma curve is greater than the first luminance contrast corresponding to the same gray scale, and the gray scale under the first gamma curve is greater than the threshold gray scale G x1+1 ~ the gray scale G x-1 In some embodiments, the second luminance contrast corresponding to the gray scale under the second gamma curve can be less than the first luminance contrast corresponding to the same gray scale.
[0068] Further, in the second state and / or the second region of the display panel, the first luminance contrast corresponding to the same gray scale is greater than or equal to the second luminance contrast corresponding to the same gray scale, and the gray scale in the second state and / or the second region is greater than or equal to the threshold gray scale G x The second state of the display panel can be understood as a bright state, and the display panel displays a bright state image in the second state. The second region of the display panel can be a display region for presenting a bright state image.
[0069] That is, in some optional embodiments, when a complete picture is displayed in the display region, the first region corresponding part of the picture included in the display region; the luminance of the first region corresponding part of the picture is relatively low. For example, the display region further includes other regions in addition to the first region, and at the same time, the luminance of the picture in the other region is greater than the luminance of the picture in the first region.
[0070] Optionally, in some optional embodiments, the picture in the first state has a relatively low luminance. Optionally, there is another state before or after the first state, and the target luminance of the picture in the other state is greater than the target luminance of the picture in the first state.
[0071] In the above setting mode, the second luminance contrast corresponding to the medium-high gray scale under the second gamma curve is less than the first luminance contrast corresponding to the same gray scale, and the second luminance contrast corresponding to at least part of the low gray scale under the second gamma curve is greater than the first luminance contrast corresponding to the same gray scale.
[0072] This way is to re-distribute the mapping relationship between the gray scale and the luminance in the second gamma curve by sacrificing the luminance contrast corresponding to the medium-high gray scale to some extent and raising the luminance contrast corresponding to at least part of the low gray scale. Compared with the way of re-distributing the mapping relationship between the gray scale and the luminance in the second gamma curve by raising the luminance contrast corresponding to all gray scales, this way can try not to change the luminance interval corresponding to the second gamma curve, so that the luminance interval corresponding to the second gamma curve is still relatively close to the luminance interval corresponding to the first gamma curve, that is, the mapping relationship between the gray scale and the luminance in the second gamma curve is re-distributed within the original luminance interval range of the first gamma curve, so that the second gamma curve can improve the detail resolution capability without causing too much deviation of the image luminance from the original effect.
[0073] Furthermore, as can be seen from Figure 1, under illumination conditions, the brightness contrast corresponding to medium and high gray levels is inherently larger than that of low gray levels. Therefore, under normal conditions, illumination has little impact on the presentation of bright details. Thus, when generating the second gamma curve, even if the brightness contrast corresponding to medium and high gray levels is sacrificed to some extent, it will not have a significant impact on the presentation of bright details.
[0074] In one feasible implementation, the first gamma curve is a reference gamma curve, that is, a gamma curve used as a reference or standard. The second gamma curve is an adaptive gamma curve, that is, a gamma curve that can improve the visual effect of an image by adjusting the brightness and / or contrast of the image.
[0075] In one feasible implementation, as shown in FIG3, FIG3 is a flowchart of a method for generating a gamma curve provided in an embodiment of the present invention. The process of generating a second gamma curve based on the illuminance value and the first gamma curve may specifically include:
[0076] Step S1: Obtain the light contribution luminance L based on the illuminance value. evr .
[0077] Step S2: Based on the first gamma curve and the light contribution brightness L evr Obtain grayscale G A1 ~Grayscale G A2 The corresponding first brightness contrasts CR(A1) to CR(A2), and the threshold grayscale G. x Among them, the threshold gray level G x The corresponding first brightness contrast CR(x) is greater than the first brightness contrast of at least some other gray levels, 1≤A2<A1≤M, gray level G M For the maximum gray level, A2 < x < A1.
[0078] Step S3: Based on grayscale G A1 The corresponding first display brightness L(A1) is used to obtain the grayscale G. A1 The corresponding second display brightness L'(A1) is where the first display brightness is the display brightness corresponding to the grayscale under the first gamma curve.
[0079] Step S4: Substitute i1 = A1, i1 = A1-1, i1 = A1-2, ..., i1 = x into the equations respectively. Get grayscale G A1-1 ~Grayscale G x-1 The corresponding second display brightness L'(A1-1)~L'(x-1) respectively, where CR'(i1) is the grayscale G i1 The corresponding second brightness contrast; and substituting i2=x-1, i2=x-2, i2=x-3, ..., i2=A2 respectively into Get grayscale Gx-2 ~ gray scale G A2-1 corresponding second display luminance L'(x-2)~L'(A2-1), wherein CR'(i2) is the gray scale G i2 corresponding second luminance contrast.
[0080] Step S5: according to the gray scale G A1 ~ gray scale G A2-1 corresponding second display luminance L'(A1)~L'(A2-1), a second gamma curve is generated.
[0081] For ease of understanding, the following A1=M=255, A2=1 is taken as an example to explain the above process.
[0082] Step S1: according to the illumination value, the light contribution luminance L evr is obtained.
[0083] Step S2: according to the first gamma curve and the light contribution luminance L evr , the first luminance contrast CR1~CR 255 corresponding to the gray scale G1~gray scale G 255 is obtained, and the threshold gray scale G x is obtained. Wherein, the threshold gray scale G x corresponding first luminance contrast CR(x) is greater than at least part of the first luminance contrast corresponding to other gray scales, for example, the threshold gray scale G x corresponding first luminance contrast is the maximum value in CR1~CR 255 .
[0084] Step S3: according to the gray scale G 255 corresponding to the first display luminance L(255) under the first gamma curve, the second display luminance L'(255) corresponding to the gray scale G 255 is obtained.
[0085] It can be understood that the luminance interval corresponding to the first gamma curve is limited by the first display luminance L(0) and L(255) corresponding to the gray scale G0 and gray scale G 255 . That is, the first display luminance L(0) corresponding to the gray scale G0 is the minimum value in the luminance interval, and the first display luminance L(255) corresponding to the gray scale G 255 is the maximum value in the luminance interval.
[0086] In step S3, the gray scale G 255The corresponding second display brightness L'(255) is the maximum value in the brightness interval corresponding to the subsequently generated second gamma curve, and the second display brightness corresponding to other gray scales under the second gamma curve is calculated based on the maximum value. The second display brightness corresponding to other gray scales under the second gamma curve further determines the second display brightness L'(0) corresponding to the gray scale G0, that is, the minimum value in the brightness interval corresponding to the subsequently generated second gamma curve.
[0087] Therefore, in the embodiment of the present application, the gray scale G 255 The corresponding second display brightness L'(255) is the maximum value in the brightness interval corresponding to the subsequently generated second gamma curve, and the second display brightness corresponding to other gray scales under the second gamma curve is calculated based on the maximum value. The second display brightness corresponding to other gray scales under the second gamma curve further determines the second display brightness L'(0) corresponding to the gray scale G0, that is, the minimum value in the brightness interval corresponding to the subsequently generated second gamma curve.
[0088] In the embodiment of the present application, the first display brightness and the second display brightness corresponding to a gray scale refer to the screen brightness of the display panel when displaying the gray scale picture, or can be understood as the brightness of the display area, or the luminous brightness of the pixel or the light emitting element.
[0089] Step S4: i1=255, i1=254, i1=253, …, i1=x are substituted into the formula respectively The gray scale G 254 The gray scale G x-1 The second display brightness L'(254)~L'(x-1) corresponding to the gray scale G
[0090] The CR'(i1) is the second brightness contrast corresponding to the gray scale G i1 The second brightness contrast CR'(i1) is less than or equal to the first brightness contrast CR(i1) corresponding to the gray scale G i1 The second brightness contrast CR'(i1) is less than or equal to the first brightness contrast CR(i1) corresponding to the gray scale G i1 The second brightness contrast CR'(i1) is less than or equal to the first brightness contrast CR(i1) corresponding to the gray scale G i1 The second brightness contrast CR'(i1) is less than or equal to the first brightness contrast CR(i1) corresponding to the gray scale G
[0091] And i2=x-2, i2=x-3, i2=x-4, …, i2=1 are substituted into the formula respectively The gray scale G x-2 The second display brightness L'(x-2)~L'(0) corresponding to the gray scale G
[0092] wherein CR'(i2) is the gray scale G i2 corresponding second luminance contrast, which is less than or equal to a threshold gray scale G x corresponding first luminance contrast CR(x), and the gray scale G x-1 ~ gray scale G A2 wherein the second luminance contrast corresponding to at least part of the gray scales is greater than the first luminance contrast corresponding to the same gray scales. The gray scale G i2 The corresponding second luminance contrast CR'(i2) can be specifically obtained from a threshold gray scale G x The corresponding first luminance contrast CR(x) is calculated, and the specific calculation method will be described in subsequent embodiments.
[0093] Step S5: generating a second gamma curve according to the second display luminance L'(255)~L'(0) corresponding to the gray scale G 255 ~ gray scale G0, respectively.
[0094] In the above manner, the second luminance contrast corresponding to different gray scales is obtained according to the first luminance contrast corresponding to different gray scales, and then a mapping relationship between gray scales and luminance is constructed according to the second luminance contrast. Since the second luminance contrast corresponding to the medium and high gray scales and at least part of the low gray scales is different from the first luminance contrast corresponding to the same gray scales, the mapping relationship constructed according to the second luminance contrast can be regarded as a redistribution of the mapping relationship between the gray scales and the luminance in the luminance interval, and then the second gamma curve can be directly generated according to the constructed mapping relationship.
[0095] In addition, when the light interference is large, the luminance contrast of adjacent gray scales is greatly reduced, especially the luminance contrast corresponding to the low gray scales is very small, which leads to a significant decrease in the resolution ability of the human eye to details. Referring to the curve shown in FIG. 1, the gray scale corresponding to the maximum luminance contrast is divided, and the luminance contrast of the gray scales from this gray scale to 0 gray scale decreases rapidly, which leads to that the luminance contrast corresponding to the gray scales in the dashed box is too small, and has a great adverse effect on the presentation of dark details.
[0096] In the embodiments of the present application, the threshold gray scale G x The gray scale G A1 ~ gray scale G A2 is divided into the gray scale G A1 ~ gray scale G x and the gray scale G x-1 ~ gray scale G A2 These two gray scale intervals, and the second luminance contrast corresponding to the gray scales in the gray scale interval G x-1 ~ gray scale G A2 is raised, so as to more specifically eliminate the influence of light on the luminance contrast of these gray scales. Since the threshold gray scale G xThe corresponding first luminance contrast CR(x) is greater than the first luminance contrast corresponding to at least some other gray scale, that is, the threshold gray scale G x The gray scale corresponding to the maximum luminance contrast, or the threshold gray scale G x The gray scale corresponding to the maximum luminance contrast, and the threshold gray scale G x The divided gray scale G x-1 The gray scale G A2 This interval is more affected by light, and raising the second luminance contrast corresponding to the gray scale in this interval can produce more significant improvement in the presentation of dark details.
[0097] Further, A1=M, and A2=1. For example, M=255.
[0098] At this time, in steps S3 and S4, the second display luminance corresponding to all gray scales is obtained, and when the second gamma curve is generated according to the second display luminance in step S5, the mapping relationship between the gray scale and the luminance reflected by the second gamma curve is more accurate.
[0099] In a feasible implementation, as shown in FIG. 4, which is another flowchart of the method for generating a gamma curve provided by an embodiment of the present application, step S1 can specifically include:
[0100] Step S11: obtaining a direct illumination value E direct and / or an indirect illumination value E indirect .
[0101] Step S12: obtaining a light contribution luminance L direct based on the direct illumination value E indirect and / or the indirect illumination value E evr .
[0102] The illumination of ambient light is generally divided into direct illumination and indirect illumination, and correspondingly, the screen reflection of a display panel is divided into specular reflection and diffuse reflection. In the above step of obtaining the light contribution luminance L evr , both reflection cases are comprehensively considered, and then the first luminance contrast is calculated based on the light contribution luminance L evr and other parameters, the picture presented by the first luminance contrast is more realistic, and then the second luminance contrast is obtained based on the first luminance contrast, and the mapping relationship between the gray scale and the luminance is constructed based on the second luminance contrast, and the display is driven based on the mapping relationship, which can better eliminate the influence of the light corresponding to the illumination value.
[0103] In a feasible implementation, in step S11, E indirect =E×a, E direct=E×a+b; wherein E is an illumination value, 0≤a≤1, 0≤b≤1, and a+b≤1.
[0104] Since the light sensor can not distinguish the proportion of diffuse reflection and specular reflection when light is irradiated to the panel, a and b can be pre-configured with corresponding values according to the proportion of diffuse reflection and specular reflection when ambient light is irradiated to the panel in a conventional environment such as outdoors, so as to subsequently calculate the direct illumination value E direct and / or the diffuse illumination value E indirect by directly calling a and b.
[0105] Further, b=1-a. To be more consistent with the actual situation, the value of a can be set to 0.5≤a≤0.7. For example, a can be equal to 0.6, i.e., E indirect =E×0.6, E direct =E×0.4.
[0106] In a feasible implementation, before step S11, step S1 can further include:
[0107] Step S10: according to the first instruction, selecting a first preset value as a from a plurality of pre-stored first preset values, and / or selecting a second preset value as b from a plurality of pre-stored second preset values.
[0108] In this way, a plurality of selectable values of a and b can be pre-stored according to a plurality of illumination conditions that can be encountered in actual applications. For example, a set of first preset values and second preset values can be stored for a normal outdoor environment, the first preset value in the set is 0.6, and the second preset value is 0.4. A set of first preset values and second preset values can also be stored for a shadowless lamp environment, the first preset value in the set is 1, and the second preset value is 0. A set of first preset values and second preset values can also be stored for a direct light environment, the first preset value in the set is 0, and the second preset value is 1.
[0109] In this way, during the use of the display panel, the first instruction can be generated according to the illumination condition of the light in the environment where the display panel is currently located, and then a set of first preset values and second preset values can be called as the values of a and b in the formula according to the first instruction.
[0110] The reflection characteristics of the display panel screen can be described by a bidirectional reflectance distribution function (BRDF).
[0111] In one feasible implementation, when the BRDF characteristics of the screen are known, step S12 may specifically include: according to Obtain the light contribution brightness L evr Among them, R d For diffuse reflectance, θ i The incident angle for direct illumination can be, for example, 45°. BRDF is the bidirectional reflection distribution function.
[0112] Alternatively, when the BRDF characteristics of the screen are unknown, step S12 may specifically include: according to Obtain the light contribution brightness L evr Among them, R d R% represents diffuse reflectance, R% represents total reflectance, and Haze represents haze value.
[0113] In this embodiment of the invention, diffuse reflectance Rd and R% are the total reflectance and haze value Haze, which are specifically related to the film layer of the display panel screen.
[0114] For example, for a typical ordinary screen, the diffuse reflectance Rd is approximately 0, and the haze value Haze is approximately 0. In this case, the light contribution to the brightness L can be... evr The formula simplifies to L evr ≈R%×E direct .
[0115] For a screen that has undergone anti-reflection treatment, the diffuse reflectance Rd is approximately 0, the haze value Haze is approximately 0, and the total reflectance R% decreases slightly. At this point, the light contribution to the brightness L is still acceptable. evr The formula simplifies to L evr ≈R%×E direct .
[0116] For a screen that has undergone weak anti-glare treatment, the diffuse reflectance Rd is approximately 0, and the haze value Haze is less than 25%. At this point, the light contribution brightness L can be considered... evr The formula simplifies to L evr ≈R%×(1-Haze)×E direct .
[0117] For screens that have undergone strong anti-glare treatment, or screens that have undergone both anti-glare and Augmented Reality (AR) treatment, if the haze value is greater than 25%, then the light contribution brightness L... evr The formula remains the same as before.
[0118] In one feasible implementation, as shown in FIG5, FIG5 is another flowchart of the gamma curve generation method provided in the embodiment of the present invention, step S2 may specifically include:
[0119] Step S21: Obtain the grayscale-display brightness curve L(i) corresponding to the first gamma curve. Among them, L min Let L(0) be the first display brightness corresponding to the minimum gray level G0 under the first gamma curve. max The maximum gray level G M The first display brightness corresponding to the first gamma curve is L(255), where bit is the number of bits of the display panel, for example, it can be 8, and γ is the gamma value corresponding to the first gamma curve, for example, it can be 2.2.
[0120] Step S22: According to Obtain grayscale G respectively M ~The first brightness contrast CR(M)~CR(1) corresponding to grayscale G1 respectively.
[0121] Step S23: Set the gray level corresponding to the maximum value among the first brightness contrasts CR(M) to CR(1) as the threshold gray level G. x .
[0122] The threshold grayscale G obtained using the above method x Its corresponding first brightness contrast is the largest, and then according to the threshold grayscale G x The corresponding first brightness contrast is used to obtain the threshold grayscale G. x When the second brightness contrast corresponds to the following gray levels, the second brightness contrast corresponding to these gray levels can also be relatively large. This allows the second brightness contrast corresponding to more low gray levels to be greater than the first brightness contrast corresponding to the same gray level, thus avoiding the loss of details in dark areas to a greater extent.
[0123] In one feasible implementation, in step S3, L'(A1) = L(A1), that is, grayscale G A1 The corresponding second display brightness L'(A1) is equal to the grayscale G. A1 The corresponding first display brightness L(A1) is obtained from the first gamma curve. Then, the second display brightness L'(A1) corresponding to the grayscale GA1 is directly set to be equal to L(A1).
[0124] Optionally, A1 = 255, which is the maximum grayscale; this ensures that the maximum first display brightness and the maximum second display brightness are consistent. Based on the preceding process, after obtaining the second display brightness L'(A1) corresponding to grayscale GA1 in step S3, the second display brightness corresponding to other grayscales below GA1 is calculated based on L'(A1), thus allowing us to determine the grayscale G... A2-1The corresponding second display brightness L'(A2-1) is the second gamma curve generated subsequently in the grayscale range G. A1 ~G A2-1 The corresponding brightness range.
[0125] By making L'(A1) equal to L(A1), it is equivalent to setting the second gamma curve within the grayscale range G. A1 ~G A2-1 The maximum value of the corresponding brightness range is set to match the first gamma curve in the grayscale range G. A1 ~G A2-1 The maximum values of the corresponding brightness ranges are equal, and then the second display brightness corresponding to other gray levels is calculated based on L'(A1), and the gray level G is further obtained. A2-1 When the corresponding second display brightness L'(A2-1) is reached, L'(A2-1) will not differ too much from L(A2-1), ensuring that the second gamma curve remains within the grayscale range G. A1 ~G A2-1 The corresponding brightness range and the first gamma curve in the grayscale range G A1 ~G A2-1 Since the corresponding brightness ranges are close, the second gamma curve is only considered as a slight adjustment to the mapping relationship between grayscale and brightness within the approximate original brightness range. Therefore, when driving the display based on the mapping relationship between grayscale and brightness reflected by the second gamma curve, the image brightness can avoid excessive deviation from the image brightness driven by the first gamma curve.
[0126] In one feasible implementation, as shown in FIG6, FIG6 is another flowchart of the gamma curve generation method provided by the embodiment of the present invention, step S4 may specifically include:
[0127] Step S41: Based on the first adjustment factor and grayscale G i1 The corresponding first brightness contrast CR(i1) is used to calculate the grayscale G. i1 The corresponding second brightness contrast CR'(i1), where the calculated grayscale G i1 The corresponding second brightness contrast CR'(i1) is less than or equal to the grayscale G. i1 The corresponding first brightness contrast CR(i1); and according to Get grayscale G i1-1 The corresponding second display brightness L'(i1-1) is given by i1, where i1 is initially calculated to be A1.
[0128] Step S42: Determine if i1 is greater than x. If yes, subtract 1 from the value of i1 and return to step S41. If no, proceed to step S43.
[0129] In the first calculation of step S41, i1=A1, the gray scale G A1 corresponding second brightness contrast CR'(A1), and the gray scale G A1-1 corresponding second display brightness L'(A1-1), and then enter step S42, when judging that A1>x, i1 becomes A1-1 and returns to step S41, and the gray scale G A1-1 corresponding second brightness contrast CR'(A1-1), and the gray scale G A1-2 corresponding second display brightness L'(A1-2), and then enter step S42 to judge whether A1-1>x, and so on, until when i1=x+1, step S42 judges that i1>x, i1 becomes x and returns to step S41, and the gray scale G x corresponding second brightness contrast CR'(x), and the gray scale G x-1 corresponding second display brightness L'(x-1), and then enter step S42, in which it is judged that i1 does not satisfy the condition of being greater than x, and thus enter step S43, and the loop of step S41 and step S42 in this round of calculation ends.
[0130] That is, in this round of calculation, according to step S41 and step S42, the gray scale G A1 ~ gray scale G x corresponding second brightness contrast CR'(A1)~CR'(x) respectively, and the gray scale G A1-1 ~ gray scale G x-1 corresponding second display brightness L'(A1-1)~L'(x-1) respectively.
[0131] Step S43: according to the threshold gray scale G x corresponding first brightness contrast CR(x), calculate the gray scale G x-1 ~ gray scale G A2 corresponding second brightness contrast respectively; wherein the gray scale G x-1 ~ gray scale G A2 corresponding second brightness contrast are all less than or equal to the threshold gray scale G x corresponding first brightness contrast CR(x), and the gray scale G x-1 ~ gray scale G A2 , at least part of the gray scale corresponding to the second brightness contrast is greater than the first brightness contrast corresponding to the same gray scale.
[0132] Step S44: according to calculate the gray scale G i2-1 corresponding second display brightness L'(i2-1), wherein the value of i2 in the first calculation is x-1.
[0133] Step S45: judging whether i2 is greater than A2, if yes, reducing the value of i2 by 1 and returning to step S44 again, if no, entering step S46.
[0134] In step S43, according to the threshold gray scale G x The corresponding first brightness contrast CR(x) is calculated to obtain the gray scale G x-1 ~ gray scale G A2 The corresponding second brightness contrast CR'(x-1)~CR'(A2) is calculated respectively.
[0135] In the first calculation of step S44, i2=x-1, according to the gray scale G x-1 The corresponding second brightness contrast CR'(x-1) is calculated to obtain the gray scale G x-2 The corresponding second display brightness L'(x-2) is calculated, and then step S45 is entered, when it is judged that x-1>A2, i1 is changed to x-2 and returns to step S44, in which, according to the gray scale G x-2 The corresponding second brightness contrast CR'(x-1) is calculated to obtain the gray scale G x-3 The corresponding second display brightness L'(x-3) is calculated, and then step S45 is entered to judge whether x-2 is greater than A2, and so on, until when i2=A2+1, step S45 judges that A2+1 is greater than A2, i2 is changed to A2 and returns to step S44, in which, according to the gray scale G A2 The corresponding second brightness contrast CR'(x-1) is calculated to obtain the gray scale G A2-1 The corresponding second display brightness L'(A2-1) is calculated, and then step S45 is entered, in which, it is judged that i2 does not satisfy the condition of being greater than A2, at this time, step S46 is entered, and the loop of step S44 and step S45 in this round of calculation is ended.
[0136] That is, in this round of calculation, according to step S43, the gray scale G x-1 ~ gray scale G A2 The corresponding second brightness contrast CR'(x-1)~CR'(A2) is calculated respectively, and in step S44 and step S45, the gray scale G x-2 ~ gray scale G A2-1 The corresponding second display brightness L'(x-2)~L'(A2-1) is calculated respectively.
[0137] Step S46: judging whether the gray scale G A2-1 corresponds to the second display brightness L'(A2-1) is greater than the gray scale G A2-1whether a preset condition is met between the first display luminance L(A2-1) corresponding to the first gamma curve and the gray scale G
[0138] In step S46, it is judged that the gray scale G A2-1 the second display luminance L'(A2-1) corresponding to the gray scale G A2-1 whether the first display luminance L(A2-1) corresponding to the first gamma curve is too different, if yes, it means that after the second display luminance is generated according to the second calculation, the luminance interval corresponding to the second gamma curve is too different from the luminance interval corresponding to the first gamma curve. Therefore, the first adjustment factor can be changed to return to step S41 for a new round of calculation, so that at least the gray scale G A2-1 ~ the gray scale G x-1 the second display luminance L'(A2-1)~L'(x-1) corresponding to the gray scale G
[0139] when it is judged that the gray scale G A2-1 the second display luminance L'(A2-1) corresponding to the gray scale G A2-1 when the first display luminance L(A2-1) corresponding to the first gamma curve is relatively close, it means that after the second display luminance is generated according to the second calculation, the luminance interval corresponding to the second gamma curve is relatively close to the luminance interval corresponding to the first gamma curve, so that it can directly enter step S5 to generate the second gamma curve according to the second display luminance obtained by the second calculation.
[0140] Optionally, in the first round of calculation, CR'(i1) calculated in step S41 according to the first adjustment factor can be equal to CR(i1), that is, assuming that CR'(i1) is equal to CR(i1) multiplied by the first adjustment factor, the first adjustment factor is taken as 1 for the first time. And when it is judged in step S46 that L'(A2-1) and L(A2-1) do not meet the preset condition and the first adjustment factor needs to be adjusted again, in order to avoid that the adjustment degree is too large when calculating CR'(i1), the adjusted first adjustment factor can be made to satisfy that CR'(i1) calculated is less than CR(i1) and greater than or equal to 0.8×CR(i1), that is, still assuming that CR'(i1) is equal to CR(i1) multiplied by the first adjustment factor, the adjusted first adjustment factor can be less than 1 and greater than or equal to 0.8.
[0141] Of course, in some special steps or situations, the adjustment range of the first adjustment factor can not be limited, as long as the final L'(A2-1) and L(A2-1) can satisfy the preset condition after adjusting the first adjustment factor. Details will be introduced below, and will not be repeated here.
[0142] In a possible implementation, in step S43, the gray scale G x-1 ~ gray scale G A2 The corresponding second brightness contrast CR'(x-1)~CR'(A2) is calculated according to the first adjustment factor and CR(x).
[0143] That is, in step S46, when it is judged that the gray scale G A2-1 The corresponding second display brightness L'(A2-1) and the gray scale G A2-1 When the first adjustment factor needs to be adjusted because the first display brightness L(A2-1) corresponding to the first gamma curve does not satisfy the preset condition with the gray scale G x-1 ~ gray scale G A2 The corresponding second brightness contrast CR'(x-1)~CR'(A2) is also recalculated.
[0144] Or, in another possible implementation, in step S43, the gray scale G x-1 ~ gray scale G A2 The corresponding second brightness contrast is calculated according to the second adjustment factor and CR(x). In step S46, when it is judged that L'(A2-1) and L(A2-1) do not satisfy the preset condition, the second adjustment factor is also adjusted. In one round of calculation of steps S41~S46, the second adjustment factor is not equal to the first adjustment factor.
[0145] Design two different adjustment factors, when it is judged in step S46 that L'(A2-1) and L(A2-1) do not satisfy the preset condition, the two adjustment factors can be adjusted to different degrees, so that the calculation of the second brightness contrast of the gray scale G A1 ~ gray scale G x The corresponding second brightness contrast gray scale G x-1 ~ gray scale G A2 The corresponding second brightness contrast is more flexible.
[0146] Or, in another possible implementation, the second brightness contrast corresponding to the gray scale G x-1 ~ gray scale G1 is fixed. For example, the second brightness contrast corresponding to the gray scale G x-1 ~ gray scale G A2 Can be set to be equal and less than the threshold gray scale G x The corresponding first brightness contrast CR(x).
[0147] In this arrangement, when it is determined in step S46 that L'(A2-1) and L(A2-1) do not satisfy the preset condition, only the first adjustment factor is adjusted to change the gray scale G A1 ~ gray scale G x corresponding to the second luminance contrast, the gray scale G x-1 ~ gray scale G A2 corresponding to the second luminance contrast is fixed, which can reduce the data required for calculation and simplify the calculation process.
[0148] In a possible implementation, when step S41 is performed for the first time, CR'(i1) calculated according to the first adjustment factor is equal to CR(i1), and when the first adjustment factor needs to be adjusted, CR'(i1) obtained according to the adjusted first adjustment factor is less than CR(i1).
[0149] In the gray scale G x-1 ~ gray scale G A2 corresponding to the second luminance contrast is calculated according to the first adjustment factor and CR(x), for example, in the first round of calculation, in the gray scale G A1 ~ gray scale G x , the gray scale G i1 corresponding to the second luminance contrast CR'(i1) is equal to the gray scale G i1 corresponding to the first luminance contrast CR(i1), the gray scale G x-1 ~ gray scale G A2 corresponding to the second luminance contrast is equal to the threshold gray scale G x corresponding to the first luminance contrast CR(x).
[0150] When step S46 is entered after the first round of calculation, when it is determined that the gray scale G A2-1 corresponding to the second display luminance L'(A2-1) and the gray scale G A2-1 corresponding to the first display luminance L(A2-1) under the first gamma curve do not satisfy the preset condition, it indicates that the second display luminance corresponding to different gray scales obtained according to the first round of calculation generates the second gamma curve, and the luminance interval corresponding to the second gamma curve is greater than the luminance interval corresponding to the first gamma curve. Therefore, the first adjustment factor is changed, and step S41 is returned to be recalculated.
[0151] In the second round of calculation, the gray scale G A1 ~ gray scale G x corresponding to the second luminance contrast is reduced, the gray scale G x-1 ~ gray scale G A2The corresponding second luminance contrast is also reduced, so that when the second display luminance corresponding to different gray scales according to the second round of calculation is used to generate the second gamma curve, the luminance interval corresponding to the second gamma curve is closer to the luminance interval corresponding to the first gamma curve than the first round of calculation.
[0152] When the second round of calculation ends and enters step S46, it is determined again whether the gray scale G A2-1 The corresponding second display luminance L'(A2-1) and the gray scale G A2-1 If not, the first adjustment factor is adjusted again, and the third round of calculation is performed again by returning to step S41 to recalculate, so that the gray scale G A1 ~ gray scale G x The corresponding second luminance contrast is further reduced, and the gray scale G x-1 ~ gray scale G A2 The corresponding second luminance contrast is also further reduced, until it is determined that the preset condition is met and step S5 is entered.
[0153] In a possible implementation, in step S46, the process of determining whether the preset condition is met between L'(A2-1) and L(A2-1) includes: determining whether the absolute value of the difference between L'(A2-1) and L(A2-1) is less than a preset difference ΔL, 0.005 nit < ΔL < 0.05 nit.
[0154] If the preset difference ΔL is in the range and the preset condition is met, it means that when the second display luminance obtained according to the current round of calculation is used to generate the second gamma curve, the luminance interval corresponding to the second gamma curve is closer to the luminance interval corresponding to the first gamma curve, and the display effect is better when the display is driven based on the mapping relationship between the gray scale and the luminance reflected by the second gamma curve.
[0155] In a possible implementation, in step S46, the process of determining whether the preset condition is met between L'(A2-1) and L(A2-1) includes: determining whether L'(A2-1) is equal to L(A2-1).
[0156] If the preset condition is met, it means that when the second display luminance obtained according to the current round of calculation is used to generate the second gamma curve, the luminance interval corresponding to the second gamma curve is consistent with the luminance interval corresponding to the first gamma curve, and the display effect is better when the display is driven based on the second gamma curve.
[0157] In a possible implementation, in step S46, the process of determining whether the preset condition is met between L'(A2-1) and L(A2-1) includes: determining whether the absolute value of the difference between L'(A2-1) and L(A2-1) is less than a preset difference.
[0158] The display panel has a first luminance level and a first luminance level, the first gamma curve corresponding to the first luminance level is a first type first gamma curve, and the first gamma curve corresponding to the first luminance level is a second type first gamma curve;
[0159] Wherein, the gray scale G A2-1 Corresponding to the first type first gamma curve L(A2-1) is greater than the gray scale G A2-1 Corresponding to the second type first gamma curve L(A2-1), the preset difference value corresponding to the first type first gamma curve is greater than the preset difference value corresponding to the second type first gamma curve.
[0160] Under different luminance levels, the luminance interval corresponding to the first gamma curve is different. The greater the luminance level is, the greater the gray scale G A2-1 Corresponding to the display luminance under the first gamma curve, so different preset difference values can be set for different luminance levels, for example, for larger luminance levels, the gray scale G A2-1 Corresponding to the display luminance under the first gamma curve is larger, so the preset difference value can be designed to be larger, so that the judgment condition is more relaxed, and for smaller luminance levels, the gray scale G A2-1 Corresponding to the display luminance under the first gamma curve is already small, so the preset difference value can be designed to be small.
[0161] In a feasible implementation, in step S4, CR'(i1)=k1×CR(i1), k1 is a first adjustment factor, and k1≤1.
[0162] The second luminance contrast corresponding to the gray scale G x-1 ~ the gray scale G A2 is calculated according to the first adjustment factor and CR(x) as an example:
[0163] In the first round of calculation, k1 can first take the value of 1, and in this round of calculation, in the gray scale G A1 ~ the gray scale G x , the second luminance contrast CR'(i1) corresponding to the gray scale G i1 is equal to the first luminance contrast CR(i1) corresponding to the gray scale G i1 , the second luminance contrast corresponding to the gray scale G x-1 ~ the gray scale G A2 is equal to the threshold gray scale G x corresponding to the first luminance contrast CR(x). When it is judged that the second display luminance L'(A2-1) corresponding to the gray scale G A2-1 is greater than the first display luminance L(A2-1) corresponding to the gray scale G A2-1If the preset condition is not met between the first display luminance L(A2-1) corresponding to the first gamma curve and the gray scale G
[0164] In the second round of calculation, the value of k1 is smaller, so the gray scale G A1 ~ gray scale G x The second luminance contrast corresponding to each of them is smaller, and the gray scale G x-1 ~ gray scale G A2 The second luminance contrast corresponding to each of them is smaller, and the gray scale G A2-1 ~ gray scale G A2-1 If the preset condition is not met between the first display luminance L(A2-1) corresponding to the first gamma curve and the gray scale G x-1 , the value of k1 is further reduced, for example, to 0.9, and the step S41 is returned again to recalculate until the preset condition is met, or if yes, it can enter the step S5.
[0165] Further, k1≥0.8, that is, in the step S46, if L'(A2-1) and L(A2-1) do not meet the preset condition, the adjusted k1 needs to be greater than or equal to 0.8 to avoid excessive adjustment and excessive sacrifice of the luminance contrast of the middle and high gray scales. Of course, if L'(A2-1) and L(A2-1) still cannot meet the preset condition when k1 is equal to 0.8, k1 can be further reduced until it is finally determined that L'(A2-1) and L(A2-1) meet the preset condition.
[0166] Alternatively, in another possible implementation, in the step S4, CR'(i1)=CR(i1)-p1, p1 is a first adjustment factor, and p1≥0.
[0167] Similar to the above process, still taking the gray scale G x-1 ~ gray scale G A2 The second luminance contrast corresponding to each of them is calculated according to the first adjustment factor and CR(x) as an example:
[0168] In the first round of calculation, p1 can be first taken as 0, and in this round of calculation, in the gray scale G A1 ~ gray scale G x , the second luminance contrast CR'(i1) corresponding to the gray scale G i1 is equal to the first luminance contrast CR(i1) corresponding to the gray scale G i1 , and the second luminance contrast corresponding to the gray scale G x-1 ~ gray scale G A2 is equal to the threshold gray scale G xThe corresponding first brightness contrast CR(x) is calculated. When the first round of calculation ends and enters step S46, it is judged that the gray scale G A2-1 The corresponding second display brightness L'(A2-1) and the gray scale G A2-1 When the preset condition is not met between the corresponding first display brightness L(A2-1) under the first gamma curve and the gray scale G
[0169] In the second round of calculation, the value of p1 is increased, so the gray scale G A1 ~ gray scale G x The corresponding second brightness contrast is also reduced, and when the second round of calculation ends and enters step S46, it is judged again that the gray scale G x-1 ~ gray scale G A2 The corresponding second brightness contrast is also reduced, and when the second round of calculation ends and enters step S46, it is judged again that the gray scale G A2-1 The corresponding second display brightness L'(A2-1) and the gray scale G A2-1 When the preset condition is not met between the corresponding first display brightness L(A2-1) under the first gamma curve and the gray scale G
[0170] In addition, for the gray scale G A1 ~ gray scale G x According to FIG. 1, it can be seen that the brightness contrast of adjacent gray scales in the middle gray scale range is greater than that in the high gray scale range. The first adjustment factor is designed as p1, and CR'(i1) is obtained by subtracting a constant from CR(i1). The second brightness contrast corresponding to the gray scale in the middle gray scale range will be sacrificed a little, so that the sacrifice degree of the second brightness contrast corresponding to the middle and high gray scales can be differentiated, and the second brightness contrast corresponding to the middle gray scale under the second gamma curve is closer to the first brightness contrast corresponding to the same gray scale.
[0171] Taking A1=M=255, A2=1, the first adjustment factor as k1, and the gray scale G x-1 ~ gray scale G A2 The corresponding second brightness contrast is calculated according to the first adjustment factor k1 and CR(x). For example, in combination with FIG. 7, FIG. 7 is another flowchart of the generation method of the gamma curve provided by the embodiment of the application, which explains and describes one case of the above process.
[0172] It should be noted that in the following flow only i is involved, and i1 and i2 are not involved, but in combination with the whole flow, it can be known that the expression of i in the flow is consistent with the expression of i1 and i2 in the foregoing step S4. It should be noted that in the following flow only i is involved, and i1 and i2 are not involved, but in combination with the whole flow, it can be known that the expression of i in the flow is consistent with the expression of i1 and i2 in the foregoing step S4.
[0173] Step S3: L'(255) = L(255).
[0174] Step S41: Calculate the grayscale G based on CR′(i)=k1×CR(i). i The corresponding second brightness contrast CR'(i), and according to Calculate grayscale G i-1 The corresponding second display brightness L'(i-1) is calculated, where i is 255 in the first calculation and k1 is 1 in the first calculation.
[0175] Step S42: Determine if i is greater than x. If yes, subtract 1 from the value of i and return to step S41. If no, proceed to step S43.
[0176] Step S43: Calculate the grayscale G based on CR′(i)=k1×CR(x). x-1 The second brightness contrast corresponding to grayscale G1 is i = x-1 ~ 1.
[0177] Step S44: According to Calculate grayscale G i-1 The corresponding second display brightness L'(i-1).
[0178] Step S45: Determine if i is greater than 1. If yes, subtract 1 from the value of i and return to step S44. If no, proceed to step S46.
[0179] Step S46: Determine whether L'(0) and L(0) meet the preset conditions. If yes, proceed to step S5. If no, decrease k1 and return to step S41.
[0180] In one feasible implementation, in step S4, CR'(i1) is calculated based on the first adjustment factor and CR(i1).
[0181] The first adjustment factor includes a first sub-adjustment factor and a second sub-adjustment factor. When i1 takes values from A1 to x1, CR'(i1) is calculated based on the first sub-adjustment factor. When i1 takes values from x1-1 to x, CR'(i1) is calculated based on the second sub-adjustment factor. Furthermore, the difference between CR'(i1) calculated based on the second sub-adjustment factor and CR(i1) is less than the difference between CR'(i1) calculated based on the first sub-adjustment factor and CR(i1).
[0182] For grayscale G in the medium to high grayscale range A1 ~Grayscale G xAccording to FIG. 1, it can be seen that the luminance contrast of adjacent gray scales in the middle gray scale range is greater than the luminance contrast of adjacent gray scales in the high gray scale range. By setting the first sub-adjustment factor and the second sub-adjustment factor, and calculating the second luminance corresponding to the middle gray scale and the high gray scale by using the two different sub-adjustment factors, the sacrifice degree of the second luminance contrast corresponding to the middle and high gray scales can be designed differently, so that the sacrifice degree of the second luminance contrast corresponding to the middle gray scale is smaller.
[0183] In a feasible implementation, in step S4, the gray scales G x-1 ~ gray scale G A2 corresponding to the second luminance contrast are equal.
[0184] For example, the gray scales G x-1 ~ gray scale G A2 corresponding to the second luminance contrast are equal to the threshold gray scale G x corresponding to the first luminance contrast CR(x) multiplied by k1, or are equal to the threshold gray scale G x corresponding to the first luminance contrast CR(x) minus p1. In this way, the calculation amount of the second luminance contrast corresponding to the gray scales G x-1 ~ gray scale G A2 can be reduced, and the calculation process is simplified.
[0185] Alternatively, in another feasible implementation, in step S4, the second luminance contrast corresponding to at least part of the gray scales G x-1 ~ gray scale G A2 is different, so that the calculation of the second luminance contrast corresponding to different low gray scales is more flexible. For example, according to the test situation, it can be judged which part of the low gray scale has a greater luminance contrast affected by the light, and a greater second luminance contrast can be designed for this part of the low gray scale.
[0186] Further, a plurality of calculation methods can be designed for the second luminance contrast corresponding to the gray scales G x-1 ~ gray scale G A2 . For example, in one setting, the second luminance contrast corresponding to any two gray scales in this part of the gray scales is different, and further, the difference between the second luminance contrast corresponding to adjacent gray scales in the gray scales G x-1 ~ gray scale G A2 is the same. Alternatively, in another setting, the gray scales G x-1 ~ gray scale G A2 constitute at least two gray scale groups, wherein the second luminance contrast corresponding to different gray scales in the same gray scale group is the same, and the second luminance contrast corresponding to the gray scales in different gray scale groups is different, for example, the second luminance contrast corresponding to the gray scales G x-1 ~ gray scale G A3 is equal, and the second luminance contrast corresponding to the gray scales G A3+1 ~ gray scale GA2 The corresponding second brightness contrast is equal, and the gray scale G x-1 ~ gray scale G A3 The corresponding second brightness contrast and gray scale G A3+1 ~ gray scale G A2 The corresponding second brightness contrast is not equal.
[0187] Based on the same inventive concept, the embodiment of the present application also provides a driving method of a display panel. In combination with FIG. 9 and FIG. 10, as shown in FIG. 8, which is a flow chart of the driving method of the display panel provided by the embodiment of the present application, the driving method of the display panel comprises the following steps:
[0188] Step K1: according to the detected illuminance value of the ambient light, searching for a second gamma curve matching the illuminance value of the ambient light from the stored N groups of second gamma curves. Wherein, the N groups of second gamma curves are generated according to the first gamma curve and N preset illuminance values, and one group of second gamma curves corresponds to one preset illuminance value. In the first state and / or the first area of the display panel, the first brightness contrast corresponding to the same gray scale is less than the corresponding second brightness contrast, the first brightness contrast is related to the preset illuminance value and / or the first gamma curve, and the second brightness contrast is the brightness contrast corresponding to the gray scale under the second gamma curve.
[0189] Step K2: displaying according to the searched second gamma curve.
[0190] It should be noted that the second gamma curve involved in the driving method is generated from the first gamma curve and the preset illuminance value, and the specific generation method has been described in detail in the above embodiment, which will not be repeated here.
[0191] In the driving method, N preset illuminance values are preset, and then N groups of second gamma curves are generated according to the N preset illuminance values and the first gamma curve, and the N groups of second gamma curves are burned into the processor or the driving chip. Then, when the display panel is working, the second gamma curve matching the detected illuminance value can be directly searched from the burned N groups of second gamma curves according to the detected illuminance value of the ambient light, and then the display panel can be driven by using the searched second gamma curve.
[0192] This way can directly search and call the pre-stored second gamma curve for driving after detecting the illuminance value of the ambient light, without generating new gamma curves in the use process, so the driving method is simple. Moreover, as known from the foregoing analysis, driving the display by using the second gamma curve can enable the human eye to see clearer details in the picture, such as clearer dark details, and improve the viewing effect.
[0193] Further, the step K1 can specifically include: searching in the preset N illumination values, taking the preset illumination value closest to the illumination value of the ambient light as the first illumination value, and taking the second gamma curve corresponding to the first illumination value as the second gamma curve matching the illumination value of the ambient light, so that the influence of the ambient light of the current illumination on the brightness contrast of the human eye can be better compensated when driving with the searched second gamma curve.
[0194] Corresponding to the above driving method, the embodiment of the present application further provides a display device, and of course, a display system. In combination with FIG. 8, as shown in FIG. 9 and FIG. 10, FIG. 9 is a structural schematic diagram of a display device provided by the embodiment of the present application, and FIG. 10 is another structural schematic diagram of a display device provided by the embodiment of the present application. The display device includes a display panel 100, a sensing module 200, a first processing module 300, a second processing module 400 and a driving module 500.
[0195] The display panel 100 can be an organic light emitting diode (OLED) display panel, a light emitting diode (LED) display panel or other types of display panels.
[0196] The sensing module 200 is used for detecting ambient light. The sensing module 200 can be a light sensor, for example, an ambient light sensor or an illumination sensor.
[0197] The first processing module 300 is electrically connected with the sensing module, and is used for obtaining the illumination value of the ambient light according to the information of the detected ambient light.
[0198] The second processing module 400 is electrically connected with the first processing module 300, for example, can be a gamma register, and is used for storing N sets of second gamma curves, and searching the second gamma curve matching the illumination value of the ambient light in the N sets of second gamma curves according to the illumination value of the detected ambient light. The N sets of second gamma curves are generated according to the first gamma curve and the preset N illumination values, and one set of second gamma curves corresponds to one preset illumination value. In the first state and / or the first area of the display panel, the first brightness contrast corresponding to the same gray scale is less than the second brightness contrast corresponding thereto, the first brightness contrast is related to the preset illumination value and / or the first gamma curve, and the second brightness contrast is the brightness contrast corresponding to the gray scale under the second gamma curve.
[0199] The method for generating the second gamma curve by the second processing module 400 has been described in detail in the above embodiment, and will not be described here again.
[0200] The driving module 500 is electrically connected with the second processing module 400 and the display panel 100 respectively, and is configured to drive the display panel to display according to the found second gamma curve.
[0201] It can be known from the foregoing analysis that, by using the display device, after detecting the illumination value of the ambient light, the second gamma curve stored in advance can be directly found and called to drive, and a new gamma curve does not need to be generated in the use process, and the driving mode is simple. Moreover, it can be known from the foregoing analysis that, by using the second gamma curve to drive the display, the human eye can see clearer details in the picture, for example, the dark details can be seen more clearly, and the viewing effect is improved.
[0202] It should be noted that, in the embodiment of the present application, at least one of the first processing module 300, the second processing module 400 and the driving module 500 can be located in the processor 1000, and / or at least one of them can be located in the driving chip 2000. The embodiment of the present application does not make specific limitation on this. For example, in one structure, referring to Fig. 9 again, the first processing module 300 is located in the processor 1000, and the second processing module 400 and the driving module 500 are located in the driving chip 2000.
[0203] Based on the same inventive concept, the embodiment of the present application also provides another driving method of a display panel. In combination with Fig. 12 and Fig. 13, another flow chart of the driving method of the display panel provided by the embodiment of the present application is shown in Fig. 11. The driving method comprises the following steps:
[0204] Step L1: generating a second gamma curve according to the first gamma curve and the detected illumination value of the ambient light, wherein in the first state and / or the first area of the display panel, the first luminance contrast corresponding to the same gray scale is less than the second luminance contrast corresponding thereto, the first luminance contrast is related to the detected illumination value of the ambient light and / or the first gamma curve, and the second luminance contrast is the luminance contrast corresponding to the gray scale under the second gamma curve.
[0205] Step L2: finding out the luminance value corresponding to the display gray scale in the second gamma curve.
[0206] Step L3: finding out the first gray scale corresponding to the display gray scale in the first gamma curve according to the luminance value found out in the second gamma curve.
[0207] Step L4: displaying according to the first gamma curve and the first gray scale.
[0208] It should be noted that the second gamma curve involved in the driving method is generated from the first gamma curve and the preset illumination value, and the specific generation method has been described in detail in the above embodiment, which will not be repeated here.
[0209] In the driving method, the second gamma curve is calculated in real time according to the detected current ambient light luminance value, so that the calculated second gamma curve is more matched with the intensity of the current ambient light, and the influence of the reflection of the ambient light on the brightness contrast seen by the human eye can be better compensated. It should be noted that, unlike the previous driving method, the second gamma curve in the driving method is calculated in real time during the use of the display panel, and is not pre-burned into the processor or driving chip, so that the driving method further utilizes the calculated second gamma curve to further construct the mapping relationship between the gray scales in the first gamma curve, and the subsequent display is still driven by the first gamma curve. In the driving method, the processor or driving chip only needs to pre-store the first gamma curve, and the storage amount is small.
[0210] Further, step L3 can specifically include: in the first gamma curve, finding out the luminance value closest to the luminance value found in the second gamma curve; and setting the gray scale corresponding to the luminance value found in the first gamma curve as the first gray scale corresponding to the display gray scale.
[0211] For example, the display gray scale in the to-be-displayed picture is 50. The luminance value corresponding to gray scale 50 under the second gamma curve is L1, and then the luminance value closest to luminance value L1 is found out as luminance value L2 in the first gamma curve, and then the gray scale corresponding to luminance value L2 is found out in the first gamma curve, assuming that the gray scale is 55, which is taken as the first gray scale, and then the mapping relationship between gray scale 50 and gray scale 55 can be constructed, that is, the mapping relationship between the display gray scale and the first gray scale is constructed.
[0212] Then in step L4, the display can be driven according to the mapping relationship between the display gray scale and the first gray scale and the first gamma curve. Specifically, the first gray scale 55 corresponding to the display gray scale 50 can be found out according to the mapping relationship between the display gray scale and the first gray scale, and then the display can be driven according to the data voltage corresponding to the luminance corresponding to the first gray scale 55 in the first gamma curve.
[0213] The driving mode indirectly utilizes the mapping relationship between the gray scale and the luminance reflected by the second gamma curve to drive the display panel, so that the influence of the ambient light on the picture detail presentation capability can be effectively improved.
[0214] Corresponding to the driving method described above, the embodiment of the present application further provides a display device. In combination with FIG. 11, as shown in FIG. 12 and FIG. 13, FIG. 12 is another structural schematic diagram of the display device provided by the embodiment of the present application, and FIG. 13 is still another structural schematic diagram of the display device provided by the embodiment of the present application. The display device comprises a display panel 100', a sensing module 200', a first processing module 300', a second processing module 400' and a driving module 500'.
[0215] The display panel 100' can be an organic light emitting diode (OLED) display panel, a light emitting diode (LED) display panel or other types of display panel.
[0216] The sensing module 200' is used for detecting ambient light. The sensing module 200' can be a light sensor, for example, an ambient light sensor or an illuminance sensor.
[0217] The first processing module 300' is electrically connected with the sensing module 200', and is used for obtaining an illuminance value of the ambient light according to the information of the detected ambient light.
[0218] The second processing module 400' is electrically connected with the first processing module 300', and can be an ambient light self-adaptive gamma function unit, which is used for generating a second gamma curve according to the first gamma curve and the illuminance value of the detected ambient light. In the first state and / or the first area of the display panel, the first luminance contrast corresponding to the same gray scale is less than the second luminance contrast corresponding to the same gray scale, the first luminance contrast is related to the illuminance value of the detected ambient light and / or the first gamma curve, and the second luminance contrast is the luminance contrast corresponding to the gray scale under the second gamma curve. The luminance value corresponding to the display gray scale in the picture to be displayed is found out in the second gamma curve. The first gray scale corresponding to the display gray scale is found out in the first gamma curve according to the luminance value found out in the second gamma curve.
[0219] The method for generating the second gamma curve by the second processing module 400' has been described in detail in the above embodiment, and will not be described here again.
[0220] The driving module 500' is electrically connected with the second processing module 400' and the display panel 100' respectively, and is used for driving the display panel to display according to the first gamma curve and the first gray scale.
[0221] It can be known from the foregoing analysis that the display device is used to calculate the second gamma curve in real time according to the detected luminance value of the current ambient light, so the calculated second gamma curve is more matched with the intensity of the current ambient light, and the influence of the reflection of the ambient light on the brightness contrast seen by the human eye can be better compensated. Moreover, only the first gamma curve needs to be pre-burned in the display device, and the storage amount is less.
[0222] It should be noted that in the embodiments of the present application, at least one of the first processing module 300', the second processing module 400' and the driving module 500' can be located in the processor, and / or at least one of them can be located in the driving chip. The embodiments of the present application do not make specific limitations on this. For example, in one structure, referring again to FIG. 9, the first processing module 300' and the second processing module 400' are located in the processor 1000, and the driving module 500' is located in the driving chip 2000.
[0223] The above only describes the preferred embodiments of the present application and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0224] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
A method of generating a gamma curve, characterized in that The method comprises: generating a second gamma curve according to the illumination value and the first gamma curve, wherein in the first state and / or the first area of the display panel, a first luminance contrast corresponding to the same gray scale is smaller than a second luminance contrast corresponding to the same gray scale, the first luminance contrast is related to the illumination value and / or the first gamma curve, and the second luminance contrast is a luminance contrast corresponding to the gray scale under the second gamma curve. The method for generating a gamma curve according to claim 1 is characterized in that, the first state and / or in the first region is smaller than a threshold grey level G x . The method for generating a gamma curve according to claim 2 is characterized in that, In the second state and / or the second area of the display panel, the first luminance contrast corresponding to the same gray scale is greater than or equal to the corresponding second luminance contrast, and the gray scale in the second state and / or the second area is greater than or equal to a threshold gray scale G x . The method for generating a gamma curve according to claim 1 is characterized in that, The first gamma curve is a reference gamma curve, and the second gamma curve is an adaptive gamma curve. The method of claim 2, wherein The process of generating the second gamma curve according to the illumination value and the first gamma curve comprises: Step S1 : from said illuminance value, obtaining a light contribution luminance L evr ; Step S2: obtaining a first luminance contrast CR(A1)~CR(A2) corresponding to the first gamma curve and the light contribution luminance L evr , respectively, and obtaining the threshold gray scale G A1 , wherein the threshold gray scale G A2 corresponds to a first luminance contrast CR(x) greater than the first luminance contrast corresponding to at least part of other gray scales, 1≤A2 x A1≤M, gray scale G x is the maximum gray scale, A2 M x Step S3: According to the gray scale G A1 The corresponding first display brightness L(A1), the gray scale G A1 The corresponding second display brightness L'(A1), wherein the first display brightness is the display brightness corresponding to the gray scale under the first gamma curve; Step S4: Substitute i1 = A1, i1 = A1-1, i1 = A1-2,..., i1 = x, respectively, into acquiring the gray scale G A1-1 ~ gray scale G x-1 corresponding to the second display luminance L'(A1-1) ~ L'(x-1), respectively, wherein CR'(i1) is the gray scale G i1 corresponding second luminance contrast; and substituting i2= x - 1, i2= x - 2, i2= x - 3,..., i2= A2, respectively, into acquire the gray scale G x-2 ~ gray scale G A2-1 corresponding to the second display luminance L'(x-2)~L'(A2-1), wherein CR'(i2) is the gray scale G i2 corresponding second luminance contrast; Step S5: According to the gray scale G A1 ~ gray scale G A2-1 corresponding to the second display luminance L'(A1) ~ L'(A2-1), respectively, to generate the second gamma curve. The method for generating a gamma curve according to claim 5 is characterized in that, A1=M, and A2=1. The method of claim 5, wherein The step S1 comprises: Step S11: obtaining a direct illumination value E according to the illumination value direct and / or a diffuse illumination value E indirect ; Step S12: obtaining said direct illuminance value E direct and / or said diffuse illuminance value E indirect , the light contribution luminance L evr . The method for generating a gamma curve according to claim 7 is characterized in that, In the step S11, E indirect = E x a, E direct = E x b; where E is the illuminance value, 0 ≤ a ≤ 1, 0 ≤ b ≤ 1, and a + b ≤ 1. The method for generating a gamma curve according to claim 8 is characterized in that, b=1-a, 0.5≤a≤0.
7. The method of claim 7, wherein Before the step S11, the step S1 further comprises: Step S10: according to a first instruction, selecting one of a plurality of first preset values as a and / or selecting one of a plurality of second preset values as b from the plurality of first preset values and / or the plurality of second preset values stored in advance. The method of claim 7, wherein The step S12 comprises: According to acquiring the light contribution luminance L evr ; wherein R d is the diffuse reflectance, θ i is the angle of incidence of direct illumination, and BRDF is the bidirectional reflectance distribution function; Alternatively, according to acquiring the light contribution luminance L evr ; wherein R% is the total reflectance and Haze is the haze value. The method of claim 5, wherein The step S2 comprises: Step S21: acquiring a gray scale-display luminance curve L(i) corresponding to the first gamma curve, wherein L min is a first display luminance corresponding to the minimum gray scale G0 under the first gamma curve, L max is a first display luminance corresponding to the maximum gray scale G M bit The number of bits of the display panel, and γ is a gamma value corresponding to the first gamma curve; Step S22: According to respectively corresponding to the gray scale G M respectively corresponding to the gray scale G1. Step S23: setting the gray scale corresponding to the maximum value in the first luminance contrast CR(M) ~ CR(1) as the threshold gray scale G x . The method for generating a gamma curve according to claim 5 is characterized in that, In the step S3, L'(A1)=L(A1). The method of claim 5, wherein The step S4 comprises: Step S41: according to the first adjustment factor and the gray scale G i1 the corresponding first luminance contrast CR(i1), the calculated gray scale G i1 the corresponding second luminance contrast CR'(i1), wherein the calculated gray scale G i1 the corresponding second luminance contrast CR'(i1) is less than or equal to the gray scale G i1 the corresponding first luminance contrast CR(i1); and according to Acquiring the gray scale G i1-1 A corresponding second display brightness L'(i1-1), wherein i1 is A1 when calculated for the first time. Step S42: determining whether i1 is greater than x, if yes, reducing the value of i1 by 1 and returning to step S41 again, and if no, entering step S43; Step S43: according to the threshold gray scale G x corresponding first luminance contrast CR(x), the gray scale G x-1 ~ gray scale G A2 corresponding second luminance contrast, wherein the gray scale G x-1 ~ gray scale G A2 corresponding second luminance contrast is less than or equal to the threshold gray scale G x corresponding first luminance contrast CR(x), and the gray scale G x-1 ~ gray scale G A2 corresponding second luminance contrast is greater than the first luminance contrast corresponding to the same gray scale; Step S44: According to Calculating gray scale G i2-1 corresponding second display brightness L'(i2-1), wherein i2 is x-1 when calculated for the first time; Step S45: determining whether i2 is greater than A2, if yes, reducing the value of i2 by 1 and returning to step S44 again, and if no, entering step S46; Step S46: judging the gray scale G A2-1 corresponding to the second display brightness L'(A2-1) and the gray scale G A2-1 whether a preset condition is satisfied between the first display brightness L(A2-1) corresponding to the first gamma curve and the gray scale G, if yes, entering step S5, if no, adjusting the first adjustment factor and returning to step S41 again. The method for generating a gamma curve according to claim 14 is characterized in that, In step S43, the gray scale G x-1 ~ gray scale G A2 The corresponding second luminance contrast is calculated according to the first adjustment factor and CR(x). The method for generating a gamma curve according to claim 14 is characterized in that, In step S43, the gray scale G x-1 ~ gray scale G A2 The corresponding second luminance contrast is calculated according to the second adjustment factor and CR(x); In step S46, when it is determined that L'(A2-1) and L(A2-1) do not satisfy the preset condition, the second adjustment factor is also adjusted; In one round of calculation of the step S41 to the step S46, the second adjustment factor is not equal to the first adjustment factor. The method for generating a gamma curve according to claim 14 is characterized in that, Gray scale G x-1 The second luminance contrast corresponding to the gray scale G1 is fixed. The method for generating a gamma curve according to claim 14 is characterized in that, When the first adjustment factor needs to be adjusted, CR'(i1) obtained according to the adjusted first adjustment factor is smaller than CR(i1). The method according to claim 14, wherein, In the step S46, the process of judging whether the preset condition is met between L'(A2-1) and L(A2-1) includes: judging whether the absolute value of the difference between L'(A2-1) and L(A2-1) is less than a preset difference ΔL, 0.005 nit < ΔL < 0.05 nit. The method according to claim 14, wherein, In the step S46, the process of judging whether the preset condition is met between L'(A2-1) and L(A2-1) includes: judging whether L'(A2-1) is equal to L(A2-1). The method according to claim 14, wherein, In the step S46, the process of judging whether the preset condition is met between L'(A2-1) and L(A2-1) includes: judging whether the absolute value of the difference between L'(A2-1) and L(A2-1) is less than a preset difference; The display panel has a first luminance level and a first luminance level, the first luminance level corresponding to the first gamma curve is a first type of first gamma curve, and the first luminance level corresponding to the first gamma curve is a second type of first gamma curve; wherein the gray scale G A2-1 The L(A2-1) corresponding to the first type of first gamma curve is greater than the gray scale G A2-1 The L(A2-1) corresponding to the first type of first gamma curve is greater than the gray scale G The preset difference corresponding to the first type of first gamma curve is greater than the preset difference corresponding to the second type of first gamma curve. The method according to claim 5, wherein, In the step S4, CR'(i1) = k1*CR(i1), k1 is a first adjustment factor, and k1 ≤ 1. The method according to claim 5, wherein, In the step S4, CR'(i1) = CR(i1)-p1, p1 is the first adjustment factor, and p1 ≥ 0. The method according to claim 5, wherein, In the step S4, CR'(i1) is calculated according to a first adjustment factor and CR(i1); The first adjustment factor includes a first sub-adjustment factor and a second sub-adjustment factor; When i1 takes a value from A1 to x1, CR'(i1) is calculated according to the first sub-adjustment factor, when i1 takes a value from x1-1 to x, CR'(i1) is calculated according to the second sub-adjustment factor, and the difference between CR'(i1) calculated according to the second sub-adjustment factor and CR(i1) is less than the difference between CR'(i1) calculated according to the first sub-adjustment factor and CR(i1). The method according to claim 5, wherein, In the step S4, the gray scale G x-1 ~ gray scale G A2 The corresponding second luminance contrast is equal. The method according to claim 5, wherein, In the step S4, the second luminance contrast corresponding to at least part of the gray scales G x-1 ~ gray scales G A2 is different. The method according to claim 26, wherein, In the gray scale G x-1 ~ gray scale G A2 In this case, the difference between the second luminance contrasts corresponding to adjacent gray scales is the same. Or, gray scale G x-1 ~ gray scale G A2 constitute at least two gray scale groups, wherein the second luminance contrast corresponding to different gray scales in the same gray scale group is the same, and the second luminance contrast corresponding to gray scales in different gray scale groups is different. A driving method of a display panel, characterized by, It includes: According to the detected illuminance value of the ambient light, searching for the second gamma curve matching the illuminance value of the ambient light from the stored N groups of second gamma curves; Displaying according to the searched second gamma curve; The N sets of stored second gamma curves are generated according to the first gamma curve and N preset illuminance values, and one set of the second gamma curves corresponds to one preset illuminance value. In the first state and / or the first area of the display panel, a first luminance contrast corresponding to the same gray scale is less than a second luminance contrast corresponding to the same gray scale, the first luminance contrast is related to the preset illuminance value and / or the first gamma curve, and the second luminance contrast is a luminance contrast corresponding to the gray scale under the second gamma curve. The driving method of the display panel according to claim 28, wherein The process of searching for the second gamma curve matching the illuminance value of the ambient light from the N sets of stored second gamma curves according to the detected illuminance value of the ambient light comprises: Searching for the preset illuminance value closest to the illuminance value of the ambient light from the preset N illuminance values, taking the preset illuminance value as a first illuminance value, and taking the second gamma curve corresponding to the first illuminance value as the second gamma curve matching the illuminance value of the ambient light. A display device characterized by comprising: The display panel comprises: A sensing module for detecting ambient light; A first processing module electrically connected to the sensing module, configured to obtain an illuminance value of ambient light according to information of the detected ambient light; A second processing module electrically connected to the first processing module, configured to store N sets of second gamma curves and search for the second gamma curve matching the illuminance value of the ambient light from the N sets of second gamma curves according to the detected illuminance value of the ambient light; wherein the N sets of second gamma curves are generated according to the first gamma curve and preset N illuminance values, and one set of the second gamma curves corresponds to one preset illuminance value, wherein in the first state and / or the first area of the display panel, a first luminance contrast corresponding to the same gray scale is less than a second luminance contrast corresponding to the same gray scale, the first luminance contrast is related to the preset illuminance value and / or the first gamma curve, and the second luminance contrast is a luminance contrast corresponding to the gray scale under the second gamma curve. A driving module electrically connected to the second processing module and the display panel respectively, configured to drive the display panel to display according to the searched second gamma curve. The display panel comprises: A driving method of a display panel, characterized by, A second gamma curve is generated according to the first gamma curve and the detected illuminance value of the ambient light, wherein in the first state and / or the first area of the display panel, a first luminance contrast corresponding to the same gray scale is less than a second luminance contrast corresponding to the same gray scale, the first luminance contrast is related to the detected illuminance value of the ambient light and / or the first gamma curve, and the second luminance contrast is a luminance contrast corresponding to the gray scale under the second gamma curve. A luminance value corresponding to a display gray scale in the to-be-displayed picture is searched for in the second gamma curve; A first gray scale corresponding to the display gray scale is searched for in the first gamma curve according to the luminance value searched for in the second gamma curve; The display is performed according to the first gamma curve and the first gray scale. The driving method of the display panel according to claim 31, wherein According to the luminance value found in the second gamma curve, a first gray scale corresponding to the display gray scale is found in the first gamma curve, which includes: In the first gamma curve, a luminance value closest to the luminance value found in the second gamma curve is found; The gray scale corresponding to the luminance value found in the first gamma curve is set as the first gray scale corresponding to the display gray scale. A display device characterized by comprising: It includes: A display panel; A sensing module for detecting ambient light; A first processing module electrically connected to the sensing module, configured to obtain an illuminance value of ambient light according to information of the detected ambient light; A second processing module electrically connected to the first processing module, configured to generate a second gamma curve according to the first gamma curve and the illuminance value of the detected ambient light, wherein in a first state and / or a first area of the display panel, a first luminance contrast corresponding to the same gray scale is less than a second luminance contrast corresponding thereto, the first luminance contrast is related to the illuminance value of the detected ambient light and / or the first gamma curve, and the second luminance contrast is a luminance contrast corresponding to the gray scale under the second gamma curve; find a luminance value corresponding to a display gray scale in a to-be-displayed picture in the second gamma curve; according to the luminance value found in the second gamma curve, a first gray scale corresponding to the display gray scale is found in the first gamma curve; A driving module electrically connected to the second processing module and the display panel respectively, configured to drive the display panel to display according to the first gamma curve and the first gray scale.
Citation Information
Patent Citations
Liquid crystal display and method of driving the same
CN101650923A
Method and device for adjusting brightness of RGBW liquid crystal display device
CN106971695A
Display method and display device
CN111916031A
Gamma adjustment method and device for display panel
CN111916032A
Self-adaptive adjustment method, device and equipment for LED screen along with ambient brightness change
CN116798342A