[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2024221677A1 - Gamma debugging method, display panel driving method, and readable storage medium - Google Patents

Gamma debugging method, display panel driving method, and readable storage medium Download PDF

Info

Publication number
WO2024221677A1
WO2024221677A1 PCT/CN2023/115599 CN2023115599W WO2024221677A1 WO 2024221677 A1 WO2024221677 A1 WO 2024221677A1 CN 2023115599 W CN2023115599 W CN 2023115599W WO 2024221677 A1 WO2024221677 A1 WO 2024221677A1
Authority
WO
WIPO (PCT)
Prior art keywords
brightness
grayscale
register value
data voltage
voltage value
Prior art date
Application number
PCT/CN2023/115599
Other languages
French (fr)
Chinese (zh)
Inventor
上官修宁
李国库
姜海斌
王铁钢
Original Assignee
云谷(固安)科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 云谷(固安)科技有限公司 filed Critical 云谷(固安)科技有限公司
Publication of WO2024221677A1 publication Critical patent/WO2024221677A1/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0673Adjustment of display parameters for control of gamma adjustment, e.g. selecting another gamma curve
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application belongs to the field of display technology, and in particular, relates to a gamma debugging method, a display panel driving method, and a readable storage medium.
  • the embodiments of the present application provide a gamma debugging method, a display panel driving method and a readable storage medium, which can improve the local brightness of the display panel while better ensuring the display quality of the display panel.
  • an embodiment of the present application provides a gamma debugging method, which includes: performing gamma debugging 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; 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, the second register value range being at least a portion of the register value range in the first register value range.
  • 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 a first brightness mode and a second brightness mode, the second register value range being at least a portion of a register value range in a first register value range, and the data voltage values corresponding to each first register value in the first register value range being predetermined.
  • an embodiment of the present application provides an electronic device, comprising: 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 provided in the first aspect or the display panel driving method provided in the second aspect are implemented.
  • an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored.
  • 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.
  • an embodiment of the present application provides a display device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the gamma debugging method provided in the first aspect or the display panel driving method provided in the second aspect.
  • the gamma debugging method, display panel driving method and readable storage medium 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 the 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 part of the register value range in the first register value range.
  • 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, so as to improve 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 making the optical specifications of the display panel meet the standards.
  • 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 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 can be used to drive the sub-pixel to emit light, thereby meeting the display requirements of the second brightness mode.
  • FIG1 schematically shows a full-screen white picture and a partial white picture
  • FIG2 schematically shows a full-screen white picture, a full-screen red picture, a full-screen green picture and a full-screen blue picture;
  • FIG3 is a flow chart of a gamma debugging method provided in an embodiment of the present application.
  • FIG4 is another schematic flow chart of a gamma debugging method provided in an embodiment of the present application.
  • FIG5 is a flow chart of step S102 in the gamma debugging method provided in an embodiment of the present application.
  • FIG6 is another schematic flow chart of a gamma debugging method provided in an embodiment of the present application.
  • FIG7 schematically shows a first test picture and a second test picture
  • FIG8 is a schematic diagram of another flow chart of the gamma debugging method provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of another flow chart of the gamma debugging method provided in an embodiment of the present application.
  • FIG10 is a flow chart of step S604 in the gamma debugging method provided in an embodiment of the present application.
  • FIG. 11 is a schematic diagram of an operation of step S604 in the gamma debugging method provided in an embodiment of the present application.
  • FIG12 is a schematic diagram of a flow chart of a method for driving a display panel provided in an embodiment of the present application.
  • FIG13 is another schematic flow chart of a method for driving a display panel provided in an embodiment of the present application.
  • FIG14 is a schematic diagram of a structure of a gamma debugging device provided in an embodiment of the present application.
  • FIG15 is a schematic structural diagram of a driving device for a display panel provided in an embodiment of the present application.
  • FIG. 16 shows a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
  • FIG1 schematically shows a full-screen white picture and a partial white picture.
  • FIG2 schematically shows a full-screen white picture, a full-screen red picture, a full-screen green picture, and a full-screen blue picture.
  • the difference between the brightness of the full-screen white picture 101 and the brightness of the partial white picture 102 under the same or similar data voltage will be large.
  • the deviation between the average brightness LV1 of the white area in the partial white picture 102 and the average brightness LV2 of the full-screen white picture 101 will be greater than 10%, and the expression is as follows:
  • the deviation between the brightness of the full-screen white picture 101 and the sum of the brightness of the full-screen red picture 201 , the full-screen green picture 202 and the full-screen blue picture 203 under the same or similar data voltage is greater than 10%, and the expression is as follows:
  • 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
  • LVB represents the average brightness of the full-screen blue picture 203.
  • the embodiments of the present application provide a gamma debugging method, a display panel driving method and a readable storage medium, which can solve the technical problem existing in the related art that improving the local brightness of the display panel will cause the optical specifications of the display panel to not meet the standards.
  • the first brightness mode is a brightness mode corresponding to improving the local brightness.
  • the first brightness mode and the second brightness mode only the first brightness mode is gamma-adjusted to obtain a data voltage value corresponding to at least one first register value in a first register value range corresponding to the first brightness mode, and then 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 directly obtained through a 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.
  • the first brightness mode and the second brightness mode only need to perform gamma debugging 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 a 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 IR drop compensation of the display panel, thereby better ensuring the display quality of the display panel.
  • 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 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, so as to meet the display requirements of the second brightness mode.
  • Fig. 3 is a flow chart of a gamma adjustment method provided by an embodiment of the present application. As shown in Fig. 3, the gamma adjustment method may include the following steps S101 and S102.
  • the first brightness mode may be a brightness mode corresponding to enhancing the local brightness of the display panel.
  • the first brightness mode may be referred to as the average picture level (APL) mode, that is, when the APL meets the preset conditions, the first brightness mode is started.
  • APL may be understood as the percentage value of the pixel area displaying white color to all pixel areas in the display panel after the color image to be displayed is converted into a grayscale image.
  • 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. According to the target brightness of multiple grayscales in the first brightness mode, gamma adjustment can be performed, and then a data voltage value corresponding to at least one first register value in the first register value range corresponding to the first brightness mode can be obtained.
  • the first register value range may include multiple different first register values, and the first register value may be any register value in 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 the embodiments of the present application.
  • the first register value range can be a register value range of 51 registers. Taking 12 bits as an example, for 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 0 to 255 grayscales respectively, for example, 1 grayscale corresponds to 16 first register values. For example, 0 grayscale can correspond to 0 to 15 first register values, and 1 grayscale can correspond to 16 to 31 first register values.
  • 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, so I will not go into details here.
  • 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, wherein the second register value range is at least a portion of the register value range in the first register value range.
  • the second brightness mode can be a highlight display mode (High Brightness Monitor, HBM), which 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.
  • HBM High Brightness Monitor
  • the first brightness mode can be regarded as a brightness mode corresponding to further improving the local brightness on the basis of the second brightness mode. For example, in the second brightness mode, if the APL meets the preset conditions, the first brightness mode is started.
  • display panels usually have a data scaling function, through which the data corresponding to a large brightness range can be scaled to the data corresponding to a small brightness range.
  • the large brightness range of 0-1200nit corresponds to 0-255 grayscales
  • the small brightness range of 0-1000nit corresponds to 0-255 grayscales.
  • the brightness corresponding to each grayscale of 0-1200nit is determined.
  • the 255 grayscales in the small brightness range directly correspond to the c grayscale before turning on.
  • the c grayscale is the 235 grayscale corresponding to the large brightness range.
  • the brightness corresponding to the 0-255 grayscales after turning on corresponds to the 0-c grayscale before turning on
  • the brightness of each grayscale after turning on is equal to the brightness corresponding to the corresponding grayscale before turning on
  • 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.
  • the data voltage value corresponding to the 255 grayscales in the small brightness range is equal to the data voltage value corresponding to the 235 grayscales in the large brightness range.
  • 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.
  • 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 0 to 4095 are known, the data voltage values corresponding to each second register value in the second register value range 0 to 3775 may also be 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.
  • the gamma debugging method of the embodiment of the present application for the first brightness mode and the second brightness mode, only performs gamma debugging on the first brightness mode, obtains the 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 directly obtains the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode 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 part of the register value range in the first register value range.
  • 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, so as to improve the local brightness of the display panel.
  • the brightness can be increased without weakening the IR drop compensation of the display panel, thereby better ensuring the display quality of the display panel and meeting the optical specifications of the display panel.
  • 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 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 can be used to drive the sub-pixel to emit light, which can meet the display requirements of the second brightness mode.
  • 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 the first register value range.
  • Fig. 4 is a flow chart of step S101 in the gamma debugging method provided in an embodiment of the present application. As shown in Fig. 4, according to some embodiments of the present application, optionally, S101 may specifically include the following steps S401 to S406.
  • the preset grayscale range can be flexibly adjusted according to actual conditions, for example, grayscales of 0 to 255.
  • multiple grayscales can be selected as grayscale binding points.
  • 8 grayscales or other numbers of grayscales can be selected as grayscale binding points.
  • S402 Determine the target brightness corresponding to each grayscale binding point according to a predetermined correspondence relationship between grayscale and brightness.
  • the predetermined correspondence between grayscale and brightness includes but is not limited to the Gamma2.2 curve.
  • the Gamma2.2 curve is a curve of the relationship between grayscale and brightness, and the target brightness corresponding to each grayscale binding point can be queried through the Gamma2.2 curve.
  • the grayscale picture corresponding to the i-th grayscale binding point can be output to the display panel through the lighting machine, and the display panel displays the grayscale picture corresponding to the i-th grayscale binding point. Then, the measured brightness when the display panel displays the grayscale picture corresponding to the i-th grayscale binding point is collected through optical testing equipment such as a color analyzer or a camera. Where i is a positive integer.
  • the preset error threshold can be flexibly adjusted according to actual conditions, and the embodiments of the present application do not limit this.
  • the data voltage value corresponding to the sub-pixel in the display panel can be adjusted until the measured brightness corresponding to the i-th grayscale binding point is equal to the target brightness corresponding to the i-th grayscale binding point.
  • the difference between the brightness is less than the preset error threshold, and the data voltage value corresponding to the i-th grayscale binding point is obtained.
  • the display panel 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 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.
  • 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.
  • the first color can be red
  • the second color can be green
  • the third color can be blue.
  • the data voltage values corresponding to different color sub-pixels can be different.
  • 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.
  • a grayscale in the grayscale range may correspond to at least one first register value in the first register value range.
  • 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.
  • 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, and the second register value range is at least a partial register value range in the first register value range.
  • Fig. 5 is another flow chart of the gamma debugging method provided by an embodiment of the present application. As shown in Fig. 5, according to some embodiments of the present application, optionally, before S102, the gamma debugging method may further include the following steps S501 and S502.
  • S501 Determine a first grayscale corresponding to the maximum brightness in the second brightness mode in the first brightness mode.
  • the maximum brightness in the second brightness mode is known and can be flexibly adjusted according to actual conditions.
  • 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 on the embodiments of the present application.
  • the second brightness mode can be determined by looking up a table.
  • the first grayscale corresponding to the maximum brightness in the first brightness mode for example, the first grayscale corresponding to 1000 nit 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.
  • the first grayscale can also be obtained by calculation, and the expression is as follows:
  • the first grayscale corresponding to the maximum brightness in the second brightness mode in the first brightness mode can be directly calculated by calculation, which reduces the table lookup time and improves the rate of determining the first grayscale.
  • S502 Calculate the maximum register value in the second brightness mode according to the first grayscale to obtain a second register value range.
  • the maximum register value in the second brightness mode can be calculated according to the following expression:
  • Q 2max represents the maximum register value in the second brightness mode
  • G represents the first grayscale
  • a represents the preset index
  • b represents the preset deviation value.
  • Q 2max 3775 can be obtained through the above expression (4).
  • the minimum register value in the second brightness mode is, for example, 0.
  • the second register value range can be determined to be 0 to Q 2max .
  • One second register value corresponds to one second register value. In this way, the second register value range can be determined.
  • S102 based on the data scaling relationship between the first brightness mode and the second brightness mode, determines a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode, which may specifically include the following steps one and two.
  • Step 1 Divide the second register value range into a first number of second register values according to a first number of first register values in the first register value range.
  • the first number can be flexibly adjusted according to actual conditions, and the embodiments of the present application do not limit this.
  • the first register value range is divided into 4096 first register values, and the 4096 first register values correspond to 0 to 255 grayscales respectively.
  • the second register value range can also be divided into an equal number (such as 4096) of second register values.
  • the 4096 second register values correspond to 0 to 255 grayscales respectively, for example, one grayscale can correspond to 16 second register values.
  • Table 1 schematically shows the second register value range.
  • the maximum original grayscale of the second brightness mode is 255 grayscale, which is changed to 235 grayscale in the first brightness mode after Data Scaling.
  • the second register value range of 0 to 3775 can be divided into 4096 second register values, corresponding to 0 to 255 grayscales respectively.
  • the second register value corresponding to each serial number can be determined by the following expression:
  • x represents the serial number
  • Q 2x represents the second register value corresponding to the serial number x. 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 second register value corresponding to the serial number x is an integer.
  • 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.
  • 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.
  • 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.
  • 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 the first brightness mode and the second brightness mode only need to perform gamma debugging once, which can reduce the time and cost of gamma debugging.
  • the embodiment of the present application can improve the 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 to further improve the display quality of the display panel so that the optical specifications of the display panel meet the standards.
  • Fig. 6 is another flow chart of the gamma debugging method provided by an embodiment of the present application. As shown in Fig. 6, according to some embodiments of the present application, optionally, the gamma debugging method may further include the following steps S601 to S604.
  • S601 Acquire a first brightness when a display panel displays a first test picture and a second brightness when a display panel displays a second test picture.
  • the first test picture is a full-screen target grayscale picture
  • the second test picture is a local area display target grayscale picture.
  • the target grayscale can be any grayscale, which can be flexibly adjusted according to actual conditions.
  • Figure 7 schematically shows the first test picture and the second test picture.
  • the first test picture can be a full-screen 255 grayscale picture, such as a full-screen white picture.
  • the second test picture can be a local area display 255 grayscale picture, such as a local area display white picture.
  • the local area can be any partial area in the display panel, such as including but not limited to the central area in the display panel.
  • the first brightness may specifically be an average brightness when the display panel displays the first test picture
  • the second brightness may specifically be an average brightness of a white area when the display panel displays the second test picture.
  • the first preset threshold value can be flexibly adjusted, and the embodiments of the present application do not limit this.
  • the difference between the first brightness and the second brightness is greater than or equal to the first preset threshold value, it means that the deviation between the full screen brightness and the local area brightness caused by IR drop is large, and IR drop compensation is required.
  • the data voltage value corresponding to the sub-pixel 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, and the adjusted data voltage value is obtained.
  • S603 Determine first compensation data of the data voltage value according to the data voltage value before adjustment and the data voltage value after adjustment.
  • the first compensation data may be a voltage difference value
  • 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.
  • 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 is not limited to this.
  • 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 of the various color sub-pixels and the data voltage values after adjustment of the various color sub-pixels.
  • S604 When in the first brightness mode and/or the second brightness mode, adjust the data voltage value according to the first compensation data.
  • the data voltage value can be adjusted according to the first compensation coefficient.
  • the IR drop under the same or similar data voltage can be reduced.
  • the difference between the brightness of the full-screen target grayscale image and the brightness of the local area target grayscale image can also narrow 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, further improving the display quality of the display panel and meeting the optical specifications of the display panel.
  • 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 and the image data to be displayed by the display panel meets a preset condition.
  • the data voltage values corresponding to the various color sub-pixels can be adjusted respectively according to the first compensation data of the data voltage values corresponding to the various color sub-pixels.
  • 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.
  • the second preset threshold, the third preset threshold and the preset grayscale threshold can be flexibly adjusted according to actual conditions, and the embodiments of the present application do not limit this.
  • the first sub-pixel is a brighter sub-pixel
  • the second sub-pixel is a darker sub-pixel.
  • IR drop compensation is triggered, and the data voltage value is adjusted according to the first compensation data.
  • 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 meeting the optical specifications of the display panel.
  • the grayscales corresponding to the first test picture and the second test picture can be changed, and the size of the local area in the second test picture can also be changed.
  • the above steps S601 to S604 can be performed multiple times to obtain the first compensation data of the data voltage values corresponding to different grayscales and the first compensation data of the data voltage values corresponding to different sizes of the local area.
  • IR drop compensation can also 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.
  • Fig. 8 is another flow chart of the gamma debugging method provided by the embodiment of the present application. As shown in Fig. 8, according to some embodiments of the present application, optionally, the gamma debugging method may further include the following steps S801 to S805.
  • 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
  • the fifth test picture is a full-screen third color picture corresponding to the target grayscale.
  • S802 Calculate the sum of the first sub-brightness, the second sub-brightness, and the third sub-brightness.
  • the target grayscale it can also be ensured that the difference between the first brightness and the first sub-brightness, and the sum of the second sub-brightness and the third sub-brightness is less than the fourth preset threshold, thereby obtaining the adjusted data voltage value corresponding to the target grayscale.
  • the gamma debugging method may include the above steps S601 to S604 and may also include the above steps S801 to S805.
  • the difference between the brightness of the full-screen target grayscale picture and the brightness of the local area target grayscale picture under the same or similar data voltage can be reduced, and the difference between the brightness of the full-screen white picture and the sum of the brightness of the full-screen red picture, the full-screen green picture and the full-screen blue picture can also be reduced, thereby further improving the display quality of the display panel and meeting the optical specifications of the display panel.
  • Fig. 9 is another flow chart of a gamma debugging method provided by an embodiment of the present application. As shown in Fig. 9, according to some embodiments of the present application, optionally, the gamma debugging method may further include the following steps S901 and S902.
  • the first register value corresponding to the gray scale to be displayed by each sub-pixel can be determined according to 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.
  • the second register value corresponding to the gray scale to be displayed by each sub-pixel can be determined according to 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.
  • the display panel may enter the first brightness mode based on 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 first brightness mode. Switch to the second display mode.
  • 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.
  • the instruction for the user to switch to the second brightness mode may include, for example, the user adjusting the brightness progress bar to the maximum brightness.
  • the data zoom function is turned off and the display panel switches to the first display mode.
  • the first preset condition includes: the number of the first sub-pixel 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 embodiment of the present application does not limit this. That is, when the display panel is in the second brightness mode, if the number of brighter sub-pixels is less 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.
  • 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 the embodiment of the present application is not limited to this.
  • Fig. 10 is a flow chart of step S604 in the gamma debugging method provided in an embodiment of the present application.
  • adjusting the data voltage value according to the first compensation data may specifically include the following steps S1001 and S1002.
  • FIG11 is an operation diagram of step S604 in the gamma debugging method provided by an embodiment of the present application.
  • it is first determined whether the number of the first sub-pixels is less than the second preset threshold or whether the number of the second sub-pixels is greater than or equal to the third preset threshold. If the number of the first sub-pixels is less than the second preset threshold or the number of the second sub-pixels is greater than or equal to the third preset threshold, the IR drop compensation is triggered, and the corresponding first compensation data is determined according to the number of the first sub-pixels.
  • the first compensation data corresponding to the different sizes of the local areas mentioned above (or the different numbers of the first sub-pixels) may be different.
  • 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.
  • 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, according to 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.
  • S1002 Adjust the data voltage value according to the first compensation data and the third compensation data.
  • the data voltage value of the sub-pixel is adjusted. For example, when the first compensation data and the third compensation data are both voltage difference values, the data voltage value, the sum of the first compensation data and the third compensation data can be calculated to adjust the data voltage value. For example, when the first compensation data and the third compensation data are both voltage ratio values, the data voltage value, the sum of the first compensation data and the third compensation data can be calculated. The product of the compensation data and the third compensation data is used to adjust the data voltage value.
  • 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, which fully considers the influence of the brightness level on the IR drop compensation, realizes more refined IR drop compensation, and greatly improves the display quality of the display panel, so that the optical specifications of the display panel meet the standards.
  • 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 in detail herein.
  • the embodiment of the present application further provides a method for driving a display panel. Please refer to the following embodiment.
  • FIG12 is a schematic diagram of a flow chart of a method for driving a display panel provided in an embodiment of the present application. As shown in FIG12 , the method for driving a display panel may include the following steps:
  • the data scaling function 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 according to the data scaling relationship between the first brightness mode and the second brightness mode, the second register value range is at least a partial register value range in the first register value range corresponding to the first brightness mode, and the data voltage values corresponding to each first register value in the first register value range are predetermined.
  • the first brightness mode and the second brightness mode only need to perform gamma debugging once, thereby reducing the time and cost of gamma debugging; 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 making the optical specifications of the display panel meet the standards.
  • 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 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 can be used to drive the sub-pixel to emit light, thereby meeting the display requirements of the second brightness mode.
  • FIG13 is another schematic flow chart of a method for driving a display panel provided in an embodiment of the present application. As shown in FIG13 , according to some embodiments of the present application, optionally, the method for driving a display panel may further include the following steps:
  • the second target register value corresponding to the gray scale to be displayed by the sub-pixel is determined according to the second corresponding relationship between the gray scale 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 corresponding relationship between the second register value and the data voltage value
  • the sub-pixel is driven to emit light based on the second data voltage value.
  • the sub-pixel in the second brightness mode, can be driven to emit light according to the data voltage value corresponding to the second register value.
  • S1202 judging whether to enable the data zoom function according to the image data to be displayed, may specifically include the following steps:
  • the data zoom function is enabled.
  • the image data includes the grayscale to be displayed by each sub-pixel in the display panel
  • 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-pixels are 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.
  • the method for driving a display panel may further include the following steps:
  • the sub-pixel may be driven to emit light according to the data voltage value corresponding to the first brightness level.
  • the second preset condition includes: the number of first sub-pixels is less than a fifth preset threshold or the number of second sub-pixels is greater than or equal to a 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.
  • 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, which will not be repeated here for the sake of concise description.
  • the embodiment of the present application also provides a specific implementation of a gamma adjustment device. Please refer to the following embodiment.
  • FIG14 is a schematic diagram of a structure of a gamma debugging device provided in an embodiment of the present application.
  • the gamma debugging device 130 may include the following modules:
  • a gamma debugging module 1301 is used 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;
  • the first determination module 1302 is used to determine the data voltage corresponding to at least one second register value in the second register value range corresponding to the second brightness mode according to the data scaling relationship between the first brightness mode and the second brightness mode. value, and the second register value range is at least a portion of the register value range in the first register value range.
  • the gamma debugging device of the embodiment of the present application performs gamma debugging only on the first brightness mode for the first brightness mode and the second brightness mode, and obtains 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 obtains a data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode directly 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 part of the register value range in the first register value range.
  • 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, so as to improve 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 making the optical specifications of the display panel meet the standards.
  • 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 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 can be used to drive the sub-pixel to emit light, thereby meeting the display requirements of the second brightness mode.
  • the gamma debugging device 130 may include a second determination module for determining a 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.
  • the second determination module is specifically configured to calculate the maximum register value in the second brightness mode according to the following expression:
  • Q 2max represents the maximum register value in the second brightness mode
  • G represents the first grayscale
  • a represents a preset index
  • b represents a preset deviation value
  • 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, determine the data voltage value corresponding to the second register value based on the data voltage value corresponding to the first register value of the same register value as the second register value in the first register value range.
  • 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.
  • 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 display target grayscale picture;
  • 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 display target grayscale picture;
  • 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 a preset condition; wherein the preset condition includes 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 a preset grayscale threshold, and the second sub-pixels are sub-pixels whose corresponding grayscale is less than the preset grayscale threshold.
  • 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 a 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
  • 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 a 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 a second register value range when the display panel is in a second brightness mode.
  • 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 a first register value range 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 second register value in a second register value range when the display panel is in a second brightness mode.
  • the adjustment module is specifically used to determine 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 adjust the data voltage value according to the first compensation data and the third compensation data.
  • the gamma debugging module 1301 is specifically used to select multiple grayscales in a preset grayscale range as grayscale binding points; determine the target brightness corresponding to each grayscale binding point according to the predetermined correspondence between grayscale and brightness; for any grayscale binding point, obtain the grayscale image corresponding to the grayscale binding point displayed by the display panel.
  • Each module/unit in the device shown in FIG. 14 has the function of implementing each step in the gamma debugging method provided in the above method embodiment and can achieve its corresponding technical effect, which will not be described in detail here for the sake of brevity.
  • the embodiment of the present application further provides a specific implementation of a display panel driving device. Please refer to the following embodiment.
  • FIG15 is a schematic diagram of a structure of a display panel driving device provided in an embodiment of the present application.
  • the display panel driving device 140 may include the following modules:
  • a first acquisition module 1401 is used to acquire image data to be displayed on the display panel, where the image data includes a target grayscale corresponding to each sub-pixel in the display panel;
  • a determination module 1402 is used to determine whether to enable a data zoom function according to the image data to be displayed;
  • 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 according to a data scaling relationship between the first brightness mode and the second brightness mode, wherein the second register value range is at least a partial 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.
  • the driving device of the display panel of the embodiment of the present application on the one hand, only performs gamma debugging once in the first brightness mode and the second brightness mode, thereby reducing the time and cost of gamma debugging; 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 making the optical specifications of the display panel meet the standards.
  • 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 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 can be used to drive the sub-pixel to emit light, thereby meeting the display requirements of the second brightness mode.
  • the first driving module 1403 is further configured to, when the data scaling function is enabled, determine, for any sub-pixel, a second target register value corresponding to the target grayscale according to a second correspondence between a grayscale corresponding to the second brightness mode and a second register value, and determine a second target register value corresponding to the target grayscale according to a second correspondence between the second register value and the data voltage value. A corresponding relationship is determined, a second data voltage value corresponding to the second target register value is determined, and the sub-pixel is driven to emit light based on the second data voltage value.
  • the judgment module 1402 is specifically used to enable the data zoom function when the image data to be displayed meets the first preset condition.
  • the image data includes the grayscale to be displayed of each sub-pixel in the display panel
  • 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-pixel is less than 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 driving device 140 of the display panel may also include a second driving module, which is used to turn off the data scaling function when the image data to be displayed meets the second preset condition, and for any sub-pixel, determine 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, determine 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 drive the sub-pixel to emit light based on the first data voltage value.
  • a second driving module which is used to turn off the data scaling function when the image data to be displayed meets the second preset condition, and for any sub-pixel, determine 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, determine 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 drive 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 a fifth preset threshold or the number of second sub-pixels is greater than or equal to a sixth preset threshold.
  • the present application also provides a specific implementation of the electronic device. Please refer to the following embodiments.
  • FIG. 16 shows a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
  • the electronic device may include a processor 1501 and a memory 1502 storing computer program instructions.
  • the above-mentioned 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.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • Memory 1502 may include a large capacity memory for data or instructions.
  • 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.
  • memory 1502 may include a removable or non-removable (or fixed) medium, or memory 1502 is a non-volatile solid-state memory.
  • Memory 1502 may be internal or external to the electronic device.
  • the memory 1502 may be a read-only memory (ROM).
  • 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.
  • the memory 1502 may include a read-only memory (ROM), a random access memory (RAM), a disk storage Storage medium device, optical storage medium device, flash memory device, electrical, optical or other physical/tangible memory storage device. Therefore, 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 one aspect of the present application.
  • ROM read-only memory
  • RAM random access memory
  • disk storage Storage medium device e.g., optical storage medium device
  • flash memory device e.g., electrical, optical or other physical/tangible memory storage device. Therefore, 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
  • the processor 1501 implements the method/steps in the above 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, which will not be repeated here for the sake of brevity.
  • the electronic device may further include a communication interface 1503 and a bus 1510. As shown in FIG16, the processor 1501, the memory 1502, and the communication interface 1503 are connected via the bus 1510 and communicate with each other.
  • 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.
  • the bus 1510 includes hardware, software, or both, coupling components of the electronic device to each other.
  • the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable bus or a combination of two or more of these.
  • the bus 1510 may include one or more buses. Although the embodiments of the present application describe and illustrate specific buses, the present application contemplates any suitable bus or interconnect.
  • 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.
  • 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 executable on the processor.
  • a display device which includes a processor, a memory, and a computer program stored in the memory and executable on the processor.
  • the functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof.
  • it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc.
  • ASIC application specific integrated circuit
  • the elements of the present application are programs or code segments 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.
  • "Machine-readable medium" may include any medium capable of storing or transmitting information.
  • machine-readable media examples include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), 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.
  • each square box in the flow chart and/or the block diagram and the combination of each square box in the flow chart and/or the block diagram can be realized 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 by the processor of the computer or other programmable data processing device enable the realization of the function/action specified in one or more square boxes of the flow chart and/or the block diagram.
  • a 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.
  • each square box in the block diagram and/or the flow chart and the combination of the square boxes in the block diagram and/or the flow chart can also be realized by the dedicated

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

A gamma debugging method, a display panel driving method, and a readable storage medium. The gamma debugging method comprises: performing gamma debugging 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 (S101); and according to the data scaling relationship between the first brightness mode and a second brightness mode, 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, wherein the second register value range is at least part of the first register value range (S102). The time and costs of gamma debugging can be reduced, the local brightness of a display panel can be improved, and the display quality of the display panel can be well guaranteed.

Description

伽马调试方法、显示面板的驱动方法及可读存储介质Gamma debugging method, display panel driving method and readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求享有于2023年04月28日提交的名称为“伽马调试方法、显示面板的驱动方法、介质及显示装置”的中国专利申请2023104770851的优先权,该申请的全部内容通过引用并入本文中。This application claims the priority of Chinese patent application 2023104770851, filed on April 28, 2023, entitled “Gamma debugging method, display panel driving method, medium and display device”, and the entire contents of which are incorporated herein by reference.
技术领域Technical Field
本申请属于显示技术领域,尤其涉及一种伽马调试方法、显示面板的驱动方法及可读存储介质。The present application belongs to the field of display technology, and in particular, relates to a gamma debugging method, a display panel driving method, and a readable storage medium.
背景技术Background Art
随着显示面板及显示装置的应用场景增多,用户对显示的画质要求越来越高。当用户在环境光较强的环境下查看显示装置所显示的内容时,或者,用户应用显示装置播放高动态范围图像(High-Dynamic Range,HDR)格式的视频时,显示装置中局部较亮的区域需要更高的亮度才能展示出接近本体的色彩,因此显示装置对局部峰值亮度应用方案逐渐重视起来。As the application scenarios of display panels and display devices increase, users have higher and higher requirements for display quality. When users view the content displayed by the display device in an environment with strong ambient light, or when users use the display device to play videos in the High-Dynamic Range (HDR) format, the local brighter areas in the display device require higher brightness to display colors close to the original body, so the display device gradually pays attention to the application of local peak brightness.
然而,目前的相关方案虽然能够一定程度上实现局部亮度升高,但是会牺牲显示装置的显示质量,导致显示装置的光学规格不达标。However, although the current related solutions can achieve local brightness improvement to a certain extent, the display quality of the display device will be sacrificed, resulting in the optical specifications of the display device not meeting the standards.
发明内容Summary of the invention
本申请实施例提供了一种伽马调试方法、显示面板的驱动方法及可读存储介质,能够在实现提升显示面板的局部亮度的同时,较好的保证显示面板的显示质量。The embodiments of the present application provide a gamma debugging method, a display panel driving method and a readable storage medium, which can improve the local brightness of the display panel while better ensuring the display quality of the display panel.
第一方面,本申请实施例提供了一种伽马调试方法,伽马调试方法包括:根据第一亮度模式的目标亮度进行伽马调试,得到第一寄存器值范围中至少一个第一寄存器值对应的数据电压值;根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,第二寄存器值范围为第一寄存器值范围中的至少部分寄存器值范围。 In a first aspect, an embodiment of the present application provides a gamma debugging method, which includes: performing gamma debugging 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; 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, the second register value range being at least a portion of the register value range in the first register value range.
第二方面,本申请实施例提供了一种显示面板的驱动方法,显示面板的驱动方法包括:获取显示面板待显示的图像数据;根据待显示的图像数据,判断是否开启数据缩放功能;在开启数据缩放功能的情况下,根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,第二寄存器值范围为第一寄存器值范围中的至少部分寄存器值范围,第一寄存器值范围中的各个第一寄存器值对应的数据电压值预先确定。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 a first brightness mode and a second brightness mode, the second register value range being at least a portion of a register value range in a first register value range, and the data voltage values corresponding to each first register value in the first register value range being predetermined.
第三方面,本申请实施例提供了一种电子设备,电子设备包括:处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现如第一方面提供的伽马调试方法或者如第二方面提供的显示面板的驱动方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, comprising: 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 provided in the first aspect or the display panel driving method provided in the second aspect are implemented.
第四方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储计算机程序,计算机程序被处理器执行时实现如第一方面提供的伽马调试方法或者如第二方面提供的显示面板的驱动方法的步骤。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.
第四方面,本申请实施例提供了一种显示装置,显示装置包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面提供的伽马调试方法或者如第二方面提供的显示面板的驱动方法的步骤。In a fourth aspect, an embodiment of the present application provides a display device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the gamma debugging method provided in the first aspect or the display panel driving method provided in the second aspect.
本申请实施例的伽马调试方法、显示面板的驱动方法及可读存储介质,对于第一亮度模式和第二亮度模式,只对第一亮度模式进行伽马调试,得到第一亮度模式对应的第一寄存器值范围中至少一个第一寄存器值对应的数据电压值,然后第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值直接通过第一亮度模式与第二亮度模式之间的数据缩放关系得到,第二寄存器值范围为第一寄存器值范围中的至少部分寄存器值范围。这样,一方面,第一亮度模式和第二亮度模式只进行一次伽马调试,降低了伽马调试的时间和成本;另一方面,例如在切换到第一亮度模式时,可以直接以第一寄存器值范围中至少一个第一寄存器值对应的数据电压值驱动子像素发光,实现提升显示面板的局部亮度,而无需弱化显示面板的IR drop补偿,进而较好的保证显示面板的显示质量,使得显示面板的光学规格达标。又一方面,例如在切换到第二亮度模式时,可以根据第一亮度模式与第二亮度模式之间的数据缩放关系,直接得到第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,并利用第二寄存器值范围中至少一个第二寄存器值对应的数据电压值驱动子像素发光,能够满足第二亮度模式的显示需求。The gamma debugging method, display panel driving method and readable storage medium 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 the 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 part 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, so as to improve 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 making 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 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 can be used to drive the sub-pixel to emit light, thereby meeting the display requirements of the second brightness mode.
附图说明 BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solution 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.
图1示意性示出了全屏白色画面和局部白色画面;FIG1 schematically shows a full-screen white picture and a partial white picture;
图2示意性示出了全屏白色画面、全屏红色画面、全屏绿色画面和全屏蓝色画面;FIG2 schematically shows a full-screen white picture, a full-screen red picture, a full-screen green picture and a full-screen blue picture;
图3为本申请实施例提供的伽马调试方法的一种流程示意图;FIG3 is a flow chart of a gamma debugging method provided in an embodiment of the present application;
图4为本申请实施例提供的伽马调试方法的另一种流程示意图;FIG4 is another schematic flow chart of a gamma debugging method provided in an embodiment of the present application;
图5为本申请实施例提供的伽马调试方法中步骤S102的一种流程示意图;FIG5 is a flow chart of step S102 in the gamma debugging method provided in an embodiment of the present application;
图6为本申请实施例提供的伽马调试方法的另一种流程示意图;FIG6 is another schematic flow chart of a gamma debugging method provided in an embodiment of the present application;
图7示意性示出了第一测试画面和第二测试画面;FIG7 schematically shows a first test picture and a second test picture;
图8为本申请实施例提供的伽马调试方法的又一种流程示意图;FIG8 is a schematic diagram of another flow chart of the gamma debugging method provided in an embodiment of the present application;
图9为本申请实施例提供的伽马调试方法的又一种流程示意图;FIG9 is a schematic diagram of another flow chart of the gamma debugging method provided in an embodiment of the present application;
图10为本申请实施例提供的伽马调试方法中步骤S604的一种流程示意图;FIG10 is a flow chart of step S604 in the gamma debugging method provided in an embodiment of the present application;
图11为本申请实施例提供的伽马调试方法中步骤S604的一种操作示意图;FIG. 11 is a schematic diagram of an operation of step S604 in the gamma debugging method provided in an embodiment of the present application;
图12为本申请实施例提供的显示面板的驱动方法的一种流程示意图;FIG12 is a schematic diagram of a flow chart of a method for driving a display panel provided in an embodiment of the present application;
图13为本申请实施例提供的显示面板的驱动方法的另一种流程示意图;FIG13 is another schematic flow chart of a method for driving a display panel provided in an embodiment of the present application;
图14为本申请实施例提供的伽马调试装置的一种结构示意图;FIG14 is a schematic diagram of a structure of a gamma debugging device provided in an embodiment of the present application;
图15为本申请实施例提供的显示面板的驱动装置的一种结构示意图;FIG15 is a schematic structural diagram of a driving device for a display panel provided in an embodiment of the present application;
图16示出了本申请实施例提供的电子设备的硬件结构示意图。FIG. 16 shows a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/" in this article generally indicates that the associated objects before and after are in an "or" relationship.
在不脱离本申请的精神或范围的情况下,在本申请中能进行各种修改和变化,这对于本领域技术人员来说是显而易见的。因而,本申请意在覆盖落入所对应权利要求(要求保护的技术方案)及其等同物范围内的本申请的修改和变化。需要说明的是,本申请实施例所提供的实施方式,在不矛盾的情况下可以相互组合。It is obvious to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit or scope of the present application. Therefore, the present application is intended to cover modifications and changes of the present application that fall within the scope of the corresponding claims (technical solutions for protection) and their equivalents. It should be noted that the implementation methods provided in the embodiments of the present application can be combined with each other without contradiction.
在阐述本申请实施例所提供的技术方案之前,为了便于对本申请实施例理解,本申请首先对相关技术中存在的问题进行具体说明:Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate the understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
随着显示面板及显示装置的应用场景增多,用户对显示的画质要求越来越高。当用户在环境光较强的环境下查看显示装置所显示的内容时,或者,用户应用显示装置 播放高动态范围图像(High-Dynamic Range,HDR)格式的视频时,显示装置中局部较亮的区域需要更高的亮度才能展示出接近本体的色彩,因此显示装置对局部峰值亮度应用方案逐渐重视起来。As the application scenarios of display panels and display devices increase, users have higher and higher requirements for display quality. When a user views the content displayed by a display device in an environment with strong ambient light, or when a user uses a display device When playing videos in High-Dynamic Range (HDR) format, the brighter local areas in the display device require higher brightness to display colors close to the original color. Therefore, the display device gradually pays attention to the application of local peak brightness.
然而,目前的相关方案通常以弱化显示面板的IR drop补偿为主,弱化显示面板的IR drop补偿虽然能够一定程度上实现局部亮度升高,但是会牺牲显示面板的显示质量,导致显示面板的光学规格不达标。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 increase 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.
图1示意性示出了全屏白色画面和局部白色画面。图2示意性示出了全屏白色画面、全屏红色画面、全屏绿色画面和全屏蓝色画面。举例而言,如图1所示,通过弱化显示面板的IR drop补偿,虽然能够提升显示面板的局部亮度,但是会使得相同或相近的数据电压下全屏白色画面101的亮度与局部白色画面102的亮度之间的差异较大。例如,会使得局部白色画面102中的白色区域的平均亮度LV1与全屏白色画面101的平均亮度LV2之间的偏差大于10%,表达式如下:
FIG1 schematically shows a full-screen white picture and a partial white picture. FIG2 schematically shows a full-screen white picture, a full-screen red picture, a full-screen green picture, and a full-screen blue picture. For example, as shown in FIG1, by weakening the IR drop compensation of the display panel, although the local brightness of the display panel can be improved, the difference between the brightness of the full-screen white picture 101 and the brightness of the partial white picture 102 under the same or similar data voltage will be large. For example, the deviation between the average brightness LV1 of the white area in the partial white picture 102 and the average brightness LV2 of the full-screen white picture 101 will be greater than 10%, and the expression is as follows:
如图2所示,此外,通过弱化显示面板的IR drop补偿,还会导致相同或相近的数据电压下全屏白色画面101的亮度与全屏红色画面201、全屏绿色画面202和全屏蓝色画面203的亮度之和之间的偏差大于10%,表达式如下:
As shown in FIG. 2 , in addition, by weakening the IR drop compensation of the display panel, the deviation between the brightness of the full-screen white picture 101 and the sum of the brightness of the full-screen red picture 201 , the full-screen green picture 202 and the full-screen blue picture 203 under the same or similar data voltage is greater than 10%, and the expression is as follows:
其中,LV2表示全屏白色画面101的平均亮度,LVR表示全屏红色画面201的平均亮度,LVG表示全屏绿色画面202的平均亮度,LVB表示全屏蓝色画面203的平均亮度。Among them, 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.
鉴于发明人的上述研究发现,本申请实施例提供了一种伽马调试方法、显示面板的驱动方法及可读存储介质,能够解决相关技术中存在的提升显示面板的局部亮度会导致显示面板的光学规格不达标的技术问题。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 and a readable storage medium, which can solve the technical problem existing in the related art that improving the local brightness of the display panel will cause the optical specifications of the display panel to not meet the standards.
本申请实施例的技术构思在于:第一亮度模式即提升局部亮度对应的亮度模式,对于第一亮度模式和第二亮度模式,只对第一亮度模式进行伽马调试,得到第一亮度模式对应的第一寄存器值范围中至少一个第一寄存器值对应的数据电压值,然后第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值直接通过第一亮度模式与第二亮度模式之间的数据缩放关系得到,第二寄存器值范围为第一寄存器值范围中的至少部分寄存器值范围。The technical concept of the embodiments 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-adjusted to obtain a data voltage value corresponding to at least one first register value in a first register value range corresponding to the first brightness mode, and then 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 directly obtained through a 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.
这样,一方面,第一亮度模式和第二亮度模式只进行一次伽马调试,降低了伽马调试的时间和成本;另一方面,例如在切换到第一亮度模式时,可以直接以第一寄存器值范围中至少一个第一寄存器值对应的数据电压值驱动子像素发光,实现提升显示面板的局部亮度,而无需弱化显示面板的IR drop补偿,进而较好的保证显示面板的显 示质量,使得显示面板的光学规格达标。又一方面,例如在切换到第二亮度模式时,可以根据第一亮度模式与第二亮度模式之间的数据缩放关系,直接得到第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,并利用第二寄存器值范围中至少一个第二寄存器值对应的数据电压值驱动子像素发光,能够满足第二亮度模式的显示需求。In this way, on the one hand, the first brightness mode and the second brightness mode only need to perform gamma debugging 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 a 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 IR drop compensation of the display panel, thereby better ensuring the display quality of the display panel. 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 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, so as to meet the display requirements of the second brightness mode.
下面首先对本申请实施例所提供的伽马调试方法进行介绍。The following first introduces the gamma debugging method provided in the embodiment of the present application.
图3为本申请实施例提供的伽马调试方法的一种流程示意图。如图3所示,伽马调试方法可以包括以下步骤S101和S102。Fig. 3 is a flow chart of a gamma adjustment method provided by an embodiment of the present application. As shown in Fig. 3, the gamma adjustment method may include the following steps S101 and S102.
S101、根据第一亮度模式的目标亮度进行伽马调试,得到第一寄存器值范围中至少一个第一寄存器值对应的数据电压值。S101 . Perform 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.
其中,第一亮度模式可以为提升显示面板的局部亮度对应的亮度模式。为了便于理解,不妨将第一亮度模式称作平均图像电平(Average Picture Level,APL)模式,即当APL满足预设条件时,启动第一亮度模式。在一些示例中,例如APL可理解为将待显示的彩色图像转换为灰度图像后,显示白颜色的像素区域占显示面板中所有像素区域的百分比值。The first brightness mode may be a brightness mode corresponding to enhancing 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, when the APL meets the preset conditions, the first brightness mode is started. In some examples, for example, APL may be understood as the percentage value of the pixel area displaying white color to all pixel areas in the display panel after the color image to be displayed is converted into a grayscale image.
第一亮度模式的目标亮度可以预先确定,例如第一亮度模式下包括多个灰阶,而各个灰阶对应的目标亮度是已知的。根据第一亮度模式下多个灰阶的目标亮度,即可进行伽马调试,然后得到第一亮度模式对应的第一寄存器值范围中至少一个第一寄存器值对应的数据电压值。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. According to the target brightness of multiple grayscales in the first brightness mode, gamma adjustment can be performed, and then a data voltage value corresponding to at least one first register value in the first register value range corresponding to the first brightness mode can be obtained.
在实际应用中,第一寄存器值范围可以包括多个不同的第一寄存器值,第一寄存器值可以为第一寄存器值范围中的任意一个寄存器值,如第一寄存器值a1、第一寄存器值a2、……、第一寄存器值an。不同的第一寄存器值可以对应不同的数据电压值,本申请实施例对此不作限定。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 in 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 the embodiments of the present application.
在一些具体的示例中,第一寄存器值范围可以为51寄存器的寄存器值范围。以12bit为例,例如第一寄存器值范围可以为0~4095。若第一寄存器值范围为0~4095,则第一寄存器值范围包括4096个第一寄存器值。4096个第一寄存器值可以分别与0~255灰阶相对应,例如1个灰阶对应16个第一寄存器值。举例而言,0灰阶可以对应0~15第一寄存器值,1灰阶可以对应16~31第一寄存器值。在伽马调试时,得到各个灰阶对应的数据电压值之后,根据第一亮度模式对应的灰阶与第一寄存器值之间的第一对应关系,即可得到第一寄存器值范围中各个第一寄存器值对应的数据电压值,具体过程会在下文详细描述,在此先不赘述。In some specific examples, the first register value range can be a register value range of 51 registers. Taking 12 bits as an example, for 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 0 to 255 grayscales respectively, for example, 1 grayscale corresponds to 16 first register values. For example, 0 grayscale can correspond to 0 to 15 first register values, and 1 grayscale can correspond to 16 to 31 first register values. 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, so I will not go into details here.
S102、根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,第二寄存器值范围为第一寄存器值范围中的至少部分寄存器值范围。 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, wherein the second register value range is at least a portion of the register value range in the first register value range.
其中,第二亮度模式可以为高亮显示模式(High Brightness Monitor,HBM)),高亮显示模式即为在显示面板自动调节亮度时,外界光线较强的情况下显示面板的显示模式,或是用户手动将显示面板的亮度调节至最大时的显示面板的显示模式。第一亮度模式可以看作是在第二亮度模式的基础上,进一步提升局部亮度对应的亮度模式。例如在第二亮度模式下,若APL满足预设条件,则启动第一亮度模式。Among them, the second brightness mode can be a highlight display mode (High Brightness Monitor, HBM), which 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 on the basis of the second brightness mode. For example, in the second brightness mode, if the APL meets the preset conditions, the first brightness mode is started.
目前显示面板通常具有Data Scaling数据缩放功能,通过数据缩放功能可以实现将大亮度范围对应的数据缩放为小亮度范围对应的数据。示例性地,大亮度范围0-1200nit对应0-255灰阶,小亮度范围0-1000nit对应0-255灰阶,伽马调节完成后0-1200nit每一灰阶对应的亮度均确定,开启Data Scaling后,小亮度范围的255灰阶直接对应开启前的c灰阶。举个例子,例如c灰阶为大亮度范围对应的235灰阶。那么,开启后的0-255灰阶对应的亮度分别对应开启前的0-c灰阶,开启后每一灰阶的亮度等于其对应的开启前的灰阶对应的亮度,开启后每一灰阶对应的数据电压值等于其对应的开启前的灰阶对应的数据电压值。比如,小亮度范围的255灰阶对应的数据电压值等于大亮度范围的235灰阶对应的数据电压值。At present, display panels usually have a data scaling function, through which the data corresponding to a large brightness range can be scaled to the data corresponding to a small brightness range. For example, the large brightness range of 0-1200nit corresponds to 0-255 grayscales, and the small brightness range of 0-1000nit corresponds to 0-255 grayscales. 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 grayscales in the small brightness range directly correspond to the c grayscale before turning on. For example, the c grayscale is the 235 grayscale corresponding to the large brightness range. Then, the brightness corresponding to the 0-255 grayscales 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 grayscales in the small brightness range is equal to the data voltage value corresponding to the 235 grayscales in the large brightness range.
在本申请实施例中,第一亮度模式与第二亮度模式之间的数据缩放关系包括但不限于第一亮度模式下的灰阶与第二亮度模式下的灰阶之间的缩放关系或者第一亮度模式下的寄存器值与第二亮度模式下的寄存器值之间的缩放关系。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.
第一亮度模式与第二亮度模式之间存在数据缩放关系。那么,在第一寄存器值范围中至少一个第一寄存器值对应的数据电压值已知的情况下,根据该数据缩放关系,即可得到第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值。There is a data scaling relationship between the first brightness mode and the second brightness mode. Then, when the data voltage value corresponding to at least one first register value in the first register value range is known, 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 obtained according to the data scaling relationship.
在一些具体的示例中,第二寄存器值范围也可以为51寄存器的寄存器值范围。以12bit为例,例如第二寄存器值范围可以为0~3775。由于第一寄存器值范围0~4095中的各个第一寄存器值对应的数据电压值已知,所以第二寄存器值范围0~3775中的各个第二寄存器值对应的数据电压值也可得知。例如,第二寄存器值范围中3775对应的数据电压值即等于第一寄存器值范围中3775对应的数据电压值。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 0 to 4095 are known, the data voltage values corresponding to each second register value in the second register value range 0 to 3775 may also be 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.
本申请实施例的伽马调试方法,对于第一亮度模式和第二亮度模式,只对第一亮度模式进行伽马调试,得到第一亮度模式对应的第一寄存器值范围中至少一个第一寄存器值对应的数据电压值,然后第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值直接通过第一亮度模式与第二亮度模式之间的数据缩放关系得到,第二寄存器值范围为第一寄存器值范围中的至少部分寄存器值范围。这样,一方面,第一亮度模式和第二亮度模式只进行一次伽马调试,降低了伽马调试的时间和成本;另一方面,例如在切换到第一亮度模式时,可以直接以第一寄存器值范围中至少一个第一寄存器值对应的数据电压值驱动子像素发光,实现提升显示面板的局部 亮度,而无需弱化显示面板的IR drop补偿,进而较好的保证显示面板的显示质量,使得显示面板的光学规格达标。又一方面,例如在切换到第二亮度模式时,可以根据第一亮度模式与第二亮度模式之间的数据缩放关系,直接得到第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,并利用第二寄存器值范围中至少一个第二寄存器值对应的数据电压值驱动子像素发光,能够满足第二亮度模式的显示需求。The gamma debugging method of the embodiment of the present application, for the first brightness mode and the second brightness mode, only performs gamma debugging on the first brightness mode, obtains the 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 directly obtains the data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode 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 part 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, so as to improve the local brightness of the display panel. The brightness can be increased without weakening the IR drop compensation of the display panel, thereby better ensuring the display quality of the display panel and meeting the optical specifications of the display panel. 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 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 can be used to drive the sub-pixel to emit light, which can meet the display requirements of the second brightness mode.
下面介绍上述各个步骤的具体实现方式。The specific implementation methods of the above steps are introduced below.
首先介绍S101、根据第一亮度模式的目标亮度进行伽马调试,得到第一寄存器值范围中至少一个第一寄存器值对应的数据电压值。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 the first register value range.
图4为本申请实施例提供的伽马调试方法中步骤S101的一种流程示意图。如图4所示,根据本申请的一些实施例,可选地,S101具体可以包括以下步骤S401至S406。Fig. 4 is a flow chart of step S101 in the gamma debugging method provided in an embodiment of the present application. As shown in Fig. 4, according to some embodiments of the present application, optionally, S101 may specifically include the following steps S401 to S406.
S401、在预设的灰阶范围中选取多个灰阶作为灰阶绑点。S401. Select multiple grayscales in a preset grayscale range as grayscale binding points.
其中,预设的灰阶范围可以根据实际情况灵活调整,例如为0~255灰阶。在S401中,可以选取多个灰阶作为灰阶绑点。例如,在一些示例中,可以选取8个灰阶或其他数量的灰阶作为灰阶绑点。The preset grayscale range can be flexibly adjusted according to actual conditions, for example, grayscales of 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.
S402、根据预先确定的灰阶与亮度之间的对应关系,确定各个灰阶绑点对应的目标亮度。S402: Determine the target brightness corresponding to each grayscale binding point according to a predetermined correspondence relationship between grayscale and brightness.
其中,预先确定的灰阶与亮度之间的对应关系包括但不限于Gamma2.2曲线。Gamma2.2曲线为灰阶与亮度的关系曲线,可以通过Gamma2.2曲线查询出各个灰阶绑点对应的目标亮度。The predetermined correspondence between grayscale and brightness includes but is not limited to the Gamma2.2 curve. The Gamma2.2 curve is a curve of the relationship between grayscale and brightness, and the target brightness corresponding to each grayscale binding point can be queried through the Gamma2.2 curve.
S403、对于任意一个灰阶绑点,获取显示面板显示灰阶绑点对应的灰阶画面时的实测亮度。S403 . For any grayscale binding point, obtain the actually measured brightness when the display panel displays the grayscale picture corresponding to the grayscale binding point.
例如,对于任意第i个灰阶绑点而言,可以通过点灯机向显示面板输出第i个灰阶绑点对应的灰阶画面,显示面板显示第i个灰阶绑点对应的灰阶画面。然后,通过色彩分析仪或者相机等光学测试设备采集显示面板显示第i个灰阶绑点对应的灰阶画面时的实测亮度。其中,i为正整数。For example, for any i-th grayscale binding point, the grayscale picture corresponding to the i-th grayscale binding point can be output to the display panel through the lighting machine, and the display panel displays the grayscale picture corresponding to the i-th grayscale binding point. Then, the measured brightness when the display panel displays the grayscale picture corresponding to the i-th grayscale binding point is collected through optical testing equipment such as a color analyzer or a camera. Where i is a positive integer.
S404、在灰阶绑点对应的实测亮度与灰阶绑点对应的目标亮度之间的差值大于或等于预设误差阈值时,调整显示面板中的子像素对应的数据电压值,直至灰阶绑点对应的实测亮度与灰阶绑点对应的目标亮度之间的差值小于预设误差阈值,得到灰阶绑点对应的数据电压值。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.
其中,预设误差阈值可以根据实际情况灵活调整,本申请实施例对此不作限定。对于任意第i个灰阶绑点而言,在第i个灰阶绑点对应的实测亮度与第i个灰阶绑点对应的目标亮度之间的差值大于或等于预设误差阈值时,可以调整显示面板中的子像素对应的数据电压值,直至第i个灰阶绑点对应的实测亮度与第i个灰阶绑点对应的目标 亮度之间的差值小于预设误差阈值,得到第i个灰阶绑点对应的数据电压值。The preset error threshold can be flexibly adjusted according to actual conditions, and the embodiments of the present application do not limit this. 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 measured brightness corresponding to the i-th grayscale binding point is equal to the target brightness corresponding to the i-th grayscale binding point. The difference between the brightness is less than the preset error threshold, and the data voltage value corresponding to the i-th grayscale binding point is obtained.
这里,由于显示面板包括多种颜色子像素,所以在调整显示面板中的子像素对应的数据电压值时,可以调整显示面板中的至少一种颜色子像素对应的数据电压值,使得第i个灰阶绑点对应的实测亮度与第i个灰阶绑点对应的目标亮度之间的差值小于预设误差阈值。相应地,第i个灰阶绑点对应的数据电压值例如可以包括第i个灰阶绑点对应的第一颜色子像素的数据电压值、第i个灰阶绑点对应的第二颜色子像素的数据电压值和第i个灰阶绑点对应的第三颜色子像素的数据电压值。示例性地,第一颜色可以为红色,第二颜色可以为绿色,第三颜色可以为蓝色。不同颜色子像素对应的数据电压值可以不同。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 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. 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.
S405、基于线性插值算法,并根据多个灰阶绑点各自对应的数据电压值,得到灰阶范围中各个灰阶对应的数据电压值。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.
在得到多个灰阶绑点各自对应的数据电压值之后,可以基于线性插值算法,得到灰阶范围中非灰阶绑点对应的数据电压值,从而得到灰阶范围中各个灰阶对应的数据电压值。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.
S406、根据第一亮度模式对应的灰阶与第一寄存器值之间的第一对应关系和灰阶范围中各个灰阶对应的数据电压值,得到第一寄存器值范围中各个第一寄存器值对应的数据电压值。S406 , obtaining data voltage values corresponding to each first register value in the first register value range according to a first corresponding relationship between a grayscale corresponding to the first brightness mode and a first register value and data voltage values corresponding to each grayscale in the grayscale range.
其中,在第一对应关系中,灰阶范围中的一个灰阶例如可以对应第一寄存器值范围中的至少一个第一寄存器值。例如在一些示例中,0~255灰阶中的一个灰阶可以对应第一寄存器值范围0~4095中的16个第一寄存器值,如0灰阶对应0~15第一寄存器值。在得到各个灰阶对应的数据电压值之后,根据第一亮度模式对应的灰阶与第一寄存器值之间的第一对应关系,即可得到第一寄存器值范围中各个第一寄存器值对应的数据电压值。Among them, in the first corresponding relationship, 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 value corresponding to each grayscale, according to the first corresponding relationship between the grayscale corresponding to the first brightness mode and the first register value, the data voltage value corresponding to each first register value in the first register value range can be obtained.
下面介绍S102、根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,第二寄存器值范围为第一寄存器值范围中的至少部分寄存器值范围。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, and the second register value range is at least a partial register value range in the first register value range.
图5为本申请实施例提供的伽马调试方法的另一种流程示意图。如图5所示,根据本申请的一些实施例,可选地,在S102之前,伽马调试方法还可以包括以下步骤S501和S502。Fig. 5 is another flow chart of the gamma debugging method provided by an embodiment of the present application. As shown in Fig. 5, according to some embodiments of the present application, optionally, before S102, the gamma debugging method may further include the following steps S501 and S502.
S501、确定第二亮度模式时的最大亮度在第一亮度模式下对应的第一灰阶。S501: Determine a first grayscale corresponding to the maximum brightness in the second brightness mode in the first brightness mode.
其中,第二亮度模式时的最大亮度是已知的,可以根据实际情况灵活调整。例如,在一些示例中,第二亮度模式时的最大亮度为1000nit。需要说明的是,1000nit仅为举例,并不构成对本申请实施例的限定。经过伽马调试,第一亮度模式下各个灰阶对应的亮度是已知的。那么,在一些示例中,可以通过查表的方式确定第二亮度模式时的 最大亮度在第一亮度模式下对应的第一灰阶,比如,可以查询出1000nit在第一亮度模式下对应的第一灰阶,例如为235灰阶。即,第二亮度模式时的最大亮度对应第一亮度模式下的235灰阶。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 on the embodiments of the present application. After gamma adjustment, the brightness corresponding to each grayscale in the first brightness mode is known. Then, in some examples, the second brightness mode can be determined by looking up a table. The first grayscale corresponding to the maximum brightness in the first brightness mode, for example, the first grayscale corresponding to 1000 nit 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.
在另一些示例中,第一灰阶也可以通过计算获得,表达式如下:
In some other examples, the first grayscale can also be obtained by calculation, and the expression is as follows:
其中,L1max和L2max已知,L1max表示第一亮度模式时的最大亮度,L2max表示第二亮度模式时的最大亮度,G表示第一灰阶。例如,在一些示例中,L1max=1200nit,L2max=1000nit。Wherein, L 1max and L 2max are known, L 1max represents the maximum brightness in the first brightness mode, L 2max represents the maximum brightness in the second brightness mode, and G represents the first grayscale. For example, in some examples, L 1max = 1200nit, L 2max = 1000nit.
如此,通过计算的方式可以直接计算出第二亮度模式时的最大亮度在第一亮度模式下对应的第一灰阶,减少查表时间,提高确定第一灰阶的速率。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 by calculation, which reduces the table lookup time and improves the rate of determining the first grayscale.
S502、根据第一灰阶计算第二亮度模式时的最大寄存器值,得到第二寄存器值范围。S502: Calculate the maximum register value in the second brightness mode according to the first grayscale to obtain a second register value range.
例如可以依据以下表达式,计算第二亮度模式时的最大寄存器值:For example, the maximum register value in the second brightness mode can be calculated according to the following expression:
Q2max=G*2a+b     (4)Q 2max =G*2 a +b (4)
其中,Q2max表示第二亮度模式时的最大寄存器值,G表示第一灰阶,a表示预设的指数,b表示预设的偏差值。在一些示例中,例如a=4,b=15。以G=235灰阶为例,通过上述表达式(4)可以得到Q2max=3775。Wherein, Q 2max represents the maximum register value in the second brightness mode, G represents the first grayscale, a represents the preset index, and b represents the preset deviation value. In some examples, for example, a=4, b=15. Taking G=235 grayscale as an example, Q 2max =3775 can be obtained through the above expression (4).
第二亮度模式时的最小寄存器值例如为0,那么在得到第二亮度模式时的最大寄存器值Q2max之后,第二寄存器值范围即可确定即为0~Q2max。一个第二寄存器值对应一个第二寄存器值。如此,即可确定第二寄存器值范围。The minimum register value in the second brightness mode is, for example, 0. After obtaining the maximum register value Q 2max in the second brightness mode, the second register value range can be determined to be 0 to Q 2max . One second register value corresponds to one second register value. In this way, the second register value range can be determined.
根据本申请的一些实施例,可选地,S102、根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,具体可以包括以下步骤一和步骤二。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 a data voltage value corresponding to at least one second register value in a second register value range corresponding to the second brightness mode, which may specifically include the following steps one and two.
步骤一、按照第一寄存器值范围中的第一寄存器值的第一数量,将第二寄存器值范围划分为第一数量的第二寄存器值。Step 1: Divide the second register value range into a first number of second register values according to a first number of first register values in the first register value range.
其中,第一数量可以根据实际情况灵活调整,本申请实施例对此不作限定。例如,在一些示例中,第一寄存器值范围划分了4096个第一寄存器值,该4096个第一寄存器值分别与0~255个灰阶相对应,那么,为了令第二寄存器值与0~255个灰阶相对应,第二寄存器值范围也可以划分为同等数量(如4096个)的第二寄存器值。该4096个第二寄存器值分别与0~255个灰阶相对应,例如一个灰阶可以对应16个第二寄存器值。Among them, 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 0 to 255 grayscales respectively. Then, in order to make the second register value correspond to 0 to 255 grayscales, the second register value range can also be divided into an equal number (such as 4096) of second register values. The 4096 second register values correspond to 0 to 255 grayscales respectively, for example, one grayscale can correspond to 16 second register values.
表1示意性示出了第二寄存器值范围。Table 1 schematically shows the second register value range.
表1

