Data processing method and device, computer device, and storage medium

By determining the differential mode based on the distribution direction of uneven brightness areas, differential and lossless compression is performed on the display compensation data of the OLED screen, solving the problems of storage space and compensation data error in the Demura process, and achieving more efficient storage and more uniform display effect.

CN119993049BActive Publication Date: 2026-07-31BEIJING VISIONOX TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING VISIONOX TECHNOLOGY CO LTD
Filing Date
2025-01-16
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

In the existing Demura process for OLED screens, the compression compensation data occupies a large amount of storage space, and the lossy compression method results in a large error in the decompressed compensation data, which affects the display effect.

Method used

Based on the distribution direction of the uneven brightness area, the target differential mode is determined. After differential processing of the display compensation data, lossless compression is performed to obtain the target compressed compensation data.

Benefits of technology

It effectively reduces storage space usage while maintaining high-precision compensation data, avoiding errors after decompression, and achieving a more uniform screen display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119993049B_ABST
    Figure CN119993049B_ABST
Patent Text Reader

Abstract

This application relates to a data processing method, apparatus, computer equipment, and storage medium, comprising: acquiring display compensation data of a target screen and the distribution direction of uneven brightness regions in the display image of the target screen; determining a target differential mode based on the distribution direction of the uneven brightness regions; performing differential processing on the display compensation data of the uneven brightness regions based on the target differential mode to obtain intermediate data; and compressing the intermediate data to obtain target compressed compensation data. This application, by adaptively determining the differential mode based on the distribution direction of the uneven brightness regions and compressing the display compensation data after differential processing, can reduce errors in the decompressed compensation data while avoiding excessive memory usage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and in particular to a data processing method, apparatus, computer equipment, and storage medium. Background Technology

[0002] With the development of display technology, organic light-emitting diode (OLED) screens have been widely used.

[0003] When displaying images on OLED screens, uneven brightness areas (muras) often appear. There are many reasons for these uneven brightness areas, such as low installation precision of the display device, uneven spacing between pixels, and improper data compression processing. Current solutions involve obtaining compensation data for these uneven brightness areas through a demura elimination process. This compensation data is then compressed and stored in a storage module to compensate for the uneven brightness areas on the OLED screen, thereby improving image quality.

[0004] To save storage space, existing technologies compress and store compensation data for real-world images, then decompress it before use. Existing compression methods include lossy and lossless compression. Existing lossless compression methods result in compressed data occupying excessive memory, while lossy compression methods introduce errors into the decompressed compensation data for areas of uneven brightness, leading to overcompensation or undercompensation. Summary of the Invention

[0005] Therefore, it is necessary to provide a data processing method, apparatus, computer equipment, and storage medium that can effectively reduce the memory usage of compression methods in order to address the aforementioned technical problems.

[0006] In a first aspect, this application provides a data processing method, including:

[0007] Obtain the display compensation data of the target screen and the distribution direction of the uneven brightness areas in the display screen;

[0008] The target differential mode is determined based on the distribution direction of the uneven brightness region;

[0009] Based on the target differential mode, the display compensation data of the brightness uneven area is differentially processed to obtain intermediate data;

[0010] The intermediate data is compressed to obtain the target compressed and compensated data.

[0011] In one embodiment, determining the target differential mode based on the distribution direction of the brightness non-uniform region includes:

[0012] When the distribution direction of the uneven brightness region is the first direction, the target difference mode is determined to be the first difference mode;

[0013] When the distribution direction of the uneven brightness region is the second direction, the target difference mode is determined to be the second difference mode;

[0014] The first direction intersects with the second direction, and the first difference mode and the second difference mode are different;

[0015] Optionally, when the distribution direction of the uneven brightness region is the first direction, the brightness difference of the uneven brightness region in the first direction is smaller than the brightness difference of the uneven brightness region in the second direction.

[0016] When the distribution direction of the uneven brightness region is the second direction, the brightness difference of the uneven brightness region in the second direction is smaller than the brightness difference of the uneven brightness region in the first direction.

[0017] Optionally, when the distribution direction of the uneven brightness region is the first direction, the difference in the display compensation data corresponding to the uneven brightness region in the first direction is smaller than the difference in the display compensation data corresponding to the uneven brightness region in the second direction.

[0018] When the distribution direction of the uneven brightness region is the second direction, the difference of the display compensation data corresponding to the uneven brightness region in the second direction is smaller than the difference of the display compensation data corresponding to the uneven brightness region in the first direction.

[0019] Optionally, when the distribution direction of the non-uniform brightness region is the first direction, the maximum size of the non-uniform brightness region in the first direction is greater than the maximum size of the non-uniform brightness region in the second direction.

[0020] When the distribution direction of the non-uniform brightness region is the second direction, the maximum size of the non-uniform brightness region in the second direction is greater than the maximum size of the non-uniform brightness region in the first direction.

[0021] Optionally, when the display screen of the target screen includes a first brightness non-uniform area and a second brightness non-uniform area, the display compensation data corresponding to the first brightness non-uniform area is differentially processed according to a first differential mode, and the display compensation data corresponding to the second brightness non-uniform area is differentially processed according to a second differential mode; wherein, the first brightness non-uniform area is a brightness non-uniform area with a distribution direction of the first direction, and the second brightness non-uniform area is a brightness non-uniform area with a distribution direction of the second direction.

[0022] In one embodiment, when the target differential mode is the first differential mode, the display compensation data for the brightness unevenness area is differentially processed based on the target differential mode to obtain intermediate data, including:

[0023] Vertical difference is performed on the display compensation data of areas with uneven brightness to obtain intermediate data;

[0024] Optionally, the first direction is vertical;

[0025] Optionally, the display compensation data for areas with uneven brightness can be subjected to first differential mode differential or vertical differential, including:

[0026] For the first row of display compensation data in areas of uneven brightness, the difference is calculated by subtracting the previous column's display compensation data from the current column's display compensation data. For each column of display compensation data other than the first row's display compensation data, the difference is calculated by subtracting the previous row's display compensation data from the current row's display compensation data. The column direction is parallel to the first direction, and the row direction is parallel to the second direction.

[0027] In one embodiment, when the target differential mode is the second differential mode, the display compensation data for the brightness unevenness area is differentially processed based on the target differential mode to obtain intermediate data, including:

[0028] The display compensation data for areas with uneven brightness is laterally differentiald to obtain intermediate data;

[0029] Optionally, the second direction is horizontal;

[0030] Optionally, the display compensation data for areas with uneven brightness can be subjected to a second differential mode differential or a lateral differential, including:

[0031] For the first column of display compensation data in areas of uneven brightness, the difference is calculated by subtracting the previous row's display compensation data from the current row's display compensation data. For each row of display compensation data other than the first column, the difference is calculated by subtracting the previous column's display compensation data from the current column's display compensation data. The column direction is parallel to the first direction, and the row direction is parallel to the second direction.

[0032] In one embodiment, obtaining display compensation data for the target screen includes:

[0033] Acquire raw image data of the target screen's display image captured by the image acquisition device;

