CN113936594B - Display panel compensation method and device, electronic equipment and storage medium - Google Patents

Display panel compensation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113936594B
CN113936594B CN202111222910.0A CN202111222910A CN113936594B CN 113936594 B CN113936594 B CN 113936594B CN 202111222910 A CN202111222910 A CN 202111222910A CN 113936594 B CN113936594 B CN 113936594B
Authority
CN
China
Prior art keywords
panel
value
gray scale
brightness
compensation
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202111222910.0A
Other languages
Chinese (zh)
Other versions
CN113936594A (en
Inventor
张华罡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chipone Technology Beijing Co Ltd
Original Assignee
Chipone Technology Beijing Co Ltd
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 Chipone Technology Beijing Co Ltd filed Critical Chipone Technology Beijing Co Ltd
Priority to CN202111222910.0A priority Critical patent/CN113936594B/en
Publication of CN113936594A publication Critical patent/CN113936594A/en
Application granted granted Critical
Publication of CN113936594B publication Critical patent/CN113936594B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G09G3/22Control 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 using controlled light sources
    • G09G3/30Control 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 using controlled light sources using electroluminescent panels
    • G09G3/32Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • 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/02Improving the quality of display appearance
    • G09G2320/0233Improving the luminance or brightness uniformity across the screen
    • 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/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
    • 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/0626Adjustment of display parameters for control of overall brightness

Landscapes

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

Abstract

The application discloses a compensation method and device of a display panel, electronic equipment and a storage medium, wherein the compensation method comprises the following steps: when entering a screen fingerprint identification mode or an HDR mode, setting brightness according to a preset amplification ratio and a panel to obtain a panel target brightness value; calculating a panel target current value according to the gray scale value of the input image, the panel resolution and the RGB average pixel ratio; calculating a compensation reference value according to the panel target current value and the panel target brightness value; constructing a relation model between the gray scale value of the input image and the gray scale value of the output image according to the compensation reference value; and calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation model. According to the technical scheme, when the panel enters the screen fingerprint identification mode or the HDR mode, the brightness of the display panel can be adjusted and the maximum limit can be broken through, the brightness and the color of a display picture are uniform and consistent, and the brightness and the color of the display picture cannot be changed along with the current.

Description

Display panel compensation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of display control, and in particular, to a display panel compensation method, a display panel compensation device, an electronic device, and a storage medium.
Background
With the development of semiconductor technology, a voltage Drop or rise phenomenon often occurs in an integrated circuit of a display device, and this phenomenon is generally referred to as a power supply voltage Drop (IR-Drop). Due to the presence of IR-Drop, there is a difference in the magnitude of the current in different areas of the display panel, resulting in non-uniformity in brightness and color of the displayed image.
In the prior art, the conventional IR-Drop compensation method (IRC) can make the brightness and color of the display panel consistent regardless of the current the panel is at. But when it is required to apply the screen fingerprint recognition function or HDR (High-Dynamic Range image), it is required to make the display panel take on the most original appearance, and at this time, it is required to turn off the IRC function. However, the display screen may have uneven brightness and color due to current, and the brightness is not controllable.
Disclosure of Invention
The invention provides a compensation method, a compensation device, electronic equipment and a storage medium for a display panel.
An embodiment of the present application provides a compensation method for a display panel, including: when entering a screen fingerprint identification mode or an HDR mode, setting brightness according to a preset amplification ratio and a panel to obtain a panel target brightness value; calculating a panel target current value according to the gray scale value of the input image, the panel resolution and the RGB average pixel ratio; calculating a compensation reference value according to the panel target current value and the panel target brightness value; constructing a relation model between the gray scale value of the input image and the gray scale value of the output image according to the compensation reference value; and calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation model.
In one embodiment, the method further comprises: judging whether the screen fingerprint identification mode or the HDR mode is adopted; and if the screen fingerprint identification mode or the HDR mode is not adopted, obtaining a compensation gray scale value of an output image according to the gray scale value of the input image and the panel set brightness.
In one embodiment, the formula for calculating the panel target current value is:
wherein r_data, g_data, and b_data respectively represent gray scale values of R, G, B channels of an input image, width and Height represent resolutions of panels, r_ratio, g_ratio, and b_ratio respectively represent RGB average pixel ratios, and x represents panel gamma curve parameters.
In one embodiment, the calculating the compensation reference value according to the panel target current value and the panel target brightness value includes: acquiring a panel brightness model; the panel brightness model is used for representing the corresponding relation between the panel current value, the gray scale value of the display image and the panel brightness; and obtaining a compensation reference value of the input image according to the panel target brightness value and the panel target current value based on the panel brightness model.
In one embodiment, the constructing a relation model between the input image gray scale value and the output image gray scale value according to the compensation reference value includes: performing curve fitting on the compensation reference values of the same panel target current values according to the compensation reference values of different input images and the corresponding panel target current values to obtain a relation curve between the gray scale values of the input images and the gray scale values of the output images under different panel target current values; the relation model comprises a plurality of relation curves corresponding to different panel target current values.
In an embodiment, the calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation model includes: determining a relation curve which corresponds to the panel target current value and is used for representing the relation between the gray scale value of the input image and the gray scale value of the output image according to the panel target current value; and calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation curve.
In an embodiment, when entering the screen fingerprint recognition mode or the HDR mode, obtaining the panel target brightness value according to the preset magnification ratio and the panel set brightness includes: when switching to the screen fingerprint identification mode or the HDR mode, gradually increasing the preset amplification ratio according to the preset time interval and the adjustment amplitude, and setting brightness according to the preset amplification ratio and the panel to obtain a panel target brightness value.
A second aspect of the embodiments of the present application provides a compensation device for a display panel, including: the brightness setting module is used for obtaining a panel target brightness value according to a preset amplification ratio and panel set brightness when entering a screen fingerprint identification mode or an HDR mode; the current calculation module calculates a panel target current value according to the gray scale value of the input image, the panel resolution and the RGB average pixel ratio; the compensation reference value calculation module is used for calculating a compensation reference value according to the panel target current value and the panel target brightness value; the gray scale model construction module is used for constructing a relation model between the gray scale value of the input image and the gray scale value of the output image according to the compensation reference value; and the compensation gray scale value calculation module is used for calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation model.
A third aspect of the embodiments of the present application provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the method of the first aspect of the embodiments of the present application and any one of the embodiments thereof.
A fourth aspect of the present embodiments provides a computer readable storage medium storing a computer program executable by a processor to perform the method of the first aspect of the present embodiments and any one of the embodiments thereof.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 2 is a flow chart of a compensation method of a display panel according to an embodiment of the disclosure;
FIG. 3 is a flowchart illustrating a compensation method of a display panel according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a compensation method of a display panel according to an embodiment of the disclosure;
FIG. 5 is a schematic view of a panel brightness model according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a relationship model between input image gray scale values and output image gray scale values according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a compensation device of a display panel according to an embodiment of the disclosure.
Detailed Description
In the description of the present application, the terms "first," "second," and the like are used merely for distinguishing between descriptions, and do not denote a ordinal number, nor are they to be construed as indicating or implying relative importance.
In the description of the present application, the terms "comprises," "comprising," and/or the like, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof.
In the description of the present application, the terms "mounted," "disposed," "provided," "connected," and "configured" are to be construed broadly unless otherwise specifically defined and limited. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or through internal communication between two devices, elements, or components. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be.
The technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application, and the electronic device 100 may be used to execute the compensation method of the display panel according to the embodiment of the present application. The electronic device 100 includes: at least one processor 103, at least one memory 102, and a bus 101, the bus 101 being used to effect connected communication of these components.
The electronic device 100 may be an electronic device with a logic computing function, such as a tablet computer, a smart phone, a personal computer (Personal Computer, PC), etc.
In one embodiment, memory 102 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, including, but not limited to, random access Memory 102 (Random Access Memory, RAM), read Only Memory 102 (ROM), static random access Memory 102 (Static Random Access Memory, SRAM), programmable Read Only Memory 102 (Programmable Read-Only Memory, PROM), erasable Read Only Memory 102 (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory 102 (Electric Erasable Programmable Read-Only Memory, EEPROM).
In one embodiment, the processor 103 may be a general purpose processor 103 including, but not limited to, a central processing unit 103 (Central Processing Unit, CPU), a network processor 103 (Network Processor, NP), etc., as well as a digital signal processor 103 (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor 103 may be a microprocessor 103 or the processor 103 may be any conventional processor 103 or the like, the processor 103 being a control center of the electronic device 100, the various interfaces and lines being utilized to connect various portions of the overall electronic device 100. The processor 103 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application.
In this embodiment, in fig. 1, taking a processor 103 and a memory 102 as an example, the processor 103 and the memory 102 are connected through a bus 101, and the memory 102 stores instructions executable by the processor 103, where the instructions are executed by the processor 103, so that the electronic device 100 can execute all or part of the following methods in the embodiments to implement the compensation method of the display panel.
Referring to fig. 2, a flowchart of an embodiment of a method for compensating a display panel provided in the present application is shown, which can be performed by the electronic device 100 shown in fig. 1, and the method includes S210-S250.
S210: when entering a screen fingerprint identification mode or an HDR mode, obtaining a panel target brightness value according to a preset amplification ratio and panel set brightness.
Specifically, the display panel generally sets its fixed brightness according to its own characteristics, where the fixed brightness is the brightness set when the panel leaves the factory, and when different display application scenes, the fixed brightness can be according toIt is required to set an enlargement ratio. In this step, the panel target luminance value is set to L 1 The panel sets the brightness to L 2 A preset amplification ratio is a, L 1 =aL 2 Thereby obtaining a panel target luminance value. In one embodiment, the display panel may be an OLED (Organic Light Emitting Diodes, organic light emitting diode) panel.
S220: a panel target current value is calculated from the gray scale value of the input image, the panel resolution and the RGB average pixel ratio.
When the display panel displays different patterns, the current level of the display panel may vary with the different display patterns. Taking an OLED as an example, it belongs to a current-type organic light-emitting device, so that an organic semiconductor material and a light-emitting material emit light by carrier injection and recombination under the drive of an electric field, wherein the light-emitting intensity is in direct proportion to the injected current.
In this step, the gray scale values of the red, green, and blue channels are included according to the gray scale values of the input image. The panel resolution includes wide and high RGB average pixel ratios, which are ratios between red, green, and blue pixels, and may be current ratios, gray ratios, pixel ratios, and the like. Substituting the values into a panel current calculation formula to obtain a panel target current value.
S230: and calculating a compensation reference value according to the panel target current value and the panel target brightness value.
Specifically, a luminance model of the display panel is known according to its own characteristics, and the luminance model represents a correspondence relationship among luminance, current and gray scale values. And according to the brightness model, the panel target brightness value and the panel target current value obtained in S210 and S220, obtaining a corresponding display image gray scale value, namely a compensation reference value, in the brightness model.
S240: and constructing a relation model between the gray scale value of the input image and the gray scale value of the output image according to the compensation reference value.
Specifically, under the condition that the panel current value is unchanged, different compensation reference values can be obtained according to different input images, and the compensation reference values can form a relation curve between the input image gray scale value and the output image gray scale value under the same panel current value. And the slopes of the relation curves of the input image gray scale values and the output image gray scale values, which are represented by different panel current values, are different, so that a plurality of relation curves between the input image gray scale values and the output image gray scale values under different panel target current values are constructed, and the curves form a relation model between the input image gray scale values and the output image gray scale values.
S250: and calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation model.
Specifically, according to the target current value of the panel, a corresponding relation curve of the target current value is found in a relation model diagram of the relation between the gray-scale value of the input image and the gray-scale value of the output image. And obtaining corresponding output image compensation gray scale values in the relation curve according to the gray scale values of the display panel, namely the gray scale values of the input image.
If the corresponding relation curve of the target current value is not represented in the model, in the multi-item target current value curve, two curves which are close to each other are taken for curve fitting, a new curve is obtained, and the compensation gray scale value of the output image is obtained from the curve. According to the obtained output image compensation gray scale value, gray scale compensation can be carried out on each pixel of the display picture, so that the display panel reaches a preset target brightness value, and the color and brightness distribution is uniform everywhere.
Referring to fig. 3, a flowchart of an embodiment of a method for compensating a display panel provided in the present application is shown, which can be performed by the electronic device 100 shown in fig. 1, and the method includes S310-S370.
S310: it is determined whether in screen fingerprinting mode or HDR mode.
S320: if the screen fingerprint identification mode or the HDR mode is not adopted, the compensation gray scale value of the output image is obtained according to the gray scale value of the input image and the panel set brightness.
When the display panel is not in the screen fingerprint recognition or the HDR mode, in order to avoid the brightness and color of the display panel from changing along with the change of the panel current, and the situation that the brightness of the color of the display screen is uneven due to the overlarge panel current, an IRC algorithm is generally adopted to control and compensate the display panel, so that the display panel is kept at the panel set brightness.
Specifically, a panel current value is calculated according to a gray level value of an input image, a compensation gray level value corresponding to the set brightness and the panel current value is searched in a panel brightness model according to panel set brightness, the panel current value and the panel brightness model, and the compensation gray level value of an output image is obtained, so that the display panel is compensated, the display panel always maintains the panel set brightness, and colors and brightness at all positions are uniformly distributed.
S330: when entering a screen fingerprint identification mode or an HDR mode, obtaining a panel target brightness value according to a preset amplification ratio and panel set brightness.
In the embodiment of the present application, when switching to the screen fingerprint recognition mode or the HDR mode, the preset amplification ratio is gradually increased according to the preset time interval and the adjustment amplitude, and the panel target brightness value is obtained according to the preset amplification ratio and the panel set brightness.
In one embodiment, the display panel may be an OLED (Organic Light Emitting Diodes, organic light emitting diode) panel, and the display panel generally sets its fixed brightness according to its own characteristics, where the fixed brightness is the panel set brightness, and an amplification ratio may be set according to the requirement.
In this step, the panel target luminance value is set to L 1 The panel sets the brightness to L 2 A preset amplification ratio is a, L 1 =aL 2 Thereby obtaining a panel target luminance value. Wherein, the preset magnification ratio a can be adjusted gradually, as shown in FIG. 4, if the final target L is 1 =1.5·L 2 The initial value of a may be set to 1.1, and the target luminance is to become 1.2.L 2 Step a is increased until a=1.5, at which point L 1 =1.5·L 2 And obtaining the target brightness value of the panel.
S340: a panel target current value is calculated from the gray scale value of the input image, the panel resolution and the RGB average pixel ratio.
When the display panel displays different patterns, the current level of the display panel may vary with the different display patterns. OLED belongs to a current type organic light-emitting device, so that organic semiconductor materials and light-emitting materials emit light through carrier injection and recombination under the drive of an electric field, wherein the light-emitting intensity is in direct proportion to the injected current.
In one embodiment, the formula for calculating the panel target current value is:
wherein r_data, g_data and b_data respectively represent gray scale values of R, G, B channels of an input image, width and Height respectively represent Width and Height of a display panel or number of pixels in horizontal direction and vertical direction, r_ratio, g_ratio and b_ratio respectively represent RGB average pixel ratio, and x represents panel gamma curve parameters. Substituting the values into a panel current calculation formula to obtain a panel target current value.
S350: and calculating a compensation reference value according to the panel target current value and the panel target brightness value.
In one embodiment, a panel brightness model is obtained; the panel brightness model is used for representing the corresponding relation between the panel current value, the gray scale value of the display image and the panel brightness; and obtaining a compensation reference value of the input image according to the panel target brightness value and the panel target current value based on the panel brightness model.
Fig. 5 is a schematic diagram of a panel brightness model according to an embodiment of the disclosure. And acquiring a brightness model according to the self characteristics of the display panel, wherein the brightness model represents the corresponding relation between the panel current value, the gray scale value of the display image and the panel brightness. And (3) acquiring a corresponding display image gray scale value, namely a compensation reference value, in the brightness model according to the brightness model, the panel target brightness value and the panel target current value acquired in S330 and S340.
S360: and constructing a relation model between the gray scale value of the input image and the gray scale value of the output image according to the compensation reference value.
Fig. 6 is a schematic diagram of a relationship model between input image gray scale values and output image gray scale values according to an embodiment of the present application.
In an embodiment, according to the compensation reference values of different input images and corresponding panel target current values, performing curve fitting on the compensation reference values of the same panel target current values to obtain a relation curve between the gray scale values of the input images and the gray scale values of the output images under different panel target current values; the relation model comprises a plurality of relation curves corresponding to different panel target current values.
Specifically, under the condition that the panel current value is unchanged, different compensation reference values can be obtained according to different input images, curve fitting is carried out on different compensation reference values under the same panel target current value, and a relation curve between the input image gray scale value and the output image gray scale value under the panel current value is obtained. And the slopes of the relation curves of the input image gray scale values and the output image gray scale values represented by different panel current values are different, so that a plurality of relation curves between the input image gray scale values and the output image gray scale values under different panel target current values are obtained, and the curves form a relation model between the input image gray scale values and the output image gray scale values.
S370: and calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation model.
In one embodiment, according to a panel target current value, determining a relationship curve corresponding to the panel target current value for representing a relationship between an input image gray-scale value and an output image gray-scale value; and calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation curve.
Specifically, according to the target current value of the panel, a corresponding relation curve of the target current value is found in a relation model diagram of the relation between the gray-scale value of the input image and the gray-scale value of the output image. And obtaining corresponding output image compensation gray scale values in the relation curve according to the gray scale values of the display panel, namely the gray scale values of the input image.
If the corresponding relation curve of the target current value is not represented in the model, in the multi-item target current value curve, two curves which are close to each other are taken for curve fitting, a new curve is obtained, and the compensation gray scale value of the output image is obtained from the curve. According to the obtained output image compensation gray scale value, gray scale compensation can be carried out on each pixel of the display picture, so that the display panel reaches a preset target brightness value, and the color and brightness distribution is uniform everywhere.
Referring to fig. 7, which is a schematic structural diagram of a compensation device 700 of a display panel according to an embodiment of the disclosure, the compensation device 700 includes: the brightness setting module is used for obtaining a panel target brightness value according to a preset amplification ratio and panel set brightness when entering a screen fingerprint identification mode or an HDR mode; the current calculation module calculates a panel target current value according to the gray scale value of the input image, the panel resolution and the RGB average pixel ratio; the compensation reference value calculation module is used for calculating a compensation reference value according to the panel target current value and the panel target brightness value; the gray scale model construction module is used for constructing a relation model between the gray scale value of the input image and the gray scale value of the output image according to the compensation reference value; and the compensation gray scale value calculation module is used for calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation model.
For a detailed description of the compensation device 700 of the display panel, please refer to the description of the related method steps in the above embodiment, which is not repeated here.
An embodiment of the present application further provides a storage medium, including: a program, when executed by the electronic device 100, causes the electronic device 100 to perform all or part of the method flow in the above embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory 102 (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD), etc. The storage medium may also include a combination of the types of memory 102 described above.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the several embodiments provided in the present application, the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (9)

1. A compensation method for a display panel, comprising:
when entering a screen fingerprint identification mode or an HDR mode, setting brightness according to a preset amplification ratio and a panel to obtain a panel target brightness value;
calculating a panel target current value according to the gray scale value of the input image, the panel resolution and the RGB average pixel ratio;
calculating a compensation reference value according to the panel target current value and the panel target brightness value;
constructing a relation model between the gray scale value of the input image and the gray scale value of the output image according to the compensation reference value;
calculating a compensation gray scale value of an output image according to the gray scale value of the input image and the relation model;
the formula for calculating the target current value of the panel is as follows:
wherein r_data, g_data, and b_data respectively represent gray scale values of R, G, B channels of an input image, width and Height represent resolutions of panels, r_ratio, g_ratio, and b_ratio respectively represent RGB average pixel ratios, and x represents panel gamma curve parameters.
2. The method of compensating for a display panel of claim 1, further comprising:
judging whether the screen fingerprint identification mode or the HDR mode is adopted;
and if the screen fingerprint identification mode or the HDR mode is not adopted, obtaining a compensation gray scale value of an output image according to the gray scale value of the input image and the panel set brightness.
3. The method of compensating for a display panel according to claim 1, wherein calculating a compensation reference value based on the panel target current value and the panel target luminance value comprises:
acquiring a panel brightness model; the panel brightness model is used for representing the corresponding relation between the panel current value, the gray scale value of the display image and the panel brightness;
and obtaining a compensation reference value of the input image according to the panel target brightness value and the panel target current value based on the panel brightness model.
4. The method of claim 1, wherein constructing a relationship model between the input image gray-scale value and the output image gray-scale value according to the compensation reference value comprises:
performing curve fitting on the compensation reference values of the same panel target current values according to the compensation reference values of different input images and the corresponding panel target current values to obtain a relation curve between the gray scale values of the input images and the gray scale values of the output images under different panel target current values;
the relation model comprises a plurality of relation curves corresponding to different panel target current values.
5. The method according to claim 4, wherein calculating the compensation gray-scale value of the output image based on the gray-scale value of the input image and the relational model comprises:
determining a relation curve which corresponds to the panel target current value and is used for representing the relation between the gray scale value of the input image and the gray scale value of the output image according to the panel target current value;
and calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation curve.
6. The method for compensating a display panel according to claim 1, wherein when entering a screen fingerprint recognition mode or an HDR mode, obtaining a panel target luminance value according to a preset magnification ratio and a panel set luminance, comprises:
when switching to the screen fingerprint identification mode or the HDR mode, gradually increasing the preset amplification ratio according to the preset time interval and the adjustment amplitude, and setting brightness according to the preset amplification ratio and the panel to obtain a panel target brightness value.
7. A compensation device for a display panel, comprising:
the brightness setting module is used for obtaining a panel target brightness value according to a preset amplification ratio and panel set brightness when entering a screen fingerprint identification mode or an HDR mode;
the current calculation module calculates a panel target current value according to the gray scale value of the input image, the panel resolution and the RGB average pixel ratio;
the compensation reference value calculation module is used for calculating a compensation reference value according to the panel target current value and the panel target brightness value;
the gray scale model construction module is used for constructing a relation model between the gray scale value of the input image and the gray scale value of the output image according to the compensation reference value;
the compensation gray scale calculation value module is used for calculating the compensation gray scale value of the output image according to the gray scale value of the input image and the relation model;
the current calculation module is used for calculating the panel target current value according to the following formula:
wherein r_data, g_data, and b_data respectively represent gray scale values of R, G, B channels of an input image, width and Height represent resolutions of panels, r_ratio, g_ratio, and b_ratio respectively represent RGB average pixel ratios, and x represents panel gamma curve parameters.
8. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the compensation method of the display panel of any of claims 1-6.
9. A storage medium storing a computer program executable by a processor to perform the compensation method of a display panel according to any one of claims 1-6.
CN202111222910.0A 2021-10-20 2021-10-20 Display panel compensation method and device, electronic equipment and storage medium Active CN113936594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111222910.0A CN113936594B (en) 2021-10-20 2021-10-20 Display panel compensation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111222910.0A CN113936594B (en) 2021-10-20 2021-10-20 Display panel compensation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113936594A CN113936594A (en) 2022-01-14
CN113936594B true CN113936594B (en) 2024-03-12

Family

ID=79280846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111222910.0A Active CN113936594B (en) 2021-10-20 2021-10-20 Display panel compensation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113936594B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214446A (en) * 2011-05-10 2011-10-12 友达光电股份有限公司 Method for adjusting backlight of display and related device
WO2015168954A1 (en) * 2014-05-09 2015-11-12 深圳市华星光电技术有限公司 Pixel drive circuit and drive method therefor and display panel
CN106652963A (en) * 2017-03-09 2017-05-10 南京迈智芯微光电科技有限公司 Silicon-based display adopting digital-analog hybrid drive
CN113228152A (en) * 2019-05-17 2021-08-06 华为技术有限公司 Device and method for controlling screen brightness
CN113299237A (en) * 2021-06-09 2021-08-24 北京集创北方科技股份有限公司 Display panel control method and device, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101137856B1 (en) * 2005-10-25 2012-04-20 엘지디스플레이 주식회사 Flat Display Apparatus And Picture Quality Controling Method Thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214446A (en) * 2011-05-10 2011-10-12 友达光电股份有限公司 Method for adjusting backlight of display and related device
WO2015168954A1 (en) * 2014-05-09 2015-11-12 深圳市华星光电技术有限公司 Pixel drive circuit and drive method therefor and display panel
CN106652963A (en) * 2017-03-09 2017-05-10 南京迈智芯微光电科技有限公司 Silicon-based display adopting digital-analog hybrid drive
CN113228152A (en) * 2019-05-17 2021-08-06 华为技术有限公司 Device and method for controlling screen brightness
CN113299237A (en) * 2021-06-09 2021-08-24 北京集创北方科技股份有限公司 Display panel control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113936594A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
US10636345B2 (en) Method of compensating in display panel, driving unit and display panel
US20190348001A1 (en) Luminance compensating method, luminance compensating device, display device and storage medium
CN107408367B (en) Method, device and system for correcting unevenness of display screen
WO2020019807A1 (en) Method and device for acquiring mura compensation data, computer device and storage medium
KR102265776B1 (en) brightness control system
CN110648627B (en) Mura phenomenon compensation method, compensation device, display device and electronic equipment
CN109192174B (en) Driving method and driving device of display panel and display device
CN110599961B (en) Gray scale compensation method, device and system of display panel
CN113228152B (en) Device and method for controlling screen brightness
CN109377935B (en) Brightness compensation method and device and electroluminescent display device
CN113920917B (en) Display panel compensation method and compensation device
CN109637437B (en) Image display control method, device, medium and display screen control system
CN111340730B (en) Method for eliminating smear phenomenon, terminal and storage medium
CN110767170B (en) Picture display method and picture display device
US20190114963A1 (en) Color variance gamma correction
CN111462260B (en) Mura compensation method and device of display panel and electronic equipment
CN114495812B (en) Display panel brightness compensation method and device, electronic equipment and readable storage medium
CN109308874B (en) Display screen brightness adjusting method and device
WO2022032919A1 (en) Grayscale-adaptive correction data control method and apparatus, and led display screen
CN113936594B (en) Display panel compensation method and device, electronic equipment and storage medium
CN117316097A (en) Display screen brightness adjusting method, electronic equipment and storage medium
US12020666B2 (en) System and method for variable area-based compensation of burn-in in display panels
CN114822397B (en) Data processing method and device, display panel compensation method and device
CN113724644B (en) Method for compensating brightness and chroma of display device and related equipment
US20050184937A1 (en) [active matrix oled driving control circuit capable of dynamically adjusting white balance and adjusting method thereof]

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant