Brightness compensation method and device of display panel, equipment and medium
By taking photos, obtaining the initial brightness data, calculating and adjusting the gamma value, and using spline fitting to obtain the brightness compensation table, solving the problem of poor correction effect of the display panel in the prior art, achieving better brightness uniformity and display effect.
Patent Information
- Application Number
- CN202510090912.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-04-25
AI Technical Summary
The correction method of the existing display panel is not effective, resulting in uneven display (mura) problems, affecting the display effect.
By taking pictures, the initial brightness data of multiple grayscale pictures of the display panel under different display brightness command values is obtained, the first gamma value of each pixel point is calculated, and the brightness data is adjusted using the first spline curve. Then, the second gamma value is calculated, and the brightness compensation table is obtained by fitting the second spline, and the brightness compensation is performed.
It effectively improves the brightness uniformity of the display panel, optimizes different types of mura, improves the display effect, and provides a variety of adjustment directions to optimize the color cast area.
Smart Images

Figure CN119889236A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a brightness compensation method, device, equipment and medium for a display panel. Background Art
[0002] OLED (Organic Light-Emitting Diode) is an active light-emitting device with a sandwich structure consisting of multiple organic layers and electrodes on both sides. At present, display screens based on AMOLED (Active-Matrix Organic Light-Emitting Diode) have been commercialized in the fields of smart phones, watches and laptops.
[0003] In order to ensure the display effect of the display panel before leaving the factory, it is usually necessary to perform display effect calibration on each display panel so that the display panel can achieve the best display effect.
[0004] However, the current display panel calibration method has the problem of poor effect. Summary of the invention
[0005] In view of this, the purpose of the present application is to provide a brightness compensation method, device, equipment and medium for a display panel that improves mura (uneven display) and enhances display effect.
[0006] Based on the above purpose, the present application provides a brightness compensation method for a display panel, and the brightness compensation method for a display panel includes:
[0007] Taking a picture of the display panel to obtain initial brightness data of a plurality of grayscale images of the display panel under different display brightness instruction values;
[0008] Calculating a first gamma value of each pixel of the display panel under different display brightness instruction values according to the initial brightness data;
[0009] For each of the grayscale images, using a first spline curve to fit the relationship between the first gamma values of different sizes and the brightness adjustment magnification, initial brightness data of pixels corresponding to different first gamma values are adjusted;
[0010] Calculating a second gamma value of each pixel of the display panel under different display brightness instruction values according to the adjusted brightness data;
[0011] For each of the grayscale images, a second spline curve is used to fit the relationship between the second gamma values of different sizes and the brightness compensation magnifications, so as to obtain a brightness compensation table for each of the grayscale images under different display brightness instruction values;
[0012] Brightness compensation is performed on the display panel according to the brightness compensation table.
[0013] In one embodiment, after adjusting the initial brightness data of the pixels corresponding to the different first gamma values, and before calculating the second gamma value of each pixel of the display panel under different display brightness instruction values according to the adjusted brightness data, the method further includes:
[0014] Burning the adjusted brightness data;
[0015] Preferably, the adjusted brightness data and the first gamma value are burned in simultaneously.
[0016] In one embodiment, calculating the first gamma value of each pixel of the display panel under different display brightness instruction values according to the initial brightness data includes:
[0017] Calculating a first gamma value of each pixel of the display panel under different display brightness instruction values using initial brightness data of a single grayscale picture;
[0018] Or, the first gamma value of each pixel of the display panel under different display brightness instruction values is calculated using the initial brightness data of a plurality of grayscale images.
[0019] In one embodiment, the calculating the first gamma value of each pixel of the display panel under different display brightness instruction values by using the initial brightness data of a single grayscale picture includes:
[0020] Determining a reference area of a single grayscale image, wherein the reference area includes a plurality of pixel points;
[0021] Taking the average brightness of the reference area as reference data, and calculating a first gamma value of each pixel in the display panel using the reference data and initial brightness data of each pixel in the single grayscale picture;
[0022] Preferably, the calculation formula of the first gamma value is as follows:
[0023] Gamma1 = log (Gray) (Lv / Lv1)
[0024] Wherein, Gamma1 is the first gamma value; Gray is the grayscale of the single grayscale picture; Lv is the initial brightness data of each pixel in the single grayscale picture; Lv1 is the reference data;
[0025] Preferably, the reference area is a central area of the display panel;
[0026] Preferably, the single grayscale picture is a white field picture.
[0027] In one embodiment, the calculating the first gamma value of each pixel of the display panel under different display brightness instruction values by using the initial brightness data of the plurality of grayscale images includes:
[0028] Select the first grayscale picture and the second grayscale picture;
[0029] Determine a reference area from the second grayscale image, wherein the reference area includes a plurality of pixels;
[0030] Taking the average brightness of the reference area as reference data, and calculating a first gamma value of each pixel in the display panel using the reference data and initial brightness data of each pixel in the first grayscale image;
[0031] Preferably, the display brightness instruction value of the second grayscale picture is greater than the display brightness instruction value of the first grayscale picture, and the grayscale of the second grayscale picture is greater than the grayscale of the first grayscale picture;
[0032] Preferably, the calculation formula of the first gamma value is as follows:
[0033] Gamma1 = log (Gray1 / Gray2) (Lv / Lv1)
[0034] Wherein, Gamma1 is the first gamma value; Gray1 is the grayscale of the first grayscale picture; Gray2 is the grayscale of the second grayscale picture; Lv is the initial brightness data of each pixel in the first grayscale picture; Lv1 is the reference data;
[0035] Preferably, the reference area is a central area of the display panel.
[0036] In one embodiment, for each grayscale picture, the first spline curve is used to fit the relationship between the first gamma values of different sizes and the brightness adjustment magnification, and the initial brightness data of the pixel points corresponding to the different gamma values are adjusted; including:
[0037] The plurality of points required for spline curve fitting are set for each of the grayscale images;
[0038] Fitting a first spline curve according to the plurality of points, wherein the first spline curve represents an adjustment ratio of brightness at different first gamma values;
[0039] Initial brightness data of pixels corresponding to different gamma values are adjusted according to the first spline curve.
[0040] In one embodiment, for each grayscale picture, a relationship between the second gamma values of different sizes and the brightness compensation magnification is fitted using a second spline curve to obtain a brightness compensation table for each grayscale picture under different display brightness instruction values, including:
[0041] The plurality of points required for spline curve fitting are set for each of the grayscale images;
[0042] Fitting a second spline curve according to the plurality of points, wherein the second spline curve represents a compensation magnification for brightness at different gamma values;
[0043] The second spline curve of each grayscale picture under different display brightness instruction values is calculated to form a brightness compensation table.
[0044] Based on the same inventive concept, the present application also provides a brightness compensation device for a display panel, which includes:
[0045] An acquisition module, used to take a picture of the display panel to obtain initial brightness data of multiple grayscale images of the display panel under different display brightness instruction values;
[0046] A first calculation module, used for calculating a first gamma value of each pixel of the display panel under different display brightness instruction values according to the initial brightness data;
[0047] A first fitting module is used for fitting the relationship between the first gamma values of different sizes and the brightness adjustment magnification using a first spline curve for each of the grayscale images, and adjusting the initial brightness data of the pixel points corresponding to different first gamma values;
[0048] A second calculation module, used for calculating a second gamma value of each pixel of the display panel under different display brightness instruction values according to the adjusted brightness data;
[0049] A second fitting module is used for fitting the relationship between the second gamma values of different sizes and the brightness compensation magnifications of each grayscale picture using a second spline curve to obtain a brightness compensation table for each grayscale picture under different display brightness instruction values;
[0050] A compensation module is used to perform brightness compensation on the display panel according to the brightness compensation table.
[0051] The present application also provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the brightness compensation method for a display panel as described in any one of the above items, or, when executed by the processor, implements the steps of the brightness compensation method for a display panel as described in any one of the above items.
[0052] The present application also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the brightness compensation method for a display panel described in any one of the above items are implemented, or when the program or instruction is executed by a processor, the steps of the brightness compensation method for a display panel described in any one of the above items are implemented.
[0053] Compared with the prior art, the brightness compensation method of the display panel provided in the present application adjusts the initial brightness data of the pixel points corresponding to different first gamma values by fitting the relationship between the first gamma values of different sizes and the brightness adjustment ratio through the first spline curve, so as to adjust the different brightness and darkness of the mura, thereby optimizing the various types of undesirable mura corresponding to the grayscale picture, and optimizing the initial brightness data obtained by taking pictures, so that the adjusted brightness data is more suitable for the display panel compensation data.
[0054] At the same time, the second spline curve is used to fit the relationship between the second gamma values of different sizes and the brightness compensation ratio, and a brightness compensation table of each grayscale picture under different display brightness command values is obtained, so that the compensation parameters can be adjusted according to different gamma data to optimize different types of mura, and the grayscale compensation intensity using the spline curve fitting can have more adjustment directions, and the upper limit of optimizing different color cast areas is higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0056] Figure 1 It is a gamma curve that conforms to the characteristics of the human eye;
[0057] Figure 2 A flowchart of a brightness compensation method for a display panel provided in a preferred embodiment of the present application;
[0058] Figure 3 A flowchart of a brightness compensation method for a display panel provided in a preferred embodiment of the present application;
[0059] Figure 4 A flowchart of a brightness compensation method for a display panel provided in a preferred embodiment of the present application;
[0060] Figure 5 A flowchart of a brightness compensation method for a display panel provided in a preferred embodiment of the present application;
[0061] Figure 6 A flowchart of a brightness compensation method for a display panel provided in a preferred embodiment of the present application;
[0062] Figure 7 A schematic diagram of a brightness compensation device for a display panel provided in a preferred embodiment of the present application;
[0063] Figure 8 A more specific schematic diagram of the hardware structure of an electronic device is provided for a preferred embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0065] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0066] The gamma correction process is to make the brightness value and grayscale value conform to the gamma curve; a group of grayscale binding point registers are provided in the driver chip. By modifying the values of each grayscale binding point register, when the voltage of each grayscale binding point is output to the display module, the actual brightness of the display module can reach the target brightness corresponding to each grayscale binding point.
[0067] Please refer to Figure 1 As shown, Figure 1 It is a gamma curve that conforms to the characteristics of the human eye. Specifically, Figure 1Take 8-bit grayscale information as an example, there are 256 grayscales in total. Figure 1 The horizontal axis is the grayscale value, and the vertical axis is the target brightness value, reflecting the nonlinear relationship between the two.
[0068] Reference Figure 2 As shown, an embodiment of the present invention discloses a brightness compensation method for a display panel, and the brightness compensation method for a display panel includes the following steps:
[0069] Step S10, taking a picture of the display panel to obtain initial brightness data of multiple grayscale images of the display panel under different display brightness command values;
[0070] Step S20, calculating the first gamma value of each pixel of the display panel under different display brightness instruction values according to the initial brightness data;
[0071] Step S30: for each grayscale image, using the first spline curve to fit the relationship between the first gamma values of different sizes and the brightness adjustment magnification, and adjusting the initial brightness data of the pixel points corresponding to the different first gamma values;
[0072] Step S40, calculating the second gamma value of each pixel of the display panel under different display brightness instruction values according to the adjusted brightness data;
[0073] Step S50: for each grayscale picture, using a second spline curve to fit the relationship between the second gamma values of different sizes and the brightness compensation magnification, to obtain a brightness compensation table for each grayscale picture under different display brightness command values;
[0074] Step S60: performing brightness compensation on the display panel according to the brightness compensation table.
[0075] The brightness compensation method for the display panel provided in the present embodiment fits the relationship between the first gamma values of different sizes and the brightness adjustment magnification through the first spline curve, and adjusts the initial brightness data of the pixel points corresponding to the different first gamma values, so as to adjust the different brightness and darkness of the mura, thereby optimizing the various types of bad mura corresponding to the grayscale picture, playing a role in optimizing the initial brightness data obtained by taking pictures, so that the adjusted brightness data is more suitable for the display panel compensation data.
[0076] At the same time, the second spline curve is used to fit the relationship between the second gamma values of different sizes and the brightness compensation magnification, so as to obtain a brightness compensation table for each grayscale picture under different display brightness command values, so that the compensation parameters can be adjusted according to different gamma data to optimize different types of mura, and the grayscale compensation intensity using the spline curve fitting can have more adjustment directions, and the upper limit of optimizing different color cast areas is higher.
[0077] In one embodiment, after step S30, adjusting the initial brightness data of the pixel points corresponding to different first gamma values, and before step S40, calculating the second gamma value of each pixel point of the display panel under different display brightness instruction values according to the adjusted brightness data, the following steps are also included:
[0078] Burn the adjusted brightness data. Specifically, the adjusted brightness data is burned into a storage module of the display panel so as to be called in subsequent steps.
[0079] Preferably, the adjusted brightness data and the first gamma value are burned in simultaneously. Wherein, when the first gamma value is not burned in, the initial brightness data can be used for online calculation.
[0080] In one embodiment, step S20, calculating the first gamma value of each pixel of the display panel under different display brightness instruction values according to the initial brightness data, includes:
[0081] The initial brightness data of a single grayscale image is used to calculate the first gamma value of each pixel of the display panel under different display brightness command values. The use of a single grayscale image to calculate the first gamma value is conducive to simplifying the calculation process and improving the calculation efficiency.
[0082] Reference Figure 3 As shown, in one embodiment, the step of calculating the first gamma value of each pixel of the display panel under different display brightness instruction values using the initial brightness data of a single grayscale image includes the following steps:
[0083] Step S21: Determine a reference area of a single grayscale image, where the reference area includes a plurality of pixels; for example, the reference area includes 3*3 pixels, or 4*4 pixels, etc.
[0084] Step S22: taking the average brightness of the reference area as reference data, and calculating the first gamma value of each pixel in the display panel using the reference data and the initial brightness data of each pixel in a single grayscale image.
[0085] For example, when the reference area includes 9 pixels of 3*3, the brightness average of the 9 pixels is used as the reference data.
[0086] Preferably, the calculation formula of the first gamma value is as follows:
[0087] Gamma1 = log (Gray) (Lv / Lv1)
[0088] Among them, Gamma1 is the first gamma value; Gray is the grayscale of a single grayscale picture; Lv is the initial brightness data of each pixel in the single grayscale picture; and Lv1 is the reference data.
[0089] Preferably, the reference area is the central area of the display panel, which is conducive to improving the accuracy of calculation.
[0090] Preferably, the single grayscale picture is a white field picture, that is, 255 grayscales, which is conducive to improving compensation accuracy.
[0091] In another embodiment, step S20, calculating the first gamma value of each pixel of the display panel under different display brightness instruction values according to the initial brightness data, includes:
[0092] The first gamma value of each pixel of the display panel under different display brightness command values is calculated using the initial brightness data of multiple grayscale images. The calculation of the first gamma value using multiple grayscale images is conducive to improving the accuracy of the calculation, thereby improving the accuracy of brightness compensation.
[0093] Reference Figure 4 As shown, in one embodiment, the step of calculating the first gamma value of each pixel of the display panel under different display brightness command values using the initial brightness data of multiple grayscale images includes the following steps:
[0094] Step S23: Select a first grayscale picture and a second grayscale picture, wherein the first grayscale picture and the second grayscale picture are different.
[0095] Step S24: determine a reference area from the second grayscale image, where the reference area includes a plurality of pixels; for example, the reference area includes 3*3 pixels, or 4*4 pixels, etc.
[0096] Step S25 : taking the average brightness value of the reference area as reference data, and calculating the first gamma value of each pixel in the display panel using the reference data and the initial brightness data of each pixel in the first grayscale image.
[0097] Preferably, the display brightness command value of the second grayscale picture is greater than the display brightness command value of the first grayscale picture, and the grayscale of the second grayscale picture is greater than the grayscale of the first grayscale picture.
[0098] Preferably, the calculation formula of the first gamma value is as follows:
[0099] Gamma1 = log (Gray1 / Gray2) (Lv / Lv1)
[0100] Among them, Gamma1 is the first gamma value; Gray1 is the grayscale of the first grayscale picture; Gray2 is the grayscale of the second grayscale picture; Lv is the initial brightness data of each pixel in the first grayscale picture; Lv1 is the reference data.
[0101] Preferably, the reference area is the central area of the display panel, which is conducive to improving the accuracy of calculation.
[0102] Reference Figure 5 As shown, in one embodiment, step 30, for each grayscale picture, using the first spline curve to fit the relationship between the first gamma values of different sizes and the brightness adjustment magnification, adjusting the initial brightness data of the pixel points corresponding to the different gamma values, includes the following steps:
[0103] Step S31, setting a plurality of points required for spline curve fitting for each grayscale image;
[0104] Step S32, fitting a first spline curve according to the plurality of points, wherein the first spline curve represents the adjustment ratio of the brightness at different first gamma values;
[0105] Step S33: adjusting the initial brightness data of the pixels corresponding to the different gamma values according to the first spline curve.
[0106] Among them, by fitting the relationship between the first gamma values of different sizes and the brightness adjustment ratio through the first spline curve, the initial brightness data of the pixel points corresponding to the different first gamma values are adjusted, so that the different brightness and darkness of the mura can be adjusted, thereby optimizing the various types of bad mura corresponding to the grayscale picture, playing a role in optimizing the initial brightness data obtained by taking pictures, so that the adjusted brightness data is more suitable for the display panel compensation data.
[0107] Among them, two or more points are usually used. For example, the points are 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, etc. Among them, the adjustment ratio of brightness is less than 1, which means reducing the brightness, and the adjustment ratio of brightness is greater than 1, which means increasing the brightness. Optionally, when gamma is 2.0, the adjustment ratio of brightness is 1.1 times, when gamma is 2.2, the adjustment ratio of brightness is 0.9 times, and when gamma is 2.2, the adjustment ratio of brightness is 1.2 times.
[0108] Reference Figure 6 As shown, in one embodiment, step S50, for each grayscale picture, using a second spline curve to fit the relationship between the second gamma value of different sizes and the brightness compensation magnification, to obtain a brightness compensation table for each grayscale picture under different display brightness instruction values, includes the following steps:
[0109] Step S51, setting a plurality of points required for spline curve fitting for each grayscale image;
[0110] Step S52, fitting a second spline curve according to the multiple points, the second spline curve representing the compensation magnification of brightness at different gamma values;
[0111] Step S53, calculating the second spline curve of each grayscale picture under different display brightness command values to form a brightness compensation table.
[0112] Among them, the second spline curve is used to fit the relationship between the second gamma values of different sizes and the brightness compensation magnification, and the brightness compensation table of each grayscale picture under different display brightness command values is obtained, so that the compensation parameters can be adjusted according to different gamma data to optimize different types of mura, and the grayscale compensation intensity using the spline curve fitting can have more adjustment directions, and the upper limit of optimizing different color cast areas is higher.
[0113] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0114] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0115] Reference Figure 7 As shown, based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application further provides a brightness compensation device for a display panel, which includes the following modules:
[0116] An acquisition module, used to take a picture of the display panel and acquire initial brightness data of multiple grayscale images of the display panel under different display brightness instruction values;
[0117] A first calculation module, used for calculating a first gamma value of each pixel of the display panel under different display brightness instruction values according to the initial brightness data;
[0118] A first fitting module is used to fit the relationship between first gamma values of different sizes and brightness adjustment magnifications using a first spline curve for each grayscale image, and adjust initial brightness data of pixels corresponding to different first gamma values;
[0119] A second calculation module, used for calculating a second gamma value of each pixel of the display panel under different display brightness instruction values according to the adjusted brightness data;
[0120] A second fitting module is used to fit the relationship between the second gamma values of different sizes and the brightness compensation magnifications for each grayscale picture using a second spline curve to obtain a brightness compensation table for each grayscale picture under different display brightness instruction values;
[0121] The compensation module is used to perform brightness compensation on the display panel according to the brightness compensation table.
[0122] The brightness compensation device of the display panel provided in the present application adjusts the initial brightness data of the pixel points corresponding to different first gamma values by fitting the relationship between the first gamma values of different sizes and the brightness adjustment ratio through the first spline curve, so as to adjust the different brightness and darkness of the mura, thereby optimizing the various types of undesirable mura corresponding to the grayscale picture, and optimizing the initial brightness data obtained by taking pictures, so that the adjusted brightness data is more suitable for the display panel compensation data.
[0123] At the same time, the second spline curve is used to fit the relationship between the second gamma values of different sizes and the brightness compensation ratio, and a brightness compensation table of each grayscale picture under different display brightness command values is obtained, so that the compensation parameters can be adjusted according to different gamma data to optimize different types of mura, and the grayscale compensation intensity using the spline curve fitting can have more adjustment directions, and the upper limit of optimizing different color cast areas is higher.
[0124] The device of the above embodiment is used to implement the brightness compensation method of the display panel corresponding to any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0125] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the brightness compensation method for the display panel described in any one of the above-mentioned items, or, when executed by the processor, implements the steps of the brightness compensation method for the display panel described in any one of the above-mentioned items.
[0126] Figure 8 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0127] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0128] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0129] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0130] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0131] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0132] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0133] The electronic device of the above embodiment is used to implement the brightness compensation method of the display panel corresponding to any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0134] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer-readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the brightness compensation method of the display panel described in any of the above-mentioned items are implemented, or when the program or instruction is executed by a processor, the brightness compensation method of the display panel described in any of the above-mentioned items is implemented.
[0135] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0136] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the brightness compensation method of the display panel as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0137] Although the present application has been described in conjunction with specific embodiments thereof, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art in light of the foregoing description.
[0138] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
[0139] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0140] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A brightness compensation method for a display panel, characterized in that: include: Taking a picture of the display panel to obtain initial brightness data of a plurality of grayscale images of the display panel under different display brightness instruction values; Calculating a first gamma value of each pixel of the display panel under different display brightness instruction values according to the initial brightness data; For each of the grayscale images, using a first spline curve to fit the relationship between the first gamma values of different sizes and the brightness adjustment magnification, initial brightness data of pixels corresponding to different first gamma values are adjusted; Calculating a second gamma value of each pixel of the display panel under different display brightness instruction values according to the adjusted brightness data; For each of the grayscale images, a second spline curve is used to fit the relationship between the second gamma values of different sizes and the brightness compensation magnifications, so as to obtain a brightness compensation table for each of the grayscale images under different display brightness instruction values; Brightness compensation is performed on the display panel according to the brightness compensation table.
2. The brightness compensation method of a display panel according to claim 1, characterized in that: After adjusting the initial brightness data of the pixels corresponding to the different first gamma values, and before calculating the second gamma value of each pixel of the display panel under different display brightness instruction values according to the adjusted brightness data, the method further includes: Burning the adjusted brightness data; Preferably, the adjusted brightness data and the first gamma value are burned in simultaneously.
3. The brightness compensation method of a display panel according to claim 1, wherein: The calculating, according to the initial brightness data, a first gamma value of each pixel of the display panel under different display brightness instruction values comprises: Calculating a first gamma value of each pixel of the display panel under different display brightness instruction values using initial brightness data of a single grayscale picture; Or, the first gamma value of each pixel of the display panel under different display brightness instruction values is calculated using the initial brightness data of a plurality of grayscale images.
4. The brightness compensation method of a display panel according to claim 3, characterized in that: The method of calculating the first gamma value of each pixel of the display panel under different display brightness instruction values by using the initial brightness data of a single grayscale picture includes: Determining a reference area of a single grayscale image, wherein the reference area includes a plurality of pixel points; Taking the average brightness of the reference area as reference data, and calculating a first gamma value of each pixel in the display panel using the reference data and initial brightness data of each pixel in the single grayscale picture; Preferably, the calculation formula of the first gamma value is as follows: Gamma1=log (Gray) (Lv / Lv1) Wherein, Gamma1 is the first gamma value; Gray is the grayscale of the single grayscale picture; Lv is the initial brightness data of each pixel in the single grayscale picture; Lv1 is the reference data; Preferably, the reference area is a central area of the display panel; Preferably, the single grayscale picture is a white field picture.
5. The brightness compensation method of a display panel according to claim 3, characterized in that: The method of calculating the first gamma value of each pixel of the display panel under different display brightness instruction values by using the initial brightness data of the plurality of grayscale images includes: Select the first grayscale picture and the second grayscale picture; Determine a reference area from the second grayscale image, wherein the reference area includes a plurality of pixels; Taking the average brightness of the reference area as reference data, and calculating a first gamma value of each pixel in the display panel using the reference data and initial brightness data of each pixel in the first grayscale image; Preferably, the display brightness instruction value of the second grayscale picture is greater than the display brightness instruction value of the first grayscale picture, and the grayscale of the second grayscale picture is greater than the grayscale of the first grayscale picture; Preferably, the calculation formula of the first gamma value is as follows: Gamma1=log (Gray1 / Gray2) (Lv / Lv1) Wherein, Gamma1 is the first gamma value; Gray1 is the grayscale of the first grayscale picture; Gray2 is the grayscale of the second grayscale picture; Lv is the initial brightness data of each pixel in the first grayscale picture; Lv1 is the reference data; Preferably, the reference area is a central area of the display panel.
6. The brightness compensation method of a display panel according to claim 1, wherein: The method of adjusting the initial brightness data of pixels corresponding to different gamma values by fitting the relationship between the first gamma values and the brightness adjustment magnifications of different sizes of the first gamma values for each grayscale picture includes: The plurality of points required for spline curve fitting are set for each of the grayscale images; Fitting a first spline curve according to the plurality of points, wherein the first spline curve represents an adjustment ratio of brightness at different first gamma values; Initial brightness data of pixels corresponding to different gamma values are adjusted according to the first spline curve.
7. The brightness compensation method of a display panel according to claim 1, wherein: For each of the grayscale images, a relationship between the second gamma values of different sizes and the brightness compensation magnification is fitted using a second spline curve to obtain a brightness compensation table for each of the grayscale images under different display brightness instruction values, including: The plurality of points required for spline curve fitting are set for each of the grayscale images; Fitting a second spline curve according to the plurality of points, wherein the second spline curve represents a compensation magnification for brightness at different gamma values; The second spline curve of each grayscale picture under different display brightness instruction values is calculated to form a brightness compensation table.
8. A brightness compensation device for a display panel, characterized in that: include: An acquisition module, used to take a picture of the display panel to obtain initial brightness data of multiple grayscale images of the display panel under different display brightness instruction values; A first calculation module, used for calculating a first gamma value of each pixel of the display panel under different display brightness instruction values according to the initial brightness data; A first fitting module is used for fitting the relationship between the first gamma values of different sizes and the brightness adjustment magnification using a first spline curve for each of the grayscale images, and adjusting the initial brightness data of the pixel points corresponding to different first gamma values; A second calculation module, used for calculating a second gamma value of each pixel of the display panel under different display brightness instruction values according to the adjusted brightness data; A second fitting module is used for fitting the relationship between the second gamma values of different sizes and the brightness compensation magnifications of each grayscale picture using a second spline curve to obtain a brightness compensation table for each grayscale picture under different display brightness instruction values; A compensation module is used to perform brightness compensation on the display panel according to the brightness compensation table.
9. An electronic device, characterized in that: It comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the brightness compensation method for a display panel as described in any one of claims 1 to 7 are implemented, or when the program or instruction is executed by the processor, the steps of the brightness compensation method for a display panel as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the brightness compensation method for the display panel as described in any one of claims 1 to 7 are implemented, or when the program or instruction is executed by the processor, the brightness compensation method for the display panel as described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Brightness flicker suppression method and device, equipment and storage medium
CN121397836A