[0034] The original image data is denoised to obtain denoised data;

[0035] Calculate the grayscale data of the denoised data corresponding to each pixel in the display screen to obtain the grayscale table of the corresponding display screen;

[0036] The display compensation data is calculated based on the grayscale table and the average grayscale value of the middle area of ​​the grayscale table.

[0037] In one embodiment, it further includes:

[0038] The target compression compensation data is stored in the storage unit;

[0039] Retrieve the target compression compensation data from the storage unit;

[0040] The target compressed compensation data is subjected to preset decoding processing to obtain intermediate data, wherein the target compressed compensation data is obtained through preset arithmetic coding compression processing;

[0041] Restore the intermediate data to obtain the display compensation data;

[0042] Display compensation data is used to compensate for uneven brightness areas in the displayed image.

[0043] Secondly, this application also provides a data processing apparatus, comprising:

[0044] The acquisition module is used to acquire display compensation data of the target screen and the distribution direction of uneven brightness areas in the display screen of the target screen;

[0045] The determination module is used to determine the target differential mode based on the distribution direction of the uneven brightness region;

[0046] The differential module is used to perform differential processing on the display compensation data of the brightness uneven area based on the target differential mode to obtain intermediate data;

[0047] The compression module is used to compress intermediate data to obtain the target compressed and compensated data.

[0048] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the data processing method described in the first aspect.

[0049] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the data processing method described in the first aspect.

[0050] Fifthly, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the data processing method described in the first aspect.

[0051] In summary, this application proposes a data processing method, apparatus, computer device, and storage medium, comprising: acquiring display compensation data of a target screen and the distribution direction of uneven brightness regions in the display image of the target screen; determining a target differential mode based on the distribution direction of the uneven brightness regions; performing differential processing on the display compensation data of the uneven brightness regions based on the target differential mode to obtain intermediate data; and compressing the intermediate data to obtain target compressed compensation data. This application, by adaptively determining the differential mode based on the distribution direction of uneven brightness regions and compressing the display compensation data after differential processing, can ensure reduced errors in the decompressed compensation data while avoiding excessive memory usage. Attached Figure Description

[0052] Figure 1 This is a schematic diagram illustrating an application scenario of the data processing method in one embodiment;

[0053] Figure 2 This is a flowchart illustrating a data processing method in one embodiment;

[0054] Figure 3 This is a schematic diagram showing the distribution of the mura region in the display screen of the target screen in one embodiment;

[0055] Figure 4 This is a flowchart illustrating the steps for determining the target difference mode in one embodiment;

[0056] Figure 5 This is a schematic diagram of a screen where the direction of the uneven brightness area of ​​the target screen is vertical, as shown in one embodiment.

[0057] Figure 6 This is a schematic diagram illustrating the calculation method of differential display compensation data within the vertical mura region according to a first differential mode in one embodiment;

[0058] Figure 7 This is a schematic diagram illustrating the calculation method for differential display compensation data within the vertical mura region according to a first differential mode in another embodiment;

[0059] Figure 8 This is a schematic diagram illustrating the application of the first difference mode in one embodiment.

[0060] Figure 9 This is a schematic diagram illustrating the effect of the first differential mode in one embodiment;

[0061] Figure 10 This is a schematic diagram of a screen where the direction of the uneven brightness area of ​​the target screen is horizontal, as shown in one embodiment.

[0062] Figure 11This is a schematic diagram illustrating the calculation method of differential display compensation data within the horizontal mura region according to the second differential mode in one embodiment;

[0063] Figure 12 This is a flowchart illustrating the steps involved in calculating and displaying compensation data in one embodiment.

[0064] Figure 13 This is a flowchart illustrating a data processing method in another embodiment;

[0065] Figure 14 This is a structural block diagram of a data processing apparatus in one embodiment;

[0066] Figure 15 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0067] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0068] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0069] Demura processing is a technique used in the manufacturing of display devices to eliminate or mitigate the mura phenomenon in displays. Mura refers to uneven brightness on a display panel. Mura on a display screen affects the user's viewing experience and consequently, their perception of product quality. Demura processing adjusts the grayscale values ​​or voltages of pixels in the mura areas of the display panel, brightening overly dark areas and darkening overly bright areas, thereby achieving a more uniform display and improving the image quality of the display device. In the following embodiments, the uneven brightness areas are referred to as mura areas.

[0070] Unlike traditional liquid crystal displays (LCDs), OLED screens are made with a very thin coating of organic material and a glass substrate. When an electric current passes through, the organic material coating emits light. This self-emissive technology gives OLED screens significant advantages in color performance, contrast, viewing angle, response speed, and energy consumption. With continuous technological advancements and decreasing costs, OLED screens are widely used in smartphones, televisions, and wearable devices, including smartwatches, smart bracelets, and head-mounted displays.

[0071] The data processing method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on a cloud or other network server. Terminal 102 connects to the display panel to be compensated and an image acquisition device. The image acquisition device captures images of the display panel and converts the captured images into image data, which is then transmitted to terminal 102. Terminal 102 analyzes the image data to obtain corresponding display compensation data. Terminal 102 can be a high-performance PC terminal, while the display panel can be compatible with various televisions, personal computers, laptops, smartphones, tablets, and portable wearable devices. Server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0072] In related technologies, the Demura process used in OLED screens consumes a significant amount of storage space when compressing compensation data. Furthermore, since the storage space within the display device's storage unit is limited, using a lossy compression method that occupies less storage space can affect the accuracy of the compensation data, causing errors in the Demura compensation effect and impacting the display panel's Demura performance.

[0073] This embodiment provides a data processing method that can effectively improve the storage space problem of compensation data in the Demura process, and can provide a processing method that can compress and decompress with high precision to reduce the error generated in the data compression process.

[0074] In one embodiment, such as Figure 2 As shown, a data processing method is provided, including the following steps:

[0075] S201, Obtain the display compensation data of the target screen and the distribution direction of the uneven brightness areas in the display screen of the target screen.

[0076] In this embodiment, the target screen is the screen of the display panel to be compensated. During the Demura process, a standard display image can be sent to the display panel via a signal generator to cause the target screen to display the corresponding image. Then, an image acquisition device captures the display image of the target screen to obtain image data of the corresponding display image, which includes pixel data and brightness data. After obtaining the image data of the display image, the image acquisition device forwards the image data to the corresponding terminal, allowing the terminal to analyze the image data and calculate the corresponding display compensation data.

[0077] After acquiring the corresponding image data, the terminal converts it into a grayscale table. By identifying the grayscale values ​​of areas with uneven brightness in the grayscale table, and based on the distribution pattern of the grayscale values, the distribution direction of the muta regions in the displayed image can be determined. For example, such as... Figure 3 As shown, white squares represent pixels with normal grayscale values, and gray squares represent pixels with abnormal grayscale values. The distribution direction of the vertical mura corresponding to the mura in the display image is vertical, and the distribution direction of the horizontal mura corresponding to the mura in the display image is horizontal.

