Compensation Method, Compensation Device, Electronic Device and Storage Medium of Display Module
By replacing and filtering the display module in under-screen camera technology, the problems of uneven brightness and color differences between the under-screen camera area and the conventional area are solved, and the brightness uniformity and display effect of the boundary area are optimized.
Patent Information
- Application Number
- CN202210693419.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2042-06-17
AI Technical Summary
In the existing under-screen camera technology, there are problems of uneven brightness and color differences between the under-screen camera area and the conventional area, which makes the Mura phenomenon unable to be effectively solved.
By receiving the display data of the display module, data of the first display area and the second display area are extracted, data replacement and filtering are performed, the first array and the second array are generated, and the third array is compensated based on the fourth array to optimize the display effect of the boundary area.
The brightness difference at the boundary is improved, the brightness and dark ring problem between different display areas is optimized, and the better compensation effect is obtained, and the display quality of the boundary area is improved.
Smart Images

Figure CN114974073B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display technologies, and particularly discloses a compensation method for a display module, a compensation device, an electronic device, and a storage medium. Background Art
[0002] The under-screen camera technology refers to a technical solution that cancels the camera hole of the front camera on the original screen panel and integrates the camera under the display panel. Compared with other existing types of screens, the camera area can also be used as a display area, and the under-screen camera technology can achieve a full-screen without holes.
[0003] However, in the display module of the existing under-screen camera technology, there are often problems of uneven brightness between the under-screen camera area and the conventional area, and color differences that can be recognized by the human eye on the screen are extended, that is, the so-called Mura phenomenon.
[0004] To solve this problem, a possible implementation is to compensate the display data, but the effect is not good. Therefore, the inventor researches and improves in view of the deficiencies of the existing technology and aims at this problem. Summary of the Invention
[0005] In view of this, the purpose of the present disclosure is to propose a compensation method for a display module, a compensation device, an electronic device, and a storage medium, which can obtain a better compensation effect and optimize the display effect of the boundary area.
[0006] Based on the above purpose, the present disclosure provides a compensation method for a display module; the display module includes a first display area and a second display area, and at least a part of the first display area surrounds the second display area. The compensation method includes:
[0007] Receiving the display data of the display module, where the display data includes the first display data of the first display area and the second display data of the second display area;
[0008] Extracting first data from the first display data, and replacing the second display data in the display data based on the first data to obtain a first array corresponding to the display data;
[0009] Extracting second data from the second display data, and generating third display data of the boundary area between the first display area and the second display area based on the second data to obtain a second array including the second display data and the third display data;
[0010] Performing filtering processing on the first array and the second array respectively to obtain a third array corresponding to the first array and a fourth array corresponding to the second array;
[0011] Compensate the third array based on the fourth array to obtain target display data.
[0012] Optionally, extracting first data from the first display data further includes:
[0013] Extracting the first data of the first display area that is in a parallel position with the second display area from the first display data.
[0014] Optionally, generating third display data for the boundary area between the first display area and the second display area based on the second data further includes:
[0015] Expand a target number of pixels outward from the periphery of the second display area to determine the boundary area.
[0016] Optionally, the first array includes first grayscale values corresponding to pixel points in the first display area and the second display area;
[0017] Wherein, respectively performing filtering processing on the first array and the second array to obtain a third array corresponding to the first array and a fourth array corresponding to the second array further includes:
[0018] For pixel points in the first display area and the second display area, perform weighted averaging on the first grayscale values of pixel points within the pixel point neighborhood through Gaussian filtering;
[0019] The calculated weighted average value is used as the new first grayscale value of the corresponding pixel point, thereby obtaining the third array.
[0020] Optionally, the second array includes second grayscale values corresponding to pixel points in the second display area and the boundary area;
[0021] Wherein, respectively performing filtering processing on the first array and the second array to obtain a third array corresponding to the first array and a fourth array corresponding to the second array further includes:
[0022] For pixel points in the second display area and the boundary area, perform weighted averaging on the second grayscale values of pixel points within the pixel point neighborhood through Gaussian filtering;
[0023] The calculated weighted average value is used as the new second grayscale value of the corresponding pixel point, thereby obtaining the fourth array.
[0024] Optionally, compensating the third array based on the fourth array to obtain target display data further includes:
[0025] Replacing the data corresponding to the pixel points in the second display area and the boundary area in the third array with the fourth array to obtain target display data.
[0026] Optionally, receiving the display data of the display module further includes:
[0027] Performing at least one of display area extraction processing, moiré removal processing, and particle removal processing on the display data.
[0028] In a second aspect, an embodiment of the present application further provides a compensation device for a display module. The display module includes a first display area and a second display area, and at least a part of the first display area surrounds the second display area. The compensation device includes:
[0029] An acquisition unit configured to acquire the display data of the display module;
[0030] A control unit configured to:
[0031] Receive the display data of the display module, where the display data includes first display data of the first display area and second display data of the second display area;
[0032] Extract first data from the first display data, and replace the second display data in the display data based on the first data to obtain a first array corresponding to the display data;
[0033] Extract second data from the second display data, and generate third display data for the boundary area between the first display area and the second display area based on the second data to obtain a second array including the second display data and the third display data;
[0034] Perform filtering processing on the first array and the second array respectively to obtain a third array corresponding to the first array and a fourth array corresponding to the second array;
[0035] Compensate the third array based on the fourth array to obtain target display data.
[0036] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable by the processor;
[0037] Wherein, when the processor executes the computer program, the compensation method provided in the first aspect above is implemented.
[0038] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the compensation method provided in the first aspect.
[0039] As can be seen from the above, for the compensation method of the display module provided by the present disclosure, first, the first data extracted from the first display area is replaced into the second display area for one data replacement to generate a first array; then, the second data extracted from the second display data is replaced into the boundary area for a second data replacement to generate a second array; then, the first array and the second array are subjected to a filtering process, and the processed arrays are compensated to form the display data after the compensation of the display module; it can improve the brightness difference at the boundary and improve the bright and dark ring problem between different display areas; it can obtain a good compensation effect and optimize the display effect of the boundary area. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the following will briefly introduce the drawings required for use in the embodiments or related technology descriptions. Obviously, the drawings in the following description are only the embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0041] Figure 1 Fig. shows a schematic diagram of the effect of a display module having a brightness difference.
[0042] Figure 2A Fig. shows a schematic diagram of the display module according to an embodiment of the present disclosure.
[0043] Figure 2B Fig. shows a flowchart of the exemplary compensation method provided by an embodiment of the present disclosure.
[0044] Figure 3 Fig. is an effect diagram of extracting the first data in the compensation method according to an embodiment of the present disclosure.
[0045] Figure 4 Fig. is an effect diagram of filling the boundary area in the compensation method according to an embodiment of the present disclosure.
[0046] Figure 5 Fig. is a flowchart of the filtering method of the compensation method according to an embodiment of the present disclosure.
[0047] Figure 6 Fig. is an effect diagram of filling the filtering result of the compensation method according to an embodiment of the present disclosure.
[0048] Figure 7 Fig. is a schematic diagram of the comparison of the application effects of the compensation method of the display module according to an embodiment of the present disclosure.
[0049] Figure 8 Schematic diagram of the internal structure of the compensation device according to an embodiment of the present disclosure.
[0050] Figure 9 Schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed implementation manners
[0051] In order to make the objectives, technical solutions and advantages of the present disclosure more clear and understandable, the present disclosure will be further described in detail below with reference to specific embodiments and the accompanying drawings.
[0052] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should have the ordinary meanings understood by those of ordinary skill in the art to which the present disclosure belongs. The terms "first", "second" and similar terms used in the embodiments of the present disclosure do not denote any order, quantity or importance, but are only used to distinguish different components. The terms such as "including" or "comprising" mean that the elements or objects appearing before this word cover the elements or objects listed after this word and their equivalents, without excluding other elements or objects. The terms such as "connected" or "coupled" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The terms such as "upper", "lower", "left" and "right" are only used to represent relative positional relationships, and when the absolute position of the object being described changes, the relative positional relationship may also change accordingly.
[0053] In response to the existing problems of uneven brightness and mura phenomenon, the currently widely adopted method is the Demura compensation method. The Demura compensation method usually takes several grayscale pictures by a high-resolution and high-precision CCD camera; then analyzes the color distribution characteristics of the pixels in the display picture according to the data collected by the camera, and identifies the Mura according to relevant algorithms; generates Demura data, that is, Mura compensation data, according to the Mura data and the corresponding Demura compensation algorithm; and burns the Demura data into the Flash ROM for use in Mura compensation when displaying the picture.
[0054] The inventors found that even if the existing Demura compensation method is used to process the boundary between the imaging area and the normal area, good improvement cannot be obtained, and there are still problems with brightness differences.
[0055] Combined with Figure 1As shown, the square area is shown as the first display area, and the circular area is shown as the second display area. As shown in the figure, in the display module, the second display area emits light, the first display area is dark, and there is a brightness difference at the boundary between the first display area and the second display area. During filtering, the boundary areas between the first display area and the second display area will affect each other, as shown in the difference before and after Gaussian filtering. After filtering, the average value of the edge on the side of the first display area will be increased, and the average value of the edge on the side of the second display area will be decreased. Correspondingly, during the post-processing compensation of the Demura algorithm, the average value of the edge on the side of the first display area will be decreased, and the average value of the edge on the side of the second display area will be increased, resulting in a final display screen showing a bright inner ring and a dark outer ring. This phenomenon is verified by comparing the Gaussian filtering with the difference before filtering as shown in the figure, such as Figure 1 as shown. And this solution aims to solve this problem. Among them, the Demura algorithm can refer to a method for solving the Mura phenomenon, which reduces the brightness of the brighter display area and increases the brightness of the darker display area to make the full-screen display uniform.
[0056] In view of this, the embodiments of the present disclosure provide a compensation method for a display module, which can improve the aforementioned bright and dark ring phenomenon to a certain extent.
[0057] Figure 2A The schematic diagram of the display module 200 according to the embodiments of the present disclosure is shown.
[0058] As Figure 2A shown, the display module 200 may include a first display area 202 and a second display area 204, and the first display area 202 may at least partially surround the second display area 204. In some embodiments, the second display area 204 may be the area where the under-screen camera is set, and the first display area 202 may be the area where the under-screen camera is not set. It can be known that when the under-screen camera is set in the second display area 204, the display pictures corresponding to the first display area 202 and the second display area 204 may have uneven brightness.
[0059] To solve this problem, the embodiments of the present disclosure provide a compensation method for a display module. Figure 2B The schematic flow diagram of the exemplary compensation method provided by the embodiments of the present disclosure is shown.
[0060] See Figure 2B shown; the compensation method may include the following steps:
[0061] S1: Receive the display data of the display module, where the display data includes the first display data of the first display area and the second display data of the second display area;
[0062] S2: extracting first data from the first display data, and replacing the second display data in the display data based on the first data, to obtain a first array corresponding to the display data;
[0063] S3: extracting second data from the second display data, and generating third display data of a boundary area between the first display area and the second display area based on the second data, to obtain a second array including the second display data and the third display data;
[0064] S4: performing filtering processing on the first array and the second array respectively to obtain a third array corresponding to the first array and a fourth array corresponding to the second array;
[0065] S5: Compensate the third array based on the fourth array to obtain target display data.
[0066] In this example, the first display area is the FDC area, and the second display area is the Normal area;
[0067] Among them, the FDC area indicates the camera area, and the Normal area indicates the regular area of the screen.
[0068] The compensation method provided in this embodiment first replaces the first data extracted from the first display area into the second display area, performs a data replacement and generates a first array; then replaces the second data extracted from the second display data into the boundary area, performs a secondary data replacement and generates a second array; then filters the first array and the second array to obtain the corresponding third array and fourth array after filtering, and compensates the processed third and fourth arrays to form the display data after the display module completes the compensation; it can improve the brightness difference at the boundary and improve the bright and dark ring problem between different display areas; it can obtain a better compensation effect and optimize the display effect of the boundary area.
[0069] In some embodiments, the display data may be image data obtained by taking a picture with a camera. In some optional embodiments, step S1 may further select and adopt at least one of display area extraction processing, moiré removal processing and particle removal processing to pre-process the display data, thereby obtaining pre-processed display data, which may include first display data of the first display area and second display data of the second display area. Optionally, the display data may be a pixel grayscale value.
[0070] Further integration Figure 3 As shown, in some optional embodiments, the step S2 of extracting the first data from the first display data may further include:
[0071] Extract the first data of the first display area that is in a parallel position with the second display area from the first display data.
[0072] As Figure 3 shown, the rounded rectangle area can be the first display area, the circular area can be the second display area, and the dotted circle area represents the first data extracted from the first display data and used to replace the second display area.
[0073] Among them, in some optional embodiments, first extract the information of the brightness difference of the first display area, calculate the gray level to be compensated by analyzing the extracted information, the first display data is the pixel gray level representing the brightness of the first display area, and the second display data is the pixel gray level representing the brightness of the second display area.
[0074] The first data extracted from the parallel position can reduce the influence of the IR voltage drop, and then, in the form of discrete data, it is saved as the first array; and the replacement of the first data is to separately save the data (the first data area) at a specific address of the array to another array for filling, and obtain and generate the replaced first array.
[0075] The IR voltage drop is shown as: the deviation caused by I (current) and R (resistance).
[0076] Further combined with Figure 4 shown, in some optional embodiments, the S3 step of generating the third display data of the boundary area between the first display area and the second display area based on the second data may further include the following steps:
[0077] Expand the target number of pixels outward from the periphery of the second display area to determine the boundary area.
[0078] It should be noted that the boundary is the junction of the second display area and the first display area, and its boundary area is the area generated by expanding from the first circle of pixels to the first display area outside according to a pixel block of a certain size.
[0079] Among them, based on the second data extracted from the second display data, the third display data is generated in the above-expanded manner as the boundary area, and then a secondary replacement is performed. The secondary replacement is the replacement and coverage of the boundary area, and the second array is formed by combining the third display data of the boundary area and the second display data.
[0080] In some optional embodiments, it should be noted that the first array includes the first gray level values corresponding to the pixel points in the first display area and the second display area; similarly, the second array includes the second gray level values corresponding to the pixel points in the second display area and the boundary area.
[0081] Combined with Figure 5 shown, where step S4 further includes:
[0082] S401: For the pixel points in the first display area and the second display area, perform weighted averaging on the first gray scale values of the pixel points within the neighborhood of the pixel points through Gaussian filtering;
[0083] S402: Use the calculated weighted average value as the new first gray scale value of the corresponding pixel point, and further obtain the third array.
[0084] Perform filtering once in the above manner, and then filter the pixel points of the first array in the first display area and the second display area after the first replacement into the third array.
[0085] In some alternative embodiments, based on the above embodiments, step S4 may further include:
[0086] S403: For the pixel points in the second display area and the boundary area, perform weighted averaging on the second gray scale values of the pixel points within the neighborhood of the pixel points through Gaussian filtering;
[0087] S404: Use the calculated weighted average value as the new second gray scale value of the corresponding pixel point, and further obtain the fourth array.
[0088] After the first filtering, perform second filtering on the pixel points of the second array generated from the second display area and the boundary area after the second replacement, and further generate the fourth array.
[0089] Combined with Figure 6 As shown, in some alternative embodiments, based on the above embodiments, step S5 may further include:
[0090] Use the fourth array to replace the data corresponding to the pixel points in the second display area and the boundary area in the third array to obtain the target display data.
[0091] Further combined with Figure 7 As shown, on the left is the effect diagram without performing Demura processing using the above solution, and there are still bright and dark rings. While on the right is the effect diagram after edge optimization and compensation using this solution, making the bright and dark rings between the two boundaries invisible.
[0092] The compensation method of the display module provided in this embodiment first replaces the first data extracted from the first display area into the second display area, performs a data replacement once and generates a first array; then replaces the second data extracted from the second display data into the boundary area, performs a secondary data replacement and generates a second array; then performs a filtering process on the first array and the second array, and after filtering, obtains the corresponding third array and fourth array, and compensates the processed third and fourth arrays to form the display data after the display module is compensated; it can improve the brightness difference existing at the boundary and optimize the display effect of the boundary area.
[0093] It should be noted that the method of the present disclosure embodiment can be executed by a single device, such as a computer or a server, etc. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In this case of a distributed scenario, one of these multiple devices can only execute one or more steps of the method of the present disclosure embodiment, and these multiple devices will interact with each other to complete the described method.
[0094] It should be noted that some embodiments of the present disclosure are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be executed in a different order from those in the above embodiments and still achieve the desired results. Additionally, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0095] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the embodiment of the present application also provides a compensation device for a display module. The display module includes a first display area and a second display area, and at least a part of the first display area surrounds the second display area;
[0096] See Figure 8 As shown, the compensation device 800 includes:
[0097] An acquisition unit 802, configured to: acquire the display data of the display module; this acquisition unit 802, for example, can be a camera;
[0098] A control unit 804, configured to:
[0099] Receive the display data of the display module, where the display data includes the first display data of the first display area and the second display data of the second display area;
[0100] Extract the first data from the first display data, and replace the second display data in the display data based on the first data to obtain the first array corresponding to the display data;
[0101] Extract the second data from the second display data, and generate the third display data of the boundary region between the first display area and the second display area based on the second data to obtain the second array including the second display data and the third display data;
[0102] Perform filtering processing on the first array and the second array respectively to obtain the third array corresponding to the first array and the fourth array corresponding to the second array;
[0103] Compensate the third array based on the fourth array to obtain the target display data.
[0104] In some embodiments, the control unit 804 is configured to: extract the first data of the first display area that is in a parallel position with the second display area from the first display data.
[0105] In some embodiments, the control unit 804 is configured to: expand the target number of pixels outward from the periphery of the second display area to determine the boundary region.
[0106] In some embodiments, the first array includes the first grayscale values corresponding to the pixel points in the first display area and the second display area; the control unit 804 is configured to:
[0107] For the pixel points in the first display area and the second display area, perform weighted averaging on the first grayscale values of the pixel points in the neighborhood of the pixel points through Gaussian filtering;
[0108] The calculated weighted average value is used as the new first grayscale value of the corresponding pixel point, thereby obtaining the third array.
[0109] In some embodiments, the second array includes the second grayscale values corresponding to the pixel points in the second display area and the boundary region; the control unit 804 is configured to:
[0110] For the pixel points in the second display area and the boundary region, perform weighted averaging on the second grayscale values of the pixel points in the neighborhood of the pixel points through Gaussian filtering;
[0111] The calculated weighted average value is used as the new second grayscale value of the corresponding pixel point, thereby obtaining the fourth array.
[0112] In some embodiments, the control unit 804 is configured to: replace the data corresponding to the pixel points in the second display area and the boundary area in the third array with the fourth array to obtain target display data.
[0113] In some embodiments, the control unit 804 is configured to: perform at least one of display area extraction processing, moiré removal processing, and particle removal processing on the display data.
[0114] For convenience of description, when describing the above device, various modules are described separately according to their functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0115] The device in the above embodiment is used to implement the corresponding compensation method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.
[0116] Based on the same inventive concept, corresponding to the method in any of the above embodiments, an embodiment of the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable by the processor; wherein, when the processor executes the computer program, the compensation method provided in the above embodiment is implemented.
[0117] Figure 9 FIG. shows a more specific schematic diagram of the hardware structure of the electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. Among them, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are communicatively connected to each other inside the device through the bus 1050.
[0118] The processor 1010 may be implemented in a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0119] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, etc. The memory 1020 can store an operating system and other application programs. When implementing the technical solutions provided in the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0120] The input / output interface 1030 is used to connect to the input / output module to achieve information input and output. The input / output module can be configured as a component in the device (not shown in the figure) or can be externally connected to the device to provide corresponding functions. Among them, the input device can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device can include a display, a speaker, a vibrator, an indicator light, etc.
[0121] The communication interface 1040 is used to connect to a communication module (not shown in the figure) to achieve communication interaction between this device and other devices. Among them, the communication module can achieve communication through a wired method (such as USB, network cable, etc.) or can achieve communication through a wireless method (such as a mobile network, WIFI, Bluetooth, etc.).
[0122] The bus 1050 includes a path for transmitting information between various components of the device (such as the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0123] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device may also only include the components necessary for implementing the solutions of the embodiments of this specification and does not necessarily include all the components shown in the figure.
[0124] The electronic device in the above embodiments is used to implement the compensation method of the corresponding display module in any of the foregoing embodiments and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.
[0125] Based on the same inventive concept, corresponding to the method in any of the above embodiments, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the compensation method of the display module as described in any of the foregoing embodiments.
[0126] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory, or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassette tapes, magnetic tape magnetic disk storage, or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0127] It should be noted that the method of this embodiment of the present disclosure can be executed by a single device, such as a computer or a server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In such a distributed scenario, one of the multiple devices can only execute one or more steps of the method of this embodiment of the present disclosure, and these multiple devices will interact with each other to complete the described method.
[0128] It should be noted that some embodiments of the present disclosure are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the above embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0129] The computer instructions stored in the storage medium of the above embodiment are used to cause the computer to execute the compensation method of the display module as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be elaborated here.
[0130] Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples; under the concept of the present disclosure, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of the embodiments of the present disclosure as described above, and they are not provided in detail for the sake of brevity.
[0131] In addition, for simplicity of explanation and discussion, and so as not to make the embodiments of the present disclosure difficult to understand, well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Further, the devices may be shown in block diagram form in order to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that details regarding the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure are to be implemented (i.e., these details should be fully within the understanding of those skilled in the art). In cases where specific details (such as circuits) are set forth to describe exemplary embodiments of the present disclosure, it will be apparent to those skilled in the art that the embodiments of the present disclosure may be practiced without these specific details or with variations of these specific details. Accordingly, these descriptions are to be regarded as illustrative rather than restrictive.
[0132] Although the present disclosure has been described in connection with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (such as dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0133] Embodiments of the present disclosure are intended to cover all such alternatives, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the embodiments of the present disclosure shall be included within the protection scope of the present disclosure.
Claims
1. A compensation method for a display module, characterized in that: The display module includes a first display area and a second display area, at least a part of the first display area surrounds the second display area, and the compensation method includes: Receiving display data of the display module, where the display data includes first display data of the first display area and second display data of the second display area; Extracting first data from the first display data, and replacing the second display data in the display data based on the first data to obtain a first array corresponding to the display data; the first array includes first grayscale values corresponding to pixel points in the first display area and the second display area; Extracting second data from the second display data, and generating third display data of a boundary area between the first display area and the second display area based on the second data to obtain a second array including the second display data and the third display data; the second array includes second grayscale values corresponding to pixel points in the second display area and the boundary area; Performing Gaussian filtering processing on the first array and the second array respectively to obtain a third array corresponding to the first array and a fourth array corresponding to the second array; Compensating the third array based on the fourth array to obtain target display data.
2. The compensation method according to claim 1, wherein Extracting first data from the first display data further includes: Extracting the first data of the first display area that is in a parallel position with the second display area from the first display data.
3. The compensation method according to claim 1, wherein Generating third display data of a boundary area between the first display area and the second display area based on the second data further includes: Expanding a target number of pixels outward from the periphery of the second display area to determine the boundary area.
4. The compensation method according to claim 1, characterized in that Performing Gaussian filtering processing on the first array and the second array respectively to obtain a third array corresponding to the first array and a fourth array corresponding to the second array further includes: For pixel points in the first display area and the second display area, performing weighted averaging on the first grayscale values of pixel points in the neighborhood of the pixel points through Gaussian filtering; Taking the calculated weighted average value as the new first grayscale value of the corresponding pixel point, and further obtaining the third array.
5. The compensation method according to claim 1, characterized in that Performing Gaussian filtering processing on the first array and the second array respectively to obtain a third array corresponding to the first array and a fourth array corresponding to the second array further includes: For pixel points in the second display area and the boundary area, performing weighted averaging on the second grayscale values of pixel points in the neighborhood of the pixel points through Gaussian filtering; Taking the calculated weighted average value as the new second grayscale value of the corresponding pixel point, and further obtaining the fourth array.
6. The compensation method according to claim 1, characterized in that Compensating the third array based on the fourth array to obtain target display data further includes: Using the fourth array to replace the data corresponding to pixel points in the second display area and the boundary area in the third array to obtain target display data.
7. The compensation method according to claim 1, wherein Receiving display data of the display module further includes: Performing at least one of display area extraction processing, moiré removal processing, and particle removal processing on the display data.
8. A compensation device for a display module, characterized in that, The display module includes a first display area and a second display area, and at least a part of the first display area surrounds the second display area. The compensation device includes: An acquisition unit configured to acquire display data of the display module; A control unit configured to: Receive the display data of the display module, where the display data includes first display data of the first display area and second display data of the second display area; Extract first data from the first display data, and replace the second display data in the display data based on the first data to obtain a first array corresponding to the display data; the first array includes first gray-scale values corresponding to pixel points in the first display area and the second display area; Extract second data from the second display data, and generate third display data of a boundary area between the first display area and the second display area based on the second data to obtain a second array including the second display data and the third display data; the second array includes second gray-scale values corresponding to pixel points in the second display area and the boundary area; Perform Gaussian filtering processing on the first array and the second array respectively to obtain a third array corresponding to the first array and a fourth array corresponding to the second array; Compensate the third array based on the fourth array to obtain target display data.
9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored on the memory and executable by the processor. When the processor executes the program, the method described in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause a computer to execute the method described in any one of claims 1 to 7.
Citation Information
Patent Citations
Brightness compensation parameter detection method, brightness compensation method, brightness compensation parameter detection device, brightness compensation device, display device and storage medium
CN110447061A
Compensation gray scale determination method, device and equipment
CN114267279A