Gamma debugging method, display panel driving method, medium and display device
Through the gamma debugging method, only the first brightness mode is gamma debugged, and the data voltage value of the second brightness mode is obtained by using the data scaling relationship, which solves the problem of optical specifications not meeting the standards due to improving local brightness, and achieves efficient brightness improvement and display quality maintenance.
Patent Information
- Application Number
- CN202310477085.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2043-04-28
AI Technical Summary
The prior art usually sacrifices the display quality when improving the local brightness of the display panel, resulting in the optical specifications not meeting the standards.
By adopting the gamma debugging method, only the first brightness mode is gamma debugged to obtain the data voltage value of the first register value range, and then the data voltage value of the register value range of the second brightness mode is obtained through the data scaling relationship to avoid weakening IR drop compensation.
It realizes that while improving local brightness, the display quality of the display panel is maintained, the time and cost of gamma debugging is reduced, and the display needs of different brightness modes are met.
Smart Images

Figure CN116469334B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of display technology, and in particular relates to a gamma debugging method, a display panel driving method, a medium, and a display device. Background Art
[0002] As the application scenarios of display panels and display devices increase, users have higher and higher requirements for display quality. When users view content displayed by a display device in an environment with strong ambient light, or when users use a display device to play a video in High-Dynamic Range (HDR) format, the locally brighter areas of the display device require higher brightness to display colors close to the original body. Therefore, display devices are gradually paying attention to the application of local peak brightness solutions.
[0003] However, although the current related solutions can achieve local brightness improvement to a certain extent, they will sacrifice the display quality of the display device, resulting in the optical specifications of the display device not meeting the standards. Summary of the Invention
[0004] The embodiments of the present application provide a gamma debugging method, a display panel driving method, a medium, and a display device, which can improve the local brightness of the display panel while better ensuring the display quality of the display panel.
[0005] In a first aspect, an embodiment of the present application provides a gamma debugging method, which includes: performing gamma debugging according to the target brightness of a first brightness mode to obtain a data voltage value corresponding to at least one first register value in a first register value range; determining a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode according to a data scaling relationship between the first brightness mode and the second brightness mode, where the second register value range is at least a partial register value range in the first register value range.
[0006] According to an implementation of the first aspect of the present application, before determining a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode based on a data scaling relationship between the first brightness mode and the second brightness mode, the gamma debugging method further includes: determining a first grayscale corresponding to the maximum brightness in the second brightness mode under the first brightness mode; and calculating the maximum register value in the second brightness mode based on the first grayscale to obtain a second register value range.
[0007] According to any of the aforementioned embodiments of the first aspect of the present application, calculating the maximum register value in the second brightness mode according to the first grayscale specifically includes: calculating the maximum register value in the second brightness mode according to the following expression:
[0008] Q2max =G*2 a +b
[0009] Among them, Q 2max represents the maximum register value in the second brightness mode, G represents the first grayscale, a represents a preset index, and b represents a preset deviation value.
[0010] According to any of the aforementioned embodiments of the first aspect of the present application, based on the data scaling relationship between the first brightness mode and the second brightness mode, determining the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode, specifically including: dividing the second register value range into a first number of second register values according to the first number of first register values in the first register value range; for any second register value, determining the data voltage value corresponding to the second register value based on the data voltage value corresponding to the first register value with the same register value as the second register value in the first register value range.
[0011] According to any of the aforementioned embodiments of the first aspect of the present application, the data scaling relationship includes a scaling relationship between the grayscale in the first brightness mode and the grayscale in the second brightness mode, or a scaling relationship between the register value in the first brightness mode and the register value in the second brightness mode.
[0012] According to any of the aforementioned embodiments of the first aspect of the present application, the gamma debugging method also includes: obtaining a first brightness when the display panel displays a first test picture and a second brightness when the display panel displays a second test picture, the first test picture being a full-screen target grayscale picture, and the second test picture being a local area display target grayscale picture; when the difference between the first brightness and the second brightness is greater than or equal to a first preset threshold, adjusting the data voltage value corresponding to the sub-pixel in the local area of the display panel when displaying the second test picture until the difference between the first brightness and the second brightness is less than the first preset threshold, thereby obtaining an adjusted data voltage value; determining first compensation data for the data voltage value based on the data voltage value before adjustment and the data voltage value after adjustment; and adjusting the data voltage value based on the first compensation data when using the first brightness mode and / or the second brightness mode.
[0013] According to any of the aforementioned embodiments of the first aspect of the present application, when the first brightness mode and / or the second brightness mode, and the image data to be displayed on the display panel meets the preset conditions, the data voltage value is adjusted according to the first compensation data; wherein the preset conditions include that the number of first sub-pixels is less than the second preset threshold or the second sub-pixels are greater than or equal to the third preset threshold, the first sub-pixels are sub-pixels whose corresponding grayscale is greater than or equal to the preset grayscale threshold, and the second sub-pixels are sub-pixels whose corresponding grayscale is less than the preset grayscale threshold.
[0014] According to any of the aforementioned embodiments of the first aspect of the present application, the gamma debugging method also includes: obtaining a first brightness when the display panel displays a first test screen, a first sub-brightness when the display panel displays a third test screen, a second sub-brightness when the display panel displays a fourth test screen, and a third sub-brightness when the display panel displays a fifth test screen, the first test screen is a full-screen target grayscale screen, the third test screen is a full-screen first color screen corresponding to the target grayscale, the fourth test screen is a full-screen second color screen corresponding to the target grayscale, and the fifth test screen is a full-screen third color screen corresponding to the target grayscale; calculating the sum of the first sub-brightness, the second sub-brightness, and the third sub-brightness; When the difference between the first brightness and the second brightness is greater than or equal to the fourth preset threshold, adjust the data voltage value corresponding to the sub-pixel of the display panel when displaying at least one of the third test screen, the fourth test screen and the fifth test screen until the difference between the first brightness and the second brightness is less than the first preset threshold, and the difference between the first brightness and the sum value is less than the fourth preset threshold, so as to obtain the adjusted data voltage value; determine the second compensation data of the data voltage value according to the data voltage value before adjustment and the data voltage value after adjustment; when the first brightness mode and / or the second brightness mode is used, adjust the data voltage value according to the second compensation data.
[0015] According to any of the aforementioned embodiments of the first aspect of the present application, the gamma debugging method also includes: when the display panel is in a first brightness mode, driving the sub-pixels in the display panel to emit light according to a data voltage value corresponding to at least one first register value in the first register value range; when the display panel is in a second brightness mode, driving the sub-pixels in the display panel to emit light according to a data voltage value corresponding to at least one second register value in the second register value range.
[0016] According to any of the aforementioned embodiments of the first aspect of the present application, when the first brightness mode and / or the second brightness mode is used, the data voltage value is adjusted according to the first compensation data, specifically including: determining the third compensation data corresponding to the current brightness level of the display panel according to the correspondence between the predetermined brightness level and the compensation data; and adjusting the data voltage value according to the first compensation data and the third compensation data.
[0017] According to any of the aforementioned embodiments of the first aspect of the present application, gamma debugging is performed according to the target brightness of the first brightness mode to obtain a data voltage value corresponding to at least one first register value in the first register value range, specifically including: selecting multiple grayscales as grayscale binding points in a preset grayscale range; determining the target brightness corresponding to each grayscale binding point according to a predetermined correspondence between grayscale and brightness; for any grayscale binding point, obtaining the measured brightness when the display panel displays the grayscale picture corresponding to the grayscale binding point; when the difference between the measured brightness corresponding to the grayscale binding point and the target brightness corresponding to the grayscale binding point is greater than or equal to a preset error threshold, adjusting the sub-pixels in the display panel. The corresponding data voltage value is obtained until the difference between the actual brightness corresponding to the grayscale binding point and the target brightness corresponding to the grayscale binding point is less than the preset error threshold, and the data voltage value corresponding to the grayscale binding point is obtained; based on the linear interpolation algorithm, and according to the data voltage values corresponding to each of the multiple grayscale binding points, the data voltage value corresponding to each grayscale in the grayscale range is obtained; according to the first correspondence between the grayscale corresponding to the first brightness mode and the first register value and the data voltage value corresponding to each grayscale in the grayscale range, the data voltage value corresponding to each first register value in the first register value range is obtained, and one grayscale in the grayscale range corresponds to at least one first register value in the first register value range.
[0018] In a second aspect, an embodiment of the present application provides a method for driving a display panel, and the method for driving a display panel includes: obtaining image data to be displayed on the display panel; judging whether to turn on a data scaling function based on the image data to be displayed; when the data scaling function is turned on, determining a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode based on a data scaling relationship between the first brightness mode and the second brightness mode, the second register value range being at least a portion of the register value range in the first register value range, and the data voltage values corresponding to each first register value in the first register value range being predetermined.
[0019] According to any of the aforementioned embodiments of the second aspect of the present application, the driving method of the display panel also includes: when the data scaling function is turned on, for any sub-pixel, according to the second correspondence between the grayscale corresponding to the second brightness mode and the second register value, determining the second target register value corresponding to the target grayscale, according to the correspondence between the second register value and the data voltage value, determining the second data voltage value corresponding to the second target register value, and driving the sub-pixel to emit light based on the second data voltage value.
[0020] According to any of the aforementioned embodiments of the second aspect of the present application, the determination of whether to turn on the data scaling function based on the image data to be displayed specifically includes: turning on the data scaling function when the image data to be displayed meets a first preset condition; the image data includes the grayscale to be displayed of each sub-pixel in the display panel, and the first preset condition includes: the automatically detected external light intensity is greater than or equal to the preset brightness threshold or the user receives an instruction to switch to the second brightness mode, and / or the number of first sub-pixels is greater than or equal to the fifth preset threshold or the second sub-pixels are less than the sixth preset threshold, the first sub-pixels are sub-pixels whose corresponding grayscale is greater than or equal to the preset grayscale threshold, and the second sub-pixels are sub-pixels whose corresponding grayscale is less than the preset grayscale threshold.
[0021] According to any of the aforementioned embodiments of the second aspect of the present application, the driving method of the display panel also includes: when the image data to be displayed meets the second preset condition, turning off the data scaling function, for any sub-pixel, determining the first target register value corresponding to the target grayscale according to the first correspondence between the grayscale corresponding to the first brightness mode and the first register value, determining the first data voltage value corresponding to the first target register value according to the correspondence between the first register value and the data voltage value, and driving the sub-pixel to emit light based on the first data voltage value; the second preset condition includes: the number of first sub-pixels is less than the fifth preset threshold or the second sub-pixels is greater than or equal to the sixth preset threshold.
[0022] In a third aspect, an embodiment of the present application provides an electronic device, which includes: a processor, a memory, and a computer program stored in the memory and runnable on the processor. When the computer program is executed by the processor, it implements the steps of the gamma debugging method provided in the first aspect or the display panel driving method provided in the second aspect.
[0023] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the gamma debugging method provided in the first aspect or the display panel driving method provided in the second aspect are implemented.
[0024] In a fourth aspect, an embodiment of the present application provides a display device, which includes a processor, a memory, and a computer program stored in the memory and runnable on the processor. When the computer program is executed by the processor, it implements the steps of the gamma debugging method provided in the first aspect or the display panel driving method provided in the second aspect.
[0025] In the gamma debugging method, display panel driving method, medium, and display device of the embodiments of the present application, for a first brightness mode and a second brightness mode, gamma debugging is performed only on the first brightness mode to obtain a data voltage value corresponding to at least one first register value within a first register value range corresponding to the first brightness mode. Then, a data voltage value corresponding to at least one second register value within a second register value range corresponding to the second brightness mode is directly obtained through a data scaling relationship between the first brightness mode and the second brightness mode, where the second register value range is at least a portion of the register value range within the first register value range. In this way, on the one hand, gamma debugging is only performed once for the first brightness mode and the second brightness mode, reducing the time and cost of gamma debugging. On the other hand, for example, when switching to the first brightness mode, the sub-pixel can be directly driven to emit light using the data voltage value corresponding to at least one first register value within the first register value range, thereby improving the local brightness of the display panel without weakening the IR drop compensation of the display panel, thereby better ensuring the display quality of the display panel and ensuring that the optical specifications of the display panel meet the standards. On the other hand, for example, when switching to the second brightness mode, the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode can be directly obtained based on the data scaling relationship between the first brightness mode and the second brightness mode, and the data voltage value corresponding to at least one second register value in the second register value range can be used to drive the sub-pixel to emit light, which can meet the display requirements of the second brightness mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0027] Figure 1 A full-screen white image and a partial white image are schematically shown;
[0028] Figure 2 Schematically showing a full-screen white picture, a full-screen red picture, a full-screen green picture and a full-screen blue picture;
[0029] Figure 3 A flow chart of a gamma debugging method provided in an embodiment of the present application;
[0030] Figure 4 Another flowchart of the gamma adjustment method provided in an embodiment of the present application;
[0031] Figure 5 A flowchart of step S102 in the gamma adjustment method provided in an embodiment of the present application;
[0032] Figure 6 Another flowchart of the gamma adjustment method provided in an embodiment of the present application;
[0033] Figure 7 Schematically showing a first test picture and a second test picture;
[0034] Figure 8 A schematic diagram of another flow chart of the gamma debugging method provided in an embodiment of the present application;
[0035] Figure 9 A schematic diagram of another flow chart of the gamma debugging method provided in an embodiment of the present application;
[0036] Figure 10 A flowchart of step S604 in the gamma adjustment method provided in an embodiment of the present application;
[0037] Figure 11 This is an operational diagram of step S604 in the gamma tuning method provided in an embodiment of the present application;
[0038] Figure 12 A schematic flow chart of a method for driving a display panel provided in an embodiment of the present application;
[0039] Figure 13 Another schematic flow chart of a method for driving a display panel provided in an embodiment of the present application;
[0040] Figure 14 A schematic diagram of the structure of a gamma debugging device provided in an embodiment of the present application;
[0041] Figure 15 A schematic structural diagram of a driving device for a display panel provided in an embodiment of the present application;
[0042] Figure 16 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0043] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present application by illustrating the examples of the present application.
[0044] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, the elements defined by the phrase "comprising..." do not exclude the presence of other identical elements in the process, method, article, or device comprising the elements.
[0045] It should be understood that the term "and / or" as used herein is merely a description of the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.
[0046] It will be apparent to those skilled in the art that various modifications and variations can be made in this application without departing from the spirit or scope of this application. Therefore, this application is intended to cover modifications and variations of this application that fall within the scope of the corresponding claims (technical solutions claimed for protection) and their equivalents. It should be noted that the embodiments provided in the examples of this application can be combined with each other without contradiction.
[0047] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
[0048] As the application scenarios of display panels and display devices increase, users have higher and higher requirements for display quality. When users view content displayed by a display device in an environment with strong ambient light, or when users use a display device to play a video in High-Dynamic Range (HDR) format, the locally brighter areas of the display device require higher brightness to display colors close to the original body. Therefore, display devices are gradually paying attention to the application of local peak brightness solutions.
[0049] However, current related solutions usually focus on weakening the IR drop compensation of the display panel. Although weakening the IR drop compensation of the display panel can achieve local brightness improvement to a certain extent, it will sacrifice the display quality of the display panel, resulting in the optical specifications of the display panel not meeting the standards.
[0050] Figure 1 A full-screen white picture and a partial white picture are schematically shown. Figure 2 Schematically shows a full screen white picture, a full screen red picture, a full screen green picture and a full screen blue picture. Figure 1 As shown, weakening the IR drop compensation of the display panel can improve the local brightness of the display panel, but it will cause a significant difference in brightness between the full-screen white image 101 and the partial white image 102 under the same or similar data voltage. For example, the average brightness LV1 of the white area in the partial white image 102 and the average brightness LV2 of the full-screen white image 101 may deviate by more than 10%, as shown in the following expression:
[0051]
[0052] like Figure 2 As shown, in addition, by weakening the IR drop compensation of the display panel, the deviation between the brightness of the full-screen white image 101 and the sum of the brightness of the full-screen red image 201, the full-screen green image 202 and the full-screen blue image 203 under the same or similar data voltage will be greater than 10%, as expressed as follows:
[0053]
[0054] LV2 represents the average brightness of the full-screen white picture 101 , LVR represents the average brightness of the full-screen red picture 201 , LVG represents the average brightness of the full-screen green picture 202 , and LVB represents the average brightness of the full-screen blue picture 203 .
[0055] In view of the above research findings of the inventors, the embodiments of the present application provide a gamma debugging method, a display panel driving method, a medium and a display device, which can solve the technical problem in the related art that increasing the local brightness of the display panel will cause the optical specifications of the display panel to not meet the standards.
[0056] The technical concept of the embodiment of the present application is that: the first brightness mode is a brightness mode corresponding to improving the local brightness. For the first brightness mode and the second brightness mode, only the first brightness mode is gamma debugged to obtain a data voltage value corresponding to at least one first register value in the first register value range corresponding to the first brightness mode, and then the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode is directly obtained through the data scaling relationship between the first brightness mode and the second brightness mode, and the second register value range is at least a partial register value range in the first register value range.
[0057] In this way, on the one hand, gamma adjustment is only performed once between the first brightness mode and the second brightness mode, reducing the time and cost of gamma adjustment. On the other hand, for example, when switching to the first brightness mode, the data voltage value corresponding to at least one first register value in the first register value range can be directly used to drive the sub-pixel to emit light, thereby improving the local brightness of the display panel without weakening the IR drop compensation of the display panel, thereby better ensuring the display quality of the display panel and ensuring that the optical specifications of the display panel are met. On the other hand, for example, when switching to the second brightness mode, the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode can be directly obtained based on the data scaling relationship between the first brightness mode and the second brightness mode, and the data voltage value corresponding to at least one second register value in the second register value range can be used to drive the sub-pixel to emit light, thereby meeting the display requirements of the second brightness mode.
[0058] The following first introduces the gamma debugging method provided in the embodiment of the present application.
[0059] Figure 3 A flow chart of the gamma debugging method provided in the embodiment of the present application. Figure 3 As shown, the gamma adjustment method may include the following steps S101 and S102.
[0060] S101 , performing gamma adjustment according to a target brightness of a first brightness mode to obtain a data voltage value corresponding to at least one first register value in a first register value range.
[0061] The first brightness mode may be a brightness mode corresponding to increasing the local brightness of the display panel. For ease of understanding, the first brightness mode may be referred to as the Average Picture Level (APL) mode. That is, the first brightness mode is activated when the APL meets a preset condition. In some examples, for example, the APL may be understood as the percentage of the pixel area displaying white to the total pixel area of the display panel after converting the color image to be displayed into a grayscale image.
[0062] The target brightness of the first brightness mode can be predetermined. For example, the first brightness mode includes multiple grayscales, and the target brightness corresponding to each grayscale is known. Based on the target brightness of the multiple grayscales in the first brightness mode, gamma adjustment can be performed to obtain a data voltage value corresponding to at least one first register value within the first register value range corresponding to the first brightness mode.
[0063] In practical applications, the first register value range may include multiple different first register values, and the first register value may be any register value within the first register value range, such as first register value a1, first register value a2, ..., first register value an. Different first register values may correspond to different data voltage values, which is not limited in this embodiment of the present application.
[0064] In some specific examples, the first register value range can be a register value range of 51 registers. Taking 12 bits as an example, the first register value range can be 0 to 4095. If the first register value range is 0 to 4095, the first register value range includes 4096 first register values. The 4096 first register values can correspond to grayscales of 0 to 255 respectively, for example, 1 grayscale corresponds to 16 first register values. For example, grayscale 0 can correspond to first register values of 0 to 15, and grayscale 1 can correspond to first register values of 16 to 31. During gamma debugging, after obtaining the data voltage values corresponding to each grayscale, according to the first correspondence between the grayscale corresponding to the first brightness mode and the first register value, the data voltage values corresponding to each first register value in the first register value range can be obtained. The specific process will be described in detail below and will not be repeated here.
[0065] S102. Determine, based on a data scaling relationship between the first brightness mode and the second brightness mode, a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode, where the second register value range is at least a portion of the register value range in the first register value range.
[0066] The second brightness mode can be a High Brightness Monitor (HBM) mode. The High Brightness Monitor mode is the display mode of the display panel when the display panel automatically adjusts the brightness and the external light is strong, or the display mode of the display panel when the user manually adjusts the brightness of the display panel to the maximum. The first brightness mode can be regarded as a brightness mode corresponding to further improving the local brightness based on the second brightness mode. For example, in the second brightness mode, if the APL meets the preset conditions, the first brightness mode is activated.
[0067] Currently, display panels generally have a Data Scaling data scaling function, which can be used to scale the data corresponding to a large brightness range to the data corresponding to a small brightness range. For example, the large brightness range of 0-1200nit corresponds to 0-255 grayscale, and the small brightness range of 0-1000nit corresponds to 0-255 grayscale. After the gamma adjustment is completed, the brightness corresponding to each grayscale of 0-1200nit is determined. After Data Scaling is turned on, the 255 grayscale in the small brightness range directly corresponds to the c grayscale before turning on. For example, for example, the c grayscale is the 235 grayscale corresponding to the large brightness range. Then, the brightness corresponding to the 0-255 grayscale after turning on corresponds to the 0-c grayscale before turning on, and the brightness of each grayscale after turning on is equal to the brightness corresponding to the corresponding grayscale before turning on, and the data voltage value corresponding to each grayscale after turning on is equal to the data voltage value corresponding to the corresponding grayscale before turning on. For example, the data voltage value corresponding to the 255 grayscale in the small brightness range is equal to the data voltage value corresponding to the 235 grayscale in the large brightness range.
[0068] In an embodiment of the present application, the data scaling relationship between the first brightness mode and the second brightness mode includes but is not limited to the scaling relationship between the grayscale in the first brightness mode and the grayscale in the second brightness mode, or the scaling relationship between the register value in the first brightness mode and the register value in the second brightness mode.
[0069] A data scaling relationship exists between the first brightness mode and the second brightness mode. Therefore, if the data voltage value corresponding to at least one first register value within the first register value range is known, the data voltage value corresponding to at least one second register value within the second register value range corresponding to the second brightness mode can be obtained based on the data scaling relationship.
[0070] In some specific examples, the second register value range may also be a register value range of 51 registers. Taking 12 bits as an example, the second register value range may be 0 to 3775. Since the data voltage values corresponding to each first register value in the first register value range of 0 to 4095 are known, the data voltage values corresponding to each second register value in the second register value range of 0 to 3775 are also known. For example, the data voltage value corresponding to 3775 in the second register value range is equal to the data voltage value corresponding to 3775 in the first register value range.
[0071] In the gamma debugging method of the embodiment of the present application, for the first brightness mode and the second brightness mode, only the first brightness mode is gamma debugged to obtain a data voltage value corresponding to at least one first register value in the first register value range corresponding to the first brightness mode, and then the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode is directly obtained through the data scaling relationship between the first brightness mode and the second brightness mode, and the second register value range is at least a portion of the register value range in the first register value range. In this way, on the one hand, the first brightness mode and the second brightness mode are only gamma debugged once, which reduces the time and cost of gamma debugging; on the other hand, for example, when switching to the first brightness mode, the sub-pixel can be directly driven to emit light with the data voltage value corresponding to at least one first register value in the first register value range, thereby improving the local brightness of the display panel without weakening the IRdrop compensation of the display panel, thereby better ensuring the display quality of the display panel and ensuring that the optical specifications of the display panel meet the standards. On the other hand, for example, when switching to the second brightness mode, the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode can be directly obtained based on the data scaling relationship between the first brightness mode and the second brightness mode, and the data voltage value corresponding to at least one second register value in the second register value range can be used to drive the sub-pixel to emit light, which can meet the display requirements of the second brightness mode.
[0072] The specific implementation methods of the above steps are introduced below.
[0073] First, S101 is introduced: performing gamma adjustment according to the target brightness of the first brightness mode to obtain a data voltage value corresponding to at least one first register value in a first register value range.
[0074] Figure 4 This is a flow chart of step S101 in the gamma adjustment method provided in the embodiment of the present application. Figure 4 As shown, according to some embodiments of the present application, optionally, S101 may specifically include the following steps S401 to S406.
[0075] S401: Select multiple grayscales in a preset grayscale range as grayscale binding points.
[0076] The preset grayscale range can be flexibly adjusted according to actual conditions, for example, grayscale 0 to 255. In S401, multiple grayscales can be selected as grayscale binding points. For example, in some examples, 8 grayscales or other numbers of grayscales can be selected as grayscale binding points.
[0077] S402: Determine the target brightness corresponding to each grayscale binding point according to a predetermined correspondence between grayscale and brightness.
[0078] The predetermined correspondence between grayscale and brightness includes, but is not limited to, a Gamma2.2 curve, which is a grayscale-brightness relationship curve. The target brightness corresponding to each grayscale binding point can be queried using the Gamma2.2 curve.
[0079] S403 : For any grayscale binding point, obtain the actual brightness when the display panel displays the grayscale image corresponding to the grayscale binding point.
[0080] For example, for any i-th grayscale binding point, the lighting device can output the grayscale image corresponding to the i-th grayscale binding point to the display panel, and the display panel displays the grayscale image corresponding to the i-th grayscale binding point. Then, optical testing equipment such as a color analyzer or camera can be used to collect the actual luminance when the display panel displays the grayscale image corresponding to the i-th grayscale binding point. Here, i is a positive integer.
[0081] S404. When the difference between the measured brightness corresponding to the grayscale binding point and the target brightness corresponding to the grayscale binding point is greater than or equal to the preset error threshold, adjust the data voltage value corresponding to the sub-pixel in the display panel until the difference between the measured brightness corresponding to the grayscale binding point and the target brightness corresponding to the grayscale binding point is less than the preset error threshold, thereby obtaining the data voltage value corresponding to the grayscale binding point.
[0082] The preset error threshold can be flexibly adjusted based on actual conditions and is not limited in this embodiment of the present application. For any i-th grayscale binding point, when the difference between the measured brightness corresponding to the i-th grayscale binding point and the target brightness corresponding to the i-th grayscale binding point is greater than or equal to the preset error threshold, the data voltage value corresponding to the sub-pixel in the display panel can be adjusted until the difference between the measured brightness corresponding to the i-th grayscale binding point and the target brightness corresponding to the i-th grayscale binding point is less than the preset error threshold, thereby obtaining the data voltage value corresponding to the i-th grayscale binding point.
[0083] Here, since the display panel includes multiple color sub-pixels, when adjusting the data voltage values corresponding to the sub-pixels in the display panel, the data voltage value corresponding to at least one color sub-pixel in the display panel can be adjusted so that the difference between the measured luminance corresponding to the i-th grayscale binding point and the target luminance corresponding to the i-th grayscale binding point is less than a preset error threshold. Accordingly, the data voltage value corresponding to the i-th grayscale binding point can, for example, include the data voltage value of the first color sub-pixel corresponding to the i-th grayscale binding point, the data voltage value of the second color sub-pixel corresponding to the i-th grayscale binding point, and the data voltage value of the third color sub-pixel corresponding to the i-th grayscale binding point. Exemplarily, the first color can be red, the second color can be green, and the third color can be blue. The data voltage values corresponding to different color sub-pixels can be different.
[0084] S405 : Based on a linear interpolation algorithm and according to the data voltage values corresponding to the plurality of grayscale binding points, obtain the data voltage value corresponding to each grayscale in the grayscale range.
[0085] After obtaining the data voltage values corresponding to the plurality of grayscale binding points, the data voltage values corresponding to the non-grayscale binding points in the grayscale range can be obtained based on a linear interpolation algorithm, thereby obtaining the data voltage values corresponding to each grayscale in the grayscale range.
[0086] S406 , obtaining data voltage values corresponding to each first register value in the first register value range according to a first correspondence between the grayscale corresponding to the first brightness mode and the first register value and the data voltage values corresponding to each grayscale in the grayscale range.
[0087] In the first correspondence, a grayscale in the grayscale range may correspond to at least one first register value in the first register value range. For example, in some examples, a grayscale in the grayscale range of 0 to 255 may correspond to 16 first register values in the first register value range of 0 to 4095, such as grayscale 0 corresponding to first register values 0 to 15. After obtaining the data voltage values corresponding to each grayscale, the data voltage values corresponding to each first register value in the first register value range may be obtained based on the first correspondence between the grayscale corresponding to the first brightness mode and the first register value.
[0088] S102 is introduced below. According to the data scaling relationship between the first brightness mode and the second brightness mode, a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode is determined, where the second register value range is at least a portion of the register value range in the first register value range.
[0089] Figure 5 Another flow chart of the gamma debugging method provided in the embodiment of the present application. Figure 5 As shown, according to some embodiments of the present application, optionally, before S102 , the gamma debugging method may further include the following steps S501 and S502 .
[0090] S501: Determine a first grayscale corresponding to the maximum brightness in the second brightness mode under the first brightness mode.
[0091] Among them, the maximum brightness in the second brightness mode is known and can be flexibly adjusted according to actual conditions. For example, in some examples, the maximum brightness in the second brightness mode is 1000nit. It should be noted that 1000nit is only an example and does not constitute a limitation of the embodiments of the present application. After gamma debugging, the brightness corresponding to each grayscale in the first brightness mode is known. Then, in some examples, the first grayscale corresponding to the maximum brightness in the second brightness mode in the first brightness mode can be determined by looking up the table. For example, the first grayscale corresponding to 1000nit in the first brightness mode can be queried, for example, grayscale 235. That is, the maximum brightness in the second brightness mode corresponds to grayscale 235 in the first brightness mode.
[0092] In other examples, the first grayscale can also be obtained by calculation, as shown in the following expression:
[0093]
[0094] Among them, L 1max and L 2max Known, L 1max Indicates the maximum brightness in the first brightness mode, L 2max Indicates the maximum brightness in the second brightness mode, and G indicates the first grayscale. For example, in some examples, L 1max =1200nit, L 2max =1000nit.
[0095] In this way, the first grayscale corresponding to the maximum brightness in the second brightness mode in the first brightness mode can be directly calculated, which reduces the table lookup time and improves the rate of determining the first grayscale.
[0096] S502: Calculate the maximum register value in the second brightness mode according to the first grayscale to obtain a second register value range.
[0097] For example, the maximum register value in the second brightness mode can be calculated according to the following expression:
[0098] Q 2max =G*2 a +b (4)
[0099] Among them, Q 2max Indicates the maximum register value in the second brightness mode, G indicates the first grayscale, a indicates the preset index, and b indicates the preset deviation value. In some examples, for example, a=4, b=15. Taking G=235 grayscale as an example, Q can be obtained through the above expression (4): 2max =3775.
[0100] The minimum register value in the second brightness mode is, for example, 0. Then, the maximum register value Q in the second brightness mode is obtained. 2max After that, the second register value range can be determined to be 0~Q 2max One second register value corresponds to one second register value. In this way, the second register value range can be determined.
[0101] According to some embodiments of the present application, optionally, S102, based on the data scaling relationship between the first brightness mode and the second brightness mode, determines the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode, which may specifically include the following steps one and two.
[0102] Step 1: Divide the second register value range into a first number of second register values according to the first number of first register values in the first register value range.
[0103] The first number can be flexibly adjusted according to actual conditions, and the embodiments of the present application do not limit this. For example, in some examples, the first register value range is divided into 4096 first register values, and the 4096 first register values correspond to grayscales 0 to 255 respectively. Then, in order to make the second register value correspond to grayscales 0 to 255, the second register value range can also be divided into the same number (e.g., 4096) of second register values. The 4096 second register values correspond to grayscales 0 to 255 respectively. For example, one grayscale can correspond to 16 second register values.
[0104] Table 1 schematically shows the second register value range.
[0105] Table 1
[0106] Original grayscale Grayscale after Data Scaling Serial number Second register value range 255 235 4095 3775 4094 3774 …… …… 4084 3764 4083 3764 …… …… 0 0
[0107] As shown in Table 1, the maximum original grayscale in the second brightness mode is 255. After data scaling, it is changed to 235 grayscale in the first brightness mode. The second register value range of 0 to 3775 can be divided into 4096 second register values, corresponding to grayscales 0 to 255.
[0108] For example, the second register value corresponding to each serial number can be determined by the following expression:
[0109]
[0110] Among them, x represents the serial number, Q 2x It should be noted that when the value calculated by expression (5) is not an integer, it can be rounded off to ensure that the value of the second register corresponding to the serial number x is an integer.
[0111] Step 2: For any second register value, determine the data voltage value corresponding to the second register value according to the data voltage value corresponding to the first register value that is the same as the second register value in the first register value range.
[0112] For example, for the second register value corresponding to the second register value 3775, the data voltage value corresponding to the second register value can be determined according to the data voltage value corresponding to the first register value 3775 in the first register value range of 0 to 4095.
[0113] Since the data voltage values corresponding to each first register value in the first register value range are known, for any second register value, the data voltage value corresponding to the second register value can be determined based on the data voltage value corresponding to the first register value that is the same as the second register value in the first register value range.
[0114] In this way, after obtaining the data voltage values corresponding to each first register value in the first register value range, the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode is directly obtained according to the data scaling relationship between the first brightness mode and the second brightness mode, and the data voltage value corresponding to at least one second register value in the second register value range is used to drive the sub-pixel to emit light, which can meet the display requirements of the second brightness mode, and only one gamma debugging is performed for the first brightness mode and the second brightness mode, which can reduce the time and cost of gamma debugging.
[0115] Since the embodiment of the present application can improve local brightness without weakening the IR drop compensation of the display panel, the embodiment of the present application can perform IR drop compensation on the display panel, further improving the display quality of the display panel, so that the optical specifications of the display panel meet the standards.
[0116] Figure 6 Another flow chart of the gamma debugging method provided in the embodiment of the present application. Figure 6 As shown, according to some embodiments of the present application, optionally, the gamma debugging method may further include the following steps S601 to S604.
[0117] S601 : Acquire a first brightness of a display panel when displaying a first test picture and a second brightness of a display panel when displaying a second test picture.
[0118] The first test image is a full-screen target grayscale image, and the second test image is a local area target grayscale image. The target grayscale can be any grayscale and can be flexibly adjusted according to actual conditions. Figure 7 The first test picture and the second test picture are schematically shown. Figure 7 As shown, for example, the first test image can be a full-screen 255 grayscale image, such as a full-screen white image. The second test image can be a partial area displaying a 255 grayscale image, such as a partial area displaying a white image. The partial area can be any partial area of the display panel, such as but not limited to the central area of the display panel.
[0119] The first brightness may specifically be an average brightness when the display panel displays the first test picture, and the second brightness may specifically be an average brightness of a white area when the display panel displays the second test picture.
[0120] S602. When the difference between the first brightness and the second brightness is greater than or equal to a first preset threshold, adjust the data voltage value corresponding to the sub-pixel in the local area of the display panel when displaying the second test screen until the difference between the first brightness and the second brightness is less than the first preset threshold, thereby obtaining the adjusted data voltage value.
[0121] The first preset threshold value can be flexibly adjusted, and this is not limited in the embodiments of the present application. When the difference between the first brightness and the second brightness is greater than or equal to the first preset threshold value, it indicates that the deviation between the full-screen brightness and the local area brightness due to IR drop is large, and IR drop compensation is required. Specifically, the data voltage values corresponding to the sub-pixels in the local area of the display panel when displaying the second test screen can be adjusted until the difference between the first brightness and the second brightness is less than the first preset threshold value, thereby obtaining the adjusted data voltage value.
[0122] S603 : Determine first compensation data for the data voltage value according to the data voltage value before adjustment and the data voltage value after adjustment.
[0123] For example, in some examples, the first compensation data may be a voltage difference value, and the first compensation data of the data voltage value may be obtained by calculating the difference between the data voltage value before adjustment and the data voltage value after adjustment.
[0124] Of course, in other examples, the first compensation data may also be a voltage ratio. The first compensation data of the data voltage value may be obtained by calculating the ratio between the data voltage value before adjustment and the data voltage value after adjustment. This embodiment of the present application does not limit this.
[0125] It should be noted that the first compensation data of the data voltage values corresponding to different color sub-pixels in the display panel may be different, and the first compensation data of the data voltage values corresponding to various color sub-pixels may be determined based on the difference or quotient of the data voltage values before adjustment and the data voltage values after adjustment of the various color sub-pixels.
[0126] S604: When in the first brightness mode and / or the second brightness mode, adjust the data voltage value according to the first compensation data.
[0127] That is, in both the first brightness mode and the second brightness mode, the data voltage value can be adjusted according to the first compensation coefficient.
[0128] In this way, by performing IR drop compensation on the display panel, for example, the difference between the brightness of the full-screen target grayscale image and the brightness of the local area target grayscale image under the same or similar data voltage can be reduced, and the difference between the brightness of the full-screen white image and the sum of the brightness of the full-screen red image, the full-screen green image and the full-screen blue image can also be reduced, thereby further improving the display quality of the display panel and ensuring that the optical specifications of the display panel meet the standards.
[0129] In some specific embodiments, S604 may specifically include adjusting the data voltage value according to the first compensation data when the first brightness mode and / or the second brightness mode is in effect and the image data to be displayed on the display panel meets a preset condition.
[0130] For example, whether it is the first brightness mode or the second brightness mode, when the image data to be displayed on the display panel is only brighter in a local area, the data voltage values corresponding to the various color sub-pixels can be adjusted separately according to the first compensation data of the data voltage values corresponding to the various color sub-pixels.
[0131] For example, in some specific embodiments, the preset conditions may include that the number of first sub-pixels is less than a second preset threshold or the number of second sub-pixels is greater than or equal to a third preset threshold, the first sub-pixels are sub-pixels whose corresponding grayscale is greater than or equal to the preset grayscale threshold, and the second sub-pixels are sub-pixels whose corresponding grayscale is less than the preset grayscale threshold.
[0132] The second preset threshold, the third preset threshold, and the preset grayscale threshold can all be flexibly adjusted according to actual conditions and are not limited in this embodiment of the present application. The first sub-pixel is the brighter sub-pixel, and the second sub-pixel is the darker sub-pixel. When the brighter sub-pixel falls below a certain number or the darker sub-pixel exceeds a certain number, IR drop compensation is triggered, and the data voltage value is adjusted according to the first compensation data.
[0133] In this way, on the basis of improving local brightness, by performing IR drop compensation on the display panel, for example, the difference between the brightness of the full-screen target grayscale image and the brightness of the local area target grayscale image under the same or similar data voltage can be reduced, thereby further improving the display quality of the display panel and ensuring that the optical specifications of the display panel meet the standards.
[0134] It should be noted that the grayscales corresponding to the first and second test images can be changed, and the size of the local area in the second test image can also be changed. Steps S601 to S604 can be performed multiple times to obtain first compensation data for data voltage values corresponding to different grayscales and first compensation data for data voltage values corresponding to different sizes of local areas.
[0135] According to some embodiments of the present application, optionally, IR drop compensation may further include brightness compensation between the brightness of a full-screen white picture and the sum of the brightness of a full-screen red picture, a full-screen green picture, and a full-screen blue picture.
[0136] Figure 8 This is another flow chart of the gamma debugging method provided in the embodiment of the present application. Figure 8 As shown, according to some embodiments of the present application, optionally, the gamma debugging method may further include the following steps S801 to S805.
[0137] S801 : Obtain a first brightness when the display panel displays a first test picture, a first sub-brightness when the display panel displays a third test picture, a second sub-brightness when the display panel displays a fourth test picture, and a third sub-brightness when the display panel displays a fifth test picture.
[0138] Among them, the first test picture is a full-screen target grayscale picture, such as a full-screen white picture, the third test picture is a full-screen first color picture corresponding to the target grayscale, the fourth test picture is a full-screen second color picture corresponding to the target grayscale, and the fifth test picture is a full-screen third color picture corresponding to the target grayscale.
[0139] S802: Calculate the sum of the first sub-brightness, the second sub-brightness, and the third sub-brightness.
[0140] S803. When the difference between the first brightness and the sum value is greater than or equal to a fourth preset threshold, adjust the data voltage value corresponding to the sub-pixel of the display panel when displaying at least one of the third test screen, the fourth test screen and the fifth test screen, until the difference between the first brightness and the second brightness is less than the first preset threshold and the difference between the first brightness and the sum value is less than the fourth preset threshold, thereby obtaining the adjusted data voltage value.
[0141] That is, for the target grayscale, the difference between the sum of the first brightness and the first sub-brightness, and the sum of the second sub-brightness and the third sub-brightness can be ensured to be less than the fourth preset threshold, thereby obtaining the adjusted data voltage value corresponding to the target grayscale.
[0142] S804 : Determine second compensation data for the data voltage value according to the data voltage value before adjustment and the data voltage value after adjustment.
[0143] S805 : When in the first brightness mode and / or the second brightness mode, adjust the data voltage value according to the second compensation data.
[0144] The specific process of S804 and S805 is similar to the specific process of the above steps S603 and S604. Please refer to the above and will not be repeated here.
[0145] In some embodiments, the gamma adjustment method may include steps S601 to S604 and steps S801 to S805 .
[0146] In this way, on the basis of improving local brightness, by performing IR drop compensation on the display panel, for example, the difference between the brightness of the full-screen target grayscale image and the brightness of the local area target grayscale image under the same or similar data voltage can be reduced, and the difference between the brightness of the full-screen white image and the sum of the brightness of the full-screen red image, the full-screen green image and the full-screen blue image can also be reduced, thereby further improving the display quality of the display panel and ensuring that the optical specifications of the display panel meet the standards.
[0147] Figure 9 This is another flow chart of the gamma debugging method provided in the embodiment of the present application. Figure 9 As shown, according to some embodiments of the present application, optionally, the gamma debugging method may further include the following steps S901 and S902.
[0148] S901 . When the display panel is in a first brightness mode, drive a sub-pixel in the display panel to emit light according to a data voltage value corresponding to at least one first register value in a first register value range.
[0149] In the first brightness mode, for each sub-pixel, the first register value corresponding to the gray scale to be displayed by each sub-pixel can be determined based on the gray scale to be displayed by each sub-pixel and the first corresponding relationship between the gray scale and the first register value, and then the data voltage value corresponding to the first register value of each sub-pixel can be determined to drive each sub-pixel to emit light.
[0150] S902 : When the display panel is in the second brightness mode, drive a sub-pixel in the display panel to emit light according to a data voltage value corresponding to at least one second register value in the second register value range.
[0151] In the second brightness mode, for each sub-pixel, the second register value corresponding to the gray scale to be displayed by each sub-pixel can be determined based on the gray scale to be displayed by each sub-pixel and the second corresponding relationship between the gray scale and the second register value, and then the data voltage value corresponding to the second register value of each sub-pixel can be determined to drive each sub-pixel to emit light.
[0152] In some specific embodiments, the display panel may enter the first brightness mode on the basis of the second brightness mode. Specifically, when the display panel meets the first preset condition, the data scaling function is turned on and the display panel switches to the second display mode. Among them, the first preset condition includes: the automatically detected external light intensity is greater than or equal to the preset brightness threshold or the user receives an instruction to switch to the second brightness mode. Exemplarily, the user's instruction to switch to the second brightness mode may include, for example, the user adjusting the brightness progress bar to the maximum brightness. When the display panel is in the second brightness mode and meets the second preset condition, the data scaling function is turned off and the display panel switches to the first display mode. Among them, the first preset condition includes: the number of first sub-pixels is less than the fifth preset threshold or the second sub-pixel is greater than or equal to the sixth preset threshold, the first sub-pixel is a sub-pixel whose corresponding grayscale is greater than or equal to the preset grayscale threshold, and the second sub-pixel is a sub-pixel whose corresponding grayscale is less than the preset grayscale threshold. The fifth preset threshold, the sixth preset threshold and the preset grayscale threshold can be flexibly adjusted according to actual conditions, and the embodiments of the present application are not limited to this. That is, when the display panel is in the second brightness mode, if the number of brighter sub-pixels is lower than a certain number or the number of darker sub-pixels is higher than a certain number, the display panel enters the first display mode.
[0153] It should be noted that the fifth preset threshold may be different from the second preset threshold mentioned above, and the sixth preset threshold may be different from the third preset threshold mentioned above, and this embodiment of the present application does not limit this.
[0154] Figure 10 This is a flow chart of step S604 in the gamma adjustment method provided in the embodiment of the present application. Figure 10 As shown, according to some embodiments of the present application, optionally, S604, when in the first brightness mode and / or the second brightness mode, adjusting the data voltage value according to the first compensation data, can specifically include the following steps S1001 and S1002.
[0155] S1001 : Determine third compensation data corresponding to a current register value of a display panel according to a predetermined correspondence relationship between register values and compensation data.
[0156] Figure 11 This is an operational diagram of step S604 in the gamma adjustment method provided in the embodiment of the present application. Figure 11As shown, after acquiring the image data to be displayed on the display panel, it is first determined whether the number of first sub-pixels is less than the second preset threshold or whether the number of second sub-pixels is greater than or equal to the third preset threshold. If the number of first sub-pixels is less than the second preset threshold or the number of second sub-pixels is greater than or equal to the third preset threshold, IR drop compensation is triggered, and the corresponding first compensation data is determined according to the number of first sub-pixels. That is, the first compensation data corresponding to the different sizes of the local areas mentioned above (or the different numbers of first sub-pixels) may be different. At the same time, the current brightness level of the display panel is determined, which can be determined specifically by querying the current brightness level (i.e., the current progress) of the brightness progress bar adjusted by the user. In order to achieve refined compensation, different brightness levels can correspond to different third compensation data, and the third compensation data corresponding to each brightness level can be predetermined. That is, based on the correspondence between the predetermined brightness level and the compensation data, the third compensation data corresponding to the current brightness level of the display panel can be determined.
[0157] S1002 : Adjust the data voltage value according to the first compensation data and the third compensation data.
[0158] The data voltage value of the sub-pixel is adjusted based on the determined first compensation data and the third compensation data corresponding to the current brightness level. For example, when the first compensation data and the third compensation data are both voltage differences, the data voltage value can be adjusted by calculating the sum of the data voltage value, the first compensation data, and the third compensation data. For example, when the first compensation data and the third compensation data are both voltage ratios, the data voltage value can be adjusted by calculating the product of the data voltage value, the first compensation data, and the third compensation data.
[0159] In this way, on the basis of the first compensation data, the third compensation data corresponding to the current brightness level of the display panel is further determined, and the data voltage value of the sub-pixel is adjusted according to the first compensation data and the third compensation data. The influence of the brightness level on the IR drop compensation is fully considered, and more refined IR drop compensation is achieved, which greatly improves the display quality of the display panel and ensures that the optical specifications of the display panel meet the standards.
[0160] Similarly, in other embodiments, the data voltage value may also be adjusted according to the second compensation data and the third compensation data. The process is similar to the above step S1002 and will not be described again here.
[0161] Based on the same technical concept as the gamma adjustment method provided in the above embodiment, the present application also provides a method for driving a display panel. Please refer to the following embodiment.
[0162] Figure 12A flow chart of a method for driving a display panel provided in an embodiment of the present application. Figure 12 As shown, the driving method of the display panel may include the following steps:
[0163] S1201, obtaining image data to be displayed on the display panel;
[0164] S1202: Determine whether to enable a data zoom function based on the image data to be displayed;
[0165] S1203. When the data scaling function is turned on, determine the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode based on the data scaling relationship between the first brightness mode and the second brightness mode. The second register value range is at least a portion of the register value range in the first register value range corresponding to the first brightness mode. The data voltage values corresponding to each first register value in the first register value range are predetermined.
[0166] The specific implementation process of the above steps S1201 to S1203 can be found above and will not be repeated here.
[0167] The display panel driving method of the embodiment of the present application, on the one hand, only requires one gamma adjustment for the first brightness mode and the second brightness mode, thereby reducing the time and cost of gamma adjustment. On the other hand, for example, when switching to the first brightness mode, the sub-pixel can be directly driven to emit light using a data voltage value corresponding to at least one first register value within the first register value range, thereby improving the local brightness of the display panel without weakening the IR drop compensation of the display panel, thereby better ensuring the display quality of the display panel and ensuring that the optical specifications of the display panel are met. On the other hand, for example, when switching to the second brightness mode, the data voltage value corresponding to at least one second register value within the second register value range corresponding to the second brightness mode can be directly obtained based on the data scaling relationship between the first brightness mode and the second brightness mode, and the sub-pixel can be driven to emit light using the data voltage value corresponding to at least one second register value within the second register value range, thereby meeting the display requirements of the second brightness mode.
[0168] Figure 13 Another flow chart of the method for driving a display panel provided in an embodiment of the present application. Figure 13 As shown, according to some embodiments of the present application, optionally, the method for driving a display panel may further include the following steps:
[0169] S1301. When the data scaling function is turned on, for any sub-pixel, the second target register value corresponding to the grayscale to be displayed by the sub-pixel is determined according to the second correspondence between the grayscale corresponding to the second brightness mode and the second register value, the second data voltage value corresponding to the second target register value is determined according to the correspondence between the second register value and the data voltage value, and the sub-pixel is driven to emit light based on the second data voltage value.
[0170] That is, in the second brightness mode, the sub-pixel can be driven to emit light according to the data voltage value corresponding to the second register value.
[0171] Continue to see Figure 13 According to some embodiments of the present application, optionally, S1202, judging whether to enable the data scaling function according to the image data to be displayed, may specifically include the following steps:
[0172] When the image data to be displayed meets a first preset condition, the data scaling function is enabled.
[0173] In which, the image data includes the grayscale to be displayed by each sub-pixel in the display panel, and the first preset condition includes: the automatically detected external light intensity is greater than or equal to the preset brightness threshold or the user's instruction to switch to the second brightness mode is received, and / or the number of first sub-pixels is greater than or equal to the fifth preset threshold or the second sub-pixel is less than the sixth preset threshold, the first sub-pixel is a sub-pixel whose grayscale to be displayed is greater than or equal to the preset grayscale threshold, and the second sub-pixel is a sub-pixel whose grayscale to be displayed is less than the preset grayscale threshold.
[0174] Continue to see Figure 13 According to some embodiments of the present application, optionally, the method for driving a display panel may further include the following steps:
[0175] S1302. When the image data to be displayed meets the second preset condition, the data scaling function is turned off. For any sub-pixel, the first target register value corresponding to the grayscale to be displayed by the sub-pixel is determined according to the first correspondence between the grayscale corresponding to the first brightness mode and the first register value. The first data voltage value corresponding to the first target register value is determined according to the correspondence between the first register value and the data voltage value, and the sub-pixel is driven to emit light based on the first data voltage value.
[0176] That is, in the first brightness mode, the sub-pixel may be driven to emit light according to the data voltage value corresponding to the first brightness level.
[0177] According to some embodiments of the present application, optionally, the second preset condition includes: the number of first sub-pixels is less than the fifth preset threshold or the second sub-pixels is greater than or equal to the sixth preset threshold, the first sub-pixels are sub-pixels whose corresponding grayscale is greater than or equal to the preset grayscale threshold, and the second sub-pixels are sub-pixels whose corresponding grayscale is less than the preset grayscale threshold.
[0178] It should be noted that the display panel driving method provided in the embodiment of the present application may include any one of the steps in the gamma adjustment method of the above embodiment and can achieve its corresponding technical effect. For the sake of brevity, it will not be repeated here.
[0179] Based on the gamma adjustment method provided in the above embodiment, the present application also provides a specific implementation of a gamma adjustment device. Please refer to the following embodiment.
[0180] Figure 14 This is a structural diagram of a gamma debugging device provided in an embodiment of the present application. Figure 14 As shown, the gamma debugging device 130 may include the following modules:
[0181] A gamma debugging module 1301 is configured to perform gamma debugging according to a target brightness of a first brightness mode, and obtain a data voltage value corresponding to at least one first register value in a first register value range;
[0182] The first determination module 1302 is used to determine a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode based on a data scaling relationship between the first brightness mode and the second brightness mode, where the second register value range is at least a portion of the register value range in the first register value range.
[0183] In the gamma debugging device of the embodiment of the present application, for both the first brightness mode and the second brightness mode, gamma debugging is performed only on the first brightness mode to obtain a data voltage value corresponding to at least one first register value within the first register value range corresponding to the first brightness mode. Then, a data voltage value corresponding to at least one second register value within the second register value range corresponding to the second brightness mode is directly obtained through a data scaling relationship between the first brightness mode and the second brightness mode, where the second register value range is at least a portion of the register value range within the first register value range. Thus, on the one hand, gamma debugging is performed only once for both the first brightness mode and the second brightness mode, reducing the time and cost of gamma debugging. On the other hand, for example, when switching to the first brightness mode, the sub-pixel can be directly driven to emit light using the data voltage value corresponding to at least one first register value within the first register value range, thereby improving the local brightness of the display panel without weakening the IRdrop compensation of the display panel, thereby better ensuring the display quality of the display panel and ensuring that the optical specifications of the display panel meet the standards. On the other hand, for example, when switching to the second brightness mode, the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode can be directly obtained based on the data scaling relationship between the first brightness mode and the second brightness mode, and the data voltage value corresponding to at least one second register value in the second register value range can be used to drive the sub-pixel to emit light, which can meet the display requirements of the second brightness mode.
[0184] In some embodiments, the gamma debugging device 130 may include a second determination module for determining the first grayscale corresponding to the maximum brightness in the second brightness mode in the first brightness mode; calculating the maximum register value in the second brightness mode according to the first grayscale to obtain the second register value range.
[0185] In some embodiments, the second determining module is specifically configured to calculate the maximum register value in the second brightness mode according to the following expression:
[0186] Q 2max =G*2 a +b
[0187] Among them, Q 2max represents the maximum register value in the second brightness mode, G represents the first grayscale, a represents a preset index, and b represents a preset deviation value.
[0188] In some embodiments, the first determination module 1302 is specifically used to divide the second register value range into the first number of second register values according to the first number of the first register values in the first register value range; for any second register value, the data voltage value corresponding to the second register value is determined based on the data voltage value corresponding to the first register value that is the same register value as the second register value in the first register value range.
[0189] In some embodiments, the data scaling relationship includes a scaling relationship between grayscales in the first brightness mode and grayscales in the second brightness mode or a scaling relationship between register values in the first brightness mode and register values in the second brightness mode.
[0190] In some embodiments, the gamma debugging device 130 may further include an adjustment module for obtaining a first brightness when the display panel displays a first test picture and a second brightness when the display panel displays a second test picture, wherein the first test picture is a full-screen target grayscale picture, and the second test picture is a local area target grayscale picture; when the difference between the first brightness and the second brightness is greater than or equal to a first preset threshold, adjusting the data voltage value corresponding to the sub-pixel in the local area of the display panel when displaying the second test picture until the difference between the first brightness and the second brightness is less than the first preset threshold, thereby obtaining the adjusted data voltage value; determining first compensation data for the data voltage value based on the data voltage value before adjustment and the data voltage value after adjustment; and adjusting the data voltage value based on the first compensation data when the first brightness mode and / or the second brightness mode is used.
[0191] In some embodiments, the adjustment module is specifically used to adjust the data voltage value according to the first compensation data when the first brightness mode and / or the second brightness mode and the image data to be displayed on the display panel meets the preset conditions; wherein the preset conditions include the number of first sub-pixels being less than the second preset threshold or the number of second sub-pixels being greater than or equal to the third preset threshold, the first sub-pixels being sub-pixels whose corresponding grayscale is greater than or equal to the preset grayscale threshold, and the second sub-pixels being sub-pixels whose corresponding grayscale is less than the preset grayscale threshold.
[0192] In some embodiments, the gamma debugging device 130 may further include an adjustment module for obtaining a first brightness when the display panel displays a first test picture, a first sub-brightness when the display panel displays a third test picture, a second sub-brightness when the display panel displays a fourth test picture, and a third sub-brightness when the display panel displays a fifth test picture, wherein the first test picture is a full-screen target grayscale picture, the third test picture is a full-screen first color picture corresponding to the target grayscale, the fourth test picture is a full-screen second color picture corresponding to the target grayscale, and the fifth test picture is a full-screen third color picture corresponding to the target grayscale; calculating the sum of the first sub-brightness, the second sub-brightness, and the third sub-brightness; and obtaining the sum of the first brightness and the second sub-brightness. When the difference between the first brightness and the second brightness is greater than or equal to a fourth preset threshold, the data voltage value corresponding to the sub-pixel of the display panel when displaying at least one of the third test screen, the fourth test screen and the fifth test screen is adjusted until the difference between the first brightness and the second brightness is less than the first preset threshold, and the difference between the first brightness and the sum value is less than the fourth preset threshold, so as to obtain the adjusted data voltage value; determine second compensation data of the data voltage value based on the data voltage value before adjustment and the data voltage value after adjustment; and adjust the data voltage value according to the second compensation data when the first brightness mode and / or the second brightness mode is used.
[0193] In some embodiments, the gamma debugging device 130 may further include a driving module for driving the sub-pixels in the display panel to emit light according to a data voltage value corresponding to at least one first register value in the first register value range when the display panel is in a first brightness mode; and for driving the sub-pixels in the display panel to emit light according to a data voltage value corresponding to at least one second register value in the second register value range when the display panel is in a second brightness mode.
[0194] In some embodiments, the adjustment module is specifically used to determine the third compensation data corresponding to the current brightness level of the display panel based on the correspondence between the predetermined brightness level and the compensation data; and adjust the data voltage value based on the first compensation data and the third compensation data.
[0195] In some embodiments, the gamma debugging module 1301 is specifically configured to select multiple grayscales within a preset grayscale range as grayscale binding points; determine a target brightness corresponding to each grayscale binding point based on a predetermined correspondence between grayscale and brightness; obtain, for any grayscale binding point, a measured brightness when the display panel displays the grayscale image corresponding to the grayscale binding point; adjust, when the difference between the measured brightness corresponding to the grayscale binding point and the target brightness corresponding to the grayscale binding point is greater than or equal to a preset error threshold, data voltage values corresponding to subpixels in the display panel until the difference between the measured brightness corresponding to the grayscale binding point and the target brightness corresponding to the grayscale binding point is less than the preset error threshold, thereby obtaining a data voltage value corresponding to the grayscale binding point; obtain, based on a linear interpolation algorithm and based on the data voltage values corresponding to each of the multiple grayscale binding points, data voltage values corresponding to each first register value in the first register value range; and obtain, based on a first correspondence between a grayscale corresponding to a first brightness mode and a first register value and the data voltage values corresponding to each grayscale in the grayscale range, data voltage values corresponding to each first register value in the first register value range, wherein one grayscale in the grayscale range corresponds to at least one first register value in the first register value range.
[0196] Figure 14 Each module / unit in the device shown has the function of implementing each step of the gamma debugging method provided by the above method embodiment and can achieve its corresponding technical effect. For the sake of brevity, it will not be repeated here.
[0197] Based on the display panel driving method provided in the above embodiment, the present application also provides a specific implementation of a display panel driving device, as shown in the following embodiment.
[0198] Figure 15 This is a schematic diagram of the structure of the driving device of the display panel provided in the embodiment of the present application. Figure 15 As shown, the driving device 140 of the display panel may include the following modules:
[0199] A first acquisition module 1401 is configured to acquire image data to be displayed on a display panel, where the image data includes a target grayscale corresponding to each sub-pixel in the display panel;
[0200] A determination module 1402 is configured to determine whether to enable a data scaling function based on the image data to be displayed;
[0201] The first driving module 1403 is used to determine, when the data scaling function is turned on, a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode based on a data scaling relationship between the first brightness mode and the second brightness mode, where the second register value range is at least a portion of the register value range in the first register value range, and the data voltage values corresponding to each first register value in the first register value range are predetermined.
[0202] The display panel driving device of the embodiment of the present application, on the one hand, only requires one gamma adjustment for the first brightness mode and the second brightness mode, thereby reducing the time and cost of gamma adjustment. On the other hand, for example, when switching to the first brightness mode, the sub-pixel can be directly driven to emit light using a data voltage value corresponding to at least one first register value within the first register value range, thereby improving the local brightness of the display panel without weakening the IR drop compensation of the display panel, thereby better ensuring the display quality of the display panel and ensuring that the optical specifications of the display panel are met. On the other hand, for example, when switching to the second brightness mode, the data voltage value corresponding to at least one second register value within the second register value range corresponding to the second brightness mode can be directly obtained based on the data scaling relationship between the first brightness mode and the second brightness mode, and the sub-pixel can be driven to emit light using the data voltage value corresponding to at least one second register value within the second register value range, thereby meeting the display requirements of the second brightness mode.
[0203] In some embodiments, the first driving module 1403 is also used to, when the data scaling function is turned on, determine, for any sub-pixel, a second target register value corresponding to the target grayscale based on a second correspondence between the grayscale corresponding to the second brightness mode and the second register value, determine a second data voltage value corresponding to the second target register value based on a correspondence between the second register value and the data voltage value, and drive the sub-pixel to emit light based on the second data voltage value.
[0204] In some embodiments, the judgment module 1402 is specifically configured to enable a data scaling function when the image data to be displayed satisfies a first preset condition. The image data includes grayscales to be displayed for each sub-pixel in the display panel, and the first preset condition includes: the automatically detected external light intensity is greater than or equal to a preset brightness threshold or a user instruction to switch to a second brightness mode is received, and / or the number of first sub-pixels is greater than or equal to a fifth preset threshold or the number of second sub-pixels is less than a sixth preset threshold, the first sub-pixels are sub-pixels whose corresponding grayscales are greater than or equal to the preset grayscale threshold, and the second sub-pixels are sub-pixels whose corresponding grayscales are less than the preset grayscale threshold.
[0205] In some embodiments, the driving device 140 of the display panel may further include a second driving module for turning off the data scaling function when the image data to be displayed meets a second preset condition, and for any sub-pixel, determining the first target register value corresponding to the target grayscale based on the first correspondence between the grayscale corresponding to the first brightness mode and the first register value, determining the first data voltage value corresponding to the first target register value based on the correspondence between the first register value and the data voltage value, and driving the sub-pixel to emit light based on the first data voltage value.
[0206] In some embodiments, the second preset condition includes: the number of the first sub-pixels is less than a fifth preset threshold or the number of the second sub-pixels is greater than or equal to a sixth preset threshold.
[0207] Based on the gamma adjustment method or display panel driving method provided in the above embodiments, the present application also provides a specific implementation of the electronic device. Please refer to the following embodiments.
[0208] Figure 16 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0209] The electronic device may include a processor 1501 and a memory 1502 storing computer program instructions.
[0210] Specifically, the processor 1501 may include a central processing unit (CPU) or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0211] Memory 1502 may include a large-capacity memory for data or instructions. By way of example and not limitation, memory 1502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. In one example, memory 1502 may include removable or non-removable (or fixed) media, or memory 1502 may be a non-volatile solid-state memory. Memory 1502 may be internal or external to the electronic device.
[0212] In one example, the memory 1502 may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.
[0213] The memory 1502 may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present application.
[0214] The processor 1501 implements the method / steps in the above-mentioned method embodiment by reading and executing the computer program instructions stored in the memory 1502, and achieves the corresponding technical effects achieved by the method embodiment executing its method / steps. For the sake of brevity, it will not be repeated here.
[0215] In one example, the electronic device may further include a communication interface 1503 and a bus 1510. Figure 16 As shown, the processor 1501, the memory 1502, and the communication interface 1503 are connected via a bus 1510 and communicate with each other.
[0216] The communication interface 1503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0217] Bus 1510 includes hardware, software or both, couples the parts of electronic equipment to each other.For example, but not limitation, bus may include Accelerated Graphics Port (AGP) or other graphics buses, Enhanced Industry Standard Architecture (EISA) bus, Front Side Bus (FSB), Hyper Transport (HT) interconnection, Industry Standard Architecture (ISA) bus, InfiniBand interconnection, Low Pin Count (LPC) bus, memory bus, Micro Channel Architecture (MCA) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 1510 may include one or more buses. Although the present application embodiment describes and shows specific bus, the application considers any suitable bus or interconnection.
[0218] In addition, in combination with the gamma debugging method or the display panel driving method in the above-mentioned embodiment, the embodiment of the present application may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the gamma debugging methods or display panel driving methods in the above-mentioned embodiments is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as electronic circuits, semiconductor memory devices, ROM, random access memory, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, and hard disks.
[0219] Based on the gamma debugging method or the display panel driving method in the above-mentioned embodiments, an embodiment of the present application further provides a display device, which includes a processor, a memory, and a computer program stored in the memory and runnable on the processor. When the computer program is executed by the processor, the steps of the gamma debugging method or the display panel driving method in the above-mentioned embodiments are implemented.
[0220] It should be understood that the present application is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and illustrated as examples. However, the method process of the present application is not limited to the specific steps described and illustrated. Those skilled in the art can make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present application.
[0221] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0222] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps. In other words, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0223] Aspects of the present application have been described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed via the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. This processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It is also understood that each box in the block diagram and / or the flowchart and the combination of the boxes in the block diagram and / or the flowchart can also be implemented by the dedicated hardware that performs the specified function or action, or can be implemented by the combination of dedicated hardware and computer instructions.
[0224] The above description is only a specific embodiment of the present application. Those skilled in the art will clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the scope of protection of the present application.
Claims
1. A gamma adjustment method, characterized in that: include: Perform gamma adjustment according to the target brightness of the first brightness mode to obtain a data voltage value corresponding to at least one first register value in the first register value range; determining, based on a data scaling relationship between a first brightness mode and a second brightness mode, a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode, where the second register value range is at least a portion of a register value range in the first register value range; The determining, based on the data scaling relationship between the first brightness mode and the second brightness mode, a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode specifically includes: dividing the second register value range into the first number of second register values according to a first number of the first register values in the first register value range; For any second register value, the data voltage value corresponding to the second register value is determined according to the data voltage value corresponding to the first register value that is the same register value as the second register value in the first register value range.
2. The gamma adjustment method according to claim 1, wherein: Before determining, based on the data scaling relationship between the first brightness mode and the second brightness mode, a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode, the method further includes: determining a first grayscale corresponding to the maximum brightness in the second brightness mode in the first brightness mode; The maximum register value in the second brightness mode is calculated according to the first grayscale to obtain the second register value range.
3. The gamma debugging method according to claim 2, wherein: The calculating the maximum register value in the second brightness mode according to the first grayscale specifically includes: The maximum register value in the second brightness mode is calculated according to the following expression: Q 2max =G*2 a +b Among them, Q 2max represents the maximum register value in the second brightness mode, G represents the first grayscale, a represents a preset index, and b represents a preset deviation value.
4. The gamma adjustment method according to claim 1, wherein: The data scaling relationship includes a scaling relationship between a grayscale in the first brightness mode and a grayscale in the second brightness mode or a scaling relationship between a register value in the first brightness mode and a register value in the second brightness mode.
5. The gamma adjustment method according to claim 1, wherein: The gamma debugging method further includes: Obtaining a first brightness when the display panel displays a first test picture and a second brightness when the display panel displays a second test picture, wherein the first test picture is a full-screen target grayscale picture and the second test picture is a local area target grayscale picture; When the difference between the first brightness and the second brightness is greater than or equal to a first preset threshold, adjusting the data voltage values corresponding to the sub-pixels in the local area of the display panel when displaying a second test picture until the difference between the first brightness and the second brightness is less than the first preset threshold, thereby obtaining the adjusted data voltage values; determining first compensation data of the data voltage value according to the data voltage value before adjustment and the data voltage value after adjustment; In the first brightness mode and / or the second brightness mode, the data voltage value is adjusted according to the first compensation data.
6. The gamma adjustment method according to claim 5, characterized in that: When the first brightness mode and / or the second brightness mode is selected and the image data to be displayed on the display panel meets a preset condition, adjusting the data voltage value according to the first compensation data; Among them, the preset conditions include that the number of first sub-pixels is less than a second preset threshold or the number of second sub-pixels is greater than or equal to a third preset threshold, the first sub-pixels are sub-pixels whose corresponding grayscale is greater than or equal to the preset grayscale threshold, and the second sub-pixels are sub-pixels whose corresponding grayscale is less than the preset grayscale threshold.
7. The gamma adjustment method according to claim 1, wherein: The gamma debugging method further includes: Obtaining a first brightness when the display panel displays a first test picture, a first sub-brightness when the display panel displays a third test picture, a second sub-brightness when the display panel displays a fourth test picture, and a third sub-brightness when the display panel displays a fifth test picture, wherein the first test picture is a full-screen target grayscale picture, the third test picture is a full-screen first color picture corresponding to the target grayscale, the fourth test picture is a full-screen second color picture corresponding to the target grayscale, and the fifth test picture is a full-screen third color picture corresponding to the target grayscale; Calculating a sum of the first sub-brightness, the second sub-brightness, and the third sub-brightness; When the difference between the first brightness and the sum value is greater than or equal to a fourth preset threshold, adjusting the data voltage value corresponding to the sub-pixel of the display panel when displaying at least one of the third test picture, the fourth test picture, and the fifth test picture until the difference between the first brightness and the second brightness is less than the first preset threshold and the difference between the first brightness and the sum value is less than the fourth preset threshold, thereby obtaining the adjusted data voltage value; determining second compensation data for the data voltage value according to the data voltage value before adjustment and the data voltage value after adjustment; In the first brightness mode and / or the second brightness mode, the data voltage value is adjusted according to the second compensation data.
8. The gamma adjustment method according to claim 1, wherein: The gamma debugging method further includes: When the display panel is in the first brightness mode, driving a sub-pixel in the display panel to emit light according to a data voltage value corresponding to at least one first register value in the first register value range; When the display panel is in the second brightness mode, sub-pixels in the display panel are driven to emit light according to a data voltage value corresponding to at least one second register value in the second register value range.
9. The gamma adjustment method according to claim 5, wherein: When the first brightness mode and / or the second brightness mode is selected, adjusting the data voltage value according to the first compensation data specifically includes: determining third compensation data corresponding to a current brightness level of the display panel according to a predetermined correspondence between brightness levels and compensation data; The data voltage value is adjusted according to the first compensation data and the third compensation data.
10. A method for driving a display panel, characterized in that: The driving method of the display panel includes: Acquiring image data to be displayed on the display panel; Determining whether to enable a data scaling function based on the image data to be displayed; When the data scaling function is enabled, determining, based on a data scaling relationship between the first brightness mode and the second brightness mode, a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode, where the second register value range is at least a portion of a first register value range corresponding to the first brightness mode, and the data voltage value corresponding to each first register value in the first register value range is predetermined; The determining, based on the data scaling relationship between the first brightness mode and the second brightness mode, a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode specifically includes: dividing the second register value range into the first number of second register values according to a first number of the first register values in the first register value range; For any second register value, the data voltage value corresponding to the second register value is determined according to the data voltage value corresponding to the first register value that is the same register value as the second register value in the first register value range.
11. The method for driving a display panel according to claim 10, wherein: The image data includes the grayscale to be displayed by each sub-pixel in the display panel; The display panel driving method further includes: When the data scaling function is turned on, for any sub-pixel, the second target register value corresponding to the grayscale to be displayed by the sub-pixel is determined according to the second correspondence between the grayscale corresponding to the second brightness mode and the second register value, and the second data voltage value corresponding to the second target register value is determined according to the correspondence between the second register value and the data voltage value, and the sub-pixel is driven to emit light based on the second data voltage value.
12. The method for driving a display panel according to claim 10, wherein: The determining, based on the image data to be displayed, whether to enable the data scaling function specifically includes: When the image data to be displayed meets a first preset condition, starting a data scaling function; In which, the image data includes the grayscale to be displayed by each sub-pixel in the display panel, and the first preset condition includes: the detected external light intensity is greater than or equal to the preset brightness threshold or the user's instruction to switch to the second brightness mode is received, and / or the number of first sub-pixels is greater than or equal to the fifth preset threshold or the second sub-pixels is less than the sixth preset threshold, the first sub-pixel is a sub-pixel whose grayscale to be displayed is greater than or equal to the preset grayscale threshold, and the second sub-pixel is a sub-pixel whose grayscale to be displayed is less than the preset grayscale threshold.
13. The method for driving a display panel according to claim 12, wherein: The display panel driving method further includes: When the image data to be displayed meets a second preset condition, the data scaling function is disabled, and for any sub-pixel, a first target register value corresponding to the grayscale to be displayed by the sub-pixel is determined based on a first correspondence between a grayscale corresponding to a first brightness mode and a first register value, a first data voltage value corresponding to the first target register value is determined based on a correspondence between the first register value and a data voltage value, and the sub-pixel is driven to emit light based on the first data voltage value; The second preset condition includes: the number of the first sub-pixels is less than the fifth preset threshold or the number of the second sub-pixels is greater than or equal to the sixth preset threshold.
14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the gamma debugging method according to any one of claims 1 to 9 or the display panel driving method according to any one of claims 10 to 13.
15. A display device, characterized in that: The invention comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the gamma debugging method according to any one of claims 1 to 9 or the display panel driving method according to any one of claims 10 to 13 are implemented.
Citation Information
Patent Citations
Gamma debugging method and device
CN111754912A
Gamma debugging method and gamma debugging device
CN111833793A