[0078] In practical applications, if the identified pixels with abnormal grayscale values ​​are mainly arranged vertically, for example... Figure 3 If the vertical mura pattern is shown, then the distribution direction of the mura area in the displayed image can be determined to be vertical. Similarly, if the identified abnormal grayscale values ​​are mainly distributed in the horizontal area, for example... Figure 3 As shown in the horizontal mura diagram, the distribution direction of the mura area in the displayed image can be determined to be horizontal. In this embodiment, the vertical direction can be direction Y, and the horizontal direction can be direction X. It should be noted that the column direction is direction Y, and the row direction is direction X.

[0079] In this embodiment, the distribution location of pixels with abnormal grayscale values ​​can be identified, and the distribution direction of the mura region can be determined by the distribution location of each pixel. For example, if there are multiple abnormal pixels with abnormal grayscale values, namely pixels (2,3), (2,4), (2,6), and (2,7), it can be determined that the column values ​​of each abnormal pixel are constantly changing, thus indicating that the abnormal pixels are arranged horizontally and the distribution direction of the mura region is horizontal. If there are multiple abnormal pixels with abnormal grayscale values, namely pixels (4,3), (6,3), (7,3), and (8,3), it can be determined that the row values ​​of each abnormal pixel are constantly changing, thus indicating that the abnormal pixels are arranged vertically and the distribution direction of the mura region is vertical.

[0080] In practical applications, the distribution direction of the mura region can be determined by identifying the number of different digits in the row and column values ​​of each abnormal pixel. Specifically, if the number of digits in the row values ​​of abnormal pixels within the mura region is greater than the number of digits in the column values, the distribution direction of the mura region is determined to be vertical. If the number of digits in the column values ​​of abnormal pixels within the mura region is greater than the number of digits in the row values, the distribution direction of the mura region is determined to be horizontal. For example, taking the combination of pixels (4,3), (6,3), (7,3), and (8,3) as an example, the number of digits in the row values ​​is 4, and the number of digits in the column values ​​is 1, indicating that the distribution direction of the mura region is vertical.

[0081] In one embodiment, the distribution direction of the mura region can also be identified by recognizing its size values ​​in the row and column directions. If the maximum size value of the mura region in the row direction is greater than the maximum size value in the column direction, the distribution direction of the mura region is horizontal. If the maximum size value of the mura region in the column direction is greater than the maximum size value in the row direction, the distribution direction of the mura region is vertical. In this embodiment, the size value can be the length, and the maximum size value is the maximum length; the maximum size value in the row direction is the maximum length in the row direction, and the maximum size value in the column direction is the maximum length in the column direction.

[0082] For example, the maximum size of a mura region in the row direction is [value]. The maximum dimension in the column direction is ,exist In this case, the distribution direction of the mura region is determined to be horizontal. In this case, the distribution direction of the mura region is determined to be vertical.

[0083] For example, when the distribution direction of the uneven brightness region is the first direction, the maximum size of the uneven brightness region in the first direction is greater than the maximum size of the uneven brightness region in the second direction.

[0084] For example, when the distribution direction of the uneven brightness region is the second direction, the maximum size of the uneven brightness region in the second direction is greater than the maximum size of the uneven brightness region in the first direction.

[0085] In practical applications, abnormal grayscale values ​​can be determined based on the brightness differences of pixels in the actual application scenario. It's important to understand that there's a correspondence between pixel brightness and grayscale values; pixel brightness can be adaptively converted to grayscale values. The conversion method between brightness and grayscale values ​​can be selected appropriately based on the needs of the actual application scenario. Assuming that the brightness of a pixel at the current moment should fall within a preset brightness range, this pixel can be determined as a normal pixel with a normal grayscale value. Conversely, if the brightness of any pixel at the current moment does not fall within the preset brightness range, this pixel is determined as an abnormal pixel with an abnormal grayscale value.

[0086] In this embodiment, it can be determined whether the gray level value is an abnormal gray level value by comparing the gray level value of each pixel with a preset gray level threshold.

[0087] In practical applications, the distribution direction of the mura region can also be determined directly based on the original image data of the target screen, i.e., brightness data or pixel data. The method for determining the distribution direction of the mura region can be selected according to the needs of the actual application scenario.

[0088] S202, determine the target differential mode based on the distribution direction of the uneven brightness region.

[0089] In this embodiment, the target differential mode can be divided into several differential modes, such as vertical differential mode and horizontal differential mode. The specific type of the target differential mode is determined according to the distribution direction of the mura area in the target screen display. After determining the distribution direction of the mura area in the display, the relevant parameters of the corresponding differential mode can be directly called according to the preset correlation between the distribution direction of the mura area and the differential mode to realize the loading of the corresponding differential mode.

[0090] For example, if the distribution direction of the mura region is horizontal, the target difference mode can be determined as a horizontal difference mode directly based on the correlation between the distribution direction of the mura region and the difference mode. If the distribution direction of the mura region is vertical, the target difference mode can be determined as a vertical difference mode directly based on the correlation between the distribution direction of the mura region and the difference mode.

[0091] In some embodiments, if the distribution direction of the mura regions also exhibits an oblique distribution, the difference mode can also adopt a diagonal difference mode. The specific type of the target difference mode in this embodiment can be determined based on the correlation between the distribution direction of the mura regions and the difference mode configured in the actual application scenario.

[0092] It should be noted that when the distribution direction of the mura region is the first direction, that is, when the distribution direction of the mura region is vertical, the brightness difference between vertically arranged pixels in the mura region is smaller than the brightness difference between horizontally arranged pixels in the mura region.

[0093] When the distribution direction of the mura region is the second direction, that is, when the distribution direction of the mura region is horizontal, the brightness difference between pixels arranged horizontally in the mura region is smaller than the brightness difference between pixels arranged vertically in the mura region. Here, the brightness difference between pixels can correspond to the brightness difference or grayscale difference between pixels.

[0094] Correspondingly, when the distribution direction of the mura region is the first direction, that is, when the distribution direction of the mura region is vertical, the difference in display compensation data between vertically arranged pixels in the mura region is smaller than the difference in display compensation data between horizontally arranged pixels in the mura region.

[0095] When the distribution direction of the mura region is the second direction, i.e., the distribution direction of the mura region is horizontal, the difference in display compensation data between horizontally arranged pixels in the mura region is smaller than the difference in display compensation data between vertically arranged pixels in the mura region. This difference in display compensation data between pixels can correspond to the difference in brightness compensation values ​​between pixels.

[0096] For example, when the distribution direction of the uneven brightness region is the first direction, the brightness difference of the uneven brightness region in the first direction is smaller than the brightness difference of the uneven brightness region in the second direction.

[0097] For example, when the distribution direction of the uneven brightness region is the second direction, the brightness difference of the uneven brightness region in the second direction is smaller than the brightness difference of the uneven brightness region in the first direction.

[0098] For example, when the distribution direction of the uneven brightness region is the first direction, the difference in the display compensation data corresponding to the uneven brightness region in the first direction is smaller than the difference in the display compensation data corresponding to the uneven brightness region in the second direction.

