Brightness compensation method of display panel and electronic equipment
By dividing the brightness interval and setting the grayscale node value of the display panel, calculating the brightness compensation value with the demura algorithm, and dynamically adjusting the brightness, the problem of uneven brightness of the display panel is solved, and the display effect is significantly improved.
Patent Information
- Application Number
- CN202310956022.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-31
- Publication Date
- 2025-02-14
AI Technical Summary
The prior art cannot effectively solve the uneven brightness (mura) phenomenon that occurs during the display process of the display panel, affecting the display effect.
By dynamically adjusting the brightness of the display panel, dividing multiple brightness intervals according to the display brightness value, and setting different gray-level node values and brightness compensation values for each brightness interval, the brightness compensation value is calculated using the demura algorithm to perform brightness compensation .
Effectively eliminate uneven brightness of the display panel and improve the display effect.
Smart Images

Figure CN119446042A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a brightness compensation method for a display panel and an electronic device. Background Art
[0002] Currently, the display panel may have uneven brightness (mura) during the display process, which affects the display effect of the display panel. In the prior art, the mura phenomenon can be eliminated by performing brightness compensation on the display panel. However, the prior art is not effective enough in eliminating the mura phenomenon. Summary of the invention
[0003] The embodiments of the present application provide a brightness compensation method for a display panel and an electronic device, which can dynamically adjust the brightness compensation value of the display panel according to the display brightness value to improve the display effect.
[0004] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0005] In a first aspect, a brightness compensation method for a display panel is provided, the method comprising: when it is detected that the display panel displays an image to be displayed with a current display brightness value, determining a brightness interval in which the current display brightness value is located; wherein the difference information of the mura image presented on the display panel with the display brightness value in the same brightness interval is within a first preset difference range; determining a grayscale interval corresponding to the brightness interval; wherein the grayscale interval corresponding to the brightness interval is determined according to the grayscale node value corresponding to the brightness interval, different brightness intervals correspond to different grayscale node values, different grayscale intervals correspond to different brightness compensation values, and the brightness compensation value is the difference between the actual brightness value of each pixel unit in the display panel in the corresponding grayscale interval and the target brightness value; obtaining the grayscale value of the image to be displayed, and compensating each pixel unit in the display panel according to the brightness compensation value corresponding to the grayscale interval in which the grayscale value is located.
[0006] By adopting this technical solution, the electronic device can pre-divide the brightness interval, set different grayscale node values for different brightness intervals, and set corresponding different brightness compensation values for each grayscale interval composed of grayscale node values in the same brightness interval. Among them, according to the two different display brightness values pre-selected, the display panel with the preset grayscale value can calculate the corresponding brightness compensation values through the demura algorithm. Then, when the current display brightness value changes across intervals, the corresponding grayscale node value can be determined according to the brightness interval where the current display brightness value is located. That is, the brightness compensation values corresponding to the different grayscale intervals composed of the corresponding grayscale node values under the brightness interval are determined. Therefore, after obtaining the grayscale value of the image to be displayed on the display panel, the corresponding brightness compensation value is selected according to the grayscale interval where the grayscale value is located, and each pixel unit in the display panel is compensated. Finally, the display panel displays the display image after brightness compensation, which can eliminate the uneven brightness of the display panel.
[0007] The current display brightness value may be an initialization display brightness value, or may be an adjusted display brightness value, for example, a display brightness value obtained by adjusting a previous display brightness value.
[0008] Among them, after determining the corresponding grayscale node value according to the brightness interval where the current display brightness value is located, the grayscale node value and the current display brightness value will be packaged and sent to the register, that is, the grayscale node value stored in the register will be re-modified, and then the display driver will select the corresponding brightness compensation value according to the grayscale interval where the grayscale value of the image to be displayed is located for brightness compensation. It can be understood that the register stores two pre-calculated brightness compensation values. After the electronic device obtains the brightness interval corresponding to the initial brightness value, the grayscale node value corresponding to the brightness interval will be stored in the register, so that the IC chip can select the corresponding brightness compensation value according to the grayscale interval where the grayscale value of the image to be displayed is located. After detecting that the display brightness value crosses the brightness interval, the grayscale node value corresponding to the new brightness interval will be obtained and rewritten into the register, so that the IC chip can select the corresponding brightness compensation value according to the grayscale interval where the grayscale value of the current image to be displayed is located. In other words, every time the display brightness value changes across the brightness interval, the grayscale node value stored in the register will be updated. Furthermore, the current display brightness value and the grayscale node value corresponding to the updated brightness interval are packaged and sent in the same frame, so that when the display panel displays the next frame of the image to be displayed, the display brightness value matches the grayscale node value of the brightness interval.
[0009] In a possible implementation, the display panel is pre-configured with brightness compensation values corresponding to target grayscale node values of multiple display brightness values, and the brightness interval corresponds to a first grayscale interval and a second grayscale interval; the brightness compensation value corresponding to the first grayscale interval is the brightness compensation value corresponding to the target grayscale node value of the first display brightness value among the multiple display brightness values, and the difference between the image information of the mura image corresponding to the first grayscale interval and the image information of the mura image corresponding to the target grayscale node value of the first display brightness value is minimized; the brightness compensation value corresponding to the second grayscale interval is the brightness compensation value corresponding to the target grayscale node value of the second display brightness value among the multiple display brightness values, and the difference between the image information of the mura image corresponding to the second grayscale interval and the image information of the mura image corresponding to the target grayscale node value of the second display brightness value is minimized.
[0010] It can be understood that this is that before the electronic device leaves the factory, the brightness compensation value of the display panel in the first grayscale interval is determined by comparing the image information of the mura image corresponding to the first grayscale interval with the image information of the mura image corresponding to the target grayscale node value of the first display brightness value and the image information of the mura image corresponding to the target grayscale node value of the second display brightness value. And, the brightness compensation value of the display panel in the second grayscale interval is determined by comparing the image information of the mura image corresponding to the second grayscale interval with the image information of the mura image corresponding to the target grayscale node value of the first display brightness value and the image information of the mura image corresponding to the target grayscale node value of the second display brightness value. That is, these two brightness compensation values have been burned into the register of the electronic device when leaving the factory.
[0011] In a possible implementation, the brightness interval also includes a third grayscale interval, the grayscale value in the third grayscale interval is greater than the grayscale value in the first grayscale interval, and the grayscale value in the third grayscale interval is less than the grayscale value in the second grayscale interval; the brightness compensation scheme corresponding to the third grayscale interval is obtained by analyzing the brightness compensation value of the first grayscale interval, the grayscale value of the first grayscale interval, the brightness compensation value of the second grayscale interval, and the grayscale value of the second grayscale interval using a brightness compensation value fitting curve, wherein the brightness compensation value fitting curve is used to indicate the trend of the brightness compensation value changing with the grayscale interval. The present application does not limit the method for determining the fitting curve, and any of the existing methods for determining the fitting curve can be used.
[0012] In a possible implementation, the display panel corresponds to a mura image presented at multiple display brightness values; the multiple display brightness values include a first display brightness value and a second display brightness value; wherein, difference information between the mura image presented by the display panel at the first display brightness value and the mura image presented at the second display brightness value is greater than a second preset difference range, and the second display brightness value is greater than the first display brightness value; the brightness compensation value corresponding to the target grayscale node value of the first display brightness value is obtained by performing brightness compensation on the display panel at the target grayscale node value of the first display brightness value; the brightness compensation value corresponding to the target grayscale node value of the second display brightness value is obtained by performing brightness compensation on the display panel at the target grayscale node value of the second display brightness value.
[0013] In a possible implementation, the brightness interval corresponds to a first grayscale interval and a second grayscale interval; the smaller the display brightness value within the brightness interval, the larger the proportion of the first grayscale interval corresponding to the brightness interval in the total grayscale range; the smaller the display brightness value within the brightness interval, the smaller the proportion of the second grayscale interval corresponding to the brightness interval in the total grayscale range.
[0014] In a possible implementation, each pixel unit in the display panel is compensated according to the brightness compensation value corresponding to the grayscale interval where the grayscale value is located, including: if the grayscale value is in the first grayscale interval corresponding to the brightness interval, then each pixel unit in the display panel is compensated according to the first brightness compensation value corresponding to the first grayscale interval; if the grayscale value is in the second grayscale interval corresponding to the brightness interval, then each pixel unit in the display panel is compensated according to the second brightness compensation value corresponding to the second grayscale interval. If the grayscale value is in the third grayscale interval corresponding to the brightness interval, then each pixel unit in the display panel is compensated according to the third brightness compensation value corresponding to the third grayscale interval. In this solution, according to the grayscale interval where the grayscale value of the image to be displayed is located, and the current display brightness value, the corresponding brightness compensation value can be determined to compensate the display panel.
[0015] In a possible implementation, the method further includes: in response to a scan start signal of an image to be displayed, the current display brightness value and the grayscale node value corresponding to the current display brightness value are packaged and sent to a display driver of an electronic device. The current display brightness value and the grayscale node value corresponding to the current display brightness value are sent in the same frame, which can ensure that the display brightness value and the grayscale node value corresponding to the brightness interval are effective when the same frame of image is displayed. In addition, the current display brightness value and the grayscale node value corresponding to the current display brightness value are sent at a high level, and the display brightness value before being sent at a low level and the grayscale node value corresponding to the current display brightness value are sent synchronously with the TE signal, which can ensure that the current display brightness value and the grayscale node value match.
[0016] In one possible implementation, the method further includes: in response to a user's instruction to adjust the display brightness value of the display panel, detecting a current display brightness value of the display panel; the adjustment instruction is used to indicate that the current display brightness value of the display panel changes across an interval; or, when a change in the ambient light brightness of the display panel is detected, detecting the current display brightness value of the display panel.
[0017] In a possible implementation, after obtaining the grayscale value of the image to be displayed on the display panel and compensating each pixel unit in the display panel according to the brightness compensation value corresponding to the grayscale interval where the grayscale value is located, the method further includes: driving the display panel to display the image to be displayed. At this time, the image displayed by the display panel has been brightness compensated, and the phenomenon of uneven brightness can be eliminated.
[0018] In a second aspect, the present application provides an electronic device, comprising: a display screen, a memory and one or more processors; the display screen comprises a display panel; the display screen, the memory and the processor are coupled; the memory is used to store computer program code, the computer program code comprises computer instructions, and when the computer instructions are executed by the electronic device, the electronic device executes any one of the methods described in the first aspect above.
[0019] In a third aspect, the present application provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer, the computer can execute the charging method described in any one of the first aspects above.
[0020] In a fourth aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect.
[0021] It can be understood that the electronic device described in the second aspect provided above, the computer-readable storage medium described in the third aspect and the computer program product described in the fourth aspect are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic diagram of a display panel provided in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0024] Figure 3 A schematic diagram of a dynamic grayscale node value provided in an embodiment of the present application;
[0025] Figure 4 A schematic diagram of a flow chart of a brightness compensation method for a display panel provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of sending grayscale node value and DBV provided in an embodiment of the present application;
[0027] Figure 6 A schematic diagram of another method of sending grayscale node value and DBV provided in an embodiment of the present application;
[0028] Figure 7 A flowchart of a method for adjusting grayscale node values provided in an embodiment of the present application;
[0029] Figure 8 It is a timing diagram of software implementation of a brightness compensation method for a display panel provided in an embodiment of the present application;
[0030] Fig. 9 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0032] It should be noted that the following terms "first", "second", etc. are only used for descriptive purposes and should not be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0033] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
[0034] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0035] For ease of understanding, the following terms are used in the embodiments of the present application:
[0036] (1) Gray level refers to the brightness value of each pixel in a grayscale image, usually represented by an integer from 0 to 255. In a grayscale image, the grayscale value of each pixel represents the brightness of the pixel. The grayscale value of a pixel is directly proportional to the brightness of the pixel. The larger the grayscale value of a pixel, the higher the brightness of the pixel, and the smaller the grayscale value of a pixel, the lower the brightness of the pixel. For example, a grayscale value of 0 indicates that the brightness of the pixel is very low, such as no brightness, and the pixel appears black. A grayscale value of 255 indicates that the brightness of the pixel is very high, close to or appears white. Grayscale values between 0 and 255 represent different grayscale levels. It should be noted that grayscale values are only applicable to grayscale images. For color images, each pixel usually contains color values of three channels: red, green, and blue. The color image needs to be converted into a grayscale image in order to use grayscale values to describe the image characteristics of the color image.
[0037] (2) Mura refers to various traces caused by uneven brightness of the display panel. The presence of mura on the display panel can be determined by switching the display panel to a black screen or other low grayscale screens in a dark room, and then observing the display screen from various angles to see if there are traces. Such traces may be horizontal stripes or 45-degree stripes, may be straight-cut squares, may appear in a corner, or may be irregular traces.
[0038] (3) The Tearing Effect (TE) signal is a signal used to prevent tearing problems when the screen is refreshed during image display. The TE signal is generated by the display driver integrated circuit (DDIC), and the image frame can be refreshed based on the TE signal. When the next image frame is ready to be refreshed, the DDIC chip generates a TE signal and synchronizes it to the application processor (AP), also known as the host. Correspondingly, after monitoring the trigger edge of the TE signal, the AP sends the data of the next image frame to the DDIC chip.
[0039] At present, due to the simultaneous existence of camera offset hole design and / or ultra-high frequency pulse width modulation (PWM) dimming characteristics in the inner screen (also called display screen) of electronic devices, the combined effect of camera offset hole design and ultra-high frequency pulse width modulation causes the mura effect of the display screen at low brightness to be significantly deteriorated. The display screen includes a display panel, and the display screen mura here refers to the display panel mura in the display screen.
[0040] For ultra-high frequency PWM dimming, the higher the frequency, the more pulses. The emission control signal (EM) in the display panel can control the lighting of pixels in the display panel. The more pulses, the more times the EM signal lights up the pixels. The pixels are lit mainly by driving the desired current to display the desired brightness on the screen. Therefore, the more times the pixels are lit, the more times the charging and discharging are performed. Then, with more charging and discharging times, it is more difficult to control the pixels to the same brightness than with less charging and discharging times, which leads to poor brightness uniformity of the display panel.
[0041] Among them, the camera offset hole design will cause mura on the display panel, and ultra-high frequency PWM dimming will also cause mura on the display panel. Therefore, the combined effect of the above two will cause the mura effect of the display panel to deteriorate significantly.
[0042] In the related art, the mura phenomenon of the display panel can be eliminated by performing demura compensation on the display panel. Demura refers to a method of obtaining the brightness information of each pixel of the display panel to calculate the brightness compensation value, and adding the brightness compensation value to the pixels of the display panel to remove the brightness deviation of the pixels, so that the brightness of the display panel becomes more uniform. Figure 1 As shown, Figure 1 A in FIG. 1 is a schematic diagram of a display panel without demura compensation, and the brightness of the display panel is uneven. Figure 1B in the figure is a schematic diagram of a display panel that performs demura compensation, which eliminates mura and makes the brightness of the display panel uniform.
[0043] However, since the mura trend of the display panel at different brightness is different, and the traditional fixed-node demura solution provides a fixed brightness compensation value for the display panel at different brightness, when the brightness of the display panel changes, the above traditional demura compensation solution cannot solve the mura effect problem at the current brightness.
[0044] Therefore, the embodiment of the present application provides a brightness compensation method for a display panel, and the electronic device can divide the display brightness value (Display Brightness Value, DBV) of the display panel into multiple brightness intervals in advance, set different grayscale node values for different brightness intervals, and set corresponding different brightness compensation values for each grayscale interval composed of grayscale node values in the same brightness interval. Wherein, the brightness of the display panel is represented by the display brightness value of the display panel. Wherein, the electronic device can calculate the brightness compensation values corresponding to different display brightness values for the display panel with a preset grayscale value through the demura algorithm according to at least two different display brightness values selected in advance. Thus, after adjusting the display brightness value, the electronic device can determine the corresponding grayscale node value according to the brightness interval where the current display brightness value is located, that is, determine the brightness compensation values corresponding to different grayscale intervals composed of corresponding grayscale node values under the brightness interval. Then, the electronic device selects the corresponding brightness compensation value according to the grayscale interval where the current grayscale value is located to perform brightness compensation on each pixel unit in the display panel, which can eliminate the display unevenness of the display panel.
[0045] The electronic device in the embodiment of the present application may be an electronic device equipped with a display screen. Exemplarily, the electronic device in the embodiment of the present application may be a tablet computer, a mobile phone, a desktop, a laptop, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR)\virtual reality (VR) device, a vehicle-mounted device, and the like. The embodiment of the present application does not impose any special restrictions on the specific form of the electronic device.
[0046] The execution subject of the brightness compensation method provided in the embodiment of the present application may be a brightness compensation device, and the execution device may be Figure 2The electronic device shown. At the same time, the execution device can also be a central processing unit (CPU) of the electronic device, or a control module for brightness compensation in the electronic device. In the embodiment of the present application, the brightness compensation method provided by the embodiment of the present application is described by taking the electronic device executing the brightness compensation method as an example.
[0047] The following will describe the implementation of the embodiment of the present application in detail with reference to the accompanying drawings. Taking the above-mentioned electronic device as a mobile phone as an example, the hardware structure of the electronic device (such as the electronic device 200) is introduced. Figure 2 As shown, the electronic device 200 may include: a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.
[0048] Among them, the above-mentioned sensor module 280 may include sensors such as pressure sensor, gyroscope sensor, air pressure sensor, magnetic sensor, acceleration sensor, distance sensor, proximity light sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor and bone conduction sensor.
[0049] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 200. In other embodiments, the electronic device 200 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0050] The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0051] The controller may be the nerve center and command center of the electronic device 200. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0052] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0053] In some embodiments, the processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0054] It is understandable that the interface connection relationship between the modules shown in this embodiment is only a schematic illustration and does not constitute a structural limitation on the electronic device 200. In other embodiments, the electronic device 200 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0055] The charging management module 240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger through the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive wireless charging input through a wireless charging coil of the electronic device 200. While the charging management module 240 is charging the battery 242, it may also power the electronic device through the power management module 241.
[0056] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the external memory, the display screen 294, the camera 293, and the wireless communication module 260. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 241 can also be set in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 can also be set in the same device.
[0057] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.
[0058] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0059] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
[0060] The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 can be set in the same device as at least some modules of the processor 210.
[0061] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 250 or other functional modules.
[0062] The wireless communication module 260 can provide wireless communication solutions for application in the electronic device 300, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.
[0063] The wireless communication module 260 may be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 may also receive signals to be sent from the processor 210, modulate the frequencies of the signals, amplify the signals, and convert the signals into electromagnetic waves for radiation via the antenna 2.
[0064] In some embodiments, the antenna 1 of the electronic device 200 is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the electronic device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0065] The electronic device 200 implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.
[0066] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc.
[0067] The electronic device 200 can realize the shooting function through ISP, camera 293, video codec, GPU, display screen 294 and application processor.
[0068] The ISP is used to process the data fed back by the camera 293. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 293.
[0069] The camera 293 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 200 may include 1 or N cameras 293, where N is a positive integer greater than 1.
[0070] In the embodiment of the present application, a hole can be opened in the display panel at a position deviating from the center line to place the camera.
[0071] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 200 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0072] Video codecs are used to compress or decompress digital videos. The electronic device 200 may support one or more video codecs. Thus, the electronic device 200 may play or record videos in a variety of coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0073] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 200 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0074] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0075] The internal memory 221 may be used to store computer executable program codes, which include instructions. The processor 210 executes various functional applications and data processing of the electronic device 200 by running the instructions stored in the internal memory 221. For example, in an embodiment of the present application, the processor 210 may execute the instructions stored in the internal memory 221, and the internal memory 221 may include a program storage area and a data storage area.
[0076] The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0077] The electronic device 200 can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.
[0078] The touch sensor is also called a "touch panel". The touch sensor can be arranged on the display screen 294, and the touch sensor and the display screen 294 form a touch screen, also called a "touch screen". The touch sensor is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 294. In other embodiments, the touch sensor can also be arranged on the surface of the electronic device 200, which is different from the position of the display screen 294.
[0079] In the embodiment of the present application, the electronic device 200 can detect the touch operation input by the user on the touch screen through the touch sensor, and collect one or more of the touch position, touch area, touch direction, and touch time of the touch operation on the touch screen. In some embodiments, the electronic device 200 can determine the touch position of the touch operation on the touch screen by combining the touch sensor and the pressure sensor.
[0080] The key 290 includes a power key, a volume key, etc. The key 290 can be a mechanical key or a touch key. The electronic device 200 can receive key input and generate key signal input related to user settings and function control of the electronic device 200.
[0081] Motor 291 can generate vibration prompts. Motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 294, motor 291 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0082] The indicator 292 may be an indicator light, which may be used to indicate the charging status, power change, message, missed call, notification, etc. The SIM card interface 295 is used to connect the SIM card. The SIM card may be connected to or disconnected from the electronic device 200 by inserting the SIM card interface 295 or pulling the SIM card interface 295 out. The electronic device 200 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 may support Nano SIM card, Micro SIM card, SIM card, etc.
[0083] The methods in the following embodiments can all be implemented in the electronic device 200 having the above hardware structure.
[0084] In the embodiment of the present application, firstly, specific steps 1-4 of setting corresponding brightness compensation values for different grayscale intervals of different brightness intervals of the display panel are introduced, wherein the brightness compensation value here can be called mura compensation data. The brightness compensation value can be used to compensate the brightness value of each pixel unit in the display panel when the display panel presents a mura image. The brightness compensation value can be calculated by a demura compensation algorithm.
[0085] It is understandable that the mura presented by the display panel at different grayscales is different, and the mura presented by the display panel at different display brightness values (DBV) is also different.
[0086] Step 1: First, the electronic device selects at least one group of mura images from the mura images presented by the display panel at various display brightness values, wherein the group of mura images includes multiple mura images with large differences, and one mura image among the multiple mura images corresponds to a display brightness value. The multiple mura images may include two mura images, such as a first mura image and a second mura image, or may include more than two mura images, such as three mura images or four mura images, and the like.
[0087] In some embodiments, there is no limit on the number of selected display brightness values, but it is necessary to ensure that the mura images presented by the display panel are clearly different under the selected display brightness values. In some other embodiments, due to the storage space limitation of the electronic device, in order to reduce the pressure of the storage space, a number threshold can be preset, and multiple mura images with large differences and a preset number threshold can be selected for subsequent generation of corresponding compensation schemes. Generally, mura images with large differences under two display brightness values are selected to generate corresponding compensation schemes.
[0088] In the present application, the large difference may include that the difference in image information of the mura image is relatively large, and the image information may include the shape of the mura image, the size of the mura image, the color of the mura image, etc. Multiple mura images with large differences may be replaced by the description that the difference information between the multiple mura images is greater than a preset difference range, and the difference information may include the difference in any one or more of the shape of the mura image, the size of the mura image, and the color of the mura image. The preset difference range can be set as needed without limitation. When the difference information is greater than the preset difference range, it indicates that the difference is relatively large, and when the difference information is less than the preset difference range, it indicates that the difference is relatively small.
[0089] In one example, generally speaking, ultra-high frequency PWM dimming is mainly for dimming at low brightness. Then, the presence of mura in the display panel due to ultra-high frequency PWM dimming actually causes the presence of mura in the display panel at low brightness. In order to better eliminate the mura of the display panel at low brightness, when selecting the display brightness value for generating the compensation scheme, it is usually selected from the low brightness range first, that is, it can be understood that the above-selected set of mura images includes at least one mura image presented at low brightness. Optionally, the difference between the mura image presented at low brightness and the mura image presented at high brightness is usually relatively large, so the display brightness value (set to the first display brightness value) is selected from the low brightness range, and after obtaining the mura image corresponding to the first display brightness value, the display brightness value (set to the second display brightness value) can be selected from the high brightness range to obtain the mura image corresponding to the second display brightness value, and then the mura image corresponding to the first display brightness value and the mura image corresponding to the second display brightness value are combined to obtain a group of mura images with large differences.
[0090] In the embodiment of the present application, the low brightness range may be referred to as a low brightness interval, and the low brightness range may include multiple low display brightness values, and the high brightness range may be referred to as a high brightness interval, and the high brightness range may include multiple high brightness display values, wherein the low brightness range and the high brightness range may be adjusted according to actual needs and are not limited. Selecting a display brightness value from the low brightness range may include randomly selecting one or more display brightness values from the low brightness range, and selecting a display brightness value from the high brightness range may include randomly selecting one or more display brightness values from the high brightness range. Alternatively, a number (which may be referred to as a preset number) may be pre-set, and selecting a display brightness value from the low brightness range may include selecting a preset number of display brightness values with lower display brightness values from the low brightness range, and selecting a display brightness value from the high brightness range may include selecting a preset number of display brightness values with higher display brightness values from the high brightness range.
[0091] For example, the mura image corresponding to the lowest display brightness value and the mura image corresponding to the highest display brightness value can be taken as a group of mura images. Taking 2nit-600nit as an example, 2nit is the lowest display brightness value and 600nit is the highest display brightness value. At this time, the mura image presented by the display panel when the DBV is 2nit and the mura image presented by the display panel when the DBV is 600nit can be taken as a group of mura images with a large difference.
[0092] In another example, mura images presented at various display brightness values are traversed to find multiple mura images with large differences (or multiple mura images with large differences in image information), and the multiple mura images with large differences are taken as a group of mura images.
[0093] For example, a pixel unit in a display panel includes a plurality of pixels. When the efficiency of a red pixel in a pixel unit is higher than that of a green pixel and that of a blue pixel, the pixel unit as a whole is reddish. When the efficiency of a green pixel in a pixel unit is higher than that of a red pixel and that of a blue pixel, the pixel unit as a whole is greenish. Taking the case where the image information includes the color of a mura image and the difference information includes the difference between the colors of a plurality of mura images as an example, the mura images presented under various display brightness values are traversed, and it is found that when the DBV is 2nit, the pixel units in the upper area of the display panel are reddish as a whole, and the pixel units in the lower area are greenish as a whole. If the DBV is 600nit, the pixel units in the upper area of the display panel are greenish as a whole, and the pixel units in the lower area are reddish as a whole, that is, the colors presented in the same area of the display panel under different DBVs are greatly different, and the difference information between the mura image presented by the display panel when the DBV is 2nit and the mura image presented by the display panel when the DBV is 600nit is greater than a preset difference range. Therefore, it can be considered that the difference information between the mura image presented by the display panel when the DBV is 2 nit and the mura image presented by the display panel when the DBV is 600 nit is greater than the above-mentioned preset difference range. Among them, the above-mentioned difference information of the color displayed by the pixel unit is only an example, and it can also be difference information such as the shape or size of the mura image.
[0094] Step 2: Then, for any group of mura images, adjust the grayscale value of each mura image in the group of mura images, take a photo of the mura image after adjusting the grayscale value to obtain a mura image corresponding to the grayscale value under a certain display brightness value. Further, save the mura image obtained by taking the photo.
[0095] In the embodiment of the present application, adjusting the grayscale value of each mura image in the group of mura images may include adjusting the grayscale value of the mura image to a preset grayscale value, and the preset grayscale value may be set as needed, for example, it may be a preset grayscale value or multiple grayscale values. It should be understood that when the preset grayscale value is one, a mura image corresponding to one grayscale value of the display brightness value may be obtained by taking a photo, and when the preset grayscale value is multiple, a mura image corresponding to multiple grayscale values of the display brightness value may be obtained by taking a photo.
[0096] Optionally, the preset grayscale value may be a low grayscale value, or a grayscale value less than a preset grayscale threshold value. The preset grayscale threshold value in the embodiment of the present application may be adjusted according to actual needs. For example, the preset grayscale value may include a low grayscale value in the grayscale value of 0-255, which may improve the efficiency of selecting the grayscale value to be compensated under different display brightness values. Alternatively, the preset grayscale value may include all grayscale values of 0-255 without limitation.
[0097] For example, when the mura image presented by the display panel when the DBV is 2nit and the mura image presented by the display panel when the DBV is 600nit are regarded as a group of mura images with a large difference, the DBV value of the display panel can be adjusted to 600nit, and the grayscale value can be adjusted at 600nit, and then the mura images under the preset grayscale value can be photographed respectively. Among them, grayscale values such as 16, 32, and 64 can be selected as preset grayscale values. After adjusting to the corresponding grayscale value, take a picture of the mura image presented at this time. After taking pictures of the mura image under 600nit, similarly, adjust the DBV value of the display panel to 2nit, and take pictures of the mura images under the preset grayscale value. For example, the preset grayscale value can also be 32, 64 grayscale, etc.
[0098] Step 3: Further, for a mura image corresponding to a grayscale value at any display brightness value obtained by taking a photo, a grayscale node value corresponding to each display brightness value is determined, and a brightness compensation scheme corresponding to a target grayscale node value at the display brightness value is determined.
[0099] For example, in step 2, a mura image corresponding to a grayscale value of the display brightness value is obtained by taking a picture, or a mura image corresponding to multiple grayscale values of the display brightness value. When there is a mura image corresponding to a grayscale value, the grayscale value is the grayscale node value corresponding to the display brightness value. When there are multiple mura images corresponding to grayscale values, the mura image corresponding to any grayscale value is checked, and one or more grayscale node values corresponding to the display brightness value are determined from the multiple grayscale values according to the difference information of the mura images corresponding to the respective grayscale values.
[0100] In the embodiment of the present application, the grayscale node value may be referred to as a demarcation point, wherein the grayscale node value here refers to the difference information between the mura image presented by the display panel when the grayscale value is less than the grayscale node value and the mura image presented by the display panel when the grayscale value is greater than the grayscale node value is greater than a certain preset difference range.
[0101] For example, the preset grayscale value is a grayscale value, such as 32 grayscale. When taking pictures, the mura image presented by the display panel at 32 grayscale at 2nit and the mura image presented by the display panel at 32 grayscale at 600nit can be obtained. 32 grayscale can be selected as the grayscale node value of 2nit, and 32 grayscale can be selected as the grayscale node value of 600nit.
[0102] For another example, the preset grayscale value is a plurality of grayscale values, such as grayscale 6 and 60. The mura images presented by the display panel at grayscale 6 and 60 at 2nit and the mura images presented by the display panel at grayscale 6 and 60 at 600nit are obtained by taking photos. The difference information between the mura image presented when the grayscale value is less than 60 at 2nit and the mura image presented when the grayscale value is greater than 60 is greater than the above-mentioned preset difference range, and the grayscale node value at 2nit is determined to be grayscale 60. The difference information between the mura image presented when the grayscale value is less than 6 at 600nit and the mura image presented when the grayscale value is greater than 6 is greater than the above-mentioned preset difference range, and the grayscale node value at 600nit is determined to be grayscale 6.
[0103] In the embodiment of the present application, when the display brightness value corresponds to multiple grayscale node values, the target grayscale value may be any grayscale node value of the multiple grayscale node values corresponding to the display brightness value, or optionally, the target grayscale value may be the grayscale node value corresponding to the mura image with the most serious mura phenomenon among the mura images corresponding to the multiple grayscale node values corresponding to the display brightness value. The brightness compensation scheme may be called a demura compensation scheme, which refers to the brightness compensation value of each pixel unit in the display panel calculated by the demura compensation algorithm.
[0104] Exemplarily, the brightness compensation scheme corresponding to the target grayscale node value under the display brightness value can be determined according to the following method: set the target brightness value of each pixel unit included in the display panel, obtain the actual brightness value of each pixel unit included in the display panel when displaying with the display brightness value and the target grayscale node value, for each pixel unit, calculate the difference (or called the offset) between the actual pixel value of the pixel unit and the target brightness value to obtain the brightness compensation value of the pixel unit, and then use the brightness compensation value of each pixel unit included in the display panel as the brightness compensation value corresponding to the target grayscale node value under the display brightness value.
[0105] In the embodiment of the present application, for the convenience of description, the brightness compensation scheme corresponding to the target grayscale node value under the display brightness value can replace the demura compensation scheme described as the generation of the mura image under the display brightness value. The demura compensation schemes for the generation of mura images under different brightness display values are different and can be distinguished by different names. For example, the demura compensation scheme for the generation of the mura image under 2nit can be called the first demura compensation scheme, and the demura compensation scheme for the generation of the mura image under 600nit can be called the second demura compensation scheme. Specifically, at 2nit, each pixel unit of the display panel at 32 grayscales corresponds to a target brightness value, and the brightness compensation value of each pixel unit is calculated based on the difference between the actual brightness value of each pixel unit and the target brightness value at this time. And, for the mura image presented by the display panel at 32 grayscales at 600nit, a corresponding demura compensation scheme (second compensation scheme) is generated.
[0106] Optionally, the electronic device can save the brightness compensation value corresponding to each pixel unit according to the position of each pixel unit in the display panel. Alternatively, the electronic device can generate a compensation image according to the brightness compensation value of each pixel unit, and then burn the generated compensation images corresponding to the above two display brightness values into the random access memory (Random Access Memory, RAM) of the integrated circuit (IC) chip.
[0107] Step 4: According to the mura image presented by the display panel at different display brightness values, the display brightness value can be divided into multiple brightness intervals, and then, for each brightness interval in the multiple brightness intervals, the grayscale node value corresponding to each brightness interval is determined, and multiple grayscale intervals are obtained according to the grayscale node values corresponding to the brightness intervals, and a brightness compensation scheme (or compensation scheme or demura compensation scheme) corresponding to each grayscale interval is determined, wherein the grayscale node value corresponding to each display brightness value is obtained according to step 3.
[0108] In an embodiment of the present application, the brightness interval includes multiple display brightness values. The difference information of the mura image displayed on the display panel with the display brightness value within the same brightness interval is within the preset difference range. In other words, the mura images displayed with the display brightness value within the same brightness interval are basically the same and there will be no significant difference. The preset difference range can be set as needed without restriction. Because the grayscale node values corresponding to the same or similar mura images can be the same, the grayscale node values corresponding to different display brightness values within the same brightness interval are the same. At this time, the grayscale node values corresponding to different display brightness values in the brightness interval can be called the grayscale node values corresponding to the brightness interval.
[0109] In an embodiment of the present application, the preset grayscale value range can be divided into different grayscale intervals by taking the grayscale node values corresponding to the display brightness values included in the same brightness interval as demarcation points. Optionally, the grayscale value range can be a preset grayscale range of 0-255. Specifically, the grayscale range of 0-255 can be divided into multiple grayscale intervals by taking the grayscale node values as demarcation points in the order of the grayscale range of 0-255 from small to large. For example, if the grayscale node values corresponding to the brightness intervals are 60 and 80, then the grayscale intervals composed of the grayscale node values are 0-60, 61-79, and 80-255.
[0110] In the present application, for any brightness interval, the image information of the mura image corresponding to the first grayscale interval corresponding to the brightness interval is compared with the image information of the mura image corresponding to the target grayscale node value of each display brightness value obtained in step 3, and the brightness compensation value corresponding to the target grayscale node value of the display brightness value with the smallest difference is used as the brightness compensation value of the first grayscale interval. For example, in step 3, the first brightness compensation scheme corresponding to the target grayscale node value of the first display brightness value and the second brightness compensation scheme corresponding to the target grayscale node value of the second display brightness value are obtained. At this time, the difference between the image information of the mura image corresponding to the first grayscale interval and the mura image corresponding to the target grayscale node value of the first display brightness value (which can be called the first difference) and the difference between the image information of the mura image corresponding to the first grayscale interval and the mura image corresponding to the target grayscale value of the second display brightness value (which can be called the second difference) can be compared. If the first difference is greater than the second difference, the brightness compensation value indicated by the second brightness compensation scheme is used as the brightness compensation value corresponding to the first grayscale interval. If the first difference is less than the second difference, the brightness compensation value indicated by the first brightness compensation scheme is used as the brightness compensation value of the first grayscale interval.
[0111] The above process can be understood as follows: when selecting the corresponding brightness compensation value for the first grayscale interval, the mura image presented by the display panel in the first grayscale interval is compared with the mura image presented by the display panel at the preset grayscale of the first display brightness value and the mura image presented by the display panel at the preset grayscale of the second display brightness value. If the mura image presented by the display panel in the first grayscale interval is closer to the mura image presented by the display panel at the preset grayscale of the first display brightness value, then the brightness compensation value corresponding to the first grayscale interval is the brightness compensation value corresponding to the first compensation scheme. If the mura image presented by the display panel in the first grayscale interval is closer to the mura image presented by the display panel at the preset grayscale of the second display brightness value, then the brightness compensation value corresponding to the first grayscale interval is the brightness compensation value corresponding to the second compensation scheme.
[0112] Among them, the first grayscale interval may include a grayscale interval consisting of a first grayscale node value and a minimum grayscale value within the total grayscale range, and a grayscale interval consisting of a second grayscale node value and a maximum grayscale value within the total grayscale range, the first grayscale value is less than the second grayscale value, and the first grayscale interval may include one or more grayscale intervals. For ease of description, in the case of including one grayscale interval, the grayscale interval may be referred to as the first grayscale interval, and in the case of including multiple grayscale intervals, such as including two grayscale intervals, the two grayscale intervals may be referred to as the first grayscale interval and the second grayscale interval, respectively, without limitation.
[0113] Furthermore, for the grayscale interval other than the first grayscale interval corresponding to the same brightness interval (which can be called the third grayscale interval), a fitting function related to the grayscale value and the brightness compensation value can be obtained according to the brightness compensation value of the first grayscale interval, the grayscale value of the first grayscale interval and the brightness compensation value of the second grayscale interval, thereby calculating the brightness compensation value of each pixel unit in the display panel within the third grayscale interval (third compensation scheme).
[0114] Thus, the above method can sequentially select matching brightness compensation values for display panels in different grayscale intervals in the same brightness interval. Similarly, matching brightness compensation values can be sequentially selected for display panels in different grayscale intervals in each brightness interval.
[0115] For example, if the grayscale node values corresponding to the brightness interval are 60 and 80, then the grayscale intervals composed of the grayscale node values are 0-60, 61-79, and 80-255. The above three grayscale intervals correspond to different brightness compensation schemes. Let the grayscale interval with the smallest grayscale value be the first grayscale interval, let the grayscale interval with the largest grayscale value be the second grayscale interval, and the grayscale interval in the middle be the third grayscale interval. If the grayscale value of the picture to be displayed on the display panel is within the first grayscale interval, the first compensation scheme for the display panel under low brightness can be selected. If the grayscale value of the picture to be displayed on the display panel is within the third grayscale interval, the first compensation scheme for the display panel under high brightness can be selected.
[0116] In the embodiment of the present application, the smaller the display brightness value within the brightness interval, the larger the proportion of the first grayscale interval corresponding to the brightness interval in the total grayscale range; the smaller the display brightness value within the brightness interval, the smaller the proportion of the second grayscale interval corresponding to the brightness interval in the total grayscale range.
[0117] Take DBV as 2nit as an example, where, since the corresponding compensation image when DBV is 2nit is brightness compensation for low-brightness mura images, then, when the display panel is at a smaller DBV value, the brightness compensation for mura images is more consistent with the effect of the compensation image corresponding to DBV 2nit. Therefore, the smaller the DBV value in the brightness range, the display panel will perform brightness compensation in a larger grayscale range through the compensation image corresponding to DBV 2nit. That is, the grayscale interval of the compensation image corresponding to DBV 2nit is selected to account for a larger proportion in the total grayscale range. The larger the DBV value in the brightness range, the display panel will perform brightness compensation on the display panel through the compensation image corresponding to DBV 2nit in a smaller grayscale range. That is, the grayscale interval of the compensation image corresponding to DBV 2nit is selected to account for a smaller proportion in the total grayscale range. Therefore, since the grayscale interval corresponding to the first compensation scheme is composed of the grayscale node and the minimum grayscale value in the total grayscale range, the grayscale node value corresponding to the first compensation scheme is smaller in the brightness interval corresponding to the larger display brightness value. For example, assuming that the display brightness value of the first brightness interval is less than the display brightness value of the second brightness interval, if the grayscale node value corresponding to the first compensation scheme in the first brightness interval is 60, then the grayscale node value corresponding to the first compensation scheme in the second brightness interval may be 20. It can be known that the proportion of the first grayscale interval 0-60 in the total grayscale range is greater than the proportion of the second grayscale interval 0-200 in the total grayscale range.
[0118] Take DBV as 600nit as an example, where, since the compensation image corresponding to DBV of 600nit is brightness compensation for high-brightness mura images, then, when the DBV value of the display panel is larger, the brightness compensation for mura images is more consistent with the effect of the compensation image corresponding to DBV of 600nit. Therefore, the larger the DBV brightness value in the brightness interval, the display panel will perform brightness compensation in a larger grayscale range through the compensation image corresponding to DBV of 600nit. That is, the grayscale interval of the compensation image corresponding to DBV of 600nit is selected to account for a larger proportion in the total grayscale range. Therefore, since the grayscale interval corresponding to the second compensation scheme is composed of the grayscale node and the maximum grayscale value within the total grayscale range, the larger the display brightness value is, the smaller the grayscale node value corresponding to the second compensation scheme is. For example, assuming that the display brightness value of the first brightness interval is less than the display brightness value of the second brightness interval, if the grayscale node value corresponding to the second compensation scheme in the first brightness interval is 80, the grayscale node value corresponding to the second compensation scheme in the second brightness interval can be 32. It can be known that the proportion of the second grayscale range 80-255 in the total grayscale range is smaller than the proportion of the second grayscale range 32-255 in the total grayscale range.
[0119] It can be understood that the calculation of the brightness compensation scheme in the above steps 1-4, the setting of the grayscale node values corresponding to different brightness intervals, and the setting of the brightness compensation scheme corresponding to different grayscale intervals are all factory settings of the electronic device.
[0120] See also Figure 3 , Figure 3 Schematic diagram of a dynamic grayscale node provided in an embodiment of the present application. Figure 3 As shown, the electronic device chooses to first perform demura compensation on the mura presented by the display panel at 2 nits and 600 nits. The electronic device takes pictures of the mura presented by the display panel at preset grayscale values with DBV values of 2nit and 600nit, and calculates the mura compensation value of each pixel unit in the display panel through the demura algorithm. Among them, two compensation images can be generated according to the mura compensation value of each pixel unit in the display panel, set as demuramap, i.e. offset1 and offset2 in the figure. Offset1 corresponds to the compensation image of the display panel at 2nit, and offset2 corresponds to the compensation image of the display panel at 600nit. Among them, the vertical axis is the display brightness value DBV, and the horizontal axis is the grayscale value.
[0121] like Figure 3As shown, the display brightness value of the display panel can be divided into 4 brightness intervals, which are set as the first brightness interval, the second brightness interval, the third brightness interval and the fourth brightness interval according to the display brightness values included in the brightness interval from small to large. In the first brightness interval, the grayscale node value corresponding to 2 nits is 60, and the grayscale node value corresponding to 600 nits is 80. In the second brightness interval, the grayscale node value corresponding to 2 nits is 20, and the grayscale node value corresponding to 600 nits is 32. In the third brightness interval, the grayscale node value corresponding to 2 nits is 11, and the grayscale node value corresponding to 600 nits is 16. In the fourth brightness interval, the grayscale node value corresponding to 2 nits is 4, and the grayscale node value corresponding to 600 nits is 6. That is to say, when it is detected that the display brightness value is within the first brightness interval, if the calculated grayscale value at this time is not greater than 60 (set as the first grayscale interval), then the IC of the electronic device will select the compensation scheme corresponding to offset1 to compensate the brightness of the display panel. If the calculated grayscale value is not less than 80 (set as the second grayscale interval), the IC of the electronic device will select the compensation scheme corresponding to offset2 to perform brightness compensation on the display panel.
[0122] Among them, if the grayscale value is between two grayscale node values, for example, in the first brightness interval, the grayscale value is greater than 60 and less than 80 (set as the third grayscale interval). Then, the electronic device can obtain a fitting function related to the grayscale value and the brightness compensation value according to the brightness compensation value of the first grayscale interval, the grayscale value of the first grayscale interval and the brightness compensation value of the second grayscale interval, and the grayscale value of the second grayscale interval, so as to calculate the brightness compensation value of each pixel unit in the display panel in the third grayscale interval. Therefore, when it is detected that the display brightness value is within the first brightness interval, if the calculated grayscale value at this time is greater than 60 and less than 80, the IC of the electronic device will select the fitted brightness compensation value scheme (third compensation scheme) to perform brightness compensation on each pixel unit in the display panel.
[0123] Depend on Figure 3 It can be seen that for offset1, the smaller the DBV value, the larger the proportion of the corresponding grayscale interval in the grayscale value; for offset2, the larger the DBV value, the larger the proportion of the corresponding grayscale interval in the grayscale value. It can be understood that the division of brightness intervals and the corresponding grayscale node values here are only examples.
[0124] Furthermore, the mapping relationship between each brightness interval and the corresponding grayscale node value and the brightness compensation scheme (or compensation scheme or demura compensation scheme) corresponding to each grayscale interval can be pre-stored in the electronic device, such as in a storage module of the electronic device.
[0125] The above describes the process of generating and storing the compensation scheme of the mura image corresponding to the grayscale value under the display brightness value. In the embodiment of the present application, after presetting each brightness interval and the corresponding grayscale node value, when the subsequent display panel displays the picture, the corresponding compensation scheme can be selected according to the display brightness value and the grayscale value to perform brightness compensation on the display panel and then display it, eliminating the phenomenon of uneven display brightness of the display panel. Among them, the mapping relationship between the above-mentioned pre-set brightness intervals and the corresponding grayscale node values can be stored in the storage module in the electronic device. When the current display brightness value of the display panel changes across intervals, the electronic device can select the corresponding grayscale node value from the mapping relationship according to the current brightness interval, and then rewrite the grayscale node value into the RAM. Thus, the IC chip can select the corresponding brightness compensation scheme according to the grayscale interval where the grayscale value of the image to be displayed is located. Among them, the grayscale interval here is divided according to the rewritten grayscale node value, and each brightness compensation scheme has been stored in the RAM.
[0126] See also Figure 4 , Figure 4 1 is a flow chart of a brightness compensation method for a display panel provided in an embodiment of the present application. Figure 4 As shown, the brightness compensation method may include S401-S403.
[0127] S401: When detecting that the display panel is displaying at the current display brightness value, the electronic device determines a brightness interval in which the current display brightness value is located.
[0128] In the embodiment of the present application, the display brightness value can be understood as the backlight brightness of the display panel of the electronic device, that is, the display brightness value DBV can be used to represent the backlight brightness of the display panel. The backlight brightness of the display panel of the electronic device can be adjusted, for example, from a first display brightness value to a second display brightness value, etc.
[0129] Among them, the current display brightness value described in the present application can be an initialized display brightness value, or it can be an adjusted display brightness value, for example, it can be a display brightness value obtained by adjusting the previous display brightness value. In the case where the current display brightness value is an adjusted display brightness value, the electronic device can adjust the display brightness value of the display panel in response to the user's instruction to adjust the display brightness value. Alternatively, when the ambient brightness of the electronic device changes, the electronic device automatically adjusts the display brightness value of the display panel. For example, when a user walks from indoors to outdoors, the ambient brightness of the electronic device held by the user will change, and the electronic device will trigger the process of adjusting the display brightness value.
[0130] Optionally, when the current display brightness value is the adjusted display brightness value, the electronic device detects whether the display brightness value changes across intervals after detecting that the display panel displays at the current display brightness value. For example, suppose that the electronic device divides the display brightness value into a first brightness interval (1 nit-240 nits), a second brightness interval (241 nits-666 nits), and a third brightness interval (667 nits-1284 nits) according to the mura image presented by the display panel at different display brightness values. Specifically, the division of the brightness intervals can refer to the above step 4 and will not be repeated. If it is detected that the current display brightness value of the display panel changes from 200 nits to 400 nits, then the display brightness value of the display panel changes across intervals, that is, from the first brightness interval to the second brightness interval.
[0131] Then, the electronic device determines the brightness interval in which the current display brightness value is located, and executes step S402.
[0132] S402: The electronic device determines a corresponding grayscale interval according to the brightness interval.
[0133] In the embodiment of the present application, since the grayscale node values corresponding to each brightness interval have been pre-set, the grayscale interval can be determined according to the grayscale node values. Specifically, the grayscale interval corresponding to the brightness interval can be determined with reference to the method described in step 4 above. For example, assuming that the grayscale node values corresponding to the first brightness interval can be 30 and 72, then the corresponding grayscale intervals composed of the grayscale node values are 0-30 (grayscale interval 1), 31-71 (grayscale interval 2) and 72-255 (grayscale interval 3). assuming that the grayscale node values corresponding to the second brightness interval can be 24 and 31, then the corresponding grayscale intervals composed of the grayscale node values are 0-24 (grayscale interval 1), 25-30 (grayscale interval 2) and 31-255 (grayscale interval 3). assuming that the grayscale node values corresponding to the third brightness interval can be 5 and 24, then the corresponding grayscale intervals composed of the grayscale node values are 0-5 (grayscale interval 1), 6-23 (grayscale interval 2) and 24-255 (grayscale interval 3).
[0134] Among them, grayscale interval 1 corresponds to the first compensation scheme, grayscale interval 3 corresponds to the second compensation scheme, and grayscale interval 2 corresponds to the third compensation scheme. Among them, the compensation scheme here refers to the brightness compensation value corresponding to each pixel unit in the display panel. For the specific determination of each compensation scheme, please refer to the determination steps of the first compensation scheme, the second compensation scheme and the third compensation scheme in the above embodiment.
[0135] It can be known that different brightness intervals correspond to different grayscale intervals, and different grayscale intervals within the same brightness interval correspond to different brightness compensation values. The brightness compensation value is the difference between the current brightness value of each pixel unit in the display panel in the grayscale interval and the target brightness value.
[0136] S403: The electronic device obtains the grayscale value of the image to be displayed on the display panel, and compensates each pixel unit in the display panel according to the brightness compensation value corresponding to the grayscale interval where the grayscale value is located.
[0137] In the embodiment of the present application, the electronic device obtains the grayscale value of the image to be displayed on the display panel, that is, the image processing module in the IC of the electronic device can calculate the grayscale value of the image to be displayed on the display panel. Among them, the average value of the grayscale value of each pixel unit in the display panel can be calculated as the grayscale value of the image to be displayed on the display panel. Then, the IC of the electronic device selects the corresponding compensation scheme according to the grayscale interval where the current grayscale value is located, and compensates each pixel unit in the display panel.
[0138] For example, assuming that the grayscale node values corresponding to the second brightness interval can be 24 and 31, then the corresponding grayscale intervals that can be formed by the grayscale node values are 0-24 (grayscale interval 1), 25-30 (grayscale interval 2) and 31-255 (grayscale interval 3). If the electronic device detects that the display brightness value of the display panel changes from 200 nits to 400 nits, then the display brightness value of the display panel changes from the first brightness interval to the second brightness interval. If the electronic device calculates that the current grayscale value of the display panel is 20, then the grayscale interval is grayscale interval 1. The electronic device can then select the first compensation scheme corresponding to grayscale interval 1, obtain the brightness compensation value corresponding to each pixel unit in the display panel, and perform brightness compensation on each pixel unit in the display panel. Finally, the electronic device drives the display panel to display the brightness compensated picture.
[0139] In the embodiment of the present application, in order to ensure that the display brightness value matches the brightness compensation scheme, that is, to ensure that the display brightness value matches the grayscale node value corresponding to the brightness interval in which it is located, the display driver of the electronic device sends the current display brightness value and the grayscale node value corresponding to the brightness interval in which the current display brightness value is located in the same frame to the IC, such as the image processing module in the IC. Among them, it can be sent together by packaging the current display brightness value and the grayscale node value corresponding to the brightness interval in which the current display brightness value is located, and the packaging here means that the current display brightness value and the grayscale node value corresponding to the brightness interval in which the current display brightness value is located are placed in the same code package, and by sending the code package, the current display brightness value and the grayscale node value corresponding to the brightness interval in which the current display brightness value is located can be sent to the IC together in the same frame. Thus, it can be ensured that the display driver of the electronic device simultaneously sends the current display brightness value and the grayscale node value corresponding to the brightness interval in which the current display brightness value is located, so that the current display brightness value and the grayscale node value corresponding to the brightness interval in which the current display brightness value is located take effect when displaying the same frame image.
[0140] It can be understood that the current display brightness value and the grayscale node value corresponding to the brightness range where the current display brightness value is located are packaged and sent together. This is just an implementation method to ensure that the display brightness value and the grayscale node value corresponding to the brightness range where the display brightness value is located are effective when displaying the same frame image. The present application does not impose any restrictions on this, as long as it can ensure that the display brightness value and the grayscale node value are effective when displaying the same frame image.
[0141] At the same time, the display brightness value and the grayscale node value (which can be called demura node) corresponding to the brightness range of the display brightness value will have inconsistent effective time after being sent in the same frame. Figure 5As shown, the demura node will take effect immediately after being sent, while the display brightness value DBV will take effect when the vertical synchronization (vertical synchronization, Vsync) signal is sent, so that the display brightness value and the demura interval will not match, and there will be a problem that part of the displayed image uses the previous demura interval, and the other part of the image uses the next part of the demura interval. Among them, the Vsync signal is a signal used to indicate the end of the scan of the previous image frame and the start of the scan of the next image frame. Specifically, since the application processor (such as AP) cannot change the grayscale node value in RAM when sending the image data of the image frame to the IC (which can be called sending the image), after the AP sends the image frame, the IC can change the grayscale node value in RAM according to the sent display brightness value. Therefore, if the display brightness value is sent at a low level, the IC is reading the image data from the RAM and displaying it on the display panel, then it may cause a part of the displayed image to use the demura interval corresponding to the unchanged grayscale node value (or called the previous demura interval), and the other part of the image uses the demura interval corresponding to the changed grayscale node value in RAM.
[0142] Therefore, in order to solve the above problem, the display driver of the electronic device not only sends the display brightness value and the grayscale node value corresponding to the grayscale interval where the display brightness value is located at the same time, but also sends them synchronously with the TE signal, such as Figure 6 That is, the display brightness value and the grayscale node value corresponding to the grayscale interval where the display brightness value is located are sent down when the Vsync signal is on, and the display brightness value and the grayscale node value corresponding to the grayscale interval where the display brightness value is located are not sent down when the low level is on.
[0143] Among them, the demura node here is the grayscale node value, and the demura interval is the grayscale interval composed of demura nodes. Every time the display brightness value of the display panel changes across intervals, the electronic device will determine the grayscale node value corresponding to the brightness interval where the current display brightness value is located from the storage module that pre-stores the mapping relationship between the brightness interval and the grayscale node value, and re-write the updated grayscale node value into the RAM. The IC of the electronic device can judge the updated grayscale node value based on the current grayscale value, select the corresponding brightness compensation scheme to compensate the brightness of each pixel unit in the display panel, and eliminate the phenomenon of uneven brightness when the display panel displays an image.
[0144] Combine the following Figure 7 Taking the current display brightness value as the adjusted display brightness value, that is, the display brightness value of the electronic device crosses the interval brightness as an example, an adjustment of the grayscale node value provided by the present application is introduced. Figure 7In a flowchart of adjusting the grayscale node value shown, the electronic device adjusts the backlight value (display brightness value), and before the display driver of the electronic device sends the updated backlight value, it is determined whether the backlight value crosses the brightness interval. If the backlight value crosses the brightness interval, the electronic device obtains the new grayscale node value corresponding to the new brightness interval where the backlight value is located, and after packaging with the backlight value, it is sent to the kernel layer synchronously with the TE signal. Then, the electronic device can judge according to the current grayscale value of the display panel and the updated grayscale node value, and select the corresponding brightness compensation scheme to perform brightness compensation on each pixel unit in the display panel. If the backlight value does not cross the interval, the electronic device can normally obtain the grayscale node value corresponding to the brightness interval where the backlight value is located, judge according to the current grayscale value of the display panel and the grayscale node value already written in the RAM, and select the corresponding brightness compensation scheme to perform brightness compensation on each pixel unit in the display panel. At this time, the new grayscale node value does not need to be rewritten in the RAM of the electronic device, and can be directly judged according to the current grayscale value of the display panel and the grayscale node value previously stored in the RAM.
[0145] In summary, a brightness compensation method for a display panel provided by an embodiment of the present application can be achieved by pre-dividing the display brightness value of the display panel into multiple brightness intervals, setting different grayscale node values for different brightness intervals, and setting corresponding different brightness compensation values for each grayscale interval composed of grayscale node values in the same brightness interval. Among them, the brightness of the display panel is represented by the display brightness value of the display panel. Among them, the electronic device can calculate the brightness compensation values corresponding to different display brightness values for the display panel with a preset grayscale value through the demura algorithm according to at least two different display brightness values pre-selected. Thus, after adjusting the display brightness value, the electronic device can determine the corresponding grayscale node value according to the brightness interval where the current display brightness value is located, that is, determine the brightness compensation values corresponding to different grayscale intervals composed of corresponding grayscale node values under the brightness interval. Then, the electronic device selects the corresponding brightness compensation value according to the grayscale interval where the current grayscale value is located to perform brightness compensation on each pixel unit in the display panel, which can eliminate the uneven brightness display of the display panel.
[0146] See also Figure 8 , Figure 8 A software flow chart for adjusting grayscale node values provided in an embodiment of the present application. The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, from top to bottom, they may be an application layer, an application framework layer, a hardware abstraction layer, and a kernel layer.
[0147] The application layer can include a series of application packages.
[0148] like Figure 8 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications. When the application layer detects that the backlight brightness has changed, it initiates the process of adjusting the backlight to the application framework layer, the hardware abstraction layer and the kernel layer.
[0149] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 8 As shown, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, an activity manager, an input manager, and the like.
[0150] The hardware abstraction layer runs in user space, encapsulates kernel layer drivers, and serves as an interface layer between the framework layer and the kernel layer.
[0151] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver. The display driver in the kernel layer adjusts the backlight value and drives the display screen to display the picture.
[0152] The present application also provides a chip system, such as Fig. 9 As shown, the chip system 90 includes at least one processor 901 and at least one interface circuit 902. The processor 901 and the interface circuit 902 can be interconnected via lines. For example, the interface circuit 902 can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit 902 can be used to send signals to other devices (such as the processor 901). Exemplarily, the interface circuit 902 can read instructions stored in the memory and send the instructions to the processor 901. When the instructions are executed by the processor 901, the electronic device can execute the various steps in the above embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiments of the present application.
[0153] An embodiment of the present application also provides a computer storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the mobile phone in the above-mentioned method embodiment.
[0154] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute each function or step executed by the mobile phone in the above method embodiment.
[0155] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0156] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0157] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0158] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0159] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0160] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A brightness compensation method for a display panel, characterized in that: include: When it is detected that the display panel displays the image to be displayed at the current display brightness value, determining the brightness interval in which the current display brightness value is located; wherein the difference information of the mura image presented on the display panel at the display brightness values in the same brightness interval is within a first preset difference range; Determine a grayscale interval corresponding to the brightness interval; wherein the grayscale interval corresponding to the brightness interval is determined according to a grayscale node value corresponding to the brightness interval, different brightness intervals correspond to different grayscale node values, different grayscale intervals correspond to different brightness compensation values, and the brightness compensation value is a difference between an actual brightness value of each pixel unit in the display panel in the corresponding grayscale interval and a target brightness value; The grayscale value of the image to be displayed is obtained, and each pixel unit in the display panel is compensated according to the brightness compensation value corresponding to the grayscale interval where the grayscale value is located.
2. The method according to claim 1, characterized in that The display panel is preliminarily provided with brightness compensation values corresponding to target grayscale node values of a plurality of display brightness values, and the brightness interval corresponds to a first grayscale interval and a second grayscale interval; The brightness compensation value corresponding to the first grayscale interval corresponds to the brightness compensation value corresponding to the target grayscale node value of the first display brightness value among the multiple display brightness values, and the difference between the image information of the mura image corresponding to the first grayscale interval and the image information of the mura image corresponding to the target grayscale node value of the first display brightness value is minimal; The brightness compensation value corresponding to the second grayscale interval is the brightness compensation value corresponding to the target grayscale node value of the second display brightness value among the multiple display brightness values, and the difference between the image information of the mura image corresponding to the second grayscale interval and the image information of the mura image corresponding to the target grayscale node value of the second display brightness value is minimal.
3. The method according to claim 2, characterized in that The brightness interval also includes a third grayscale interval, the grayscale value in the third grayscale interval is greater than the grayscale value in the first grayscale interval, and the grayscale value in the third grayscale interval is less than the grayscale value in the second grayscale interval; The brightness compensation scheme corresponding to the third grayscale interval is obtained by analyzing the brightness compensation value of the first grayscale interval, the grayscale value of the first grayscale interval, the brightness compensation value of the second grayscale interval, and the grayscale value of the second grayscale interval using a brightness compensation value fitting curve, wherein the brightness compensation value fitting curve is used to indicate the trend of the brightness compensation value changing with the grayscale interval.
4. The method according to claim 2 or 3, characterized in that: The display panel corresponds to a mura image presented at the multiple display brightness values; the multiple display brightness values include the first display brightness value and the second display brightness value; wherein the difference information between the mura image presented by the display panel at the first display brightness value and the mura image presented at the second display brightness value is greater than a second preset difference range, and the second display brightness value is greater than the first display brightness value; The target grayscale node value of the first display brightness value corresponds to a brightness compensation value obtained by performing brightness compensation on the display panel at the target grayscale node value of the first display brightness value; The brightness compensation value corresponding to the target grayscale node value of the second display brightness value is obtained by performing brightness compensation on the display panel at the target grayscale node value of the second display brightness value.
5. The method according to any one of claims 1 to 4, characterized in that: The brightness interval corresponds to a first grayscale interval and a second grayscale interval; The smaller the display brightness value within the brightness interval, the larger the proportion of the first grayscale interval corresponding to the brightness interval in the total grayscale range; the smaller the display brightness value within the brightness interval, the smaller the proportion of the second grayscale interval corresponding to the brightness interval in the total grayscale range.
6. The method according to any one of claims 1 to 5, characterized in that: The compensating each pixel unit in the display panel according to the brightness compensation value corresponding to the grayscale interval where the grayscale value is located includes: If the grayscale value is in a first grayscale interval corresponding to the brightness interval, each pixel unit in the display panel is compensated according to a first brightness compensation value corresponding to the first grayscale interval; If the grayscale value is in a second grayscale interval corresponding to the brightness interval, each pixel unit in the display panel is compensated according to a second brightness compensation value corresponding to the second grayscale interval; If the grayscale value is in a third grayscale interval corresponding to the brightness interval, each pixel unit in the display panel is compensated according to a third brightness compensation value corresponding to the third grayscale interval.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to the scan start signal of the image to be displayed, the current display brightness value and the grayscale node value corresponding to the current display brightness value are packaged together and sent to the display driver of the electronic device.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: In response to a user's instruction to adjust the display brightness value of the display panel, detecting the current display brightness value of the display panel; the adjustment instruction is used to instruct the current display brightness value of the display panel to change across intervals; or, When it is detected that the ambient light brightness of the display panel changes, the current display brightness value of the display panel is detected.
9. The method according to any one of claims 1 to 8, characterized in that: After obtaining the grayscale value of the image to be displayed on the display panel and compensating each pixel unit in the display panel according to the brightness compensation value corresponding to the grayscale interval where the grayscale value is located, the method further includes: The display panel is driven to display the image to be displayed.
10. An electronic device, characterized in that: The electronic device comprises: a display screen, a memory and one or more processors; the display screen comprises a display panel; the display screen, the memory and the processor are coupled; the memory is used to store computer program code, and the computer program code comprises computer instructions, and when the computer instructions are executed by the electronic device, the electronic device executes the method as described in any one of claims 1 to 9.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed in an electronic device, the electronic device executes the method according to any one of claims 1 to 9.
Citation Information
Cited By
Defect compensation method and device of display panel, electronic equipment and storage medium
CN120913507A
Defect compensation method and device of display panel, electronic equipment and storage medium
CN120913507B
Display panel brightness compensation method and electronic device
EP4708270A1
Display panel brightness compensation method and electronic device
WO2025025592A1