Table 1

如表1所示,第二亮度模式最大的原始灰阶为255灰阶,经过Data Scaling后,更改为第一亮度模式下的235灰阶。可以将第二寄存器值范围0~3775划分为4096个第二寄存器值,分别对应0~255个灰阶。As shown in Table 1, the maximum original grayscale of the second brightness mode is 255 grayscale, which is changed to 235 grayscale in the first brightness mode after Data Scaling. The second register value range of 0 to 3775 can be divided into 4096 second register values, corresponding to 0 to 255 grayscales respectively.
例如可以通过以下表达式,确定各个序号对应的第二寄存器值:
For example, the second register value corresponding to each serial number can be determined by the following expression:
其中,x表示序号,Q2x表示序号x对应的第二寄存器值。需要说明的是,当表达式(5)计算出的数值不为整数时,可以进行四舍五入,保证序号x对应的第二寄存器值为整数。Wherein, x represents the serial number, and Q 2x represents the second register value corresponding to the serial number x. 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 second register value corresponding to the serial number x is an integer.
步骤二、对于任意一个第二寄存器值,根据第一寄存器值范围中与第二寄存器值同一寄存器值的第一寄存器值对应的数据电压值,确定第二寄存器值对应的数据电压值。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.
例如对于与第二寄存器值3775对应的第二寄存器值而言,可以根据0~4095第一寄存器值范围中的第一寄存器值3775对应的数据电压值,确定该第二寄存器值对应的数据电压值。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.
由于第一寄存器值范围中各个第一寄存器值对应的数据电压值是已知的,那么对于任意一个第二寄存器值,根据第一寄存器值范围中与第二寄存器值同一寄存器值的第一寄存器值对应的数据电压值,即可确定第二寄存器值对应的数据电压值。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.
如此,在得到第一寄存器值范围中各个第一寄存器值对应的数据电压值之后,根据第一亮度模式与第二亮度模式之间的数据缩放关系,直接得到第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,并利用第二寄存器值范围中至少一个第二寄存器值对应的数据电压值驱动子像素发光,可以满足第二亮度模式的显示需求,而且第一亮度模式和第二亮度模式只进行一次伽马调试,可以降低伽马调试的时间和成本。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 the first brightness mode and the second brightness mode only need to perform gamma debugging once, which can reduce the time and cost of gamma debugging.
由于本申请实施例无需弱化显示面板的IR drop补偿即可提升局部亮度,因此本申请实施例可以对显示面板进行IR drop补偿,进一步提升显示面板的显示质量,使得显示面板的光学规格达标。 Since the embodiment of the present application can improve the 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 to further improve the display quality of the display panel so that the optical specifications of the display panel meet the standards.
图6为本申请实施例提供的伽马调试方法的另一种流程示意图。如图6所示,根据本申请的一些实施例,可选地,伽马调试方法还可以包括以下步骤S601至S604。Fig. 6 is another flow chart of the gamma debugging method provided by an embodiment of the present application. As shown in Fig. 6, according to some embodiments of the present application, optionally, the gamma debugging method may further include the following steps S601 to S604.
S601、获取显示面板显示第一测试画面时的第一亮度和显示第二测试画面时的第二亮度。S601 : Acquire a first brightness when a display panel displays a first test picture and a second brightness when a display panel displays a second test picture.
其中,第一测试画面为全屏目标灰阶画面,第二测试画面为局部区域显示目标灰阶画面。其中,目标灰阶可以为任意灰阶,具体可以根据实际情况灵活调整。图7示意性示出了第一测试画面和第二测试画面。如图7所示,例如第一测试画面可以为全屏255灰阶画面,如全屏白色画面。第二测试画面可以为局部区域显示255灰阶画面,如局部区域显示白色画面。局部区域可以为显示面板中的任意部分区域,如包括但不限于显示面板中的中心区域。Among them, the first test picture is a full-screen target grayscale picture, and the second test picture is a local area display target grayscale picture. Among them, the target grayscale can be any grayscale, which can be flexibly adjusted according to actual conditions. Figure 7 schematically shows the first test picture and the second test picture. As shown in Figure 7, for example, the first test picture can be a full-screen 255 grayscale picture, such as a full-screen white picture. The second test picture can be a local area display 255 grayscale picture, such as a local area display white picture. The local area can be any partial area in the display panel, such as including but not limited to the central area in the display panel.
第一亮度具体可以为显示面板显示第一测试画面时的平均亮度,第二亮度具体可以为显示面板显示第二测试画面时的白色区域的平均亮度。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.
S602、在第一亮度与第二亮度之间的差值大于或等于第一预设阈值时,调整显示面板在显示第二测试画面时的局部区域中的子像素对应的数据电压值,直至第一亮度与第二亮度之间的差值小于第一预设阈值,得到调整后的数据电压值。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.
其中,第一预设阈值可以灵活调整,本申请实施例对此不作限定。在第一亮度与第二亮度之间的差值大于或等于第一预设阈值时,说明因IR drop导致的全屏亮度与局部区域亮度之间偏差较大,需要进行IR drop补偿。具体可以调整显示面板在显示第二测试画面时的局部区域中的子像素对应的数据电压值,直至第一亮度与第二亮度之间的差值小于第一预设阈值,得到调整后的数据电压值。Among them, the first preset threshold value can be flexibly adjusted, and the embodiments of the present application do not limit this. When the difference between the first brightness and the second brightness is greater than or equal to the first preset threshold value, it means that the deviation between the full screen brightness and the local area brightness caused by IR drop is large, and IR drop compensation is required. Specifically, the data voltage value corresponding to the sub-pixel 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, and the adjusted data voltage value is obtained.
S603、根据调整前的数据电压值和调整后的数据电压值,确定数据电压值的第一补偿数据。S603 : Determine first compensation data of the data voltage value according to the data voltage value before adjustment and the data voltage value after adjustment.
例如,在一些示例中,第一补偿数据可以为电压差值,可以通过计算调整前的数据电压值与调整后的数据电压值之间的差值,得到数据电压值的第一补偿数据。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.
当然,在另一些示例中,第一补偿数据也可以为电压比值,可以通过计算调整前的数据电压值与调整后的数据电压值之间的比值,得到数据电压值的第一补偿数据,本申请实施例对此不作限定。Of course, in other examples, the first compensation data may also be a voltage ratio, and 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 is not limited to this.
需要说明的是,显示面板中的不同颜色子像素对应的数据电压值的第一补偿数据可以不同,各种颜色子像素对应的数据电压值的第一补偿数据可以根据各种颜色子像素调整前的数据电压值和各种颜色子像素调整后的数据电压值作差或者作商确定。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 of the various color sub-pixels and the data voltage values after adjustment of the various color sub-pixels.
S604、当所述第一亮度模式和/或所述第二亮度模式时,根据第一补偿数据,调整数据电压值。S604: When in the first brightness mode and/or the second brightness mode, adjust the data voltage value according to the first compensation data.
即在第一亮度模式和第二亮度模式时,均可以根据第一补偿系数调整数据电压值。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.
如此,通过对显示面板进行IR drop补偿,例如可以缩小相同或相近的数据电压下 全屏目标灰阶画面的亮度与局部区域目标灰阶画面的亮度之间的差异,还可以缩小全屏白色画面的亮度与全屏红色画面、全屏绿色画面和全屏蓝色画面的亮度之和之间的差异,进一步提升显示面板的显示质量,使得显示面板的光学规格达标。Thus, by performing IR drop compensation on the display panel, for example, the IR drop under the same or similar data voltage can be reduced. The difference between the brightness of the full-screen target grayscale image and the brightness of the local area target grayscale image can also narrow 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, further improving the display quality of the display panel and meeting the optical specifications of the display panel.
在一些具体的实施例中,S604具体可以包括当第一亮度模式和/或第二亮度模式、且显示面板待显示的图像数据满足预设条件时,根据第一补偿数据,调整数据电压值。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 and the image data to be displayed by the display panel meets a preset condition.
例如,无论是第一亮度模式,还是第二亮度模式,当显示面板待显示的图像数据仅是局部区域较亮时,可以根据各种颜色子像素对应的数据电压值的第一补偿数据,分别对各种颜色子像素对应的数据电压值进行调整。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 respectively according to the first compensation data of the data voltage values corresponding to the various color sub-pixels.
例如,在一些具体的实施例中,预设条件可以包括第一子像素的数量小于第二预设阈值或者第二子像素大于或等于第三预设阈值,第一子像素为对应的灰阶大于或等于预设灰阶阈值的子像素,第二子像素为对应的灰阶小于预设灰阶阈值的子像素。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.
其中,第二预设阈值、第三预设阈值和预设灰阶阈值均可以根据实际情况灵活调整,本申请实施例对此不作限定。第一子像素即为较亮的子像素,第二子像素即为较暗的子像素,当较亮的子像素低于一定数量或者较暗的子像素高于一定数量时,触发IR drop补偿,根据第一补偿数据,调整数据电压值。Among them, the second preset threshold, the third preset threshold and the preset grayscale threshold can be flexibly adjusted according to actual conditions, and the embodiments of the present application do not limit this. The first sub-pixel is a brighter sub-pixel, and the second sub-pixel is a darker sub-pixel. When the brighter sub-pixel is lower than a certain number or the darker sub-pixel is higher than a certain number, IR drop compensation is triggered, and the data voltage value is adjusted according to the first compensation data.
如此,在提升局部亮度的基础上,通过对显示面板进行IR drop补偿,例如可以缩小相同或相近的数据电压下全屏目标灰阶画面的亮度与局部区域目标灰阶画面的亮度之间的差异,进一步提升显示面板的显示质量,使得显示面板的光学规格达标。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 meeting the optical specifications of the display panel.
需要说明的是,第一测试画面和第二测试画面对应的灰阶可以更改,第二测试画面中局部区域的大小也可以更改。可以多次执行上述步骤S601至S604,得到不同灰阶对应的数据电压值的第一补偿数据,以及得到局部区域不同大小对应的数据电压值的第一补偿数据。It should be noted that the grayscales corresponding to the first test picture and the second test picture can be changed, and the size of the local area in the second test picture can also be changed. The above steps S601 to S604 can be performed multiple times to obtain the first compensation data of the data voltage values corresponding to different grayscales and the first compensation data of the data voltage values corresponding to different sizes of the local area.
根据本申请的一些实施例,可选地,IR drop补偿还可以包括全屏白色画面的亮度与全屏红色画面、全屏绿色画面和全屏蓝色画面的亮度之和之间的亮度补偿。According to some embodiments of the present application, optionally, IR drop compensation can also 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.
图8为本申请实施例提供的伽马调试方法的又一种流程示意图。如图8所示,根据本申请的一些实施例,可选地,伽马调试方法还可以包括以下步骤S801至S805。Fig. 8 is another flow chart of the gamma debugging method provided by the embodiment of the present application. As shown in Fig. 8, according to some embodiments of the present application, optionally, the gamma debugging method may further include the following steps S801 to S805.
S801、获取显示面板显示第一测试画面时的第一亮度、显示第三测试画面时的第一子亮度、显示第四测试画面时的第二子亮度和显示第五测试画面时的第三子亮度。S801, 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.
其中,第一测试画面为全屏目标灰阶画面,如全屏白色画面,第三测试画面为目标灰阶对应的全屏第一颜色画面,第四测试画面为目标灰阶对应的全屏第二颜色画面,第五测试画面为目标灰阶对应的全屏第三颜色画面。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.
S802、计算第一子亮度、第二子亮度与第三子亮度的和值。S802: Calculate the sum of the first sub-brightness, the second sub-brightness, and the third sub-brightness.
S803、在第一亮度与和值之间的差值大于或等于第四预设阈值时,调整显示面板在显示第三测试画面、第四测试画面和第五测试画面中的至少一者时的子像素对应的 数据电压值,直至第一亮度与第二亮度之间的差值小于第一预设阈值、且第一亮度与和值之间的差值小于第四预设阈值,得到调整后的数据电压值。S803, when the difference between the first brightness and the sum value is greater than or equal to a fourth preset threshold, adjusting the sub-pixel corresponding to the display panel when displaying at least one of the third test picture, the fourth test picture, and the fifth test picture The data voltage value 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, to obtain the adjusted data voltage value.
也就是说,对于目标灰阶,还可以保证第一亮度与第一子亮度、第二子亮度与第三子亮度的和值之间的差值小于第四预设阈值,从而得到目标灰阶对应的调整后的数据电压值。That is to say, for the target grayscale, it can also be ensured that the difference between the first brightness and the first sub-brightness, and the sum of the second sub-brightness and the third sub-brightness is less than the fourth preset threshold, thereby obtaining the adjusted data voltage value corresponding to the target grayscale.
S804、根据调整前的数据电压值和调整后的数据电压值,确定数据电压值的第二补偿数据。S804 , determining second compensation data of the data voltage value according to the data voltage value before adjustment and the data voltage value after adjustment.
S805、当第一亮度模式和/或第二亮度模式时,根据第二补偿数据,调整数据电压值。S805 . When in the first brightness mode and/or the second brightness mode, adjust the data voltage value according to the second compensation data.
S804和S805的具体过程与上述步骤S603和S604的具体过程类似,请参照上文,在此不再赘述。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.
在一些实施例中,伽马调试方法即可以包括上述步骤S601至S604,还可以包括上述步骤S801至S805。In some embodiments, the gamma debugging method may include the above steps S601 to S604 and may also include the above steps S801 to S805.
如此,在提升局部亮度的基础上,通过对显示面板进行IR drop补偿,例如可以缩小相同或相近的数据电压下全屏目标灰阶画面的亮度与局部区域目标灰阶画面的亮度之间的差异,还可以缩小全屏白色画面的亮度与全屏红色画面、全屏绿色画面和全屏蓝色画面的亮度之和之间的差异,进一步提升显示面板的显示质量,使得显示面板的光学规格达标。In this way, on the basis of improving the local brightness, by performing IR drop compensation on the display panel, for example, the difference between the brightness of the full-screen target grayscale picture and the brightness of the local area target grayscale picture under the same or similar data voltage can be reduced, and the difference between the brightness of the full-screen white picture and the sum of the brightness of the full-screen red picture, the full-screen green picture and the full-screen blue picture can also be reduced, thereby further improving the display quality of the display panel and meeting the optical specifications of the display panel.
图9为本申请实施例提供的伽马调试方法的又一种流程示意图。如图9所示,根据本申请的一些实施例,可选地,伽马调试方法还可以包括以下步骤S901和S902。Fig. 9 is another flow chart of a gamma debugging method provided by an embodiment of the present application. As shown in Fig. 9, according to some embodiments of the present application, optionally, the gamma debugging method may further include the following steps S901 and S902.
S901、在显示面板处于第一亮度模式时,根据第一寄存器值范围中至少一个第一寄存器值对应的数据电压值,驱动显示面板中的子像素发光。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.
在第一亮度模式时,对于各个子像素,可以根据各个子像素待显示的灰阶以及灰阶与第一寄存器值之间的第一对应关系,确定出各个子像素待显示的灰阶对应的第一寄存器值,进而确定出各个子像素的第一寄存器值对应的数据电压值,驱动各个子像素发光。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 according to 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.
S902、在显示面板处于第二亮度模式时,根据第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,驱动显示面板中的子像素发光。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.
在第二亮度模式时,对于各个子像素,可以根据各个子像素待显示的灰阶以及灰阶与第二寄存器值之间的第二对应关系,确定出各个子像素待显示的灰阶对应的第二寄存器值,进而确定出各个子像素的第二寄存器值对应的数据电压值,驱动各个子像素发光。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 according to 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.
在一些具体的实施例中,显示面板可以是在第二亮度模式的基础上进入第一亮度模式。具体而言,当显示面板满足第一预设条件时,开启数据缩放功能,显示面板切 换至第二显示模式。其中,第一预设条件包括:自动检测到的外界光线强度大于或者等于预设亮度阈值或者接收到用户切换至第二亮度模式的指令。示例性地,用户切换至第二亮度模式的指令例如可以包括用户将亮度进度条调至最大亮度。当显示面板处于第二亮度模式,且满足第二预设条件时,关闭数据缩放功能,显示面板切换至第一显示模式。其中,第一预设条件包括:第一子像素的数量小于第五预设阈值或者第二子像素大于或者等于第六预设阈值,第一子像素为对应的灰阶大于或等于预设灰阶阈值的子像素,第二子像素为对应的灰阶小于预设灰阶阈值的子像素。第五预设阈值、第六预设阈值和预设灰阶阈值可以根据实际情况灵活调整,本申请实施例对此不作限定。即,当显示面板处于第二亮度模式时,若较亮的子像素的数量低于一定数量或者较暗的子像素的数量高于一定数量时,显示面板进入第一显示模式。In some specific embodiments, the display panel may enter the first brightness mode based on 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 first brightness mode. Switch to the second display mode. Wherein, 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 instruction for the user 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 zoom function is turned off and the display panel switches to the first display mode. Wherein, the first preset condition includes: the number of the first sub-pixel 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 embodiment of the present application does not limit this. That is, when the display panel is in the second brightness mode, if the number of brighter sub-pixels is less 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.
需要说明的是,第五预设阈值与上文中的第二预设阈值可以不同,第六预设阈值与上文中的第三预设阈值可以不同,本申请实施例对此不作限定。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 the embodiment of the present application is not limited to this.
图10为本申请实施例提供的伽马调试方法中步骤S604的一种流程示意图。如图10所示,根据本申请的一些实施例,可选地,S604、当第一亮度模式和/或第二亮度模式时,根据所述第一补偿数据,调整数据电压值,具体可以包括以下步骤S1001和S1002。Fig. 10 is a flow chart of step S604 in the gamma debugging method provided in an embodiment of the present application. As shown in Fig. 10, according to some embodiments of the present application, optionally, in S604, when in the first brightness mode and/or the second brightness mode, adjusting the data voltage value according to the first compensation data may specifically include the following steps S1001 and S1002.
S1001、根据预先确定的寄存器值与补偿数据之间的对应关系,确定显示面板所处的当前寄存器值对应的第三补偿数据。S1001. Determine third compensation data corresponding to a current register value of a display panel according to a predetermined correspondence relationship between a register value and compensation data.
图11为本申请实施例提供的伽马调试方法中步骤S604的一种操作示意图。如图11所示,在获取显示面板待显示的图像数据之后,首先判断第一子像素的数量是否小于第二预设阈值或者第二子像素的数量是否大于或等于第三预设阈值,若第一子像素的数量小于第二预设阈值或者第二子像素的数量大于或等于第三预设阈值,则触发IR drop补偿,根据第一子像素的数量确定对应的第一补偿数据。即,上文中提及的局部区域的大小不同(或者说第一子像素的数量不同)对应的第一补偿数据可以不同。同时,确定显示面板所处的当前亮度等级,具体可以根据查询用户调节的亮度进度条的当前亮度等级(即当前进度)确定。为了实现精细化补偿,不同的亮度等级可以对应不同的第三补偿数据,各个亮度等级对应的第三补偿数据可以预先确定。即,根据预先确定的亮度等级与补偿数据之间的对应关系,可以确定显示面板所处的当前亮度等级对应的第三补偿数据。FIG11 is an operation diagram of step S604 in the gamma debugging method provided by an embodiment of the present application. As shown in FIG11 , after acquiring the image data to be displayed on the display panel, it is first determined whether the number of the first sub-pixels is less than the second preset threshold or whether the number of the second sub-pixels is greater than or equal to the third preset threshold. If the number of the first sub-pixels is less than the second preset threshold or the number of the second sub-pixels is greater than or equal to the third preset threshold, the IR drop compensation is triggered, and the corresponding first compensation data is determined according to the number of the 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 the 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, according to 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.
S1002、根据第一补偿数据和第三补偿数据,调整数据电压值。S1002: Adjust the data voltage value according to the first compensation data and the third compensation data.
根据确定出的第一补偿数据和当前亮度等级对应的第三补偿数据,对子像素的数据电压值进行调整。例如,当第一补偿数据和第三补偿数据均为电压差值时,可以计算数据电压值、第一补偿数据与第三补偿数据三者之和,实现数据电压值的调整。例如,当第一补偿数据和第三补偿数据均为电压比值时,可以计算数据电压值、第一补 偿数据与第三补偿数据三者的乘积,实现数据电压值的调整。According to the determined first compensation data and the third compensation data corresponding to the current brightness level, the data voltage value of the sub-pixel is adjusted. For example, when the first compensation data and the third compensation data are both voltage difference values, the data voltage value, the sum of the first compensation data and the third compensation data can be calculated to adjust the data voltage value. For example, when the first compensation data and the third compensation data are both voltage ratio values, the data voltage value, the sum of the first compensation data and the third compensation data can be calculated. The product of the compensation data and the third compensation data is used to adjust the data voltage value.
如此,在第一补偿数据的基础上,还进一步确定显示面板所处的当前亮度等级对应的第三补偿数据,根据第一补偿数据和第三补偿数据对子像素的数据电压值进行调整,充分考虑了亮度等级对于IR drop补偿的影响,实现更精细化的IR drop补偿,较大程度上提升显示面板的显示质量,使得显示面板的光学规格达标。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, which fully considers the influence of the brightness level on the IR drop compensation, realizes more refined IR drop compensation, and greatly improves the display quality of the display panel, so that the optical specifications of the display panel meet the standards.
类似的,在其他实施例中,也可以根据第二补偿数据和第三补偿数据,调整数据电压值,其过程与上述步骤S1002类似,在此不再赘述。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 in detail herein.
基于与上述实施例提供的伽马调试方法相同的技术构思,本申请实施例还提供了一种显示面板的驱动方法。请参见以下实施例。Based on the same technical concept as the gamma adjustment method provided in the above embodiment, the embodiment of the present application further provides a method for driving a display panel. Please refer to the following embodiment.
图12为本申请实施例提供的显示面板的驱动方法的一种流程示意图。如图12所示,显示面板的驱动方法可以包括以下步骤:FIG12 is a schematic diagram of a flow chart of a method for driving a display panel provided in an embodiment of the present application. As shown in FIG12 , the method for driving a display panel may include the following steps:
S1201、获取显示面板待显示的图像数据;S1201, obtaining image data to be displayed on a display panel;
S1202、根据待显示的图像数据,判断是否开启数据缩放功能;S1202, judging whether to enable a data zoom function according to the image data to be displayed;
S1203、在开启数据缩放功能的情况下,根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,第二寄存器值范围为第一亮度模式对应的第一寄存器值范围中的至少部分寄存器值范围,第一寄存器值范围中的各个第一寄存器值对应的数据电压值预先确定。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 according to the data scaling relationship between the first brightness mode and the second brightness mode, the second register value range is at least a partial register value range in the first register value range corresponding to the first brightness mode, and the data voltage values corresponding to each first register value in the first register value range are predetermined.
上述步骤S1201至S1203的具体实现过程请参见上文,在此不再赘述。The specific implementation process of the above steps S1201 to S1203 can be found above and will not be repeated here.
本申请实施例的显示面板的驱动方法,一方面,第一亮度模式和第二亮度模式只进行一次伽马调试,降低了伽马调试的时间和成本;另一方面,例如在切换到第一亮度模式时,可以直接以第一寄存器值范围中至少一个第一寄存器值对应的数据电压值驱动子像素发光,实现提升显示面板的局部亮度,而无需弱化显示面板的IR drop补偿,进而较好的保证显示面板的显示质量,使得显示面板的光学规格达标。又一方面,例如在切换到第二亮度模式时,可以根据第一亮度模式与第二亮度模式之间的数据缩放关系,直接得到第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,并利用第二寄存器值范围中至少一个第二寄存器值对应的数据电压值驱动子像素发光,能够满足第二亮度模式的显示需求。In the driving method of the display panel of the embodiment of the present application, on the one hand, the first brightness mode and the second brightness mode only need to perform gamma debugging once, thereby reducing the time and cost of gamma debugging; 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 making 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 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 can be used to drive the sub-pixel to emit light, thereby meeting the display requirements of the second brightness mode.
图13为本申请实施例提供的显示面板的驱动方法的另一种流程示意图。如图13所示,根据本申请的一些实施例,可选地,显示面板的驱动方法还可以包括以下步骤:FIG13 is another schematic flow chart of a method for driving a display panel provided in an embodiment of the present application. As shown in FIG13 , according to some embodiments of the present application, optionally, the method for driving a display panel may further include the following steps:
S1301、在开启所述数据缩放功能的情况下,对于任意一个子像素,根据第二亮度模式对应的灰阶与第二寄存器值之间的第二对应关系,确定子像素待显示的灰阶对应的第二目标寄存器值,根据第二寄存器值与数据电压值之间的对应关系,确定与第二目标寄存器值对应的第二数据电压值,以及基于第二数据电压值驱动子像素发光。 S1301. When the data scaling function is turned on, for any sub-pixel, the second target register value corresponding to the gray scale to be displayed by the sub-pixel is determined according to the second corresponding relationship between the gray scale 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 corresponding relationship 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.
也就是说,在第二亮度模式时,可以按照第二寄存器值对应的数据电压值驱动子像素发光。That is to say, 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.
继续参见图13,根据本申请的一些实施例,可选地,S1202、根据待显示的图像数据,判断是否开启数据缩放功能,具体可以包括以下步骤:Continuing to refer to FIG. 13 , according to some embodiments of the present application, optionally, S1202, judging whether to enable the data zoom function according to the image data to be displayed, may specifically include the following steps:
在待显示的图像数据满足第一预设条件时,开启数据缩放功能。When the image data to be displayed meets the first preset condition, the data zoom function is enabled.
其中,图像数据包括显示面板中各个子像素待显示的灰阶,第一预设条件包括:自动检测到的外界光线强度大于或者等于预设亮度阈值或者接收到用户切换至第二亮度模式的指令,和/或第一子像素的数量大于或者等于第五预设阈值或者第二子像素小于第六预设阈值,第一子像素为待显示的灰阶大于或等于预设灰阶阈值的子像素,第二子像素为待显示的灰阶小于预设灰阶阈值的子像素。Among them, 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-pixels are 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,根据本申请的一些实施例,可选地,显示面板的驱动方法还可以包括以下步骤:Continuing to refer to FIG. 13 , according to some embodiments of the present application, optionally, the method for driving a display panel may further include the following steps:
S1302、在待显示的图像数据满足第二预设条件时,关闭数据缩放功能,对于任意一个子像素,根据第一亮度模式对应的灰阶与第一寄存器值之间的第一对应关系,确定子像素待显示的灰阶对应的第一目标寄存器值,根据第一寄存器值与数据电压值之间的对应关系,确定与第一目标寄存器值对应的第一数据电压值,以及基于第一数据电压值驱动子像素发光。S1302. When the image data to be displayed meets the second preset condition, turn off the data scaling function, and for any sub-pixel, determine the first target register value corresponding to the gray scale to be displayed of the sub-pixel according to the first corresponding relationship between the gray scale corresponding to the first brightness mode and the first register value, determine the first data voltage value corresponding to the first target register value according to the corresponding relationship between the first register value and the data voltage value, and drive the sub-pixel to emit light based on the first data voltage value.
也就是说,在第一亮度模式时,可以按照第一亮度等级对应的数据电压值驱动子像素发光。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.
根据本申请的一些实施例,可选地,第二预设条件包括:第一子像素的数量小于第五预设阈值或者第二子像素大于或者等于第六预设阈值,第一子像素为对应的灰阶大于或等于预设灰阶阈值的子像素,第二子像素为对应的灰阶小于预设灰阶阈值的子像素。According to some embodiments of the present application, optionally, the second preset condition includes: the number of first sub-pixels is less than a fifth preset threshold or the number of second sub-pixels is greater than or equal to a 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.
需要说明的是,本申请实施例提供的显示面板的驱动方法可以包括上述实施例的伽马调试方法中的任意一个步骤,并能达到其相应的技术效果,为简洁描述,在此不再赘述。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, which will not be repeated here for the sake of concise description.
基于上述实施例提供的伽马调试方法,相应地,本申请实施例还提供了一种伽马调试装置的具体实现方式。请参见以下实施例。Based on the gamma adjustment method provided in the above embodiment, accordingly, the embodiment of the present application also provides a specific implementation of a gamma adjustment device. Please refer to the following embodiment.
图14为本申请实施例提供的伽马调试装置的一种结构示意图。如图14所示,伽马调试装置130可以包括以下模块:FIG14 is a schematic diagram of a structure of a gamma debugging device provided in an embodiment of the present application. As shown in FIG14 , the gamma debugging device 130 may include the following modules:
伽马调试模块1301,用于根据第一亮度模式的目标亮度进行伽马调试,得到第一寄存器值范围中至少一个第一寄存器值对应的数据电压值;A gamma debugging module 1301 is used 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;
第一确定模块1302,用于根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压 值,第二寄存器值范围为第一寄存器值范围中的至少部分寄存器值范围。The first determination module 1302 is used to determine the data voltage corresponding to at least one second register value in the second register value range corresponding to the second brightness mode according to the data scaling relationship between the first brightness mode and the second brightness mode. value, and the second register value range is at least a portion of the register value range in the first register value range.
本申请实施例的伽马调试装置,对于第一亮度模式和第二亮度模式,只对第一亮度模式进行伽马调试,得到第一亮度模式对应的第一寄存器值范围中至少一个第一寄存器值对应的数据电压值,然后第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值直接通过第一亮度模式与第二亮度模式之间的数据缩放关系得到,第二寄存器值范围为第一寄存器值范围中的至少部分寄存器值范围。这样,一方面,第一亮度模式和第二亮度模式只进行一次伽马调试,降低了伽马调试的时间和成本;另一方面,例如在切换到第一亮度模式时,可以直接以第一寄存器值范围中至少一个第一寄存器值对应的数据电压值驱动子像素发光,实现提升显示面板的局部亮度,而无需弱化显示面板的IR drop补偿,进而较好的保证显示面板的显示质量,使得显示面板的光学规格达标。又一方面,例如在切换到第二亮度模式时,可以根据第一亮度模式与第二亮度模式之间的数据缩放关系,直接得到第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,并利用第二寄存器值范围中至少一个第二寄存器值对应的数据电压值驱动子像素发光,能够满足第二亮度模式的显示需求。The gamma debugging device of the embodiment of the present application performs gamma debugging only on the first brightness mode for the first brightness mode and the second brightness mode, and obtains 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 obtains a data voltage value corresponding to at least one second register value in the second register value range corresponding to the second brightness mode directly 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 part 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, so as to improve 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 making 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 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 can be used to drive the sub-pixel to emit light, thereby meeting the display requirements of the second brightness mode.
在一些实施例中,伽马调试装置130可以包括第二确定模块,用于确定所述第二亮度模式时的最大亮度在所述第一亮度模式下对应的第一灰阶;根据所述第一灰阶计算所述第二亮度模式时的最大寄存器值,得到所述第二寄存器值范围。In some embodiments, the gamma debugging device 130 may include a second determination module for determining a 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.
在一些实施例中,第二确定模块具体用于依据以下表达式,计算所述第二亮度模式时的最大寄存器值:In some embodiments, the second determination module is specifically configured to calculate the maximum register value in the second brightness mode according to the following expression:
Q2max=G*2a+b Q2max =G* 2a +b
其中,Q2max表示所述第二亮度模式时的最大寄存器值,G表示所述第一灰阶,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.
在一些实施例中,第一确定模块1302具体用于按照所述第一寄存器值范围中的所述第一寄存器值的第一数量,将所述第二寄存器值范围划分为所述第一数量的第二寄存器值;对于任意一个所述第二寄存器值,根据所述第一寄存器值范围中与所述第二寄存器值同一寄存器值的第一寄存器值对应的数据电压值,确定所述第二寄存器值对应的数据电压值。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, determine the data voltage value corresponding to the second register value based on the data voltage value corresponding to the first register value of the same register value as the second register value in the first register value range.
在一些实施例中,数据缩放关系包括所述第一亮度模式下的灰阶与所述第二亮度模式下的灰阶之间的缩放关系或者所述第一亮度模式下的寄存器值与所述第二亮度模式下的寄存器值之间的缩放关系。In some embodiments, 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.
在一些实施例中,伽马调试装置130还可以包括调整模块,用于获取显示面板显示第一测试画面时的第一亮度和显示第二测试画面时的第二亮度,所述第一测试画面为全屏目标灰阶画面,所述第二测试画面为局部区域显示目标灰阶画面;在所述第一 亮度与所述第二亮度之间的差值大于或等于第一预设阈值时,调整所述显示面板在显示第二测试画面时的所述局部区域中的子像素对应的数据电压值,直至所述第一亮度与所述第二亮度之间的差值小于所述第一预设阈值,得到调整后的所述数据电压值;根据调整前的所述数据电压值和调整后的所述数据电压值,确定数据电压值的第一补偿数据;当所述第一亮度模式和/或所述第二亮度模式时,根据所述第一补偿数据,调整所述数据电压值。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 display target grayscale picture; When the difference between the 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, and obtain the adjusted data voltage value; determine the first compensation data of the data voltage value based on 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 based on the first compensation data.
在一些实施例中,调整模块具体用于当所述第一亮度模式和/或所述第二亮度模式、且所述显示面板待显示的图像数据满足预设条件时,根据所述第一补偿数据,调整所述数据电压值;其中,所述预设条件包括第一子像素的数量小于第二预设阈值或者第二子像素大于或等于第三预设阈值,所述第一子像素为对应的灰阶大于或等于预设灰阶阈值的子像素,所述第二子像素为对应的灰阶小于所述预设灰阶阈值的子像素。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 a preset condition; wherein the preset condition includes 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 a preset grayscale threshold, and the second sub-pixels are sub-pixels whose corresponding grayscale is less than the preset grayscale threshold.
在一些实施例中,伽马调试装置130还可以包括调整模块,用于获取显示面板显示第一测试画面时的第一亮度、显示第三测试画面时的第一子亮度、显示第四测试画面时的第二子亮度和显示第五测试画面时的第三子亮度,所述第一测试画面为全屏目标灰阶画面,所述第三测试画面为所述目标灰阶对应的全屏第一颜色画面,所述第四测试画面为所述目标灰阶对应的全屏第二颜色画面,所述第五测试画面为所述目标灰阶对应的全屏第三颜色画面;计算所述第一子亮度、所述第二子亮度与所述第三子亮度的和值;在所述第一亮度与所述和值之间的差值大于或等于第四预设阈值时,调整所述显示面板在显示所述第三测试画面、所述第四测试画面和所述第五测试画面中的至少一者时的子像素对应的数据电压值,直至所述第一亮度与所述第二亮度之间的差值小于所述第一预设阈值、且所述第一亮度与所述和值之间的差值小于所述第四预设阈值,得到调整后的所述数据电压值;根据调整前的所述数据电压值和调整后的所述数据电压值,确定数据电压值的第二补偿数据;当所述第一亮度模式和/或所述第二亮度模式时,根据所述第二补偿数据,调整所述数据电压值。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 a 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 picture, the fourth test picture and the fifth test picture 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 for the data voltage value according to 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.
在一些实施例中,伽马调试装置130还可以包括驱动模块,用于在显示面板处于第一亮度模式时,根据第一寄存器值范围中至少一个第一寄存器值对应的数据电压值,驱动显示面板中的子像素发光;在显示面板处于第二亮度模式时,根据第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,驱动显示面板中的子像素发光。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 a 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 a second register value range when the display panel is in a second brightness mode.
在一些实施例中,调整模块具体用于根据预先确定的亮度等级与补偿数据之间的对应关系,确定所述显示面板所处的当前亮度等级对应的第三补偿数据;根据所述第一补偿数据和所述第三补偿数据,调整所述数据电压值。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 according to the correspondence between the predetermined brightness level and the compensation data; and adjust the data voltage value according to the first compensation data and the third compensation data.
在一些实施例中,伽马调试模块1301具体用于在预设的灰阶范围中选取多个灰阶作为灰阶绑点;根据预先确定的灰阶与亮度之间的对应关系,确定各个灰阶绑点对应的目标亮度;对于任意一个灰阶绑点,获取显示面板显示灰阶绑点对应的灰阶画面时 的实测亮度;在灰阶绑点对应的实测亮度与灰阶绑点对应的目标亮度之间的差值大于或等于预设误差阈值时,调整显示面板中的子像素对应的数据电压值,直至灰阶绑点对应的实测亮度与灰阶绑点对应的目标亮度之间的差值小于预设误差阈值,得到灰阶绑点对应的数据电压值;基于线性插值算法,并根据多个灰阶绑点各自对应的数据电压值,得到灰阶范围中各个灰阶对应的数据电压值;根据第一亮度模式对应的灰阶与第一寄存器值之间的第一对应关系和灰阶范围中各个灰阶对应的数据电压值,得到第一寄存器值范围中各个第一寄存器值对应的数据电压值,灰阶范围中的一个灰阶对应第一寄存器值范围中的至少一个第一寄存器值。In some embodiments, the gamma debugging module 1301 is specifically used to select multiple grayscales in a preset grayscale range as grayscale binding points; determine the target brightness corresponding to each grayscale binding point according to the predetermined correspondence between grayscale and brightness; for any grayscale binding point, obtain the grayscale image corresponding to the grayscale binding point displayed by the display panel. measured brightness; 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, and obtain the data voltage value corresponding to the grayscale binding point; based on a linear interpolation algorithm and according to the data voltage values corresponding to each of the multiple grayscale binding points, obtain the data voltage value corresponding to each grayscale in the grayscale range; according to the first corresponding relationship 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, obtain the data voltage value corresponding to each first register value in the first register value range, and one grayscale in the grayscale range corresponds to at least one first register value in the first register value range.
图14所示装置中的各个模块/单元具有实现上述方法实施例提供的伽马调试方法中各个步骤的功能,并能达到其相应的技术效果,为简洁描述,在此不再赘述。Each module/unit in the device shown in FIG. 14 has the function of implementing each step in the gamma debugging method provided in the above method embodiment and can achieve its corresponding technical effect, which will not be described in detail here for the sake of brevity.
基于上述实施例提供的显示面板的驱动方法,相应地,本申请实施例还提供了一种显示面板的驱动装置的具体实现方式。请参见以下实施例。Based on the display panel driving method provided in the above embodiment, accordingly, the embodiment of the present application further provides a specific implementation of a display panel driving device. Please refer to the following embodiment.
图15为本申请实施例提供的显示面板的驱动装置的一种结构示意图。如图15所示,显示面板的驱动装置140可以包括以下模块:FIG15 is a schematic diagram of a structure of a display panel driving device provided in an embodiment of the present application. As shown in FIG15 , the display panel driving device 140 may include the following modules:
第一获取模块1401,用于获取显示面板待显示的图像数据,图像数据包括显示面板中各个子像素对应的目标灰阶;A first acquisition module 1401 is used to acquire image data to be displayed on the display panel, where the image data includes a target grayscale corresponding to each sub-pixel in the display panel;
判断模块1402,用于根据待显示的图像数据,判断是否开启数据缩放功能;A determination module 1402 is used to determine whether to enable a data zoom function according to the image data to be displayed;
第一驱动模块1403,用于在开启数据缩放功能的情况下,根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定所述第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,所述第二寄存器值范围为第一寄存器值范围中的至少部分寄存器值范围,所述第一寄存器值范围中的各个第一寄存器值对应的数据电压值预先确定。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 according to a data scaling relationship between the first brightness mode and the second brightness mode, wherein the second register value range is at least a partial 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.
本申请实施例的显示面板的驱动装置,一方面,第一亮度模式和第二亮度模式只进行一次伽马调试,降低了伽马调试的时间和成本;另一方面,例如在切换到第一亮度模式时,可以直接以第一寄存器值范围中至少一个第一寄存器值对应的数据电压值驱动子像素发光,实现提升显示面板的局部亮度,而无需弱化显示面板的IR drop补偿,进而较好的保证显示面板的显示质量,使得显示面板的光学规格达标。又一方面,例如在切换到第二亮度模式时,可以根据第一亮度模式与第二亮度模式之间的数据缩放关系,直接得到第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,并利用第二寄存器值范围中至少一个第二寄存器值对应的数据电压值驱动子像素发光,能够满足第二亮度模式的显示需求。The driving device of the display panel of the embodiment of the present application, on the one hand, only performs gamma debugging once in the first brightness mode and the second brightness mode, thereby reducing the time and cost of gamma debugging; 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 making 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 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 can be used to drive the sub-pixel to emit light, thereby meeting the display requirements of the second brightness mode.
在一些实施例中,第一驱动模块1403还用于在开启数据缩放功能的情况下,对于任意一个子像素,根据第二亮度模式对应的灰阶与第二寄存器值之间的第二对应关系,确定所述目标灰阶对应的第二目标寄存器值,根据第二寄存器值与数据电压值之间的 对应关系,确定与所述第二目标寄存器值对应的第二数据电压值,以及基于所述第二数据电压值驱动所述子像素发光。In some embodiments, the first driving module 1403 is further configured to, when the data scaling function is enabled, determine, for any sub-pixel, a second target register value corresponding to the target grayscale according to a second correspondence between a grayscale corresponding to the second brightness mode and a second register value, and determine a second target register value corresponding to the target grayscale according to a second correspondence between the second register value and the data voltage value. A corresponding relationship is determined, a second data voltage value corresponding to the second target register value is determined, and the sub-pixel is driven to emit light based on the second data voltage value.
在一些实施例中,判断模块1402具体用于在待显示的图像数据满足第一预设条件时,开启数据缩放功能。图像数据包括显示面板中各个子像素待显示的灰阶,第一预设条件包括:自动检测到的外界光线强度大于或者等于预设亮度阈值或者接收到用户切换至第二亮度模式的指令,和/或第一子像素的数量大于或者等于第五预设阈值或者第二子像素小于第六预设阈值,第一子像素为对应的灰阶大于或等于预设灰阶阈值的子像素,第二子像素为对应的灰阶小于预设灰阶阈值的子像素。In some embodiments, the judgment module 1402 is specifically used to enable the data zoom function when the image data to be displayed meets the 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-pixel is less than 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.
在一些实施例中,显示面板的驱动装置140还可以包括第二驱动模块,用于在待显示的图像数据满足第二预设条件时,关闭数据缩放功能,对于任意一个子像素,根据第一亮度模式对应的灰阶与第一寄存器值之间的第一对应关系,确定所述目标灰阶对应的第一目标寄存器值,根据第一寄存器值与数据电压值之间的对应关系,确定与所述第一目标寄存器值对应的第一数据电压值,以及基于所述第一数据电压值驱动所述子像素发光。In some embodiments, the driving device 140 of the display panel may also include a second driving module, which is used to turn off the data scaling function when the image data to be displayed meets the second preset condition, and for any sub-pixel, determine 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, determine 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 drive the sub-pixel to emit light based on the first data voltage value.
在一些实施例中,第二预设条件包括:第一子像素的数量小于第五预设阈值或者第二子像素大于或者等于第六预设阈值。In some embodiments, the second preset condition includes: the number of first sub-pixels is less than a fifth preset threshold or the number of second sub-pixels is greater than or equal to a sixth preset threshold.
基于上述实施例提供的伽马调试方法或者显示面板的驱动方法,相应地,本申请还提供了电子设备的具体实现方式。请参见以下实施例。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.
图16示出了本申请实施例提供的电子设备的硬件结构示意图。FIG. 16 shows a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
电子设备可以包括处理器1501以及存储有计算机程序指令的存储器1502。The electronic device may include a processor 1501 and a memory 1502 storing computer program instructions.
具体地,上述处理器1501可以包括中央处理器(Central Processing Unit,CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。Specifically, the above-mentioned 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.
存储器1502可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器1502可包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个或更多个以上这些的组合。在一个示例中,存储器1502可以包括可移除或不可移除(或固定)的介质,或者存储器1502是非易失性固态存储器。存储器1502可在电子设备的内部或外部。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 a removable or non-removable (or fixed) medium, or memory 1502 is a non-volatile solid-state memory. Memory 1502 may be internal or external to the electronic device.
在一个示例中,存储器1502可以是只读存储器(Read Only Memory,ROM)。在一个示例中,该ROM可以是掩模编程的ROM、可编程ROM(PROM)、可擦除PROM(EPROM)、电可擦除PROM(EEPROM)、电可改写ROM(EAROM)或闪存或者两个或更多个以上这些的组合。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.
存储器1502可以包括只读存储器(ROM),随机存取存储器(RAM),磁盘存 储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。因此,通常,存储器包括一个或多个编码有包括计算机可执行指令的软件的有形(非暂态)计算机可读存储介质(例如,存储器设备),并且当该软件被执行(例如,由一个或多个处理器)时,其可操作来执行参考根据本申请的一方面的方法所描述的操作。The memory 1502 may include a read-only memory (ROM), a random access memory (RAM), a disk storage Storage medium device, optical storage medium device, flash memory device, electrical, optical or other physical/tangible memory storage device. Therefore, 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 one aspect of the present application.
处理器1501通过读取并执行存储器1502中存储的计算机程序指令,以实现上述方法实施例中的方法/步骤,并达到方法实施例执行其方法/步骤达到的相应技术效果,为简洁描述在此不再赘述。The processor 1501 implements the method/steps in the above 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, which will not be repeated here for the sake of brevity.
在一个示例中,电子设备还可包括通信接口1503和总线1510。其中,如图16所示,处理器1501、存储器1502、通信接口1503通过总线1510连接并完成相互间的通信。In one example, the electronic device may further include a communication interface 1503 and a bus 1510. As shown in FIG16, the processor 1501, the memory 1502, and the communication interface 1503 are connected via the bus 1510 and communicate with each other.
通信接口1503,主要用于实现本申请实施例中各模块、装置、单元和/或设备之间的通信。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.
总线1510包括硬件、软件或两者,将电子设备的部件彼此耦接在一起。举例来说而非限制,总线可包括加速图形端口(Accelerated Graphics Port,AGP)或其他图形总线、增强工业标准架构(Extended Industry Standard Architecture,EISA)总线、前端总线(Front Side Bus,FSB)、超传输(Hyper Transport,HT)互连、工业标准架构(Industry Standard Architecture,ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、外围组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线1510可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。The bus 1510 includes hardware, software, or both, coupling components of the electronic device to each other. By way of example and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable bus or a combination of two or more of these. Where appropriate, the bus 1510 may include one or more buses. Although the embodiments of the present application describe and illustrate specific buses, the present application contemplates any suitable bus or interconnect.
另外,结合上述实施例中的伽马调试方法或者显示面板的驱动方法,本申请实施例可提供一种计算机可读存储介质来实现。该计算机可读存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种伽马调试方法或者显示面板的驱动方法。计算机可读存储介质的示例包括非暂态计算机可读存储介质,如电子电路、半导体存储器设备、ROM、随机存取存储器、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘。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.
基于上述实施例中的伽马调试方法或者显示面板的驱动方法,本申请实施例还提供了一种显示装置,显示装置包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上述实施例中的伽马调试方法或者显示面板的驱动方法的步骤。Based on the gamma debugging method or the display panel driving method in the above 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 executable 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 embodiments are implemented.
需要明确的是,本申请并不局限于上文所描述并在图中示出的特定配置和处理。 为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本申请的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本申请的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It should be understood that the present application is not limited to the specific configurations and processes described above and shown in the drawings. For the sake of brevity, a detailed description of the known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(Application Specific Integrated Circuit,ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(Radio Frequency,RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional blocks shown in the structural block diagram described above 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 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. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), 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.
还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。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, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
上面参考根据本申请的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and/or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and/or the block diagram and the combination of each square box in the flow chart and/or the block diagram can be realized 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 by the processor of the computer or other programmable data processing device enable the realization of the function/action specified in one or more square boxes of the flow chart and/or the block diagram.Such a 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 can also be understood that each square box in the block diagram and/or the flow chart and the combination of the square boxes in the block diagram and/or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
以上所述,仅为本申请的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。 The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity 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 protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims (20)

  1. 一种伽马调试方法,包括:A gamma debugging method, comprising:
    根据第一亮度模式的目标亮度进行伽马调试,得到第一寄存器值范围中至少一个第一寄存器值对应的数据电压值;Perform gamma debugging 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;
    根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定所述第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,所述第二寄存器值范围为所述第一寄存器值范围中的至少部分寄存器值范围。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, and the second register value range is at least a partial register value range in the first register value range.
  2. 根据权利要求1所述的伽马调试方法,其中,所述根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定所述第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值之前,所述方法还包括:The gamma debugging method according to claim 1, wherein before 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 according to the data scaling relationship between the first brightness mode and the second brightness mode, the method further comprises:
    确定所述第二亮度模式时的最大亮度在所述第一亮度模式下对应的第一灰阶;Determine a first gray scale 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 gray scale to obtain the second register value range.
  3. 根据权利要求2所述的伽马调试方法,其中,依据以下表达式,确定所述第二亮度模式时的最大亮度在所述第一亮度模式下对应的第一灰阶:
    The gamma debugging method according to claim 2, wherein the first grayscale corresponding to the maximum brightness in the second brightness mode in the first brightness mode is determined according to the following expression:
    其中,L1max和L2max已知,L1max表示所述第一亮度模式时的最大亮度,L2max表示所述第二亮度模式时的最大亮度,G表示所述第一灰阶。Among them, L 1max and L 2max are known, L 1max represents the maximum brightness in the first brightness mode, L 2max represents the maximum brightness in the second brightness mode, and G represents the first grayscale.
  4. 根据权利要求2所述的伽马调试方法,其中,所述根据所述第一灰阶计算所述第二亮度模式时的最大寄存器值,具体包括: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 comprises:
    依据以下表达式,计算所述第二亮度模式时的最大寄存器值:
    Q2max=G*2a+b
    According to the following expression, the maximum register value in the second brightness mode is calculated:
    Q2max =G* 2a +b
    其中,Q2max表示所述第二亮度模式时的最大寄存器值,G表示所述第一灰阶,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.
  5. 根据权利要求1所述的伽马调试方法,其中,The gamma debugging method according to claim 1, wherein:
    所述根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定所 述第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,具体包括:The data scaling relationship between the first brightness mode and the second brightness mode is determined. 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 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 having the same register value as the second register value in the first register value range.
  6. 根据权利要求5所述的伽马调试方法,其中,所述数据缩放关系包括所述第一亮度模式下的灰阶与所述第二亮度模式下的灰阶之间的缩放关系或者所述第一亮度模式下的寄存器值与所述第二亮度模式下的寄存器值之间的缩放关系。The gamma debugging method according to claim 5, wherein the data scaling relationship comprises 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.
  7. 根据权利要求1所述的伽马调试方法,其中,所述伽马调试方法还包括:The gamma debugging method according to claim 1, wherein the gamma debugging method further comprises:
    获取显示面板显示第一测试画面时的第一亮度和显示第二测试画面时的第二亮度,所述第一测试画面为全屏目标灰阶画面,所述第二测试画面为局部区域显示目标灰阶画面;Acquire 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 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 the adjusted data voltage value;
    根据调整前的所述数据电压值和调整后的所述数据电压值,确定数据电压值的第一补偿数据;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.
  8. 根据权利要求7所述的伽马调试方法,其中,所述目标灰阶包括255灰阶。The gamma adjustment method according to claim 7, wherein the target grayscale includes 255 grayscales.
  9. 根据权利要求8所述的伽马调试方法,其中,所述第一亮度包括所述显示面板显示所述第一测试画面时的平均亮度,所述第二亮度包括所述显示面板显示所述第二测试画面时的白色区域的平均亮度。 The gamma debugging method according to claim 8, wherein the first brightness includes an average brightness when the display panel displays the first test picture, and the second brightness includes an average brightness of a white area when the display panel displays the second test picture.
  10. 根据权利要求7所述的伽马调试方法,其中,所述根据调整前的所述数据电压值和调整后的所述数据电压值,确定数据电压值的第一补偿数据,包括:The gamma debugging method according to claim 7, wherein the determining the first compensation data of the data voltage value according to the data voltage value before adjustment and the data voltage value after adjustment comprises:
    计算调整前的所述数据电压值与调整后的所述数据电压值之间的差值,得到所述数据电压值的第一补偿数据;Calculating a difference between the data voltage value before adjustment and the data voltage value after adjustment to obtain first compensation data for the data voltage value;
    或者,计算调整前的所述数据电压值与调整后的所述数据电压值之间的比值,得到所述数据电压值的第一补偿数据。Alternatively, a ratio between the data voltage value before adjustment and the data voltage value after adjustment is calculated to obtain first compensation data of the data voltage value.
  11. 根据权利要求7所述的伽马调试方法,其中,当所述第一亮度模式和/或所述第二亮度模式、且所述显示面板待显示的图像数据满足预设条件时,根据所述第一补偿数据,调整所述数据电压值;The gamma debugging method according to claim 7, wherein when the first brightness mode and/or the second brightness mode and the image data to be displayed by the display panel meets a preset condition, the data voltage value is adjusted according to the first compensation data;
    所述预设条件包括第一子像素的数量小于第二预设阈值或者第二子像素大于或等于第三预设阈值,所述第一子像素为对应的灰阶大于或等于预设灰阶阈值的子像素,所述第二子像素为对应的灰阶小于所述预设灰阶阈值的子像素。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.
  12. 根据权利要求1所述的伽马调试方法,其中,所述伽马调试方法还包括:The gamma debugging method according to claim 1, wherein the gamma debugging method further comprises:
    获取显示面板显示第一测试画面时的第一亮度、显示第三测试画面时的第一子亮度、显示第四测试画面时的第二子亮度和显示第五测试画面时的第三子亮度,所述第一测试画面为全屏目标灰阶画面,所述第三测试画面为所述目标灰阶对应的全屏第一颜色画面,所述第四测试画面为所述目标灰阶对应的全屏第二颜色画面,所述第五测试画面为所述目标灰阶对应的全屏第三颜色画面;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, to obtain the adjusted data voltage value;
    根据调整前的所述数据电压值和调整后的所述数据电压值,确定数据电压值的第二补偿数据;Determining second 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 second compensation data.
  13. 根据权利要求1所述的伽马调试方法,其中,所述伽马调试方法还包括:The gamma debugging method according to claim 1, wherein the gamma debugging method further comprises:
    在所述显示面板处于所述第一亮度模式时,根据所述第一寄存器值范围中至少一个第一寄存器值对应的数据电压值,驱动所述显示面板中的子像素发光;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, the 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.
  14. 根据权利要求7所述的伽马调试方法,其中,所述当所述第一亮度模式和/或所述第二亮度模式时,根据所述第一补偿数据,调整所述数据电压值,具体包括:The gamma debugging method according to claim 7, wherein when the first brightness mode and/or the second brightness mode is used, adjusting the data voltage value according to the first compensation data specifically comprises:
    根据预先确定的亮度等级与补偿数据之间的对应关系,确定所述显示面板所处的当前亮度等级对应的第三补偿数据;Determining third compensation data corresponding to a current brightness level of the display panel according to a predetermined correspondence relationship between brightness levels and compensation data;
    根据所述第一补偿数据和所述第三补偿数据,调整所述数据电压值。The data voltage value is adjusted according to the first compensation data and the third compensation data.
  15. 根据权利要求1所述的伽马调试方法,其中,所述根据第一亮度模式的目标亮度进行伽马调试,得到第一寄存器值范围中至少一个第一寄存器值对应的数据电压值,包括:The gamma debugging method according to claim 1, wherein the performing gamma debugging 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 comprises:
    在预设的灰阶范围中选取多个灰阶作为灰阶绑点;Select multiple grayscales in a preset grayscale range as grayscale binding points;
    根据预先确定的灰阶与亮度之间的对应关系,确定各个所述灰阶绑点对应的目标亮度;Determining the target brightness corresponding to each grayscale binding point according to a predetermined correspondence relationship between grayscale and brightness;
    对于任意一个所述灰阶绑点,获取显示面板显示所述灰阶绑点对应的灰阶画面时的实测亮度;For any of the grayscale binding points, 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 the preset error threshold, the data voltage value corresponding to the sub-pixel in the display panel is adjusted until the measured brightness corresponding to the grayscale binding point is equal to the target brightness corresponding to the grayscale binding point. The difference between the grayscale values is less than the preset error threshold, and the data voltage value corresponding to the grayscale binding point is obtained;
    基于线性插值算法,并根据多个所述灰阶绑点各自对应的数据电压值,得到灰阶范围中各个灰阶对应的数据电压值;Based on a linear interpolation algorithm and according to the data voltage values corresponding to the plurality of grayscale binding points, a data voltage value corresponding to each grayscale in the grayscale range is obtained;
    根据第一亮度模式对应的灰阶与第一寄存器值之间的第一对应关系和灰阶范围中各个灰阶对应的数据电压值,得到所述第一寄存器值范围中各个第一寄存器值对应的数据电压值。According to the first corresponding relationship 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.
  16. 一种显示面板的驱动方法,所述显示面板的驱动方法包括:A method for driving a display panel, the method comprising:
    获取所述显示面板待显示的图像数据;Acquiring image data to be displayed on the display panel;
    根据所述待显示的图像数据,判断是否开启数据缩放功能;Determining whether to enable a data zoom function according to the image data to be displayed;
    在开启所述数据缩放功能的情况下,根据第一亮度模式与第二亮度模式之间的数据缩放关系,确定所述第二亮度模式对应的第二寄存器值范围中至少一个第二寄存器值对应的数据电压值,所述第二寄存器值范围为所述第一亮度模式对应的第一寄存器值范围中的至少部分寄存器值范围,所述第一寄存器值范围中的各个第一寄存器值对应的数据电压值预先确定。When the data scaling function is turned on, 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 determined according to the data scaling relationship between the first brightness mode and the second brightness mode, the second register value range is at least a partial register value range in the first register value range corresponding to the first brightness mode, and the data voltage values corresponding to each first register value in the first register value range are predetermined.
  17. 根据权利要求16所述的显示面板的驱动方法,其中,The method for driving a display panel according to claim 16, wherein:
    所述图像数据包括所述显示面板中各个子像素待显示的灰阶;The image data includes the grayscale to be displayed by each sub-pixel in the display panel;
    所述显示面板的驱动方法还包括:The driving method of the display panel further includes:
    在开启所述数据缩放功能的情况下,对于任意一个子像素,根据第二亮度模式对应的灰阶与第二寄存器值之间的第二对应关系,确定所述子像素待显示的灰阶对应的第二目标寄存器值,根据第二寄存器值与数据电压值之间的对应关系,确定与所述第二目标寄存器值对应的第二数据电压值,以及基于所述第二数据电压值驱动所述子像素发光。When the data scaling function is turned on, for any sub-pixel, the second target register value corresponding to the gray scale to be displayed by the sub-pixel is determined according to the second correspondence between the gray scale 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.
  18. 根据权利要求16所述的显示面板的驱动方法,其中,The method for driving a display panel according to claim 16, wherein:
    所述根据所述待显示的图像数据,判断是否开启数据缩放功能,具体包括:The determining, according to the image data to be displayed, whether to enable the data zoom function specifically includes:
    在所述待显示的图像数据满足第一预设条件时,开启数据缩放功能;When the image data to be displayed meets a first preset condition, starting a data zoom function;
    所述图像数据包括所述显示面板中各个子像素待显示的灰阶,所述第一预设条件包括:检测到的外界光线强度大于或者等于预设亮度阈值或者 接收到用户切换至所述第二亮度模式的指令,和/或第一子像素的数量大于或者等于第五预设阈值或者第二子像素小于第六预设阈值,所述第一子像素为待显示的灰阶大于或等于预设灰阶阈值的子像素,所述第二子像素为待显示的灰阶小于所述预设灰阶阈值的子像素;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 a preset brightness threshold or receiving a user instruction to switch to the second brightness mode, 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 grayscale to be displayed is greater than or equal to the preset grayscale threshold, and the second sub-pixels are sub-pixels whose grayscale to be displayed is less than the preset grayscale threshold;
  19. 根据权利要求16所述的显示面板的驱动方法,其中,所述显示面板的驱动方法还包括:The method for driving a display panel according to claim 16, wherein the method for driving a display panel further comprises:
    在所述待显示的图像数据满足第二预设条件时,关闭数据缩放功能,对于任意一个子像素,根据第一亮度模式对应的灰阶与第一寄存器值之间的第一对应关系,确定子像素待显示的灰阶对应的第一目标寄存器值,根据第一寄存器值与数据电压值之间的对应关系,确定与所述第一目标寄存器值对应的第一数据电压值,以及基于所述第一数据电压值驱动所述子像素发光;When the image data to be displayed meets the second preset condition, the data scaling function is turned off, and for any sub-pixel, a first target register value corresponding to the grayscale to be displayed by the sub-pixel is determined according to a first correspondence between the grayscale corresponding to the first brightness mode and the first register value, a first data voltage value corresponding to the first target register value is determined according to a 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;
    所述第二预设条件包括:所述第一子像素的数量小于所述第五预设阈值或者所述第二子像素大于或者等于所述第六预设阈值。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.
  20. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至15中任一项所述的伽马调试方法或者如权利要求16至19中任一项所述的显示面板的驱动方法的步骤。 A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the gamma debugging method according to any one of claims 1 to 15 or the display panel driving method according to any one of claims 16 to 19.
PCT/CN2023/115599 2023-04-28 2023-08-29 Gamma debugging method, display panel driving method, and readable storage medium WO2024221677A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310477085.1A CN116469334A (en) 2023-04-28 2023-04-28 Gamma debugging method, display panel driving method, medium and display device
CN202310477085.1 2023-04-28

Publications (1)

Publication Number Publication Date
WO2024221677A1 true WO2024221677A1 (en) 2024-10-31

Family

ID=87178817

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/115599 WO2024221677A1 (en) 2023-04-28 2023-08-29 Gamma debugging method, display panel driving method, and readable storage medium

Country Status (2)

Country Link
CN (1) CN116469334A (en)
WO (1) WO2024221677A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116469334A (en) * 2023-04-28 2023-07-21 云谷(固安)科技有限公司 Gamma debugging method, display panel driving method, medium and display device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016021896A1 (en) * 2014-08-04 2016-02-11 Tae-Bo Jung Gamma setting system of display device and gamma setting method thereof
CN106251797A (en) * 2016-07-18 2016-12-21 京东方科技集团股份有限公司 A kind of gamma-debugged method and device of display floater
CN110910847A (en) * 2019-11-25 2020-03-24 深圳吉迪思电子科技有限公司 Gamma correction method and device for display module
CN111833793A (en) * 2020-06-29 2020-10-27 昆山国显光电有限公司 Gamma debugging method and gamma debugging device
CN113948041A (en) * 2021-10-13 2022-01-18 昆山国显光电有限公司 Brightness compensation method and device of display panel and electronic equipment
CN116469334A (en) * 2023-04-28 2023-07-21 云谷(固安)科技有限公司 Gamma debugging method, display panel driving method, medium and display device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016021896A1 (en) * 2014-08-04 2016-02-11 Tae-Bo Jung Gamma setting system of display device and gamma setting method thereof
CN106251797A (en) * 2016-07-18 2016-12-21 京东方科技集团股份有限公司 A kind of gamma-debugged method and device of display floater
CN110910847A (en) * 2019-11-25 2020-03-24 深圳吉迪思电子科技有限公司 Gamma correction method and device for display module
CN111833793A (en) * 2020-06-29 2020-10-27 昆山国显光电有限公司 Gamma debugging method and gamma debugging device
CN113948041A (en) * 2021-10-13 2022-01-18 昆山国显光电有限公司 Brightness compensation method and device of display panel and electronic equipment
CN116469334A (en) * 2023-04-28 2023-07-21 云谷(固安)科技有限公司 Gamma debugging method, display panel driving method, medium and display device

Also Published As

Publication number Publication date
CN116469334A (en) 2023-07-21

Similar Documents

Publication Publication Date Title
KR100925315B1 (en) Image display apparatus and electronic apparatus
CN111429827B (en) Display screen color calibration method and device, electronic equipment and readable storage medium
CN102629466B (en) Adaptive correction method for color gray-scale image of display
JP2004007076A (en) Video signal processing method and video signal processing apparatus
US9307213B2 (en) Robust selection and weighting for gray patch automatic white balancing
WO2024221677A1 (en) Gamma debugging method, display panel driving method, and readable storage medium
EP4135316A1 (en) Dynamic range mapping method and apparatus
TWI390483B (en) Apparatus and method for contrast control
US20240112615A1 (en) Gamma tuning method, apparatus, device, and storage medium
KR102669220B1 (en) Directional scaling systems and methods
US9292912B2 (en) Display apparatus and method for image output thereof
US20060050084A1 (en) Apparatus and method for histogram stretching
WO2023236675A1 (en) Display driving method and apparatus for display screen, and device and medium
WO2023245894A1 (en) Display panel compensation method and apparatus, device, and storage medium
KR20130000665A (en) Method and apparatus for detecting and compensating back light frame
WO2024050993A1 (en) Gamma debugging method and apparatus, and computer-readable storage medium
US20070279349A1 (en) Image contrast correction system and method thereof
CN110113590B (en) Image color space conversion method and device
CN108447456B (en) A kind of image shows bearing calibration and device
WO2022142732A1 (en) Frame rate switching control method and apparatus, terminal device, and readable storage medium
CN109644257B (en) Display apparatus and method for displaying image
US11869168B2 (en) Method for optimizing display image based on display content, related display control chip and related non-transitory computer-readable medium
CN114244969A (en) Image brightness correction method and hardware system
CN114822448B (en) Image hybrid display method, device, equipment and storage medium
TWI404041B (en) Automatic osd adjusting device and method