[0099] For example, when the distribution direction of the uneven brightness region is the second direction, the difference in the display compensation data corresponding to the uneven brightness region in the second direction is smaller than the difference in the display compensation data corresponding to the uneven brightness region in the first direction.

[0100] S203, based on the target differential mode, performs differential processing on the display compensation data of the brightness uneven area to obtain intermediate data.

[0101] In this embodiment, after determining the target differential mode, the display compensation data for areas with uneven brightness can be differentially processed according to the differential processing method corresponding to the target differential mode. Since the display compensation data is usually in tabular form, differential processing can be performed on a row or column basis within the table matrix. For example, when differentially processing the display compensation data according to the horizontal differential mode, differential processing is performed on each row of display compensation data separately. When differentially processing the display compensation data according to the vertical differential mode, differential processing is performed on each column of display compensation data separately.

[0102] In a specific embodiment, after differential processing of the display compensation data, the distribution range of the display compensation data can be effectively concentrated, making the display compensation data more concentrated, thereby achieving the effect of removing redundant compensation data and obtaining intermediate data.

[0103] S204, compress the intermediate data to obtain the target compressed compensation data.

[0104] In this embodiment, the compression process can be lossless compression. Lossless compression can employ arithmetic coding or Huffman coding. The specific compression coding method used in this embodiment can be configured according to the needs of the actual application scenario.

[0105] In one embodiment, using arithmetic coding compression to compress and compensate intermediate data can achieve a higher compression rate and obtain target compressed and compensated data that occupies less storage space.

[0106] In addition, in this embodiment, after the intermediate data is compressed, the display panel can decompress the intermediate data according to the decompression method corresponding to the compression method, so that the calculated intermediate data can be used to compensate for the brightness of the display screen in the subsequent display process, so as to obtain a more uniform display effect.

[0107] In this embodiment, after acquiring the target compression compensation data, the target compression compensation data can be burned into the IC flash storage unit of the display panel so that when the display panel displays the image again, it can perform higher precision compensation on the pixels in the mura area, thereby displaying a clearer and more uniformly bright image.

[0108] In summary, this embodiment provides a data processing method that selects a corresponding target differential mode based on the distribution direction of the mura region, processes the compensation data calculated by the Demura process based on the target differential mode, and stores the compressed intermediate data in the storage unit of the corresponding display panel. This method can greatly improve the compression efficiency of compensation data in the Demura process of OLED screens, achieve data compression with smaller storage space, and retain compensation data more completely, avoiding large compensation errors and achieving a more delicate and uniform screen display effect.

[0109] In one embodiment, such as Figure 4 As shown, the target differential mode is determined based on the distribution direction of the uneven brightness region, including:

[0110] S401, when the distribution direction of the uneven brightness region is the first direction, the target differential mode is determined to be the first differential mode.

[0111] S402, when the distribution direction of the uneven brightness region is the second direction, the target differential mode is determined to be the second differential mode.

[0112] In this embodiment, the first direction Y intersects with the second direction X, and the first differential mode and the second differential mode are different. For example, the first direction Y can correspond to the vertical direction, such as... Figure 3 The central direction Y corresponds to the vertical differential mode in the first differential mode. The second direction X can correspond to the horizontal direction, for example... Figure 3 The central direction is X, and the second difference mode corresponds to the lateral difference mode. For example, the distribution direction of uneven brightness regions is the same as the difference direction.

[0113] In a specific embodiment, there is a one-to-one correspondence between the distribution direction of the mura region and the target difference pattern; different distribution directions of the mura region correspond to different target difference patterns. That is, the first direction Y and the second direction X are different distribution directions of the mura region, and the first difference pattern and the second difference pattern are different difference processing modes.

[0114] In practical applications, the distribution direction of the mura region can be multiple, and the corresponding differential processing modes can also include multiple types, which can be adaptively configured according to the needs of the actual application scenario.

[0115] Optionally, when the display screen of the target screen includes a first brightness non-uniform area and a second brightness non-uniform area, the display compensation data corresponding to the first brightness non-uniform area is differentially processed according to a first differential mode, and the display compensation data corresponding to the second brightness non-uniform area is differentially processed according to a second differential mode; wherein, the first brightness non-uniform area is a brightness non-uniform area with a distribution direction of the first direction Y, and the second brightness non-uniform area is a brightness non-uniform area with a distribution direction of the second direction X.

[0116] In this embodiment, as Figure 3 As shown, if a display screen simultaneously includes horizontal muras (i.e., the distribution direction of the uneven brightness area is the second direction X) and vertical muras (i.e., the distribution direction of the uneven brightness area is the first direction Y), then a preset screen segmentation algorithm will be used to segment the horizontal and vertical mura areas, obtaining display compensation data for the horizontal and vertical muras respectively. The horizontal and vertical mura areas obtained according to the preset screen segmentation algorithm are shown below. Figure 3 The area shown in the dashed box is as follows.

[0117] During differential processing, the horizontal mura region is differentially divided horizontally, and the vertical mura region is differentially divided vertically to ensure that the differential processing can stably remove redundant data from the display compensation data. The preset screen segmentation algorithm can be selected appropriately based on the needs of the actual application scenario.

[0118] In one embodiment, when the distribution direction of the mura area of ​​the display screen is vertical, the actual effect of the display screen is as follows: Figure 5 As shown. At this point, the target differential mode can be determined to be the first differential mode. When the target differential mode is the first differential mode, the display compensation data is differentially processed based on the target differential mode to obtain intermediate data, including: performing vertical differential on the display compensation data to obtain intermediate data.

[0119] For example, vertical differential is performed on the display compensation data for areas with uneven brightness, or, a first differential mode differential is performed on the display compensation data for areas with uneven brightness, including:

[0120] For the first row of display compensation data in the area of ​​uneven brightness, the difference is calculated by subtracting the previous column's display compensation data from the current column's display compensation data; for each column of display compensation data in the area of ​​uneven brightness, excluding the first row's display compensation data, the difference is calculated by subtracting the previous row's display compensation data from the current row's display compensation data, with the column direction parallel to the first direction and the row direction parallel to the second direction.

[0121] For the same area of ​​uneven brightness, the intermediate data in the w1-th column of the first row of intermediate data corresponding to the uneven brightness area can be equal to the difference between the display compensation data in the w1-th column and the display compensation data in the (w1-1)-th column. The intermediate data in the k1-th row of the v1-th column of intermediate data (excluding the first row of intermediate data) corresponding to the uneven brightness area can be equal to the difference between the display compensation data in the k1-th row and the display compensation data in the (k1-1)-th row. w1 can be an integer greater than or equal to 1, less than or equal to the number of columns in the display compensation data for the uneven brightness area. v1 can be an integer greater than or equal to 1, less than or equal to the number of columns in the display compensation data for the uneven brightness area. k1 can be an integer greater than or equal to 2, less than or equal to the number of rows in the display compensation data for the uneven brightness area.

