Display method for display screen, device, and system
By using multi-grayscale compensation parameters and extended models for grayscale expansion in electronic devices, the problems of uneven brightness and color shift in electronic device screen display are solved, thus improving the user experience.
Patent Information
- Application Number
- PCT/CN2025/070242
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-17
- Filing Date
- 2025-01-02
- Publication Date
- 2025-10-23
AI Technical Summary
Existing electronic devices suffer from uneven brightness and color deviation (such as appearing green or blue) when displaying images, which affects the user experience.
The method involves storing multiple reference grayscale and extended grayscale compensation parameters in a unit or module with greater storage capacity (such as an application processor or memory), and then performing grayscale extension through an extended model to achieve grayscale compensation for the image, covering more grayscale and brightness scenes.
The color and brightness of the displayed image have been improved to meet both subjective visual effects and objective performance requirements, thereby enhancing the user's visual experience.
Smart Images

Figure CN2025070242_23102025_PF_FP_ABST
Abstract
Description
Display method, device and system of display screen
[0001] The present application claims priority to the Chinese patent application No. 202410479231.9, filed on April 17, 2024, and entitled "Display method, device and system of display screen", the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The present application relates to the technical field of display, in particular to a display method, device and system of display screen. BACKGROUND
[0003] At present, the use of electronic devices with picture display function such as smart phones is more and more widely, when the screen of the electronic device displays a picture, the screen backlight can usually automatically adjust the screen brightness according to the brightness of the light source in the environment where the user is located, wherein the screen backlight covers medium, high and low brightness scenes, and the gray scale of the picture displayed by the screen also includes different scenes such as medium, high and low brightness. At present, when the screen of the electronic device displays a picture, there are often problems such as uneven brightness, color deviation (such as green, blue, etc.) and the like, which affect the user experience. SUMMARY
[0004] The present application provides a display method, device and system of display screen, which can solve the problems such as uneven brightness, color deviation (such as green, blue, etc.) and the like that exist when the screen of the electronic device displays a picture, and ensure better visual experience for the user during using the electronic device.
[0005] To achieve the above-mentioned purpose, the present application adopts the following technical solutions:
[0006] In a first aspect, a display method of a display screen is provided. The method can be applied to electronic devices such as tablet computers, mobile phones, etc. The method can include: an electronic device displays a first interface, obtains a screen brightness value, and determines that a gray scale corresponding to a pixel to be compensated in the first interface is a target gray scale; the electronic device determines a compensation parameter of the target gray scale according to the screen brightness value and compensation data, wherein the compensation data includes compensation parameters of a plurality of reference gray scales and a compensation parameter of at least one extended gray scale, and the compensation parameter of the at least one extended gray scale is determined according to the compensation parameters of the plurality of reference gray scales; the electronic device obtains a second interface by performing gray scale compensation on the pixel to be compensated according to the compensation parameter of the target gray scale; and the electronic device displays the second interface.
[0007] The screen brightness value is used to represent the screen brightness of the electronic device. For example, the screen brightness value can be the luminance value of the screen display panel or the luminance value of the backlight panel (or backlight module), etc., without limitation.
[0008] Exemplarily, the pixels to be compensated in the first interface are pixels whose color / display brightness cannot meet preset requirements in the first interface. The evaluation criteria for the pixels to be compensated are not limited.
[0009] According to the scheme provided by the first aspect, the electronic device can compensate one or more gray scales corresponding to the pixels to be compensated in the first interface according to the actual screen brightness value and the saved compensation data. Since the compensation data includes compensation parameters of multiple reference gray scales and compensation parameters of at least one extended gray scale obtained by extending the existing compensation parameters of the multiple reference gray scales through the extension parameter, the scheme can not only solve the problems such as uneven brightness, color deviation (such as greenish and bluish), and the like of the screen of the electronic device when displaying a picture, but also cover various gray scales in various scenarios and improve the accuracy of the compensation result in each brightness and each gray scale, so that the color and display brightness of the display picture meet the subjective visual effect and objective index requirements and improve the user visual experience.
[0010] As a possible implementation, the method further includes: the electronic device obtaining compensation parameters of multiple reference gray scales and an extension parameter, where the extension parameter is used to obtain compensation parameters of an extended gray scale through calculation with the compensation parameters of the multiple reference gray scales. Based on this, the electronic device can calculate the compensation parameters of the multiple reference gray scales based on the extension parameter to perform gray scale extension, meet various gray scale compensation requirements of the electronic device, and make the color and display brightness of the display picture meet the subjective visual effect and objective index requirements in various scenarios and improve the user visual experience.
[0011] As a possible implementation, the extension parameter includes multiple extension parameters under the screen brightness value, and different extension parameters are used to obtain compensation parameters of different extended gray scales through calculation with the compensation parameters of the multiple reference gray scales. Based on this, the electronic device can calculate the compensation parameters of the multiple reference gray scales based on the extension parameter to perform gray scale extension, meet various gray scale compensation requirements of the electronic device under the screen brightness value, and make the color and display brightness of the display picture meet the subjective visual effect and objective index requirements in various scenarios and improve the user visual experience.
[0012] As a possible implementation, the extension parameters corresponding to the same extended gray scale are different under different screen brightness values. Based on this, reliable gray scale compensation can be ensured under different screen brightness values, and thus a meeting effect meeting the subjective visual effect and objective index requirements can be obtained.
[0013] As a possible implementation manner, the expansion parameter includes a plurality of weight value groups corresponding to the screen brightness value, and different weight value groups are used to calculate the compensation parameters of different expansion gray scales by weighting the compensation parameters of the plurality of reference gray scales, and the weight value group includes a plurality of weight values corresponding to the plurality of reference gray scales respectively. Based on this, the gray scale expansion can be supported by weighting the plurality of reference gray scales, the reliability of the compensation parameters of the expanded gray scales is improved, reliable gray scale compensation can be obtained under different screen brightness values, and then the meeting effect meeting the subjective visual effect and objective index requirements can be obtained.
[0014] As a possible implementation manner, the expansion parameter includes a weight value group corresponding to the at least one expansion gray scale respectively, and the method further includes: calculating the compensation parameters of the at least one expansion gray scale by weighting the compensation parameters of the plurality of reference gray scales according to the expansion parameter. Based on this, the gray scale expansion can be performed by calculating the compensation parameters of the plurality of reference gray scales based on the expansion parameter, and various gray scale compensation requirements of the electronic device can be met.
[0015] Exemplarily, the electronic device can calculate the compensation parameters of the at least one expansion gray scale by weighting the compensation parameters of the plurality of reference gray scales according to the expansion parameter when displaying the first interface. Alternatively, the electronic device can calculate the compensation parameters of the at least one expansion gray scale by weighting the compensation parameters of the plurality of reference gray scales according to the expansion parameter before displaying the first interface, such as before factory shipment. In this way, the gray scale compensation efficiency when displaying the interface can be improved by performing the gray scale expansion in advance.
[0016] As a possible implementation manner, the target gray scale includes a first target gray scale and a second target gray scale, the compensation data includes the compensation parameter of the first target gray scale and does not include the compensation parameter of the second target gray scale, the expansion parameter includes a first weight value group, the first weight value group includes a plurality of weight values corresponding to the plurality of reference gray scales respectively, and the electronic device determines the compensation parameter of the target gray scale according to the screen brightness value and the compensation data, including: the electronic device determines the compensation parameter of the first target gray scale corresponding to the screen brightness value from the compensation data; and the electronic device calculates the compensation parameter of the second target gray scale by weighting the compensation parameters of the plurality of reference gray scales according to the plurality of weight values in the first weight value group. Based on this, the electronic device can fully compensate the gray scale corresponding to the pixel to be compensated, and the user visual experience can be improved to the maximum extent.
[0017] As a possible implementation manner, the compensation data is stored in any one of the following: an application processor (AP) of the electronic device, a memory of the electronic device, and a display driver integrated circuit (DDIC) of the electronic device. Based on this, the compensation data can be stored according to a unit or module with greater storage capacity, such as the AP, the memory, and the like, without increasing the storage cost, supporting storage of more compensation parameters, which may, in an ideal case, be unlimited, and further ensuring smooth implementation of the present solution and covering more gray scales.
[0018] As a possible implementation manner, the compensation data is stored in the AP or the memory, and the compensation parameters of the target gray scale are determined by the AP according to the screen brightness value and the compensation data, and the gray scale compensation of the pixel to be compensated is performed by the AP or the DDIC; or the compensation data is stored in the DDIC or the memory, and the compensation parameters of the target gray scale are determined by the DDIC according to the screen brightness value and the compensation data, and the gray scale compensation of the pixel to be compensated is performed by the DDIC. Based on this, the present solution can support various gray scale compensation layouts, has strong applicability and high flexibility.
[0019] As a possible implementation manner, the compensation parameters of the target gray scale include a gray scale reduction amount, and the electronic device performs the gray scale compensation of the pixel to be compensated according to the compensation parameters of the target gray scale, including: the electronic device reduces the gray scale of the pixel to be compensated by the gray scale reduction amount; or the compensation parameters of the target gray scale include a gray scale increase amount, and the electronic device performs the gray scale compensation of the pixel to be compensated according to the compensation parameters of the target gray scale, including: the electronic device increases the gray scale of the pixel to be compensated by the gray scale increase amount. Or, the compensation parameters of the target gray scale include a target value, and the electronic device performs the gray scale compensation of the pixel to be compensated according to the compensation parameters of the target gray scale, including: the electronic device adjusts the gray scale of the pixel to be compensated to the target value. Based on this, the present solution can support various forms of gray scale compensation parameters, has strong applicability and high flexibility.
[0020] In a second aspect, an electronic device is provided, which includes: a display screen configured to display a first interface; a memory configured to store computer program instructions; and a controller configured to execute the computer program instructions to obtain a screen brightness value, determine a target gray scale corresponding to a pixel to be compensated in the first interface, and determine a compensation parameter of the target gray scale according to the screen brightness value and compensation data, wherein the compensation parameter of the target gray scale is used to compensate the gray scale of the pixel to be compensated; and the compensation data is stored in any one of the following: the controller and the memory, and the compensation data includes compensation parameters of a plurality of reference gray scales and a compensation parameter of at least one extended gray scale, which is determined according to the compensation parameters of the plurality of reference gray scales.
[0021] Exemplarily, the controller is an AP or a DDIC. The compensation data can be stored in any one of the following: the AP, the memory, and the DDIC.
[0022] The second aspect provides a solution that the electronic device can compensate one or more gray scales corresponding to the pixel to be compensated in the first interface according to the actual screen brightness value and the saved compensation data. Since the compensation data includes the compensation parameters of the plurality of reference gray scales and the compensation parameter of the at least one extended gray scale obtained by extending the compensation parameters of the plurality of reference gray scales, the solution can not only solve the problems of uneven brightness, color deviation (such as green and blue), and the like of the screen of the electronic device when displaying a picture, but also cover various gray scales in various scenarios, improve the accuracy of the compensation result in various brightness and various gray scales, and make the color and display brightness of the display picture meet the subjective visual effect and objective index requirements, thereby improving the user visual experience.
[0023] As a possible implementation, the controller is further configured to obtain the compensation parameters of the plurality of reference gray scales and an extension parameter, wherein the extension parameter is used to obtain the compensation parameter of the extended gray scale by calculation with the compensation parameters of the plurality of reference gray scales. Based on this, the electronic device can support calculation of the compensation parameters of the plurality of reference gray scales based on the extension parameter to perform gray scale extension, meet various gray scale compensation requirements of the electronic device, and make the color and display brightness of the display picture meet the subjective visual effect and objective index requirements in various scenarios, thereby improving the user visual experience.
[0024] As a possible implementation manner, the extension parameter includes a weight value group corresponding to the at least one extension gray scale respectively, and the controller is further configured to: perform weighted calculation on the compensation parameters of the plurality of reference gray scales according to the extension parameter to obtain the compensation parameter of the at least one extension gray scale. Based on this, the electronic device can support calculating the compensation parameters of the plurality of reference gray scales according to the extension parameter to perform gray scale extension, meet the compensation requirements of various gray scales of the electronic device under the screen brightness value, and make the color and display brightness of the display image meet the subjective visual effect and objective index requirement in various scenes, thereby improving the user visual experience.
[0025] As a possible implementation manner, the target gray scale includes a first target gray scale and a second target gray scale, the compensation data includes the compensation parameter of the first target gray scale and does not include the compensation parameter of the second target gray scale, the extension parameter includes a first weight value group, the first weight value group includes a plurality of weight values corresponding to the plurality of reference gray scales respectively, and the controller is configured to: determine the compensation parameter of the first target gray scale corresponding to the screen brightness value from the compensation data; and perform weighted calculation on the compensation parameters of the plurality of reference gray scales according to the plurality of weight values in the first weight value group to obtain the compensation parameter of the second target gray scale. Based on this, the electronic device can support full compensation on the gray scale corresponding to the pixel to be compensated, and maximize the user visual experience.
[0026] As a possible implementation manner, the controller is an AP, the compensation data is stored in the AP or a memory, the compensation parameter of the target gray scale is determined by the AP according to the screen brightness value and the compensation data, and the gray scale compensation on the pixel to be compensated is performed by the AP; or, the controller includes an AP and a DDIC, the compensation data is stored in the AP or a memory, the compensation parameter of the target gray scale is determined by the AP according to the screen brightness value and the compensation data, and the gray scale compensation on the pixel to be compensated is performed by the DDIC; or, the controller is a DDIC, the compensation data is stored in the DDIC or a memory, the compensation parameter of the target gray scale is determined by the DDIC according to the screen brightness value and the compensation data, and the gray scale compensation on the pixel to be compensated is performed by the DDIC. Based on this, the scheme can support various gray scale compensation layouts, has strong applicability and high flexibility.
[0027] As a possible implementation manner, the compensation parameter of the target gray scale includes a gray scale reduction amount, and the controller is configured to: reduce the gray scale of the pixel to be compensated by the gray scale reduction amount; or, the compensation parameter of the target gray scale includes a gray scale increase amount, and the controller is configured to: increase the gray scale of the pixel to be compensated by the gray scale increase amount. Or, the compensation parameter of the target gray scale includes a target value, and the controller is configured to: adjust the gray scale of the pixel to be compensated to the target value. Based on this, the scheme can support various forms of gray scale compensation parameters, has strong applicability and high flexibility.
[0028] In a third aspect, a method for obtaining compensation data and expansion parameters is provided, and the method comprises: for a plurality of display screen samples, performing the following steps at different screen brightness values to obtain compensation data and expansion parameters: S1: capturing optical data of S gray scales for a display screen sample surface, S is a positive integer and S>1; S2: generating compensation parameters of M reference gray scales according to the captured optical data of S gray scales, M is a positive integer and M>1; S3: determining expansion parameters corresponding to an expansion model; S4: simulating gray scale expansion based on the compensation parameters of M reference gray scales using the expansion model and the expansion parameters P, generating compensation parameters of N expanded gray scales, and simulating gray scale compensation to generate a simulation effect picture, N is a positive integer and N>0; S5: obtaining evaluation results of the simulation effect picture by a test person and / or measurement results of preset optical indicators of the simulation effect picture based on an optical measurement device; S6: according to the first evaluation results of the simulation effect picture by the test person and / or the first measurement results of the preset optical indicators of the simulation effect picture based on the optical measurement device, determining that the expansion parameters P are taken as expansion parameters corresponding to the display screen sample, and taking the compensation parameters of M reference gray scales and the compensation parameters of N expanded gray scales as compensation data corresponding to the display screen sample; or, according to the second evaluation results of the simulation effect picture by the test person and / or the second measurement results of the preset optical indicators of the simulation effect picture based on the optical measurement device, adjusting the expansion parameters P and then re-executing the above S4-S5. i i i i i i i i i i i i i i i i
[0029] The third aspect can continuously correct the expansion parameters based on subjective methods and / or objective methods to obtain more accurate expansion parameters, improve the accuracy of compensation results at each brightness and each gray scale, and make the color and display brightness of the display picture meet the requirements of subjective visual effects and objective indicators, thereby improving the visual experience of users.
[0030] As a possible implementation manner, the determination of the expansion parameters corresponding to the expansion model comprises: randomly setting the expansion parameters; or determining the expansion parameters according to the data correlation between the compensation parameters of M reference gray scales. i i linear relationship between a gray scale and other gray scales in a reference gray scale to determine the expansion parameter. Based on this, a plurality of different methods can be provided to determine the initial expansion parameter, and different methods have different advantages. For example, a method of randomly setting the expansion parameter is relatively convenient, and a method of determining the expansion parameter based on the data correlation between the compensation parameters of the reference gray scale is relatively closer to the target expansion parameter, so that the number of corrections required during the experiment is less, and the time required to determine the final expansion parameter is shorter. i
[0031] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores computer program instructions. When the computer program instructions are executed by a processor, the method in any possible implementation manner of the first aspect is implemented.
[0032] In a fifth aspect, a computer program product containing instructions is provided. When the computer program product is run on a computer, the computer is caused to implement the method in any possible implementation manner of the first aspect.
[0033] In a sixth aspect, a chip system is provided. The chip system includes a processing circuit, a storage medium, and the storage medium stores computer program instructions. When the computer program instructions are executed by the processor, the method in any possible implementation manner of the first aspect is implemented. The chip system can be composed of a chip, or can include a chip and other discrete devices. BRIEF DESCRIPTION OF DRAWINGS
[0034] FIG. 1 is a flowchart of a compensation method for a picture;
[0035] FIG. 2 is a schematic diagram of compensation effects of three pictures;
[0036] FIG. 3 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application;
[0037] FIG. 4 is a schematic diagram of processes of obtaining and applying two compensation data to picture compensation provided by an embodiment of the present application;
[0038] FIG. 5 is a flowchart of a display method of a display screen provided by an embodiment of the present application;
[0039] FIG. 6 is a schematic diagram of compensation effects of two pictures provided by an embodiment of the present application;
[0040] FIG. 7 is a flowchart of a method of obtaining compensation data provided by an embodiment of the present application;
[0041] FIG. 8 is a schematic diagram of obtaining compensation parameters of a reference gray scale and a gray scale expansion process provided by an embodiment of the present application;
[0042] FIG. 9 is a schematic diagram of a method for obtaining compensation parameters according to an embodiment of the present application. DETAILED DESCRIPTION
[0043] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" herein only represents a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0044] Hereinafter, the terms "first", "second", and the like are only used to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity, or content of the described objects. For example, the described object is "field", and the ordinal numbers before "field" in "first field" and "second field" do not limit the position or order between "fields", and "first" and "second" do not limit whether the "fields" they modify are in the same message or not, nor do they limit the order of "first field" and "second field". For example, the described object is "level", and the ordinal numbers before "level" in "first level" and "second level" do not limit the priority between "levels". For example, the quantity of the described object is not limited, which can be one or more. For example, "first device", where the quantity of "device" can be one or more. In addition, objects modified by different prefix words can be the same or different, for example, the described object is "device", and "first device" and "second device" can be the same type of device or different types of device. For example, the described object is "information", and "first information" and "second information" can be information of the same content or information of different content. In short, the use of ordinal numbers and other prefix words in the embodiments of the present application for distinguishing description objects does not limit the described objects, and the description of the described objects in the claims or embodiments should not be limited by the use of such prefix words.
[0045] In addition, in the embodiments of the present application, "connection" can be direct connection or indirect connection; in addition, it can mean electrical connection or communication connection; for example, two electrical elements A and B are connected, which can mean that A and B are directly connected, or can mean that A and B are indirectly connected through other electrical elements or connection medium, or can mean that A and B are indirectly connected through other communication devices or communication medium, as long as A and B can communicate with each other.
[0046] As described in the background, the display screen of the existing electronic device often has problems such as uneven brightness, color deviation (such as green, blue, etc.) when displaying a picture, which affects the user experience. The reason for this problem may be that the white point color coordinate deviates from the normal set value due to the unstable performance of the three primary color (green red blue, RGB) electroluminescence (EL) device on the display screen, and the specific reason is not limited by the embodiments of the application. In order to meet the user's increasingly high requirements for color consistency and display brightness consistency of mobile phones, tablets and other electronic devices, and improve user satisfaction, an expansion algorithm is often used to compensate the gray scale of pictures under different brightness and different gray scale to achieve better picture display effect. Among them, gray scale is also called gray scale, which refers to the range of brightness value of each pixel point when a color image is converted into a black and white image in computer image processing; the gray scale can represent the richness of the color level information that the image can contain.
[0047] As a possible implementation, when the expansion algorithm is used to compensate the gray scale of pictures under different brightness and different gray scale, the compensation data of certain specific binding point gray scale (hereinafter referred to as reference gray scale) and specific backlight brightness is often burned into the display driver integrated circuit (DDIC) of the screen, and the gray scale compensation of the picture is performed in the DDIC to solve the problem of uneven brightness / color deviation of the picture.
[0048] As an example, please refer to FIG. 1, which shows a compensation method flowchart of a picture. As shown in FIG. 1, first, the original image data is sequentially subjected to basic compensation, such as using compensation parameters A, B and Offset1 for compensation as shown in FIG. 1. Exemplarily, when performing basic compensation, it can be implemented based on the following formula 1: Y=A*X 2 +B*X+Offset1;(Formula 1)
[0049] In formula 1, A is a compensation parameter A, B is a compensation parameter B, Offset1 is a compensation parameter Offset1, and X is a gray scale value to be compensated in the original image.
[0050] After completing the basic compensation, the compensated image data can be further compensated by using the compensation parameter Scalar for brightness segment compensation and using the parameter Offset2 for gray scale compensation. Exemplarily, the compensation can be implemented based on the following formula 2: Y'=Y*Scalar+Offset2;(Formula 2)
[0051] In formula 2, Scalar is a brightness segment compensation parameter, and Offset2 is a gray scale compensation parameter.
[0052] However, in the above method, the compensation parameters A, B, Offset1, Scalar and Offset2 are determined based on different brightness display brightness / color related tests on the reference gray scale. Due to the limitation of the storage space and adjustable dimensions of the screen DDIC, the data that the DDIC can support to write is limited, such as only a small number (such as 2 or 3, generally not more than 7) of gray scale compensation parameters can be written, which leads to that only a small number of gray scale compensation parameters can be written to compensate for individual gray scales, the compensation accuracy is limited, and it is difficult to well cover the needs of various scenes such as medium and high brightness and medium and high gray scales. Therefore, in some scenes, as shown in FIG. 2, due to insufficient compensation, the electronic device still has problems such as uneven screen brightness, color deviation (such as green, blue, etc.) when displaying a picture.
[0053] In order to solve the above problems existing in the prior art and ensure better visual experience of users using the electronic device, embodiments of the present application provide a display method of a display screen, which can implement a simple and fast picture compensation method. The method can perform gray scale compensation (such as reducing gray scale or raising gray scale) on a picture according to multiple gray scale compensation parameters saved in a unit or module with larger storage capacity, such as an application processor (AP) or a memory. The multiple gray scale compensation parameters include multiple reference gray scale compensation parameters and at least one extended gray scale compensation parameter. The multiple reference gray scale compensation parameters are determined based on a large number of display brightness / color related tests on multiple reference gray scales under different backlight brightness. The at least one extended gray scale compensation parameter is obtained by fusing the multiple reference gray scale compensation parameters. Since the unit or module (such as the AP or the memory, etc.) used to store the compensation parameters in the embodiments of the present application has larger storage space than the storage space of the DDIC, it can support storage of more compensation parameters, such as possibly unlimited in ideal cases. In addition, in the embodiments of the present application, the electronic device adds a gray scale extension function, such as performing gray scale extension by fusing the existing multiple reference gray scale compensation parameters through an extension model and extension parameters. Therefore, more gray scales can be covered, the accuracy of the compensation results under each brightness and each gray scale is improved, the color and display brightness of the display picture meet the subjective visual effect and objective index requirements, and the user visual experience is improved.
[0054] The electronic device can include, but is not limited to, any electronic device with a display screen (i.e., a screen), such as a smartphone, a netbook, a tablet computer, a smartpad, a smartpad, a smartwatch, a smartband, a phone watch, smart glasses, a smart camera, a palm computer, a vehicle-mounted computer, a personal computer (PC), a personal digital assistant (PDA), a portable multimedia player (PMP), an augmented reality (AR) / virtual reality (VR) device, a smart television, a projection device, or a motion sensing game machine in a human-computer interaction scene, and the like. Alternatively, the electronic device can also be other types or structures of electronic devices with a display screen, which are not limited in the present application.
[0055] As an example, refer to FIG. 3, which shows a hardware structure diagram of an electronic device according to an embodiment of the present application.
[0056] As shown in FIG. 3, the electronic device can include a processor 310, a memory (including an external memory interface 320 and an internal memory 321), a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a key 390, a motor 391, an indicator 392, a camera 393, a display screen 394, and the like.
[0057] The sensor module 380 can include, but is not limited to, one or more of the following: a temperature sensor, a touch sensor, a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0058] The processor 310 can include one or more processing units. For example, the processor 310 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a flight controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.
[0059] The processor 310 can also include a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory can hold instructions or data that the processor 310 has just used or is using repeatedly. If the processor 310 needs to use the instructions or data again, it can call them directly from the memory. This avoids repeated access and reduces the waiting time of the processor 310, thus improving the efficiency of the system.
[0060] In some embodiments, the memory in the AP or the processor 310 can hold compensation data, such as compensation parameters for a plurality of reference gray scales and compensation parameters for at least one extended gray scale. For example, the compensation parameters for the reference gray scales are used to represent the compensation parameters corresponding to the reference gray scales under a plurality of different screen brightnesses (such as backlight brightness), and the compensation parameters for the extended gray scales are used to represent the compensation parameters corresponding to the extended gray scales under a plurality of different screen brightnesses (such as backlight brightness).
[0061] In some embodiments, the compensation data (such as compensation parameters for a plurality of reference gray scales and compensation parameters for at least one extended gray scale) held in the memory in the AP or the processor 310 can be held before the electronic device is shipped.
[0062] In some embodiments, the compensation data (such as compensation parameters for a plurality of reference gray scales and compensation parameters for at least one extended gray scale) held in the memory in the AP or the processor 310 can be updated in real time / periodically / conditionally according to the indication of the server, for example, updated according to the indication of the server after the electronic device is shipped, without specific limitation.
[0063] In some embodiments, the AP or the memory in the processor 310 stores an expansion algorithm for gray scale expansion and an expansion parameter used by the AP or the DDIC of the electronic device to calculate the compensation parameter of at least one expansion gray scale using the expansion algorithm and the compensation parameters of multiple reference gray scales. For example, when displaying a picture, the electronic device can use the expansion algorithm to calculate the compensation parameter of the target gray scale corresponding to one or more pixels to be compensated by calculating the expansion parameter and the compensation parameters of multiple reference gray scales according to the actual gray scale of the picture. Of course, the expansion parameter can also be stored in other units or modules, such as the DDIC, and the embodiments of the present application are not limited in this regard.
[0064] In some embodiments, the expansion algorithm described in the embodiments of the present application can be in the form of a calculation instruction, or in the form of a calculation model (hereinafter referred to as "expansion model") such as an AI model, and the embodiments of the present application are not limited in this regard.
[0065] In some embodiments, the expansion parameter for gray scale expansion stored in the AP, the memory in the processor 310 or the DDIC can be stored when the electronic device is shipped.
[0066] In some embodiments, the expansion parameter for gray scale expansion stored in the AP, the memory in the processor 310 or the DDIC can be updated in real time / periodically / conditionally according to the instructions of the server, for example, after the electronic device is shipped, and the embodiments of the present application are not limited in this regard.
[0067] In some embodiments, the processor 310 can include one or more interfaces. The interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver / transmitter (universal asynchronous receiver / transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input / output (general-purpose input / output, GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and / or a universal serial bus (universal serial bus, USB) interface, etc.
[0068] The charging management module 340 is configured to receive charging input from a charger. The power management module 341 is configured to connect the battery 342, and the charging management module 340 is connected to the processor 310. The power management module 341 receives input from the battery 342 and / or the charging management module 340 to power the processor 310, the internal memory 321, the display screen 394, the camera 393, the wireless communication module 360, and the like.
[0069] The wireless communication function of the electronic device can be implemented by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, the modem processor, and the baseband processor, and the like.
[0070] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.
[0071] The mobile communication module 350 can provide a solution for wireless communication including 2G / 3G / 4G / 5G and the like applied to the electronic device. The mobile communication module 350 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 350 can receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation.
[0072] The wireless communication module 360 can provide a solution for wireless communication including wireless local area networks (WLAN) (such as a WiFi network), Bluetooth BT, a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), and the like, applied to the electronic device.
[0073] In some embodiments, the antennas 1 and the mobile communication module 350 of the electronic device are coupled, and the antennas 2 and the wireless communication module 360 are coupled, so that the electronic device can communicate with a network and other devices through wireless communication technology. The wireless communication technology can 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 can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).
[0074] The electronic device implements a display function through a GPU, the display 394, and an AP, etc. The GPU is a microprocessor for image processing, which is connected to the display 394 and the AP. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 can include one or more GPUs, which execute program instructions to generate or change display information.
[0075] The display screen 394 is used to display images, videos, etc. The display screen 394 includes a display panel. The display panel can adopt a low temperature poly-silicon (LTPS) display screen, a low temperature polycrystalline oxides (LTPO) display screen, a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED) display screen, a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-OLED, a quantum dot light emitting diodes (QLED), etc.
[0076] In some embodiments, the AP or the DDIC can display the application picture through the display screen 394 after compensating (e.g., reducing or increasing) one or more target gray scales of the application picture based on the pre-stored compensation data according to the screen brightness (e.g., backlight brightness) of the electronic device.
[0077] In some embodiments, the AP can send the application picture to the GPU after compensating (e.g., reducing or increasing) one or more target gray scales of the application picture based on the pre-stored compensation data according to the screen brightness (e.g., backlight brightness) of the electronic device. The GPU can perform graphic rendering based on the data of the application picture after the gray scale compensation, and then call the DDIC to display the application picture obtained after rendering through the display screen 394.
[0078] In some embodiments, the GPU can call the DDIC to compensate (e.g., reduce or increase) one or more target gray scales of the application picture based on the pre-stored compensation data after performing graphic rendering based on the data of the application picture provided by the AP, and then display the application picture through the display screen 394.
[0079] The external memory interface 320 can be used to connect an external storage card, such as a Micro SD card, to realize the expansion of the storage capacity of the electronic device. The external storage card communicates with the processor 310 through the external memory interface 320 to realize the data storage function.
[0080] The internal memory 321 can be used to store computer executable program codes. Exemplarily, the computer program can include an operating system program and an application program. The executable program codes include instructions. The processor 310 executes various function applications and data processing of the electronic device by running the instructions stored in the internal memory 321. The internal memory 321 can include a program storage area and a data storage area. The program storage area can store an operating system, an application program required by at least one function, and the like. The data storage area can store data created during use of the electronic device, and the like. In addition, the internal memory 321 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one of a magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like. The processor 310 executes various function applications and data processing of the electronic device by running the instructions stored in the internal memory 321 and / or the instructions stored in the memory disposed in the processor.
[0081] In some embodiments, the internal memory 321 can store compensation data (such as compensation parameters including a plurality of reference gray scales and compensation parameters of at least one extended gray scale) and / or extension parameters.
[0082] In some embodiments, the compensation data or the extension parameters stored in the internal memory 321 can be stored before the electronic device is shipped.
[0083] In some embodiments, the compensation data or the extension parameters stored in the internal memory 321 can be updated in real time / periodically / conditionally according to the indication of the server, for example, updated according to the indication of the server after the electronic device is shipped, without specific limitation.
[0084] The electronic device can realize audio functions through the audio module 370, the speaker 370A, the receiver 370B, the microphone 370C, the AP, and the like. For example, music playing, recording, and the like.
[0085] In addition, the introduction of the hardware such as the key 390, the motor 391, the indicator 392, and the like can refer to the conventional technology, and the embodiments of the present application will not be described again.
[0086] It can be understood that the structure shown in FIG. 3 of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device can include more or fewer components than those shown, or combine certain components, or split certain components, or different arrangement of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0087] As an example, refer to (a) of FIG. 4, (a) of FIG. 4 shows a process diagram of obtaining compensation data and applying the compensation data to picture compensation. As shown in (a) of FIG. 4, obtaining the compensation data includes obtaining compensation parameters of reference gray scales and obtaining compensation parameters of extended gray scales. For example, before the electronic device is shipped, the production line equipment can perform display brightness / color related tests on M (M is a positive integer greater than 1) reference gray scales under different screen brightnesses (such as backlight brightness) to obtain measurement data, and the electronic device can generate compensation parameters of the M reference gray scales that can achieve a certain display brightness / color display index according to the measurement data, determine an extension model and extension parameters according to the measurement data, and use the extension model and the extension parameters to extend the compensation parameters of the M reference gray scales, thereby additionally obtaining compensation parameters of N (N is a positive integer) extended gray scales. Based on this, the electronic device can obtain the compensation parameters of the M reference gray scales and the compensation parameters of the N extended gray scales, and when displaying a picture, the electronic device can compensate a plurality of gray scales of the picture under different screen brightnesses (such as backlight brightness) according to the compensation parameters of the M+N gray scales, and then display the picture to obtain a better display effect in terms of display brightness and color.
[0088] In some embodiments, the electronic device can extend the compensation parameters of the M reference gray scales using the model and the extension parameters before the electronic device is shipped, such as by using the extension parameters to calculate and interpolate between the M reference gray scales to obtain the compensation parameters of the N extended gray scales.
[0089] In some embodiments, the electronic device can determine the extension model and the extension parameters according to the measurement data and save them in the electronic device before the electronic device is shipped, and when displaying a picture, the electronic device can use the extension model and the extension parameters to extend the compensation parameters of the M reference gray scales according to the actual gray scale corresponding to the pixel to be compensated, such as by using the extension parameters to calculate and interpolate between the M reference gray scales to obtain the compensation parameters of the target gray scale (such as the N extended gray scales) corresponding to one or more pixels to be compensated. Based on this, the storage pressure caused by storing a large number of compensation parameters in the electronic device can be further reduced.
[0090] As an example, refer to (b) of FIG. 4, (b) of FIG. 4 shows another process schematic diagram of obtaining compensation data and applying the compensation data to picture compensation provided by an embodiment of the present application. As shown in (b) of FIG. 4, obtaining the compensation data includes obtaining compensation parameters of reference gray scales and obtaining compensation parameters of extended gray scales. For example, before the electronic device is shipped, the production line equipment side can perform display brightness / color related tests under different screen brightness (such as backlight brightness) on M (M is a positive integer greater than 1) reference gray scales to obtain measurement data, and the electronic device can generate compensation parameters of the M reference gray scales that can achieve a certain display brightness / color display index according to the measurement data, and determine an extension model and extension parameters according to the measurement data. Based on this, the electronic device can obtain the compensation parameters of the M reference gray scales, the extension model and the extension parameters, and when displaying a picture after being shipped, the electronic device can determine the corresponding extension parameters according to the obtained screen brightness value and the gray scale of the picture, and then use the extension model and the determined extension parameters to compensate the multiple gray scales of the picture according to the compensation parameters of the M reference gray scales and then display, to obtain a display effect with better display brightness and color.
[0091] As an example, the electronic device can include a screen depth compensation (Demura) calculation module and an AP, the electronic device can generate compensation parameters of M reference gray scales that can achieve a certain display brightness / color display index according to measurement data of the production line equipment side through the screen depth compensation (Demura) calculation module, and determine an extension model and extension parameters, and save the compensation parameters of the M reference gray scales, the extension model and the extension parameters in a controller or a memory of the electronic device, such as in the AP, the memory or the DDIC; then use the extension model and the extension parameters to calculate the compensation parameters of the M reference gray scales to perform gray scale extension through a unit or a module for gray scale extension in the controller, to obtain compensation parameters of N extended gray scales, and save the compensation parameters of the N extended gray scales in the electronic device. For example, the compensation parameters of the N extended gray scales are saved in the same path as the compensation parameters of the M reference gray scales. The specific timing of the electronic device performing gray scale extension is not limited in the embodiments of the present application.
[0092] In some embodiments, the electronic device can also use the extension model and the extension parameters to calculate the compensation parameters of the M reference gray scales to optimize the compensation parameters of any reference gray scale in the M reference gray scales. Alternatively, the electronic device can also accept manual adjustment of the staff of the production line equipment to update the compensation parameters of any reference gray scale in the M reference gray scales, so that a better picture compensation effect can be achieved based on the compensation parameters.
[0093] In some examples, the electronic device can use the extension model and the extension parameters to calculate the compensation parameters of the M reference gray scales to optimize the compensation parameters of any reference gray scale in the M reference gray scales through a unit or module for gray scale extension in the controller.
[0094] As an example, refer to FIG. 5, which shows a flowchart of a display method of a display screen according to an embodiment of the present application. As shown in FIG. 5, the method can include S501-S504.
[0095] S501: The electronic device displays a first interface, acquires a screen brightness value, and determines one or more gray scales corresponding to pixels to be compensated in the first interface as target gray scales.
[0096] The screen brightness value is used to represent the screen brightness of the electronic device. In some examples, the screen brightness value can be represented in the form of a brightness number. Of course, the screen brightness value can also be represented in other forms, which are not limited in the embodiments of the present application.
[0097] In some embodiments, for the case that the screen display panel can emit light independently, the screen brightness value can be the luminance value of the screen display panel.
[0098] In some embodiments, for the case that the screen display panel cannot emit light independently, a backlight plate (or a backlight module) is usually needed to realize light emission and normal display of the picture by irradiation. In this case, the screen brightness value can be the luminance value of the backlight plate (or the backlight module).
[0099] Taking the screen brightness value as DBV (display brightness value) for example, the screen brightness value can include, but is not limited to, any of the following values: 2 nit, 21 nit, 90 nit, 249 nit, 500 nit, and 1200 nit.
[0100] As an example, the pixels to be compensated in the first interface are pixels whose color / display brightness cannot meet the preset requirements. The evaluation criteria for the pixels to be compensated are not limited in the embodiments of the present application.
[0101] S502: The electronic device determines the compensation parameters for the one or more target gray scales in the first interface according to the screen brightness value and the saved compensation data, wherein the compensation data includes compensation parameters of a plurality of reference gray scales and compensation parameters of at least one extension gray scale, and the compensation parameters of the at least one extension gray scale are obtained according to the compensation parameters of the plurality of reference gray scales.
[0102] The compensation data is stored in a controller or a memory of the electronic device, and the controller is not limited, such as an AP or a DDIC. Preferably, the compensation data can be stored in an AP or a memory with a larger storage space. The compensation parameters of the plurality of reference gray scales included in the compensation data include compensation parameters corresponding to different reference gray scales under different screen brightness values, and the compensation parameters of the at least one extended gray scale included in the compensation data include compensation parameters corresponding to the at least one extended gray scale under different screen brightness values. For example, the compensation parameters of the reference gray scales and the compensation parameters of the extended gray scales can be stored in the electronic device in the form of a corresponding relationship among the screen brightness value, the gray scale, and the compensation parameter. Of course, the compensation parameters can also be stored in the electronic device in other forms, and the embodiments of the present application are not limited in this regard.
[0103] In some embodiments, the AP of the electronic device has the function of gray scale extension, such as including a unit or a module for gray scale extension in the AP. Assuming that the compensation data is stored in the AP, the AP can determine the compensation parameters for one or more target gray scales in the first interface pixel by pixel according to the obtained screen brightness value and the compensation data stored in the AP. Alternatively, assuming that the compensation data is stored in the memory, the AP can determine the compensation parameters for one or more target gray scales in the first interface pixel by pixel according to the obtained screen brightness value and the compensation data read from the memory.
[0104] In some embodiments, the DDIC of the electronic device has the function of gray scale extension. Assuming that the compensation data is stored in the memory, the DDIC can determine the compensation parameters for one or more target gray scales in the first interface pixel by pixel according to the obtained screen brightness value and the compensation data read from the memory. Assuming that the compensation data is stored in the DDIC, the DDIC can determine the compensation parameters for one or more target gray scales in the first interface pixel by pixel according to the obtained screen brightness value and the compensation data stored in the DDIC.
[0105] In some examples, the compensation parameters represent the gray scale compensation amount, such as including the gray scale reduction amount or the gray scale increase amount. In other examples, the compensation parameters represent the target value of the gray scale, such as including the target value. The specific representation form of the compensation parameters is not limited in the embodiments of the present application.
[0106] As an example, the compensation parameters of the plurality of reference gray scales (such as M reference gray scales) are compensation parameters generated by the electronic device before leaving the factory according to the measurement data on the equipment side of the production line, which can achieve a certain display brightness / color display index, wherein the measurement data is obtained by the equipment side of the production line through different backlight brightness display brightness / color related tests on the M (such as M is 2, 3, etc.) reference gray scales.
[0107] Exemplarily, the M reference gray scales can include, but are not limited to, any one or more of the following tie-in gray scales: 5 gray scales, 10 gray scales, 15 gray scales, …, 255 gray scales, and the like. Of course, the present embodiment does not limit the setting step of the reference gray scale. For example, taking a setting step of 8 gray scales as an example, the M reference gray scales can include, but are not limited to, any one or more of the following tie-in gray scales: 8 gray scales, 16 gray scales, 24 gray scales, 32 gray scales, 48 gray scales, 64 gray scales, …, 192 gray scales, and the like. The present embodiment does not make specific limitations.
[0108] As an example, the compensation parameters of the at least one extended gray scale (such as N extended gray scales) are calculated by the electronic device using an extension model and extension parameters on the compensation parameters of the M reference gray scales, where the extension model can include, but is not limited to, a calculation model determined by the electronic device according to the measurement data on the line equipment side, weighted on the compensation parameters of the M reference gray scales, and considering a bias amount, the compensation parameters including one or more weight values determined by the electronic device according to the measurement data on the line equipment side, and in some examples, the compensation parameters can also include one or more bias amounts (shift) determined by the electronic device according to the measurement data on the line equipment side. The specific method and process of determining the extension model, the extension parameters, and the specific method and process of gray scale extension will be described in detail below, and will not be expanded here.
[0109] Exemplarily, the N extended gray scales can include, but are not limited to, any one or more of the following gray scales: 5 gray scales, 10 gray scales, 15 gray scales, …, 255 gray scales, and the like; or taking a setting compensation of 8 gray scales as an example, the N extended gray scales can include any one or more of the following gray scales: 8 gray scales, 16 gray scales, 24 gray scales, 32 gray scales, 48 gray scales, 64 gray scales, …, 192 gray scales, and the like.
[0110] Exemplarily, the electronic device includes a screen depth compensation (Demura) calculation module, and the compensation parameters of the plurality of reference gray scales (such as M reference gray scales), the extension model, and the extension parameters can be generated by the screen depth compensation (Demura) calculation module.
[0111] Exemplarily, the electronic device includes a unit or module for performing gray scale extension, and the compensation parameters of the at least one extended gray scale (such as N extended gray scales) can be generated by the unit or module.
[0112] As an example, the extended parameters include multiple extended parameters under the above-mentioned screen brightness value, and different extended parameters are used to obtain compensation parameters of different extended grayscales by calculating with compensation parameters of M reference grayscales. The extended parameters corresponding to the same extended grayscale at different screen brightness values are generally different. For example, the extended parameters include multiple weight value groups under the above-mentioned screen brightness value, and different weight value groups are used to obtain compensation parameters of different extended grayscales by weighted calculation of compensation parameters of M reference grayscales, and the weight value groups include multiple weight values corresponding to multiple reference grayscales.
[0113] For example, extended parameters such as (W i0 , W i1 ,……,W iM , shift), the extended model may be as shown in the following formula 3:
[0114] G(extended grayscale i)=W i0 *G(reference grayscale 1)+W i1 *G(reference grayscale 2)+……+W iM *G(reference grayscale M)+shift; (Formula 3)
[0115] In the above formula 3, G(reference grayscale 1), G(reference grayscale 2), ..., G(reference grayscale M) represent the compensation parameters of reference grayscale 1, reference grayscale 2, ..., reference grayscale M, respectively; G(extended grayscale i) represents the compensation parameter of extended grayscale i (i is an integer, and 0<i≤N); W i0 、W i1 、……、W iM They respectively represent the weight values corresponding to the compensation parameters of reference grayscale 1, reference grayscale 2, . . . , reference grayscale M when grayscale i is expanded.
[0116] The M reference grayscales include 16 grayscales, 64 grayscales, and 192 grayscales. The extended model is as shown in Formula 3 above. The compensation parameters include the compensation parameters of the first extended grayscale, the compensation parameters of the second extended grayscale, ..., the compensation parameters of the Mth extended grayscale (here M is greater than 2 as an example, in actual applications, M may also be 1 or 2). The first extended grayscale is 16 grayscale, the second extended grayscale is 64 grayscale, and the Mth extended grayscale is 192 grayscale. The compensation parameter of the first extended grayscale includes the first weight value corresponding to the 16 grayscale (denoted as W 10 ), the first weight value corresponding to 64 gray levels (denoted as W 11 ), the first weight value corresponding to 192 gray levels (denoted as W 12 ) and the offset (shift), the compensation parameters of the second extended grayscale include the second weight value corresponding to the 16 grayscales (denoted as W 20 ), the second weight value corresponding to 64 gray levels (denoted as W21 ), the second weight value corresponding to 192 gray levels (denoted as W 22 ) and the offset (shift), ..., the compensation parameters of the third extended grayscale include the third weight value corresponding to the 16 grayscales (denoted as W 30 ), the third weight value corresponding to 64 gray levels (denoted as W 31 ), the third weight value corresponding to 192 gray levels (denoted as W 32 ) and the offset (shift) as an example, the compensation parameters of 8 grayscales (denoted as G8), 48 grayscales (denoted as G48), ..., 128 grayscales (denoted as G128) can be expanded based on the following formulas 4, 5, and 6 respectively: G8 = W 10 *G16+W 11 *G64+W 12 *G192+shift; (Formula 4) G48=W 20 *G16+W 21 *G64+W 22 *G192+shift; (Formula 5) G128=W 30 *G16+W 31 *G64+W 32 *G192+shift; (Formula 6).
[0117] In the above formulas 4 to 6, G16 represents the compensation parameter of 16 grayscales, G64 represents the compensation parameter of 64 grayscales, and G192 represents the compensation parameter of 192 grayscales.
[0118] As an example, the extended model may be as shown in the following formula 7: G(extended grayscale i)=(W i0 *G(reference grayscale 1)+W i1 *G(reference grayscale 2)+……+W iM *G(reference grayscale M))*X+shift; (Formula 7)
[0119] In the above formula 7, G(reference grayscale 1), G(reference grayscale 2), ..., G(reference grayscale M) represent the compensation parameters of reference grayscale 1, reference grayscale 2, ..., reference grayscale M, respectively; G(extended grayscale i) represents the compensation parameter of extended grayscale i (i is an integer, and 0<i≤N); W i0 、W i1 、……、W iM They respectively represent the weight values corresponding to the compensation parameters of reference grayscale 1, reference grayscale 2, . . . , reference grayscale M when grayscale i is expanded, and X is a parameter determined according to measurement data.
[0120] In the case that the M reference gray scales include 16 gray scales, 64 gray scales and 192 gray scales, the extended model is as shown in the above formula 7, the compensation parameters include a compensation parameter of a first extended gray scale, a compensation parameter of a second extended gray scale, …, a compensation parameter of an Mth extended gray scale (here, M is greater than 2 as an example, and in actual application, M can also be 1 or 2), the first extended gray scale is 16 gray scales, the second extended gray scale is 64 gray scales, and the Mth extended gray scale is 192 gray scales, the compensation parameter of the first extended gray scale includes a first weight value corresponding to 16 gray scales (denoted as W 10 ), a first weight value corresponding to 64 gray scales (denoted as W 11 ), a first weight value corresponding to 192 gray scales (denoted as W 12 ), and a shift, the compensation parameter of the second extended gray scale includes a second weight value corresponding to 16 gray scales (denoted as W 20 ), a second weight value corresponding to 64 gray scales (denoted as W 21 ), a second weight value corresponding to 192 gray scales (denoted as W 22 ), and a shift, …, the compensation parameter of the third extended gray scale includes a third weight value corresponding to 16 gray scales (denoted as W 30 ), a third weight value corresponding to 64 gray scales (denoted as W 31 ), a third weight value corresponding to 192 gray scales (denoted as W 32 ), and a shift, for example, the compensation parameter of 8 gray scales (denoted as G8), the compensation parameter of 48 gray scales (denoted as G48), …, the compensation parameter of 128 gray scales (denoted as G128) can be respectively extended based on the following formula 8, formula 9 and formula 10: G8 = (W 10 *G16+W 11 *G64+W 12 *G192)*X+shift; (formula 8) G48 = (W 20 *G16+W 21 *G64+W 22 *G192)*X+shift; (formula 9) G128 = (W 30 *G16+W 31 *G64+W 32 *G192)*X+shift; (formula 10).
[0121] In the above formula 8-10, G16 represents the compensation parameter of 16 gray scales, G64 represents the compensation parameter of 64 gray scales, and G192 represents the compensation parameter of 192 gray scales.
[0122] It should be noted that the above formula 1 and formula 7 are only used as examples of two extension models, and in actual applications, specific extension models determined based on measurement data are not limited, and can be determined according to specific conditions.
[0123] As an example, the compensation parameters of the at least one extension gray scale (such as N extension gray scales) can be calculated by the electronic device before leaving the factory using the extension model and the extension parameters on the compensation parameters of the M reference gray scales, such as interpolation between the M reference gray scales and saved in the electronic device.
[0124] Alternatively, the compensation parameters of the at least one extension gray scale (such as N extension gray scales) can be calculated by the electronic device when displaying the first interface according to the screen brightness value and the actual gray scale of the first interface (such as including one or more target gray scales), using the extension model and the extension parameters on the compensation parameters of the M reference gray scales, such as interpolation between the M reference gray scales and saved in the electronic device. Based on this, the storage pressure caused by the electronic device storing a large number of compensation parameters can be further reduced.
[0125] Regarding the specific timing of the gray scale extension of the electronic device, the embodiments of the present application are not limited.
[0126] For the case that the compensation parameters of the extension gray scale (such as N extension gray scales) are calculated by the electronic device when displaying the picture, S502 can specifically include: first, the electronic device uses the extension model and the extension parameters to extend the compensation parameters of the M reference gray scales according to the screen brightness value, to obtain the compensation parameters of the extension gray scale (such as N extension gray scales) not included in the M reference gray scale in the target gray scale corresponding to one or more pixels to be compensated in the first interface; then, the electronic device determines the compensation parameters for one or more target gray scales according to the screen brightness value, the compensation parameters of the M reference gray scales and the compensation parameters of the N extension gray scales.
[0127] In some embodiments, the electronic device saves the extension model and the extension parameters. The extension model and the extension parameters can be used to continuously improve the compensation parameters of the extension gray scale to meet the compensation requirements of more gray scales in more scenarios.
[0128] For the compensation parameters of the N extended gray scales, the electronic device extends the compensation parameters of the M reference gray scales using the extension model and the extension parameters before the electronic device is shipped, and saves the compensation parameters in the electronic device. If the M reference gray scales and the N extended gray scales do not include a target gray scale corresponding to a pixel to be compensated at the first interface, the electronic device can use the saved extension model and extension parameters to extend the compensation parameters of the M reference gray scales to obtain the compensation parameters of the target gray scale corresponding to the pixel to be compensated. For example, assuming that the target gray scales include a first target gray scale and a second target gray scale, the compensation data includes the compensation parameters of the first target gray scale and does not include the compensation parameters of the second target gray scale, and the extension parameters include a first weight value group, the first weight value group includes a plurality of weight values corresponding to the M reference gray scales, respectively, the electronic device can determine the compensation parameters of the first target gray scale corresponding to the screen brightness value from the compensation data, and calculate the compensation parameters of the second target gray scale by weighting the compensation parameters of the plurality of reference gray scales according to the plurality of weight values in the first weight value group.
[0129] Alternatively, if the M reference gray scales and the N extended gray scales do not include a target gray scale corresponding to a pixel to be compensated at the first interface, the electronic device can use the saved extension model and extension parameters to extend the compensation parameters of the M reference gray scales and the N extended gray scales to obtain the compensation parameters of the target gray scale corresponding to the pixel to be compensated, so as to realize smooth compensation of the target gray scale and achieve better picture display effect.
[0130] In some embodiments, if the M reference gray scales and the N extended gray scales do not include a target gray scale corresponding to a pixel to be compensated at the first interface, the electronic device can also use a conventional interpolation method to determine the smooth compensation of the target gray scale based on the compensation parameters of two gray scales adjacent to the target gray scale in the M reference gray scales and the N extended gray scales, so as to achieve better picture display effect.
[0131] S503: The electronic device obtains a second interface by performing gray scale compensation on the pixel to be compensated in the first interface according to the determined compensation parameters of one or more target gray scales.
[0132] As an example, the compensation parameter represents a gray scale compensation amount, for example, the compensation parameter includes a gray scale reduction amount or a gray scale increase amount. For this case, the controller of the electronic device can reduce the gray scale of the pixel to be compensated by the gray scale reduction amount indicated by the gray scale reduction compensation parameter corresponding to the screen brightness value, or increase the gray scale of the pixel to be compensated by the gray scale increase amount indicated by the gray scale increase compensation parameter corresponding to the screen brightness value. The controller is not limited to, such as an AP or a DDIC.
[0133] For example, the electronic device can lower the first gray scale by a first gray scale lowering amount, or raise the first gray scale by a first gray scale raising amount, where the first gray scale lowering amount is a gray scale lowering amount corresponding to the first gray scale at the corresponding screen brightness value indicated by the compensation parameter, and the first gray scale raising amount is a gray scale raising amount corresponding to the first gray scale at the corresponding screen brightness value indicated by the compensation parameter; and the electronic device can lower the second gray scale by a second gray scale lowering amount, or raise the second gray scale by a second gray scale raising amount, where the second gray scale lowering amount is a gray scale lowering amount corresponding to the second gray scale at the corresponding screen brightness value indicated by the compensation parameter, and the second gray scale raising amount is a gray scale raising amount corresponding to the second gray scale at the corresponding screen brightness value indicated by the compensation parameter. Of course, the target gray scale corresponding to the pixel to be compensated can also include one or more other gray scales, which are not specifically limited in the embodiments of the present application.
[0134] For example, the compensation parameter based on one or more target gray scales lowers the 2nit 5 gray scale by 5 gray scales for corresponding gray scale compensation, and lowers the 2nit 15 gray scale by 10 gray scales for corresponding gray scale compensation.
[0135] As an example, the compensation parameter represents a target value of the gray scale, such as the compensation parameter including the target value. For this case, the electronic device can adjust (such as lower / raise) the gray scale of the pixel to be compensated to the target value indicated by the compensation parameter.
[0136] For example, the compensation parameter based on one or more target gray scales lowers the 2nit 5 gray scale by 5 gray scales for corresponding gray scale compensation, and lowers the 2nit 15 gray scale by 10 gray scales for corresponding gray scale compensation.
[0137] For example, the compensation parameter based on one or more target gray scales lowers the 2nit 5 gray scale by 5 gray scales for corresponding gray scale compensation, and lowers the 2nit 15 gray scale by 10 gray scales for corresponding gray scale compensation.
[0138] As an example, the AP of the electronic device has the function of gray scale expansion, such as including a unit or module for gray scale expansion in the AP, for such a case, the AP of the electronic device can perform gray scale compensation on the pixels to be compensated in the first interface according to the compensation parameters of one or more target gray scales determined to obtain the second interface. In some examples, the AP of the electronic device can directly call the DDIC to perform S504 after performing gray scale compensation on the pixels to be compensated in the first interface. In some examples, the AP of the electronic device can perform graphic rendering of the application picture after gray scale compensation by GPU after performing gray scale compensation on the pixels to be compensated in the first interface, and then call the DDIC to perform S504. The rendered application picture is displayed through the display screen 394. As to whether graphic rendering is performed after the pixels to be compensated in the first interface are compensated, the embodiments of the present application are not limited.
[0139] As an example, the DDIC of the electronic device has the function of gray scale expansion, for such a case, the DDIC of the electronic device can perform S504 after performing gray scale compensation on the pixels to be compensated in the first interface according to the compensation parameters of one or more target gray scales determined to obtain the second interface.
[0140] S504: The electronic device displays the second interface.
[0141] Exemplarily, the electronic device can call the DDIC to display the second interface to display the second interface through the display screen.
[0142] It should be noted that the above embodiments of the present application only take the electronic device displaying the first interface after the first interface is displayed, and then performing gray scale compensation on the pixels to be compensated in the first interface according to the screen brightness value and the saved compensation data to display the second interface obtained after compensation as an example. The embodiments of the present application do not limit whether the electronic device displays the first interface, for example, in some embodiments, when there is a need to display the first interface, the electronic device can modify the interface parameters of the first interface according to the screen brightness value and the saved compensation data to perform gray scale compensation, and then display the second interface obtained after compensation, which can be determined according to specific circumstances.
[0143] It can be understood that, based on the display method of the display screen based on gray scale compensation shown in FIG. 5 provided by the embodiments of the present application, the electronic device can compensate one or more gray scales corresponding to the pixels to be compensated of the first interface according to the actual screen brightness value and the compensation data. Since the compensation data includes the compensation parameters of the plurality of reference gray scales determined based on a large number of display brightness / color related tests of the plurality of reference gray scales under different backlight brightness, and the compensation parameters of at least one extended gray scale obtained by extending the existing compensation parameters of the plurality of reference gray scales through the extension model and the extension parameters. Therefore, various gray scales in various scenes can be covered; in addition, the scheme can save the compensation data according to a unit or module with greater storage capacity, such as an AP, a memory, etc., without increasing the storage cost, so as to support the storage of more compensation parameters, such as not being limited in an ideal case, which can further ensure the smooth implementation of the scheme, cover more gray scales, improve the accuracy of the compensation results under various brightness and various gray scales, so that the color and display brightness of the display picture meet the subjective visual effect and objective index requirements, such as making the display picture have uniform brightness, uniform chroma, and high consistency between brightness and chroma, and improving the user visual experience.
[0144] For example, please refer to FIG. 6, which shows the compensation effect schematic diagram of two pictures provided by the embodiments of the present application. As shown in FIG. 6, based on the scheme provided by the embodiments of the present application, the display effect of uniform color and uniform brightness can be realized in the high-brightness low-gray-scale scene and the high-brightness high-gray-scale scene. Of course, FIG. 6 is only an example, and in actual application, the scheme provided by the embodiments of the present application can also be applied to other display scenes such as low-brightness low-gray-scale, low-brightness high-gray-scale, etc., without limitation.
[0145] As a possible implementation, please refer to FIG. 7, which shows a method flowchart for obtaining compensation data provided by the embodiments of the present application. As shown in FIG. 7, the compensation parameters and the compensation data can be obtained based on S701-S706 and S707A, or S701-S706 and S707B:
[0146] S701: For the display screen sample i with a screen brightness value of L i , optical data of S i gray scales are acquired.
[0147] Wherein, S i is a positive integer, and S i > 1.
[0148] As a possible implementation, for a plurality of display screen samples with specific hardware structures and specific materials, such as different display screen samples 1, display screen samples 2, …, display screen samples I (I is a positive integer, i ∈ [1, I]) with different hardware structures and / or different materials, the optical data of different screen brightness values and gray scales can be shot by a Demura (screen depth compensation) camera.
[0149] S702: generating compensation parameters of M reference gray scales according to the acquired optical data of S reference gray scales. i i S702: generating compensation parameters of M reference gray scales according to the acquired optical data of S reference gray scales.
[0150] wherein M is a positive integer, and M > 1. i i
[0151] As a possible implementation, the compensation parameters of M reference gray scales can be generated by a screen depth compensation (Demura) calculation module deployed on the production line equipment according to the acquired optical data of S reference gray scales. As for the specific method and process of generating the compensation parameters of the reference gray scales according to the optical data, reference can be made to the conventional technology, which is not limited here. i i As for the specific method and process of generating the compensation parameters of the reference gray scales according to the optical data, reference can be made to the conventional technology, which is not limited here.
[0152] It should be noted that different display screen samples may have different temperature characteristics and / or characteristics at different screen brightness values due to the differences in the hardware structures and / or materials of the RGB EL devices, and therefore, the compensation parameters of the reference gray scales at different temperatures and different screen brightness values can be different for different display screen samples, which is not limited by the embodiments of the present application and can be determined according to the actual situation.
[0153] In some embodiments, the compensation parameters of the reference gray scales described in the embodiments of the present application can be obtained based on the test results of one test, or can be obtained by calculation based on the test results of multiple tests, which is not specifically limited. For example, in order to ensure the accuracy of the gray scale compensation results, a plurality of (such as 10) display screen samples with the same hardware structure and specific materials can be subjected to the operations shown in S701 and S702 respectively, and then the compensation parameters of the same display screen samples at the same temperature, the same screen brightness value and the same gray scale are averaged to obtain the compensation parameters of the reference gray scales of the display screen sample.
[0154] As an example, please refer to FIG. 8, which shows a schematic diagram of the acquisition of the compensation parameters of the reference gray scales and the gray scale expansion process according to an embodiment of the present application. As shown in FIG. 8, the production line equipment generates M compensation parameters of the reference gray scales according to the acquired optical data of S reference gray scales. i i compensation parameters of the reference gray scales 1, compensation parameters of the reference gray scales 2, compensation parameters of the reference gray scales 3, …, compensation parameters of the reference gray scales M i , compensation parameters of the reference gray scales 1, compensation parameters of the reference gray scales 2, compensation parameters of the reference gray scales 3, …, compensation parameters of the reference gray scales M i In practical applications, M i may be 2, without limitation.
[0155] S703: determining the extension parameter P i corresponding to the extension model Z.
[0156] In some embodiments, the extension parameter P i may be a set of initialized extension parameters set randomly. The extension parameter P i may be continuously corrected by subsequent subjective methods and / or objective methods.
[0157] In other embodiments, the extension parameter P i may be determined in the following way: the screen depth compensation (Demura) calculation module determines the linear relationship between a certain gray scale and other gray scales among M i reference gray scales according to the data correlation between the compensation parameters of the M i reference gray scales, such as the compensation parameters of 16 gray scales, the compensation parameters of 32 gray scales, the compensation parameters of 64 gray scales, and the compensation parameters of 192 gray scales, to determine the corresponding extension parameter.
[0158] Exemplarily, as shown in FIG. 9, assuming that the M i reference gray scales include 16 gray scales, 32 gray scales, 64 gray scales, and 192 gray scales, and the compensation parameters of 16 gray scales, the compensation parameters of 32 gray scales, the compensation parameters of 64 gray scales, and the compensation parameters of 192 gray scales are compensation parameters of the same 4*4 pixel interval, as shown in FIG. 9, the linear relationship between the compensation parameters of 32 gray scales and the compensation parameters of the other three gray scales (i.e., 16 gray scales, 64 gray scales, and 192 gray scales) can be determined by analyzing the data correlation between the compensation parameters of 32 gray scales in the above-mentioned 4*4 pixel interval and the compensation parameters of 16 gray scales, 64 gray scales, and 192 gray scales in the above-mentioned 4*4 pixel interval, such as the following formula 11: G32=A1*G16+A2*G64+A3*G192+B;(Formula 11)
[0159] In the above-mentioned formula 11, G16 represents the compensation parameters of 16 gray scales, G32 represents the compensation parameters of 32 gray scales, G64 represents the compensation parameters of 64 gray scales, and G192 represents the compensation parameters of 192 gray scales; A1 represents the weight value corresponding to 16 gray scales, A2 represents the weight value corresponding to 64 gray scales, and A3 represents the weight value corresponding to 192 gray scales; and B does not represent the bias. That is, the extension parameter P iIncluding A1, A2, A3 and B.
[0160] S704: Simulate using extended model Z and extended parameter P i , based on M i The compensation parameters of the reference grayscale are used to expand the grayscale to generate N i The compensation parameters of the extended grayscale are obtained, and grayscale compensation is simulated to generate a simulation effect diagram.
[0161] For example, the Cmodel simulation tool can be used to simulate the extended model Z and the extended parameter P i Perform grayscale expansion to generate N i The compensation parameters of the extended grayscale are obtained, and grayscale compensation is simulated to generate a simulation effect diagram.
[0162] For example, as shown in FIG8 , the Cmodel simulation tool can be based on the extended model Z and the extended parameter P i Perform weighted calculation on the compensation parameters of each reference grayscale and expand to generate N i As shown in Figure 8, after grayscale expansion, the compensation parameters available for subsequent grayscale compensation have been changed from the previous M i Expanded to M i +N i indivual.
[0163] M i The reference grayscales include 16 grayscales, 64 grayscales, and 192 grayscales. The extended model is as shown in the above formula 3. The compensation parameters include the compensation parameters of the first extended grayscale, the compensation parameters of the second extended grayscale, ..., the Mth extended grayscale, i The compensation parameters of the extended grayscale (here M i Greater than 2 as an example, in actual applications M i It may also be 1 or 2), the first extended grayscale is 16 grayscales, the second extended grayscale is 64 grayscales, and the Mth extended grayscale is 192 grayscales. The compensation parameter of the first extended grayscale includes the weight value corresponding to the 16 grayscales (denoted as W i(10) ), the weight value corresponding to 64 gray levels (denoted as W i(11) ), the weight value corresponding to 192 gray levels (denoted as W i(12) ) and the offset (shift), the compensation parameters of the second extended grayscale include the weight value corresponding to the 16 grayscales (denoted as W i(20) ), the weight value corresponding to 64 gray levels (denoted as W i(21) ), the weight value corresponding to 192 gray levels (denoted as W i(22) ) and the offset (shift), ..., the compensation parameters of the third extended grayscale include the weight values corresponding to the 16 grayscales (denoted as W i(30) ), the weight value corresponding to 64 gray levels (denoted as Wi(31) ), the weight value corresponding to 192 gray levels (denoted as W i(32) ) and the offset (shift) as an example, the compensation parameters of 8 grayscales (denoted as G8), 48 grayscales (denoted as G48), ..., 128 grayscales (denoted as G128) can be expanded based on the following formulas 12, 13, and 14 respectively: G8 = W i(10) *G16+W i(11) *G64+W i(12) *G192+shift;(Formula 12) G48=W i(20) *G16+W i(21) *G64+W i(22) *G192+shift; (Formula 13) G128=W i(30) *G16+W i(31) *G64+W i(32) *G192+shift; (Formula 14).
[0164] M i The reference grayscales include 16 grayscales, 64 grayscales, and 192 grayscales. The extended model is as shown in the above formula 7. The compensation parameters include the compensation parameters of the first extended grayscale, the compensation parameters of the second extended grayscale, ..., the Mth extended grayscale, i The compensation parameters of the extended grayscale (here M i Greater than 2 as an example, in actual applications M i It may also be 1 or 2), the first extended grayscale is 16 grayscales, the second extended grayscale is 64 grayscales, and the Mth extended grayscale is 192 grayscales. The compensation parameter of the first extended grayscale includes the weight value corresponding to the 16 grayscales (denoted as W i(10) ), the weight value corresponding to 64 gray levels (denoted as W i(11) ), the weight value corresponding to 192 gray levels (denoted as W i(12) ) and the offset (shift), the compensation parameters of the second extended grayscale include the weight value corresponding to the 16 grayscales (denoted as W i(20) ), the weight value corresponding to 64 gray levels (denoted as W i(21) ), the weight value corresponding to 192 gray levels (denoted as W i(22) ) and the offset (shift), ..., the compensation parameters of the third extended grayscale include the weight values corresponding to the 16 grayscales (denoted as W i(30) ), the weight value corresponding to 64 gray levels (denoted as W i(31) ), the weight value corresponding to 192 gray levels (denoted as W i(32)) and a shift, 8 gray scale compensation parameters (denoted as G8), 48 gray scale compensation parameters (denoted as G48), …, 128 gray scale compensation parameters (denoted as G128) can be respectively extended based on the following formula 15, formula 16, formula 17: i(10) *G16+W i(11) *G64+W i(12) *G192)*X+shift; (formula 15) G48 = (W i(20) *G16+W i(21) *G64+W i(22) *G192)*X+shift; (formula 16) G128 = (W i(30) *G16+W i(31) *G64+W i(32) *G192)*X+shift; (formula 17)
[0165] For other algorithms, the extension model can also be extended to other algorithms, and the gray scale extension can be performed by using a similar method, which will not be described here.
[0166] In some embodiments, for the extension parameter P i is a set of initialization extension parameters set randomly, since the initialization extension parameters cannot usually achieve good picture compensation effect, the extension parameters usually need to be continuously corrected to obtain more accurate extension parameters. For example, the final extension parameters with higher accuracy can be determined by the following S705A or S705B.
[0167] In some embodiments, for the extension parameter P i is determined according to the linear relationship between the compensation parameters of each reference gray scale, in some examples, the extension parameter P i is directly used as the extension parameter corresponding to the display screen sample i, M i compensation parameters of the reference gray scale and N i compensation parameters of the extended gray scale are used as the compensation data corresponding to the display screen sample i. Of course, in order to obtain more accurate extension parameters, in some examples, the final extension parameters with higher accuracy can also be determined by the following S705A or S705B.
[0168] In some embodiments, in addition to using the extension model Z and the extension parameter P i , the M i compensation parameters of the reference gray scale are used to generate N i compensation parameters of the extended gray scale, the extension model Z and the extension parameter P i are also used to optimize M i compensation parameters of the reference gray scale.i a compensation parameter of any reference gray scale among the reference gray scales.
[0169] Exemplarily, the extended model Z and the extended parameter P i Based on the compensation parameters of 16 gray scales, 64 gray scales and 192 gray scales, the compensation parameters of 16 gray scales are optimized by using the following formula 18 or formula 19: G16' = W i(40) *G16 + W i(41) *G64 + W i(42) *G192 + shift; (formula 18) G16' = (W i(40) *G16 + W i(41) *G64 + W i(42) *G192) *X + shift; (formula 19)
[0170] In the above formula 18 and formula 19, W i(40) , W i(41) and W i(42 are respectively the weight values corresponding to 6 gray scales, 64 gray scales and 192 gray scales when G16 is optimized; G16' is the compensation parameter of 16 gray scales obtained after optimization.
[0171] S705: display the simulation effect diagram.
[0172] Exemplarily, after the generation of the simulation effect diagram is completed, the Cmodel simulation tool can display the simulation effect diagram through the display screen of the tool itself, or send the simulation effect diagram to other display screens for display, and the embodiments of the present application are not limited.
[0173] S706: obtain the evaluation result of the simulation effect diagram by the test personnel and / or the measurement result of the preset optical index of the simulation effect diagram based on the optical measurement equipment.
[0174] Exemplarily, the preset optical index is, for example, the optical index E1 and / or E5, but the specific optical index used to evaluate the simulation effect diagram is not limited in the embodiments of the present application, and can be determined according to the specific situation.
[0175] That is, in the embodiments of the present application, the simulated effect picture after gray scale compensation can be evaluated based on subjective method and / or objective method. Among them, the evaluation of the simulated effect picture by the test personnel is the subjective method, and the measurement of the preset optical index of the simulated effect picture based on the optical measurement equipment is the objective method. If the evaluation result of the subjective method meets the expectation (such as the evaluation result is the first evaluation result) and / or the measurement result of the objective method meets the expectation (such as the measurement result is the first measurement result), the expansion parameter is not modified, as shown in S707A; if the evaluation result of the subjective method meets the expectation (such as the evaluation result is the second evaluation result) and / or the measurement result of the objective method meets the expectation (such as the measurement result is the second measurement result), the iteration of gray scale compensation and simulation is performed again after adjusting the expansion parameter, as shown in S707B below.
[0176] Among them, the optical measurement equipment can be used to measure the brightness uniformity and chroma uniformity of the current picture, and the consistency between brightness and chroma; the optical measurement equipment can include but is not limited to luminance meter (such as LMK, CS2000, etc.), color analyzer (such as CA410) and other measurement equipment, and the embodiments of the present application are not limited.
[0177] S707A: according to the first evaluation result of the simulated effect picture by the test personnel and / or the first measurement result of the preset optical index of the simulated effect picture based on the optical measurement equipment, it is determined that the expansion parameter P i as the expansion parameter corresponding to the display screen sample i, M i compensation parameters of the reference gray scale and N i compensation parameters of the expansion gray scale are taken as the compensation data corresponding to the display screen sample i.
[0178] S707B: according to the second evaluation result of the simulated effect picture by the test personnel and / or the second measurement result of the preset optical index of the simulated effect picture based on the optical measurement equipment, the expansion parameter P i is adjusted and iterated again.
[0179] Exemplarily, after adjusting the expansion parameter P i , the compensation parameters of the expansion gray scale generated by simulating the gray scale expansion based on the expansion model Z and the adjusted expansion parameter (such as P i ') can be simulated, and the simulated effect picture is regenerated by simulating the gray scale compensation, and then the regenerated simulated effect picture is evaluated based on the subjective method and / or the objective method (such as re-executing S704-S706), until the evaluation result of the subjective method meets the expectation (such as the evaluation result is the first evaluation result) and / or the measurement result of the objective method meets the expectation (such as the measurement result is the first measurement result).
[0180] Among them, the above adjustment of the expansion parameter P iThe adjustment can be made automatically according to a preset step or manually by a worker on the production line equipment side, and the embodiments of the present application are not limited in this aspect.
[0181] Based on this, the expansion parameter can be continuously corrected based on the subjective method and / or the objective method to obtain a more accurate expansion parameter, improve the accuracy of the compensation result at each brightness and each gray scale, and make the color and display brightness of the display picture meet the subjective visual effect and objective index requirements, thereby improving the user visual experience.
[0182] It should be understood that the various schemes of the embodiments of the present application can be reasonably combined for use, and the explanation or description of each term appearing in the embodiments can be mutually referenced or explained in each embodiment, and this is not limited.
[0183] It should also be understood that in various embodiments of the present application, the size of the sequence number of the above processes does not mean the order of execution, and the execution order of the processes should be determined according to their functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0184] It can be understood that in order to realize the functions of any one of the above embodiments, the electronic device and the like contain the corresponding hardware structure and / or software module for executing each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the present application.
[0185] The embodiments of the present application can divide the electronic device and the like into functional modules, for example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be realized in the form of hardware or software functional module. It should be noted that the division of the modules in the embodiments of the present application is illustrative, and is only a logical functional division. When actually implemented, there can be another division method. It should also be understood that each module in the electronic device and the like can be realized in the form of software and / or hardware, and this is not specifically limited. In other words, the electronic device and the like are presented in the form of functional modules. The "module" here can refer to an application specific integrated circuit (ASIC), a circuit, a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.
[0186] In an alternative way, when using software to implement the data transmission, it can be implemented in the form of computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are implemented in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as digital video disk (DVD)), or semiconductor media (such as solid state disk (SSD)), etc.
[0187] The steps of methods or algorithms described in connection with the embodiments disclosed herein can be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module can reside in RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disk, a removable media, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium can be integral to the processor. The processor and the storage medium can reside in an ASIC. Alternatively, the processor and the storage medium can reside as discrete components in a computing device. Indeed, the functions of the processor and the storage medium can be provided through the platforms, such as Google and the like, and / or software modules that execute on platform-based servers, as is / are known in the art.
[0188] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for description, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
Claims
1. A display method of a display screen, characterized by, The method comprises: displaying a first interface, and obtaining a screen brightness value; determining a target gray scale corresponding to a pixel to be compensated in the first interface; determining compensation parameters of the target gray scale according to the screen brightness value and compensation data, wherein the compensation data comprises compensation parameters of a plurality of reference gray scales and compensation parameters of at least one extended gray scale, and the compensation parameters of the at least one extended gray scale are determined according to the compensation parameters of the plurality of reference gray scales; performing gray scale compensation on the pixel to be compensated according to the compensation parameters of the target gray scale to obtain a second interface; and displaying the second interface.
2. The method of claim 1, wherein, The method further comprises: obtaining compensation parameters of the plurality of reference gray scales and an expansion parameter, wherein the expansion parameter is used to obtain compensation parameters of an extended gray scale by calculation based on the compensation parameters of the plurality of reference gray scales.
3. The method according to claim 1 or 2, characterized in that, The expansion parameter comprises a plurality of expansion parameters corresponding to the screen brightness value, and different expansion parameters are used to obtain compensation parameters of different extended gray scales by calculation based on the compensation parameters of the plurality of reference gray scales.
4. The method of claim 3, wherein, The expansion parameter corresponding to the same extended gray scale is different under different screen brightness values.
5. The method according to any one of claims 1-4, characterized in that, The expansion parameter comprises a plurality of weight value groups corresponding to the screen brightness value, different weight value groups are used to obtain compensation parameters of different extended gray scales by weighted calculation based on the compensation parameters of the plurality of reference gray scales, and each weight value group comprises a plurality of weight values corresponding to the plurality of reference gray scales.
6. The method according to any one of claims 2-5, characterized in that, The expansion parameter comprises a weight value group corresponding to each of the at least one extended gray scale, and the method further comprises: obtaining the compensation parameters of the at least one extended gray scale by weighted calculation based on the compensation parameters of the plurality of reference gray scales according to the expansion parameter.
7. The method according to any one of claims 3-6, characterized in that, The target gray scale comprises a first target gray scale and a second target gray scale, the compensation data comprises the compensation parameters of the first target gray scale and does not comprise the compensation parameters of the second target gray scale, the expansion parameter comprises a first weight value group, the first weight value group comprises a plurality of weight values corresponding to the plurality of reference gray scales, and the determination of the compensation parameters of the target gray scale according to the screen brightness value and the compensation data comprises: determining the compensation parameters of the first target gray scale corresponding to the screen brightness value from the compensation data; and obtaining the compensation parameters of the second target gray scale by weighted calculation based on the compensation parameters of the plurality of reference gray scales according to the plurality of weight values in the first weight value group.
8. The method of any one of claims 1-7, wherein: the compensation data is stored in any one of the following: an application processor of the electronic device, a memory of the electronic device, and a display driver integrated circuit of the electronic device.
9. The method of claim 8, wherein: the compensation data is stored in the application processor or the memory, the compensation parameters of the target gray scale are determined by the application processor according to the screen brightness value and the compensation data, and the gray scale compensation on the pixel to be compensated is performed by the application processor or the display driver integrated circuit; or The compensation data is stored in the display driving integrated circuit or the memory, the compensation parameter of the target gray scale is determined by the display driving integrated circuit according to the screen brightness value and the compensation data, and the gray scale compensation of the pixel to be compensated is performed by the display driving integrated circuit.
10. The method of any one of claims 1-9, wherein, the compensation parameter of the target gray scale comprises a gray scale reduction amount, and the gray scale compensation of the pixel to be compensated according to the compensation parameter of the target gray scale comprises reducing the gray scale of the pixel to be compensated by the gray scale reduction amount; or the compensation parameter of the target gray scale comprises a gray scale increase amount, and the gray scale compensation of the pixel to be compensated according to the compensation parameter of the target gray scale comprises increasing the gray scale of the pixel to be compensated by the gray scale increase amount.
11. The method of any one of claims 1-9, wherein, the compensation parameter of the target gray scale comprises a target value, and the gray scale compensation of the pixel to be compensated according to the compensation parameter of the target gray scale comprises adjusting the gray scale of the pixel to be compensated to the target value. The electronic device comprises: a display screen configured to display a first interface; 12. An electronic device, comprising: a memory configured to store computer program instructions; a controller configured to execute the computer program instructions to obtain a screen brightness value, determine a target gray scale corresponding to a pixel to be compensated in the first interface, and determine a compensation parameter of the target gray scale according to the screen brightness value and compensation data, the compensation parameter of the target gray scale being used for gray scale compensation of the pixel to be compensated. The compensation data is stored in any one of the following: the controller, the memory, the compensation data comprises compensation parameters of a plurality of reference gray scales and compensation parameters of at least one extended gray scale, and the compensation parameters of the at least one extended gray scale are determined according to the compensation parameters of the plurality of reference gray scales. The controller is further configured to: obtain the compensation parameters of the plurality of reference gray scales and an extension parameter, the extension parameter being used to obtain the compensation parameters of the extended gray scale through calculation with the compensation parameters of the plurality of reference gray scales.
13. The electronic device of claim 12, wherein, The extension parameter comprises a weight value group corresponding to the at least one extended gray scale, and the controller is further configured to: weight and calculate the compensation parameters of the plurality of reference gray scales according to the extension parameter to obtain the compensation parameters of the at least one extended gray scale.
14. The electronic device of claim 13, wherein, The target gray scale comprises a first target gray scale and a second target gray scale, the compensation data comprises the compensation parameter of the first target gray scale and does not comprise the compensation parameter of the second target gray scale, the extension parameter comprises a first weight value group, the first weight value group comprises a plurality of weight values corresponding to the plurality of reference gray scales respectively, and the controller is configured to: determine the compensation parameter of the first target gray scale corresponding to the screen brightness value from the compensation data; 15. The electronic device of claim 13 or 14, wherein, weight and calculate the compensation parameters of the plurality of reference gray scales according to the plurality of weight values in the first weight value group to obtain the compensation parameter of the second target gray scale. 16. The electronic device of any of claims 12-15, wherein the controller is an application processor, the compensation data is stored in the application processor or the memory, and the compensation parameter for the target gray level is determined by the application processor based on the screen brightness value and the compensation data, and the gray level compensation for the pixel to be compensated is performed by the application processor. or wherein the controller comprises an application processor and a display driver integrated circuit, the compensation data is stored in the application processor or the memory, and the compensation parameter for the target gray level is determined by the application processor based on the screen brightness value and the compensation data, and the gray level compensation for the pixel to be compensated is performed by the display driver integrated circuit. or wherein the controller is a display driver integrated circuit, the compensation data is stored in the display driver integrated circuit or the memory, and the compensation parameter for the target gray level is determined by the display driver integrated circuit based on the screen brightness value and the compensation data, and the gray level compensation for the pixel to be compensated is performed by the display driver integrated circuit.
17. The electronic device of any of claims 12-16, wherein the compensation parameter for the target gray level comprises a gray level decrease amount, and the controller is configured to decrease the gray level of the pixel to be compensated by the gray level decrease amount. or wherein the compensation parameter for the target gray level comprises a gray level increase amount, and the controller is configured to increase the gray level of the pixel to be compensated by the gray level increase amount.
18. The electronic device of any of claims 12-16, wherein the compensation parameter for the target gray level comprises a target value, and the controller is configured to adjust the gray level of the pixel to be compensated to the target value. The computer readable storage medium has stored thereon computer program instructions which, when executed by processing circuitry, implement the method of any of claims 1-11. The computer program product, when running on a computer, causes the computer to perform the method of any of claims 1-11. 19. A computer-readable storage medium, characterized in that, 20. A computer program product comprising instructions, characterized in that,
Citation Information
Patent Citations
Brightness compensation method, chip, device, equipment and storage medium
CN112542137A
Brightness compensation method and device and computer readable storage medium
CN115565488A
Partition compensation method and electronic equipment
CN115731868A
Display screen brightness compensation method and related equipment
CN117854454A
Electronic apparatus and control method thererof
KR1020220126581A