[0122] In this embodiment, vertical differential processing can be divided into two parts. One part involves processing the first row of display compensation data (i.e., the first row of the compensation table), subtracting the previous column's display compensation data from the current column's display compensation data. The other part involves processing each column of display compensation data (i.e., each column of the compensation table), subtracting the previous row's display compensation data from the current row's display compensation data. It should be noted that before differential processing, a preset screen segmentation method is used to select the compensation frame to be processed by Mura compensation and differential processing within the target screen's display area. During vertical differential processing, if the pixel corresponding to the first row of display compensation data is within the boundary of the compensation frame, the original data value of the first row of display compensation data can be retained. If the pixel corresponding to the first row of display compensation data is not within the boundary of the compensation frame, data values ​​outside the compensation frame can be used for differential processing.

[0123] In actual processing, such as Figure 6As shown in Table S, the display compensation data with vertical muras is defined by a dashed box. The intermediate data after differential processing of the display compensation data with vertical muras is shown in Table SD. In this embodiment, since the difference in display compensation data between vertically arranged pixels in the vertical muras region is smaller than the difference between horizontally arranged pixels, this embodiment performs differential processing on the display compensation data within the vertical muras region according to the first differential mode. That is, it performs differential processing on the display compensation data within the vertical muras region according to vertical differential, which can effectively reduce the distribution range of the intermediate data after differential processing within the region, making the distribution range of the intermediate data after differential processing within the region closer to a single value, such as 0. Compared with the scheme of differential processing the display compensation data within the vertical muras region according to the second differential module, this embodiment can improve data redundancy and facilitate compression. Vertical mura region: Vertically, it shows that the compensated data has a small gradient, small difference dispersion, high similarity, and low overall data entropy; horizontally, it shows that the compensated data has a large gradient, large difference dispersion, low similarity, and high overall data entropy. The vertical mura region may include multiple horizontally spaced vertical stripes.

[0124] For example, the display compensation data within the vertical mura area can be shown in Table 1 below:

[0125] Table 1

[0126] 8 2 8 0 8 8 1 8 0 8 8 2 8 0 8 8 0 8 0 8 8 0 8 0 8 8 0 8 0 8 8 0 8 1 8 8 0 8 2 8

[0127] It should be noted that the data in Table 1 above is for illustrative purposes only.

[0128] In one specific embodiment, the processing logic for vertical difference can be as follows: Figure 7 As shown, according to and The processing logic performs differential processing on the grayscale compensation table corresponding to the display compensation data. Among other things, To display the compensation data, For intermediate data, To display the grayscale compensation value in the first row and kth column of the compensation data, To display the grayscale compensation value in the (k-1)th column of the first row of the compensation data, This represents the grayscale compensation difference in the first row and i-th column of the intermediate data. This is the grayscale compensation difference value in the first row and kth column of the intermediate data. This is the sum of all grayscale compensation differences in the first row of intermediate data. This is the sum of all grayscale compensation differences in the Nth column of the intermediate data.

[0129] For example, as shown in Figure 8, if the displayed compensation data is shown in the matrix corresponding to the compensation table, and the intermediate data is shown in the matrix corresponding to the compensation difference, it can be clearly seen that the data distribution of the intermediate data obtained after vertical differencing is more concentrated in the range of -1 to 1. In contrast, the data distribution of the displayed compensation data without differencing is more widely distributed in the range of -3 to 3. More obviously, as shown in... Figure 9 As shown, the distribution range of the intermediate data is illustrated in the tree diagram corresponding to the differential compensation grayscale distribution, and the distribution range of the display compensation data is also illustrated in the tree diagram corresponding to the compensation grayscale distribution. In other words, after vertically differencing the display compensation data, redundant parts can be effectively removed; these redundant parts are the data represented by -3 and 3. It should be noted that the redundant parts in the display compensation data need to be determined based on the distribution range of the display compensation data in the actual application scenario.

[0130] In this embodiment, since the differential mode is determined based on the distribution direction of the mura region, when the overall distribution direction of the mura region is vertical, the abnormal grayscale values ​​within the mura region will also be vertically distributed. Through the compensation data calculation method of the Demura process, the grayscale compensation table for the abnormal grayscale values ​​of the mura region will also generally show a vertical regularity. At this time, the vertical differential processing method can effectively remove the redundant parts in the grayscale compensation table.

[0131] In one embodiment, when the distribution direction of the mura region of the target screen's display image is horizontal, the actual effect of the display image is as follows: Figure 10 As shown. At this point, the target differential mode is determined to be the second differential mode. When the target differential mode is the second differential mode, the mura compensation data is differentially processed based on the target differential mode to obtain intermediate data, including: performing lateral differential on the display compensation data to obtain intermediate data.

[0132] For example, performing lateral differential on display compensation data for areas with uneven brightness, or performing second differential mode differential on display compensation data for areas with uneven brightness, including:

[0133] For the first column of display compensation data in the area of ​​uneven brightness, the difference is calculated by subtracting the display compensation data of the previous row from the display compensation data of the current row; for each row of display compensation data in the area of ​​uneven brightness except for the first column, the difference is calculated by subtracting the display compensation data of the previous column from the display compensation data of the current column, with the column direction parallel to the first direction and the row direction parallel to the second direction.

[0134] For the same area of ​​uneven brightness, the intermediate data in the w2th row of the first column of intermediate data corresponding to the uneven brightness area can be equal to the difference between the display compensation data in the w2th row and the display compensation data in the w2-1th row. The intermediate data in the k2th column of the v2th row of intermediate data (excluding the first column of intermediate data) corresponding to the uneven brightness area can be equal to the difference between the display compensation data in the k2th column and the display compensation data in the k2-1th column. w2 can be an integer greater than or equal to 1, less than or equal to the number of rows of display compensation data in the uneven brightness area. v2 can be an integer greater than or equal to 1, less than or equal to the number of rows of display compensation data in the uneven brightness area. k2 can be an integer greater than or equal to 2, less than or equal to the number of columns of display compensation data in the uneven brightness area.

[0135] In this embodiment, the horizontal differential process can also be divided into two parts. One part involves differential processing for the first column of display compensation data, i.e., the first column of the compensation table, where the compensation data is differentially processed by subtracting the previous row's display compensation data from the current row's display compensation data. The other part involves differential processing for each row of display compensation data, i.e., each row of the compensation table, where the compensation data is differentially processed by subtracting the previous column's display compensation data from the current column's display compensation data. During the horizontal differential process, if the pixel corresponding to the first column's display compensation data is within the boundary of the compensation screen, the original data value of the first column's display compensation data can be retained. If the pixel corresponding to the first column's display compensation data is not within the boundary of the compensation screen, data values ​​outside the compensation screen can be used for differential processing.

[0136] In actual processing, such as Figure 11As shown in Table G, the display compensation data with horizontal mura is defined by a dashed box. The intermediate data after differential processing of the display compensation data with horizontal mura is shown in Table GD. In this embodiment, since the difference in display compensation data between horizontally arranged pixels in the horizontal mura region is smaller than the difference in display compensation data between vertically arranged pixels, this embodiment performs differential processing on the display compensation data in the horizontal mura region according to the second differential module. That is, it performs differential processing on the display compensation data in the horizontal mura region according to the horizontal difference, which can effectively reduce the distribution range of the intermediate data after differential processing within the region, making the distribution range of the intermediate data after differential processing within the region closer to a single value, such as 0. Compared with the scheme of differential processing on the display compensation data in the horizontal mura region according to the first differential module, this embodiment can improve data redundancy and facilitate compression. Horizontal mura region: Horizontally, it shows that the compensated data has a small gradient, small difference dispersion, high similarity, and low overall data entropy; vertically, it shows that the compensated data has a large gradient, large difference dispersion, low similarity, and high overall data entropy. A horizontal mura region may include multiple vertically spaced horizontal stripes.

[0137] For example, the display compensation data within the horizontal mura area can be shown in Table 2 below:

[0138] Table 2

[0139] 8 8 8 8 8 6 8 8 8 8 0 1 1 1 0 0 0 0 0 0 8 8 6 8 8 6 8 8 8 8 0 0 1 1 1 1 1 1 1 1 8 8 8 8 8 6 6 6 8 8

[0140] It should be noted that the data in Table 2 above is for illustrative purposes only.

[0141] Alternatively, in one feasible embodiment, the target difference pattern can also be set as a diagonal difference pattern corresponding to the distribution direction of the oblique mura region, following the same principle.

[0142] In one embodiment, such as Figure 12 As shown, the display compensation data for the target screen is obtained, including:

[0143] S1201: Acquire the raw image data of the target screen display captured by the image acquisition device.

[0144] S1202, Denoise the original image data to obtain denoised data.

[0145] S1203 Calculate the grayscale data of the denoised data corresponding to each pixel in the display screen to obtain the grayscale table of the corresponding display screen.

[0146] S1204, the display compensation data is calculated based on the grayscale table and the average grayscale value of the middle area of ​​the grayscale table.

[0147] In this embodiment, the Demura device includes, but is not limited to, a signal generator for sending a standard display image to the display panel, a terminal for identifying and analyzing raw image data, an image acquisition device for acquiring raw image data, and a burning device for storing compressed compensation data into the display panel storage unit.

[0148] In this embodiment, the raw image data is the unprocessed data collected by the image acquisition device.

[0149] Since the original image data may contain a large amount of noise, this embodiment can further employ high-frequency noise removal methods such as wavelet transform (WT) to denoise the original image data, thereby obtaining denoised data. For example, the wavelet transform method can be continuous wavelet transform or discrete wavelet transform, and the specific denoising algorithm can be configured according to the needs of the actual application scenario. In some embodiments, the high-frequency noise removal algorithm can also employ denoising algorithms such as moving average filtering, median filtering, or Savitzky-Golay filtering (SG filtering), and the specific algorithm type can be determined according to the actual application scenario.

[0150] The specific steps of the wavelet transform method may include performing wavelet decomposition on the original image data to obtain wavelet coefficients at multiple scales; setting a threshold to perform threshold processing on the wavelet coefficients of high-frequency wavelet division, setting coefficients smaller than the threshold to zero or performing shrinkage processing; and reconstructing the processed wavelet coefficients to obtain denoised data.

[0151] This embodiment uses wavelet transform to efficiently remove high-frequency noise while preserving the main features of the original image data.

[0152] After denoising the original image data, the denoised data is converted into grayscale data of the corresponding gray levels, resulting in a grayscale table for the corresponding display screen. In this embodiment, the gray level can be 255 gray levels or other gray levels; no specific limitation is made here, and it can be determined according to the needs of the actual application scenario.

[0153] In a specific embodiment, the grayscale table includes a middle region and an edge region. The edge region is the row and column area of ​​the grayscale table near the edge, and the middle region is the row and column area of ​​the grayscale table excluding the edge region. For example, for a grayscale table with i columns and n rows, the areas occupied by the grayscale values ​​in the 1st and nth rows, and the areas occupied by the grayscale values ​​in the 1st and ith columns, are the edge regions, and the areas occupied by the other grayscale values ​​are the middle regions.

[0154] In this embodiment, when calculating and displaying compensation data, the average gray level of the middle area of ​​the gray level table is first calculated. That is, the corresponding gray level compensation table can be calculated based on the difference between each gray level value in the gray level table and the average gray level value, and then the compensation data is displayed.

[0155] In one embodiment, the display device that has completed Demura processing can, at any time during the subsequent display of image data, retrieve the target compression compensation data from the storage unit of the display panel, restore the target compression compensation data to tabular display compensation data, and perform brightness compensation processing on the image data to be displayed to achieve uniform brightness display. For example... Figure 13 As shown, the data processing method also includes:

[0156] S1301, retrieve the target compression compensation data from the storage unit.

[0157] S1302, the target compression compensation data is subjected to preset decoding processing to obtain intermediate data, wherein the target compression compensation data is obtained by preset arithmetic encoding compression processing.

[0158] S1303, restore intermediate data to obtain display compensation data.

[0159] S1304 uses display compensation data to compensate for uneven brightness areas in the displayed image.

[0160] In this embodiment, after the display panel completes the Demura process, when displaying other images, it will call the target compression compensation data from the corresponding IC Flash storage unit and perform preset decoding processing on the target compression compensation data corresponding to the arithmetic encoding compression method to obtain intermediate data.

[0161] Based on the target difference mode used in the intermediate data, the intermediate data is then restored using a restoration method corresponding to the target difference mode to obtain the initially calculated display compensation data, i.e., the grayscale compensation table. Finally, the grayscale compensation table is used to complete the image compensation processing for the image to be displayed.

[0162] In summary, this embodiment provides a data processing method that can perform differential processing on display compensation data according to the direction of the mura on the display panel. Different differential processing methods in different directions can make the distribution of display compensation data more concentrated. After differential processing of the display compensation data, lossless encoding and compression can be performed, which can provide a higher precision picture compensation effect when using display compensation data, while reducing the storage space occupied by compressed data. This can maximize the utilization of the display panel's storage unit, enabling the display panel's storage unit to completely store high-precision display compensation data, and making the brightness of the display screen more uniform, so that the display device has a higher specification of picture display effect.

[0163] In a more detailed embodiment, the complete execution flow of a data processing method includes:

[0164] 1. Acquire the raw image data captured by the Demura device, and perform wavelet transform on the raw image data to remove high-frequency noise and obtain denoised data.

[0165] 2. Convert the denoised data into grayscale data using the grayscale conversion formula, where the grayscale data is represented in matrix form. Divide the grayscale data into edge regions and middle regions, and calculate the mean grayscale value of the middle region. Subtracting the mean grayscale value from each grayscale value in the grayscale data yields a grayscale compensation table used to compensate for the displayed image. Specifically, grayscale data. The conversion formula can be ; .

[0166] 3. Obtaining the grayscale compensation table yields the display compensation data. Based on this grayscale data, the mura direction of the displayed image can be further identified. The target differential mode is determined based on the mura direction of the displayed image. Assuming the mura direction of the displayed image is vertical, the target differential mode is a vertical differential mode. The grayscale compensation table is then differentially processed according to this vertical differential mode, making the distribution of compensation data in the differential grayscale compensation table more concentrated and effectively reducing information redundancy in the compensation data.

[0167] 4. Compress the intermediate data after differential processing using arithmetic coding compression to obtain the target compression compensation data. Burn the target compression compensation data into the IC Flash of the display panel to implement the Demura process of the display panel.

[0168] 5. During subsequent display processes, the display panel first retrieves the target compressed compensation data from the storage unit. It then decodes the target compressed compensation data using a decoding method corresponding to the arithmetic encoding compression method to obtain deredundant compressed data. This deredundant compressed data undergoes differential restoration processing to obtain the initial display compensation data, i.e., the grayscale compensation table. Finally, brightness compensation is applied to each pixel position in the displayed image, resulting in a more uniform picture.

[0169] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0170] Based on the same inventive concept, this application also provides a data processing apparatus for implementing the data processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more data processing apparatus embodiments provided below can be found in the limitations of the data processing method described above, and will not be repeated here.

[0171] In one embodiment, such as Figure 14 As shown, a data processing apparatus 1400 is provided, including: an acquisition module 1410, a determination module 1420, a differential module 1430, and a compression module 1440, wherein:

[0172] The acquisition module 1410 is used to acquire display compensation data of the target screen and the distribution direction of uneven brightness areas in the display screen of the target screen;

[0173] The determination module 1420 is used to determine the target differential mode based on the distribution direction of the brightness non-uniform area;

[0174] The differential module 1430 is used to perform differential processing on the display compensation data of the brightness uneven area based on the target differential mode to obtain intermediate data;

[0175] Compression module 1440 is used to compress intermediate data to obtain target compressed compensation data.

[0176] In one embodiment, the determining module 1420 is specifically used to determine the target differential mode as a first differential mode when the distribution direction of the uneven brightness region is a first direction; and to determine the target differential mode as a second differential mode when the distribution direction of the uneven brightness region is a second direction.

[0177] In one embodiment, when the target differential mode is the first differential mode, the differential module 1430 is specifically used to perform vertical differential on the display compensation data of the brightness uneven area to obtain intermediate data.

[0178] In one embodiment, when the target differential mode is the second differential mode, the differential module 1430 is specifically used to perform lateral differential on the display compensation data of the brightness uneven area to obtain intermediate data.

[0179] In one embodiment, the acquisition module 1410 is specifically used to acquire the original image data of the target screen captured by the image acquisition device; perform denoising processing on the original image data to obtain denoised data; calculate the grayscale data of the denoised data corresponding to each pixel in the display screen to obtain the grayscale table of the corresponding display screen; and calculate the display compensation data based on the grayscale table and the grayscale mean value of the middle area of ​​the grayscale table.

[0180] In one embodiment, the data processing device 1400 for the display panel further includes:

[0181] The compensation module is used to store the target compressed data in the storage unit; retrieve the target compressed compensation data from the storage unit; perform preset decoding processing on the target compressed compensation data to obtain intermediate data, wherein the target compressed compensation data is obtained through preset arithmetic encoding compression processing; restore the intermediate data to obtain display compensation data; and use the display compensation data to compensate for uneven brightness areas in the display screen.

[0182] In summary, this embodiment provides a data processing device that can perform differential processing on display compensation data according to the direction of the mura on the display panel. Different differential processing methods in different directions can make the distribution of display compensation data more concentrated. After differential processing of the display compensation data, lossless encoding and compression can be performed, which can provide a higher precision picture compensation effect when using display compensation data, while reducing the storage space occupied by compressed data. This can maximize the utilization of the storage unit of the display panel, enabling the storage unit of the display panel to completely store high-precision display compensation data, and make the brightness of the display screen more uniform, so that the display device has a higher specification of picture display effect.

[0183] Each module in the data processing device of the aforementioned display panel can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0184] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 15 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a data processing method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0185] Those skilled in the art will understand that Figure 15 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0186] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0187] Obtain the display compensation data of the target screen and the distribution direction of the uneven brightness areas in the display screen;

[0188] The target differential mode is determined based on the distribution direction of the uneven brightness regions;

[0189] Based on the target differential mode, the display compensation data of the brightness uneven area is differentially processed to obtain intermediate data;

[0190] The intermediate data is compressed to obtain the target compressed and compensated data.

[0191] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0192] Obtain the display compensation data of the target screen and the distribution direction of the uneven brightness areas in the display screen;

[0193] The target differential mode is determined based on the distribution direction of the uneven brightness regions;

[0194] Based on the target differential mode, the display compensation data of the brightness uneven area is differentially processed to obtain intermediate data;

[0195] The intermediate data is compressed to obtain the target compressed and compensated data.

[0196] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0197] Obtain the display compensation data of the target screen and the distribution direction of the uneven brightness areas in the display screen;

[0198] The target differential mode is determined based on the distribution direction of the uneven brightness regions;

[0199] Based on the target differential mode, the display compensation data of the brightness uneven area is differentially processed to obtain intermediate data;

[0200] The intermediate data is compressed to obtain the target compressed and compensated data.

[0201] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0202] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0203] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A data processing method, characterized by, include: Acquire display compensation data of the target screen and the distribution direction of uneven brightness areas in the display screen of the target screen; The target differential mode is determined based on the distribution direction of the uneven brightness region; Based on the target differential mode, the display compensation data of the brightness uneven area is differentially processed to obtain intermediate data; The intermediate data is compressed to obtain the target compressed compensation data; The step of determining the target differential mode based on the distribution direction of the uneven brightness region includes: When the distribution direction of the uneven brightness region is a first direction, the target difference mode is determined to be a first difference mode; the first direction is vertical. When the target differential mode is the first differential mode, the intermediate data obtained by differential processing the display compensation data of the brightness non-uniform area based on the target differential mode includes: The intermediate data is obtained by vertically differentiating the display compensation data of the uneven brightness area; Performing the first differential mode differential or vertical differential on the display compensation data of the brightness uneven area includes: For the first row of display compensation data in the uneven brightness area, the difference is calculated by subtracting the previous column's display compensation data from the current column's display compensation data; for each column of display compensation data in the uneven brightness area other than the first row's display compensation data, the difference is calculated by subtracting the previous row's display compensation data from the current row's display compensation data.

2. The method of claim 1, wherein, The step of determining the target differential mode based on the distribution direction of the uneven brightness region includes: When the distribution direction of the uneven brightness region is the second direction, the target difference mode is determined to be the second difference mode.

3. The method of claim 2, wherein, The first direction intersects with the second direction, and the first differential mode and the second differential mode are different.

4. The method of claim 2, wherein, When the distribution direction of the uneven brightness region is a first direction, the brightness difference of the uneven brightness region in the first direction is smaller than the brightness difference of the uneven brightness region in the second direction. When the distribution direction of the uneven brightness region is the second direction, the brightness difference of the uneven brightness region in the second direction is less than the brightness difference of the uneven brightness region in the first direction.

5. The method of claim 2, wherein, When the distribution direction of the uneven brightness region is the first direction, the difference in the display compensation data corresponding to the uneven brightness region in the first direction is smaller than the difference in the display compensation data corresponding to the uneven brightness region in the second direction. When the distribution direction of the uneven brightness region is the second direction, the difference in the display compensation data corresponding to the uneven brightness region in the second direction is less than the difference in the display compensation data corresponding to the uneven brightness region in the first direction.

6. The method of claim 2, wherein, When the distribution direction of the uneven brightness region is a first direction, the maximum size of the uneven brightness region in the first direction is greater than the maximum size of the uneven brightness region in the second direction. When the distribution direction of the uneven brightness region is the second direction, the maximum size of the uneven brightness region in the second direction is greater than the maximum size of the uneven brightness region in the first direction.

7. The method of claim 2, wherein, When the same display screen of the target screen includes a first brightness non-uniform area and a second brightness non-uniform area, the display compensation data corresponding to the first brightness non-uniform area is differentially processed according to the first differential mode, and the display compensation data corresponding to the second brightness non-uniform area is differentially processed according to the second differential mode; wherein, the first brightness non-uniform area is a brightness non-uniform area with a distribution direction of the first direction, and the second brightness non-uniform area is a brightness non-uniform area with a distribution direction of the second direction.

8. The method of claim 1, wherein, The column direction is parallel to the first direction.

9. The method according to claim 2, characterized in that, The row direction is parallel to the second direction.

10. The method according to claim 2, characterized in that, When the target differential mode is the second differential mode, the differential processing of the display compensation data for the brightness non-uniform area based on the target differential mode to obtain intermediate data includes: The intermediate data is obtained by performing lateral difference on the display compensation data of the uneven brightness area.

11. The method according to claim 2, characterized in that, The second direction is horizontal.

12. The method according to claim 10, characterized in that, Performing the second differential mode differential or lateral differential on the display compensation data of the brightness uneven area includes: For the first column of display compensation data in the uneven brightness area, the difference is calculated by subtracting the previous row's display compensation data from the current row's display compensation data; for each row of display compensation data in the uneven brightness area other than the first column's display compensation data, the difference is calculated by subtracting the previous column's display compensation data from the current column's display compensation data, with the column direction parallel to the first direction and the row direction parallel to the second direction.

13. The method according to any one of claims 1 to 12, characterized in that, The acquisition of display compensation data for the target screen includes: Acquire raw image data of the target screen's display image captured by the image acquisition device; The original image data is denoised to obtain denoised data; Calculate the grayscale data of the denoised data corresponding to each pixel in the display screen to obtain the grayscale table corresponding to the display screen; The display compensation data is calculated based on the grayscale table and the average grayscale value of the middle area of ​​the grayscale table.

14. The method according to any one of claims 1 to 12, characterized in that, Also includes: The target compression compensation data is stored in the storage unit; The target compressed compensation data is subjected to a preset decoding process to obtain the intermediate data, wherein the target compressed compensation data is obtained through a preset arithmetic coding compression process; The intermediate data is restored to obtain the display compensation data; The display compensation data is used to compensate for uneven brightness areas in the display screen.

15. A data processing method, characterized in that, include: Acquire display compensation data of the target screen and the distribution direction of uneven brightness areas in the display screen of the target screen; The target differential mode is determined based on the distribution direction of the uneven brightness region; Based on the target differential mode, the display compensation data of the brightness uneven area is differentially processed to obtain intermediate data; The intermediate data is compressed to obtain the target compressed compensation data; The step of determining the target differential mode based on the distribution direction of the uneven brightness region includes: When the distribution direction of the uneven brightness region is the second direction, the target difference mode is determined to be the second difference mode; the second direction is the lateral direction. When the target differential mode is the second differential mode, the differential processing of the display compensation data for the brightness non-uniform area based on the target differential mode to obtain intermediate data includes: The intermediate data is obtained by performing lateral difference on the display compensation data of the brightness uneven area; Performing the second differential mode differential or lateral differential on the display compensation data of the brightness uneven area includes: For the first column of display compensation data in the uneven brightness area, the difference is calculated by subtracting the previous row's display compensation data from the current row's display compensation data; for each row of display compensation data in the uneven brightness area other than the first column's display compensation data, the difference is calculated by subtracting the previous column's display compensation data from the current column's display compensation data, with the column direction parallel to the first direction and the row direction parallel to the second direction.

16. A data processing apparatus, characterized in that, include: The acquisition module is used to acquire display compensation data of the target screen and the distribution direction of uneven brightness areas in the display screen of the target screen; The determination module is used to determine the target differential mode based on the distribution direction of the brightness non-uniform region; The differential module is used to perform differential processing on the display compensation data of the brightness uneven area based on the target differential mode to obtain intermediate data; A compression module is used to compress the intermediate data to obtain target compressed compensation data; The determining module is used to determine the target difference mode as a first difference mode when the distribution direction of the uneven brightness region is a first direction; the first direction is vertical. The differential module is used to perform vertical differential on the display compensation data of the brightness uneven area to obtain the intermediate data when the target differential mode is the first differential mode; wherein, performing differential on the display compensation data of the brightness uneven area in the first differential mode or vertical differential includes: For the first row of display compensation data in the uneven brightness area, the difference is calculated by subtracting the previous column's display compensation data from the current column's display compensation data; for each column of display compensation data in the uneven brightness area other than the first row's display compensation data, the difference is calculated by subtracting the previous row's display compensation data from the current row's display compensation data, wherein the column direction is parallel to the first direction and the row direction is parallel to the second direction.

17. A data processing apparatus, characterized in that, include: The acquisition module is used to acquire display compensation data of the target screen and the distribution direction of uneven brightness areas in the display screen of the target screen; The determination module is used to determine the target differential mode based on the distribution direction of the brightness non-uniform region; The differential module is used to perform differential processing on the display compensation data of the brightness uneven area based on the target differential mode to obtain intermediate data; A compression module is used to compress the intermediate data to obtain target compressed compensation data; The determining module is used to determine the target difference mode as a second difference mode when the distribution direction of the uneven brightness region is a second direction; the second direction is horizontal. The differential module is used to perform lateral differential on the display compensation data of the uneven brightness area to obtain the intermediate data; Performing the second differential mode differential or lateral differential on the display compensation data of the brightness uneven area includes: For the first column of display compensation data in the uneven brightness area, the difference is calculated by subtracting the previous row's display compensation data from the current row's display compensation data; For each row of display compensation data in the uneven brightness area, excluding the first column of display compensation data, the difference is calculated by subtracting the previous column of display compensation data from the current column of display compensation data. The column direction is parallel to the first direction, and the row direction is parallel to the second direction.

18. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the data processing method according to any one of claims 1 to 15.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the data processing method according to any one of claims 1 to 15.

20. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the data processing method according to any one of claims 1 to 15.