Data processing method and device, computer equipment and storage medium

By dividing the compensation data table of the display panel into multiple areas and setting the target storage bit width according to the compensation data of each area, the problem of high hardware cost of storage devices is solved and the storage space optimization is achieved.

CN114820683BActive Publication Date: 2025-08-12HEFEI VISIONOX TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210313660.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-28
Publication Date
2025-08-12
Estimated Expiration
2042-03-28

AI Technical Summary

Technical Problem

In the prior art, the compensation data of the display panel requires a large storage capacity when storing, resulting in an increase in the hardware cost of the storage device and the inability to effectively reduce the storage space.

Method used

The compensation data table is divided into multiple compensation areas, and the corresponding target storage bit width is set according to the compensation data in each area, matching the storage bit width required by the compensation data itself, and reducing storage space.

Benefits of technology

By matching the storage bit width, the hardware cost of the storage device is reduced and the storage space requirement is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114820683B_ABST
    Figure CN114820683B_ABST
Patent Text Reader

Abstract

The present application provides a data processing method and apparatus, a computer device, and a storage medium, relating to the field of display technology. The method obtains a compensation data table for a display panel, divides the compensation data table into multiple compensation regions, sets a corresponding target storage bit width for each compensation region based on the compensation data within the compensation region, and saves the corresponding compensation data to a storage device according to the target storage bit width corresponding to each compensation region. By dividing the compensation data table into multiple compensation regions and setting a corresponding target storage bit width based on the compensation data within each compensation region, the storage space occupied by the compensation data in the compensation data table is reduced during storage, resulting in a smaller storage capacity of the storage device required to store the compensation data in the compensation data table, thereby reducing the hardware cost of the storage device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the continuous development of display technology, the requirements for display panels are becoming increasingly higher. During the production process of display panels, due to factors such as production processes and raw material purity, the display panel may experience mura during display. Mura refers to the uneven display brightness of the display panel.

[0003] To improve the mura phenomenon of the display panel, the display panel can be subjected to demura processing. During the demura processing process, it is necessary to obtain compensation data for each pixel and save this compensation data in a storage device. Therefore, when the display panel is displaying, it can be compensated according to the compensation data stored in the storage device to improve the mura phenomenon.

[0004] Currently, the compensation data for each pixel is saved in a storage device with the same storage bit width, which requires a larger storage space for the compensation data. Therefore, a storage device with a larger storage capacity is needed to store the compensation data, which leads to an increase in the hardware cost of the storage device. Summary of the Invention

[0005] In view of the above problems, the embodiments of the present application provide a data processing method and apparatus, a computer device and a storage medium to set a corresponding target storage bit width according to the compensation data in each compensation area, thereby reducing the storage space occupied by the compensation data in the compensation data table during storage, thereby reducing the hardware cost of the storage device.

[0006] In order to achieve the above objectives, the embodiments of the present application provide the following technical solutions:

[0007] A first aspect of an embodiment of the present application provides a data processing method, including: obtaining a compensation data table of a display panel, the compensation data table including M rows and N columns of compensation data, where M and N are both positive integers greater than 1; dividing the compensation data table into multiple compensation areas; according to the compensation data in each compensation area, setting a corresponding target storage bit width for the compensation area to which it belongs; and saving the corresponding compensation data of each compensation area to a storage device according to the target storage bit width corresponding to the compensation area.

[0008] In this way, by dividing the compensation data table into multiple compensation areas, the corresponding target storage bit width is set according to the compensation data in each compensation area, so that the target storage bit width of each compensation area matches the storage bit width required to be occupied by the compensation data in the compensation area itself, thereby reducing the storage space occupied by the compensation data in the compensation data table during storage, and making the storage capacity of the storage device required to store the compensation data in the compensation data table smaller, thereby reducing the hardware cost of the storage device.

[0009] In one practicable embodiment, dividing the compensation data table into multiple compensation regions includes: identifying multiple connected regions in the compensation data table; and dividing the connected regions into multiple compensation regions based on the distribution characteristics of the compensation data within the connected regions. Thus, an image recognition algorithm is used to first divide the compensation data table into multiple connected regions, and then, based on the distribution characteristics of the compensation data within each connected region, the connected regions are divided into multiple compensation regions. This minimizes differences between compensation data within the same compensation region, thereby reducing the storage space occupied by the compensation data within the compensation region and ensuring that the compensation data within the compensation region can be accurately stored in a storage device.

[0010] In one feasible embodiment, identifying multiple connected regions in a compensation data table includes: processing the compensation data table using an image enhancement algorithm to obtain an enhanced data table; corroding the enhanced data table to obtain a corroded data table; binarizing the corroded data table to obtain a binarized data table; determining segmentation boundaries of the binarized data table; and segmenting the compensation data table using the segmentation boundaries to obtain multiple connected regions.

[0011] In one feasible implementation, the connected area is divided into multiple compensation areas according to the distribution characteristics of the compensation data in the connected area, including: dividing multiple adjacent compensation data in the connected area that are located in the same compensation threshold interval into the same compensation area.

[0012] In one achievable embodiment, a target storage bit width is set for each compensation region based on the compensation data within that region. This includes: calculating a compensation characteristic value corresponding to the compensation data within each compensation region, where the compensation characteristic value includes any one of an average value, a maximum value, and an upper limit of a confidence interval for the compensation data within the compensation region; determining a data storage bit width based on the compensation characteristic value; and using the sum of the data storage bit width and the positive and negative attribute storage bit widths as the target storage bit width corresponding to the compensation region. Thus, by using the sum of the data storage bit width and the positive and negative attribute storage bit widths as the target storage bit width corresponding to the compensation region, when subsequently storing compensation data using the target storage bit width, both positive and negative compensation data can be accurately stored in a storage device.

[0013] In one practicable embodiment, the compensation characteristic value is the average value of the compensation data within the compensation area. Determining the data storage bit width based on the compensation characteristic value includes: using the sum of the compensation characteristic value and a preset compensation offset value as the characteristic value to be converted; and using the number of bits after converting the characteristic value to binary data as the data storage bit width. In this way, the data storage bit width is determined by the sum of the compensation characteristic value and the preset compensation offset value, thereby improving the accuracy of the compensation data stored in the compensation area.

[0014] In one practicable embodiment, the compensation data corresponding to each compensation region is stored in a storage device according to its corresponding target storage bit width. This includes: if target compensation data in the compensation region occupies a storage bit width greater than the target storage bit width, the maximum compensation data allowed by the target storage bit width is stored as the target compensation data and stored in the storage device. In this way, when larger target compensation data is stored in the storage device, the maximum compensation data allowed by the target storage bit width can be used as the target compensation data, thereby improving the accuracy of the target compensation data stored in the storage device within the set target storage bit width.

[0015] A second aspect of an embodiment of the present application provides a data processing device, including: an acquisition module, used to acquire a compensation data table of a display panel, the compensation data table including M rows and N columns of compensation data, where M and N are both positive integers greater than 1; a division module, used to divide the compensation data table into multiple compensation areas; a setting module, used to set a corresponding target storage bit width for the compensation area to which it belongs according to the compensation data in each compensation area; and a saving module, used to save the corresponding compensation data of each compensation area into a storage device according to the target storage bit width corresponding to each compensation area.

[0016] In one possible implementation, the partitioning module includes an identification submodule and a partitioning submodule. The identification submodule is configured to identify multiple connected regions in the compensation data table; the partitioning submodule is configured to partition the connected regions into multiple compensation regions based on distribution characteristics of the compensation data within the connected regions.

[0017] In one possible implementation, the identification submodule includes: a first processing unit, a second processing unit, a third processing unit, a segmentation boundary determination unit, and a segmentation unit. The first processing unit is configured to process the compensation data table using an image enhancement algorithm to obtain an enhanced data table; the second processing unit is configured to erode the enhanced data table to obtain an eroded data table; the third processing unit is configured to binarize the eroded data table to obtain a binary data table; the segmentation boundary determination unit is configured to determine the segmentation boundaries of the binary data table; and the segmentation unit is configured to segment the compensation data table using the segmentation boundaries to obtain multiple connected regions.

[0018] In one feasible implementation, the division submodule includes a division unit configured to divide a plurality of sequentially adjacent compensation data within a same compensation threshold interval in a connected region into a same compensation region.

[0019] In one achievable embodiment, the setup module includes a compensation eigenvalue calculation submodule, a data storage bit width determination submodule, and a target storage bit width calculation submodule. The compensation eigenvalue calculation submodule is configured to calculate the compensation eigenvalue corresponding to the compensation data within each compensation region, where the compensation eigenvalue includes any one of the average value, maximum value, and upper limit of the confidence interval of the compensation data within the compensation region; the data storage bit width determination submodule is configured to determine the data storage bit width based on the compensation eigenvalue; and the target storage bit width calculation submodule is configured to use the sum of the data storage bit width and the positive and negative attribute storage bit width as the target storage bit width corresponding to the compensation region.

[0020] In one possible implementation, the compensation characteristic value is the average value of the compensation data within the compensation region; the data storage bit width determination submodule includes a to-be-converted characteristic value calculation unit and a data storage bit width determination unit. The to-be-converted characteristic value calculation unit is configured to calculate the sum of the compensation characteristic value and a preset compensation offset value as the to-be-converted characteristic value; and the data storage bit width determination unit is configured to calculate the number of bits after the to-be-converted characteristic value is converted into binary data format as the data storage bit width.

[0021] In one feasible embodiment, the saving module includes a saving submodule, which is used to save the maximum compensation data allowed to be saved by the target storage bit width as the target compensation data in the storage device if there is target compensation data in the compensation area whose occupied storage bit width is greater than the target storage bit width.

[0022] A third aspect of an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call the computer program to execute the above-mentioned data processing method.

[0023] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is executed, the above-mentioned data processing method is implemented.

[0024] The possible implementation methods of the second to fourth aspects have effects similar to those of the first aspect and the possible designs of the first aspect, and will not be repeated here.

[0025] The construction of the present application as well as other objects and advantageous effects will become more apparent through the description of the preferred embodiments in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0027] Figure 1 A schematic diagram of a scenario for obtaining compensation data for mura compensation according to an embodiment of the present application;

[0028] Figure 2 Schematic diagram of a display image with mura phenomenon captured by an image capture device in an embodiment of the present application;

[0029] Figure 3 For Figure 2 The compensation data table of the displayed image after mura compensation and downsampling is shown;

[0030] Figure 4 A flowchart of a data processing method provided in an embodiment of the present application;

[0031] Figure 5 A specific flow chart of a data processing method provided in an embodiment of the present application;

[0032] Figure 6 For the embodiment of this application, Figure 3 The diagram of the compensation data table shown is divided into multiple connected areas;

[0033] Figure 7 For the embodiment of this application, Figure 6 Schematic diagram of the connected area divided into compensation areas;

[0034] Figure 8 A structural block diagram of a data processing device provided in an embodiment of the present application;

[0035] Figure 9 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] To improve the mura phenomenon of the display panel, the display panel can be subjected to demura processing. The demura processing method is a compensation method for the mura defect of the display panel, which is divided into internal compensation and external compensation. Among them, external compensation detects the brightness difference of each pixel through optical or electrical means, calculates the compensation data of each pixel based on the brightness difference of each pixel, and then changes the driving voltage of each pixel according to the compensation data to achieve demura processing.

[0037] like Figure 1 As shown, the data processing system corresponding to the demura processing includes: a display panel 110, an image acquisition device 120, a data processing device 130 and a storage device 140 corresponding to the display panel to be compensated.

[0038] The display panel 110 may be a liquid crystal display (LCD), an organic light emitting diode (OLED), a quantum dot light emitting diode (QLED), etc. A plurality of pixels are arranged in an array on the display panel 110, each pixel including an R (red) sub-pixel, a G (green) sub-pixel, and a B (blue) sub-pixel.

[0039] In order to improve the mura phenomenon of the display panel 110, it is first necessary to light up the display panel 110 to display an image. The image displayed on the display panel can be a mixed color grayscale image or a pure color grayscale image. In addition, the grayscale value of the image displayed on the display panel is a pre-set grayscale value, which can be 32 grayscales, 42 grayscales, 128 grayscales, or 192 grayscales, etc.

[0040] A mixed color grayscale image refers to a grayscale image displayed when at least two sub-pixels among the red, green, and blue sub-pixels emit light. For example, a mixed color grayscale image can be a red-blue mixed color grayscale image, a red-green mixed color grayscale image, a green-blue mixed color grayscale image, or a red-green-blue mixed color grayscale image. A pure color grayscale image refers to a grayscale image displayed when any one sub-pixel among the red, green, and blue sub-pixels emits light.

[0041] The image acquisition device 120 may be a camera or a video camera, etc., which is used to capture the display image displayed on the display panel 110. Exemplarily, the image acquisition device 120 is a high-resolution and high-precision charge-coupled device (CCD) camera.

[0042] After the image acquisition device 120 acquires the display image displayed on the display panel 110, the image acquisition device 120 sends the acquired display image to the data processing device 130. The data processing device 130 first analyzes the display brightness value of each pixel in the display image to determine whether there is a mura area. Figure 2 As shown, the central area of the display image 20 is a mura area, and the peripheral area of the display image 20 except the central area is a non-mura area.

[0043] If a mura area exists in the displayed image, the data processing device 130 obtains mura data of the mura area and performs point-to-point compensation on the mura data according to a corresponding algorithm, thereby obtaining compensated data.

[0044] Due to the presence of mura, the display brightness values of some pixels in the display image captured by the image acquisition device 120 may differ from the brightness values corresponding to the pre-set grayscale values. Therefore, the display brightness values of each pixel in the display image captured by the image acquisition device 120 can be used to determine the grayscale value that needs to be compensated for each pixel (i.e., compensation data) so that the display brightness value of the pixel after grayscale compensation is equal to or close to the brightness value corresponding to the pre-set grayscale value.

[0045] One possible implementation method is to use the display brightness value of the pixel points in the central area of the displayed image as a reference, compare the brightness difference between the display brightness value of the pixel points in the surrounding area and the display brightness value of the pixel points in the central area, and then convert the brightness difference into the required compensation grayscale value according to the gamma curve of the display panel (that is, the correspondence curve between brightness value and grayscale value), thereby obtaining an initial compensation data table.

[0046] The compensation grayscale value is also the compensation data. A pixel of the display panel can be understood as a sub-pixel in the display panel. The compensation data in the initial compensation data table corresponds to the sub-pixels in the display panel one-to-one, thereby compensating the brightness value of each sub-pixel.

[0047] In fact, if the display brightness value of the pixels in the surrounding area is lower than the display brightness value of the pixels in the central area, that is, the surrounding area is a dark area, at this time, the grayscale value of the pixels in the surrounding area needs to be increased to increase the brightness value of the pixels in the surrounding area, so the compensation data is a positive number; if the display brightness value of the pixels in the surrounding area is higher than the display brightness value of the pixels in the central area, that is, the surrounding area is a bright area, at this time, the grayscale value of the pixels in the surrounding area needs to be reduced to reduce the brightness value of the pixels in the surrounding area, so the compensation data is a negative number.

[0048] Another possible implementation method is to calculate the average brightness of each pixel in the displayed image, and use the average brightness as a benchmark to compare the brightness difference between the displayed brightness value of each pixel in the displayed image and the average brightness. Then, according to the gamma curve of the display panel, the brightness difference is converted into the required compensation grayscale value, thereby obtaining an initial compensation data table.

[0049] Because the amount of compensation data in the initial compensation data table is consistent with the resolution of the display panel, the initial compensation data table has a large data volume. Therefore, the initial compensation data table can be pre-sampled according to a fixed ratio to reduce the amount of data in the downsampled compensation data table, thereby allowing the compensation data required by the display panel to be stored in a storage device.

[0050] In some embodiments, the initial compensation data table can be divided into multiple sampling matrices, each of which can include multiple compensation data. For example, each sampling matrix can include 2×2 compensation data, 4×4 compensation data, etc. The average value or maximum value of the compensation data in each sampling matrix is used as the compensation data for that sampling matrix, thereby achieving downsampling of the initial compensation data table.

[0051] It can be understood that if each sampling matrix includes 2×2 compensation data, the data volume of the downsampled compensation data table is 1 / 4 of the data volume of the initial compensation data table; if each sampling matrix includes 4×4 compensation data, the data volume of the downsampled compensation data table is 1 / 16 of the data volume of the initial compensation data table.

[0052] After the downsampled compensation data table is calculated by the data processing device 130, the compensation data in the downsampled compensation data table is burned into the storage device 140 corresponding to the display panel to be compensated, so that the compensation data in the downsampled compensation data table is stored in the storage device 140. The storage device 140 can be a flash read-only memory (Flash ROM).

[0053] When the display panel to be compensated is subsequently displaying, the display driver chip in the display panel to be compensated improves the mura phenomenon by loading the compensation data in the storage device 140 .

[0054] To achieve better mura compensation, the compensation data must have sufficient storage bit width when stored in the storage device. In related art, when the data processing device 130 stores the compensation data in the downsampled compensation data table in the storage device 140, each compensation data is stored with the same storage bit width.

[0055] The storage bit width, also known as the storage depth, refers to the positive and negative range of the compensated grayscale values. For example, if the compensation data in the compensation data table ranges from plus or minus 32 grayscales, a 5-bit data storage bit width is required to store the specific size of the compensation data. In this case, a 1-bit positive and negative attribute storage bit width is also required to store the positive and negative signs of the compensation data. In other words, a total of 6 bits of storage bit width are required to store the compensation data for plus or minus 32 grayscales.

[0056] In practice, a storage bit width that meets the requirements needs to be selected according to the storage capacity of the storage device and the actual severity of the mura of the display panel to be compensated, as a fixed storage bit width when the compensation data is saved in the storage device.

[0057] Once a storage device is selected for a display panel, its corresponding storage capacity is also fixed. However, the actual mura area of the display panel is not fixed, and as the yield of the display panel manufacturing process increases, the distribution of the mura area of the display panel will also be concentrated or discrete. In addition, the storage bit width occupied by the compensation data corresponding to the non-mura area is generally smaller than the storage bit width occupied by the compensation data corresponding to the mura area. If the storage bit width of each compensation data is a fixed storage bit width, the storage space required for the compensation data will be larger. Therefore, a storage device with a larger storage capacity is required to store these compensation data, which leads to an increase in the hardware cost of the storage device.

[0058] For example, Figure 3 For Figure 2 The compensation data table of the displayed image after mura compensation and downsampling is shown. It can be seen that the mura area 21 requires a larger compensation data for mura compensation, that is, the compensation data of the mura area 21 is not 0; while the non-mura area does not need to use the corresponding compensation data for mura compensation, that is, the compensation data corresponding to the non-mura area is 0.

[0059] If each compensation data is stored in a storage device with a storage bit width of 5 bits, the compensation data with a grayscale value of 9 in the mura area 21 is stored in a binary data format when stored in the storage device. The corresponding binary data format of the compensation data is 01001, and the data "0" in the highest bit indicates that the compensation data is a positive number. For the compensation data with a grayscale value of 0 in the non-mura area, when stored with a storage bit width of 5 bits, the corresponding binary data format of the compensation data is 00000. However, it only requires a storage bit width of 2 bits to store the compensation data. When the compensation data with a grayscale value of 0 is stored with a storage bit width of 2 bits, the corresponding binary data format is 00. In addition, for the compensation data with a grayscale value of 3 in the mura area 21, when stored with a storage bit width of 5 bits, the corresponding binary data format of the compensation data is 00011, but it only needs to occupy a storage bit width of 3 bits to save the compensation data. When the compensation data with a grayscale value of 3 is saved with a storage bit width of 3 bits, the corresponding binary data format is 011.

[0060] Therefore, it can be seen that if the storage bit width of each compensation data is a fixed storage bit width, the compensation data corresponding to the non-mura area, when stored with the fixed storage bit width, will originally need to occupy a storage bit width smaller than the fixed storage bit width, resulting in an increase in the storage space occupied by the compensation data corresponding to the non-mura area when stored with the fixed storage bit width, thereby increasing the storage space required for the compensation data in the compensation data table.

[0061] Furthermore, the compensation data at different locations within the mura region may not be equal. The storage bit width originally required for compensation data with a small grayscale value may be smaller than the storage bit width originally required for compensation data with a large grayscale value. If the storage bit width originally required for compensation data with a small grayscale value is smaller than the fixed storage bit width, the storage space occupied by the compensation data with a small grayscale value will increase when stored with the fixed storage bit width, thereby increasing the storage space required for the compensation data in the compensation data table.

[0062] In response to the above technical problems, embodiments of the present application provide a data processing method and apparatus, a computer device, and a storage medium. By obtaining a compensation data table for a display panel, the compensation data table is divided into multiple compensation regions. Based on the compensation data within each compensation region, a corresponding target storage bit width is set for the compensation region to which it belongs. The corresponding compensation data is then stored in a storage device according to the target storage bit width corresponding to each compensation region. By dividing the compensation data table into multiple compensation regions and setting a corresponding target storage bit width based on the compensation data within each compensation region, the target storage bit width of each compensation region matches the storage bit width required for the compensation data within the compensation region. This reduces the storage space occupied by the compensation data in the compensation data table during storage, reduces the storage capacity of the storage device required to store the compensation data in the compensation data table, and thereby reduces the hardware cost of the storage device.

[0063] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described in more detail below in conjunction with the drawings in the preferred embodiments of the present application. In the drawings, the same or similar reference numerals throughout represent the same or similar parts or parts with the same or similar functions. The described embodiments are part of the embodiments of the present application, not all of the embodiments. The embodiments described below with reference to the drawings are exemplary and are intended to be used to explain the present application, and should not be understood as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0064] Reference Figure 4 As shown, in the first aspect, a flowchart of a data processing method provided by an embodiment of the present application may specifically include the following steps:

[0065] Step 401: Obtain a compensation data table of a display panel.

[0066] In an embodiment of the present application, first, the display panel is illuminated to display an image; then, an image acquisition device acquires the display image displayed on the display panel and sends it to a data processing device; then, the data processing device uses a relevant algorithm to perform mura compensation on the display image to obtain an initial compensation data table; finally, the data processing device downsamples the initial compensation data table to obtain a downsampled compensation data table.

[0067] According to the above method, a compensation data table of the display panel can be obtained. The compensation data table refers to the compensation data table after downsampling the initial compensation data table. In the following description, the compensation data table refers to the compensation data table after downsampling.

[0068] Of course, it is understandable that the compensation data table obtained in step 401 may also refer to an initial compensation data table that has not been downsampled. Therefore, in subsequent steps, the compensation data table may also be used to represent the initial compensation data table for description.

[0069] In actual application, the downsampled compensation data table or the initial compensation data table can be selected according to actual needs as the compensation data table for the display panel in the embodiment of the present application to perform subsequent steps 402 to 404. For example, when the storage capacity of the storage device is large, the initial compensation data table can be used as the compensation data table for the display panel in the embodiment of the present application; when the storage capacity of the storage device is small, the downsampled compensation data table can be selected as the compensation data table for the display panel in the embodiment of the present application.

[0070] The compensation data table includes M rows and N columns of compensation data, where M and N are both positive integers greater than 1, and the compensation data are actually compensated grayscale values.

[0071] For example, Figure 3 As shown, the compensation data table includes 31 rows and 10 columns of compensation data, that is, M is 31 and N is 10.

[0072] Step 402: Divide the compensation data table into multiple compensation areas.

[0073] In the embodiment of the present application, the compensation data table may be divided into a plurality of compensation areas according to distribution characteristics of the compensation data in the compensation data table, and the compensation area may belong to a mura area or a non-mura area.

[0074] When the compensation area is divided, the difference between the compensation data in the same compensation area is less than a preset threshold value. For example, the preset threshold value may be 3 gray levels, 4 gray levels, etc.

[0075] Step 403 : According to the compensation data in each compensation area, a corresponding target storage bit width is set for the compensation area to which it belongs.

[0076] In an embodiment of the present application, after the compensation data table is divided into multiple compensation areas, for each compensation area, the corresponding target storage bit width is reasonably set for the compensation area according to the distribution of the compensation data included therein, so that the target storage bit width corresponding to each compensation area matches the storage bit width required to be occupied by the compensation data itself in the compensation area.

[0077] It is understandable that the target storage bit widths corresponding to different compensation areas may be different, that is, the target storage bit widths of all compensation areas in the compensation data table are not completely equal. Typically, there are at least two compensation areas with different target storage bit widths in the compensation data table.

[0078] For example, for one of the compensation areas in the compensation data table, the target storage bit width is set to 5 bits. Assuming that the compensation area includes compensation data with a grayscale value of 9, the binary data format corresponding to the compensation data is 01001; for another compensation area in the compensation data table, the target storage bit width is set to 3 bits. Assuming that the compensation area includes compensation data with a grayscale value of 3, the binary data format corresponding to the compensation data is 011; for another compensation area in the compensation data table, the target storage bit width is set to 2 bits. Assuming that the compensation area includes compensation data with a grayscale value of 0, the binary data format corresponding to the compensation data is 00.

[0079] Step 404 : Save the corresponding compensation data of each compensation area into a storage device according to the target storage bit width corresponding to each compensation area.

[0080] In an embodiment of the present application, after setting the target storage bit width corresponding to each compensation area, each compensation data in the compensation data table is burned into the storage device in sequence according to the target storage bit width corresponding to each compensation area, so as to save the compensation data in the compensation data table into the storage device.

[0081] When the compensation data in the corresponding compensation area is saved at the target storage bit width, most or all of the compensation data in the compensation area can be accurately saved in the storage device, so that the specific values of the compensation data stored in the storage device are not much different from the specific values in the compensation data table, thereby improving the improvement effect of the mura phenomenon.

[0082] It should be noted that since each storage unit of a storage device stores compensation data in 8-bit units, meaning that 8 bits of data can be stored in the storage device at a time, the target storage bit width corresponding to each compensation region is not necessarily 8 bits. Therefore, when saving the compensation data in the compensation data table to the storage device, the compensation data in each compensation region must be sequentially concatenated according to the assigned target storage bit widths before being stored in the storage device. Two adjacent compensation data items may be stored in adjacent storage units in the storage device.

[0083] For example, the compensation data in each compensation area may be sequentially spliced according to the allocated target storage bit width in a left-to-right and top-to-bottom order and then saved in the storage device.

[0084] In addition, since the coordinate position and row and column size of each compensation area are different, when saving the compensation data in the compensation data table to the storage device, the coordinate position and row and column size of each compensation area also need to be saved to the storage device.

[0085] Typically, the storage device includes a header file and a data portion. The coordinate position and row and column dimensions of each compensation area can be saved in the header file of the storage device, while the compensation data in the compensation data table can be saved in the data portion of the storage device.

[0086] Taking the shape of each compensation area as a rectangle as an example, the coordinate position of each compensation area can refer to at least one of the upper left corner coordinate, lower left corner coordinate, upper right corner coordinate and lower right corner coordinate of each compensation area; the size in the row direction refers to the number of rows of compensation data included in the compensation area, and the size in the column direction refers to the number of columns of compensation data included in the compensation area.

[0087] Therefore, the embodiment of the present application divides the compensation data table into multiple compensation areas, and sets the corresponding target storage bit width according to the compensation data in each compensation area, so that the target storage bit width of each compensation area matches the storage bit width required to be occupied by the compensation data in the compensation area itself, thereby reducing the storage space occupied by the compensation data in the compensation data table during storage, and making the storage capacity of the storage device required to store the compensation data in the compensation data table smaller, thereby reducing the hardware cost of the storage device.

[0088] Reference Figure 5 As shown, in the first aspect, the embodiment of the present application provides a specific flow chart of a data processing method, which may specifically include the following steps:

[0089] Step 501: Obtain a compensation data table of a display panel.

[0090] The specific implementation of this step is similar to that of step 401 and will not be described again to avoid repetition.

[0091] Step 502: Identify multiple connected regions in the compensation data table.

[0092] In an embodiment of the present application, an image recognition algorithm can be used to analyze the compensation data table, and the segmentation boundaries of the compensation data table can be determined based on the correlation and continuity of each compensation data in the compensation data table. The compensation data table can be segmented using the segmentation boundaries to identify different connected areas.

[0093] Specifically, the image recognition algorithm includes steps such as an image enhancement algorithm, erosion processing, and binarization processing. Therefore, step 502 specifically includes the following steps: using the image enhancement algorithm to process the compensated data table to obtain an enhanced data table; performing erosion processing on the enhanced data table to obtain an eroded data table; performing binarization processing on the eroded data table to obtain a binary data table; determining a segmentation boundary for the binary data table; and segmenting the compensated data table using the segmentation boundary to obtain multiple connected regions.

[0094] Image enhancement algorithms are methods that emphasize certain information in an image while weakening or removing unnecessary information. Grayscale enhancement algorithms are methods that alter the grayscale value of each pixel in the original image point by point according to a target condition and a certain transformation relationship. These algorithms can include linear grayscale transformation, piecewise linear transformation, and nonlinear transformation.

[0095] For the linear grayscale transformation method, assuming that the compensation data in the compensation data table before linear stretching is concentrated in the first grayscale value range [A, B], after linear stretching using linear grayscale transformation, the compensation data in the compensation data table after linear stretching (i.e., the enhanced data table) can be concentrated in the second grayscale value range [C, D], C can be greater than A, and D can be greater than B.

[0096] With respect to the piecewise linear transformation method, the compensation data within a certain grayscale value range in the compensation data table can be linearly stretched, while the compensation data within the remaining ranges in the compensation data table are actually linearly compressed.

[0097] For example, if a portion of the compensation data in the compensation data table is between grayscale 0 and grayscale a1, a first coefficient may be used to linearly compress this portion of the compensation data; if another portion of the compensation data in the compensation data table is between grayscale a1 and grayscale a2, a second coefficient may be used to linearly stretch this portion of the compensation data; and if another portion of the compensation data in the compensation data table is greater than grayscale a2, a third coefficient may be used to linearly compress this portion of the compensation data. The first coefficient, the second coefficient, and the third coefficient may not be equal.

[0098] The nonlinear transformation method does not expand all the compensation data in the compensation data table, but selectively expands the compensation data within a certain grayscale value range, and the compensation data within the remaining grayscale value range may be compressed. Among them, nonlinear transformation includes logarithmic expansion or exponential expansion.

[0099] Of course, it is understandable that the image enhancement algorithm used in the embodiment of the present application is not limited to the grayscale enhancement algorithm, and it can also be other image enhancement algorithms, such as histogram enhancement algorithm, frequency domain low-pass filtering algorithm, etc.

[0100] Erosion is a process that eliminates the boundary points of a connected domain, causing the boundary to shrink inward. Image erosion is similar to image convolution, both requiring a template matrix to control the structure of the operation. In the image erosion process, this template matrix is called a structuring element. Similar to image convolution, the structuring element can arbitrarily specify the center point of the image, and the size and content of the structuring element can be customized.

[0101] After defining the structure element, the center point of the structure element is placed at each non-zero element in the enhanced data table. If the compensation data covered by all elements in the structure element is not zero, the compensation data corresponding to the center point of the structure element is retained. Otherwise, the compensation data corresponding to the center point of the structure element is set to 0. In this way, the center point of the structure element is overlapped with each compensation data in the enhanced data table in turn, and it is determined whether each compensation data should be retained or set to 0, thereby obtaining the corrosion data table.

[0102] When binarizing the corrosion data table, a threshold needs to be set in advance. If the data at a certain position in the corrosion data table is greater than or equal to the threshold, the data at that position in the binary data table is set to 1. If the data at a certain position in the corrosion data table is less than the threshold, the data at that position in the binary data table is set to 0.

[0103] Therefore, the data in the binary data table obtained after the binarization process only includes 0 and 1, and the segmentation boundary of the binary data table is determined based on the distribution of grayscale 0 and grayscale 1. The segmentation boundary is the boundary position between grayscale 0 and grayscale 1.

[0104] After the segmentation boundary is obtained, the compensation data table obtained in step 501 is segmented using the segmentation boundary, thereby obtaining a plurality of connected regions.

[0105] It can be understood that the data in the binary data table only includes grayscale 0 and grayscale 1, while the data in the connected area refers to the original compensation data in the compensation data table.

[0106] For example, Figure 6 As shown, the image enhancement algorithm, corrosion processing, and binarization processing described above can be used to determine a segmentation boundary. The segmentation boundary can be used to divide the compensation data table 60 into two connected regions, namely a first connected region 61 and a second connected region. The first connected region 61 corresponds to the location of the mura region and at least partially overlaps with the mura region. The second connected region refers to the region in the compensation data table 60 other than the first connected region 61. The second connected region corresponds to the location of the non-mura region and at least partially overlaps with the non-mura region.

[0107] Step 503: Divide the connected region into multiple compensation regions according to the distribution characteristics of the compensation data in the connected region.

[0108] In the embodiment of the present application, the connected region is divided into multiple compensation regions based on the distribution characteristics of the compensation data within the connected region, and the coordinate position and row and column dimensions of each compensation region are identified. The shape of the compensation region can be a rectangle. Of course, it is understood that the shape of the compensation region can also be other closed shapes, such as a circle, triangle, hexagon, etc.

[0109] In an optional embodiment, a plurality of adjacent compensation data in the connected area that are within the same compensation threshold interval are divided into the same compensation area. The sizes of the compensation areas may be unequal.

[0110] According to the specific values of the compensation data in the connected area, compensation thresholds of different sizes are set, the compensation data are compared with the compensation threshold, and multiple adjacent compensation data in the same compensation threshold interval are classified into one category and thus divided into the same compensation area.

[0111] For example, Figure 7 As shown, six compensation areas can be obtained, namely the first compensation area 71, the second compensation area 72, the third compensation area 73, the fourth compensation area 74, the fifth compensation area 75, and the sixth compensation area 76. The first compensation area 71 includes 10 rows and 10 columns of compensation data, all of which are grayscale 0; the second compensation area 72 includes 11 rows and 2 columns of compensation data, all of which are grayscale 0; the third compensation area 73 includes 11 rows and 2 columns of compensation data; the fourth compensation area 74 includes 11 rows and 3 columns of compensation data; the fifth compensation area 75 includes 11 rows and 3 columns of compensation data; and the sixth compensation area 76 includes 10 rows and 10 columns of compensation data, all of which are grayscale 0.

[0112] It should be noted that since the shape of each compensation area is rectangular, and the shape of the connected area is determined according to the shape of the actual mura area, when dividing each compensation area with a rectangular distribution, the adjacent compensation data of two connected areas are divided into corresponding compensation areas according to the distribution state of the rectangle. For example, Figure 6 The first connected area 61 shown is circular in shape. Therefore, when the connected area is divided into compensation areas with rectangular distribution, part of the compensation area adjacent to the first connected area 61 in the second connected area is classified into the corresponding compensation area with rectangular distribution.

[0113] Step 504: Calculate the compensation characteristic value corresponding to the compensation data in each compensation area.

[0114] In the embodiment of the present application, after a plurality of compensation areas are obtained by division, a compensation characteristic value corresponding to the compensation data in each compensation area is calculated.

[0115] In the first case, the compensation characteristic value is the average value of the compensation data in the compensation area. That is, for each compensation area, the average value of all the compensation data in the compensation area is calculated to obtain the compensation characteristic value corresponding to the compensation area.

[0116] In the second case, the compensation characteristic value is the maximum value of the compensation data in the compensation area. That is, for each compensation area, the maximum value of all compensation data in the compensation area is extracted to obtain the compensation characteristic value corresponding to the compensation area.

[0117] In the third case, the compensation eigenvalue is the upper limit of the confidence interval for the compensation data within the compensation region. For each compensation region, the mean μ and standard deviation σ of all compensation regions within the compensation region are first calculated. Then, the confidence interval [μ - 3σ, μ + 3σ] is calculated based on the mean μ and standard deviation σ. Finally, the upper limit of the confidence interval, μ + 3σ, is used as the compensation eigenvalue corresponding to the compensation region. Of course, the confidence interval can also be [μ - 2σ, μ + 2σ], [μ - σ, μ + σ], etc.

[0118] Step 505: Determine the data storage bit width according to the compensation characteristic value.

[0119] In the embodiment of the present application, since the compensation data in the compensation data table is expressed in decimal data format, the compensation characteristic values corresponding to the compensation data in each compensation region are also expressed in decimal data format. However, when the compensation data is stored in a storage device, it is stored in binary data format. Therefore, it is necessary to convert the compensation characteristic values in decimal data format into binary data format.

[0120] In the first case, the compensation characteristic value is the average value of the compensation data within the compensation area. In this case, the sum of the compensation characteristic value and the preset compensation offset value can be used as the characteristic value to be converted; the number of bits after converting the characteristic value to binary data format is used as the data storage bit width.

[0121] If the number of bits in the binary data format after the average value of the compensation data within the compensation area is directly used as the data storage bit width, the accuracy of about half of the compensation data will be reduced when it is saved. Therefore, to improve the accuracy of the compensation data when it is saved, the sum of the average value of the compensation data within the compensation area and the preset compensation offset value can be calculated to obtain the characteristic value to be converted. This characteristic value to be converted is expressed in decimal data format. Then, the characteristic value to be converted from the decimal data format is converted into binary data format, and the number of bits of the characteristic value to be converted in the binary data format is used as the data storage bit width, thereby improving the accuracy of some compensation data when it is saved.

[0122] The preset compensation offset value can be understood as a threshold value within the range of allowable fluctuations based on the average value of the compensation data within the compensation area. This value can be set in advance based on empirical values. When the average value of the compensation data within the compensation area is positive, the preset compensation offset value can be positive; when the average value of the compensation data within the compensation area is negative, the preset compensation offset value can be negative.

[0123] For example, for a certain compensation area, the average value of the compensation data in the compensation area is 3 gray levels. Assuming that the preset compensation offset value is 1 gray level, the calculated characteristic value to be converted is 4 gray levels. After converting the characteristic value to be converted of 4 gray levels from decimal data format to binary data format, its corresponding binary data format is 100. At this time, the data storage bit width corresponding to the compensation area is 3 bits.

[0124] In the second case, the compensation characteristic value is the maximum value of the compensation data within the compensation area, that is, the compensation characteristic value is the maximum compensation data within the compensation area. The maximum compensation data is converted from decimal data format to binary data format, and the number of bits of the maximum compensation data in the binary data format is used as the data storage bit width.

[0125] Since the accuracy of all compensation data in the compensation area will not be reduced when the number of bits of the maximum compensation data in the binary data format is used as the data storage bit width, the accuracy of all compensation data in the compensation area will not be reduced when saved in the storage device. Therefore, the number of bits of the maximum compensation data in the binary data format can be directly used as the data storage bit width.

[0126] In the third case, the compensation characteristic value is the upper limit of the confidence interval of the compensation data within the compensation region. The upper limit of the confidence interval is converted from decimal data format to binary data format, and the number of bits of the upper limit of the confidence interval in the binary data format is used as the data storage bit width.

[0127] Since the probability that the compensation data in the compensation area is distributed in the confidence interval [μ-3σ, μ+3σ] is 0.9974, when the number of bits of the upper limit value μ+3σ of the confidence interval in binary data format is used as the data storage bit width, the accuracy of most of the compensation data in the compensation area will not be reduced when they are saved in the storage device.

[0128] Step 506 : The sum of the data storage bit width and the positive and negative attribute storage bit width is used as the target storage bit width corresponding to the compensation area.

[0129] In the embodiments of the present application, the compensation data in the compensation data table can be either positive or negative. If the compensation data table contains both positive and negative compensation data, in order to improve the accuracy of the compensation data in the compensation data table when it is saved to the storage device, it is necessary to additionally set the positive and negative attribute storage bit width to store the positive and negative signs of the compensation data. Therefore, the sum of the data storage bit width and the positive and negative attribute storage bit width is used as the target storage bit width corresponding to the compensation area.

[0130] The positive and negative attribute storage bit width refers to the storage bit width occupied by the sign of the compensation data. For example, the positive and negative attribute storage bit width can be 1 bit. When the data stored in the positive and negative attribute storage bit width is 0, it indicates that the corresponding compensation data is a positive number. When the data stored in the positive and negative attribute storage bit width is 1, it indicates that the corresponding compensation data is a negative number. If the data storage bit width of a compensation area is 3 bits, the target storage bit width corresponding to the compensation area is 4 bits.

[0131] For example, Figure 7 As shown, the target storage bit width corresponding to the first compensation area 71 is 2 bits, the target storage bit width corresponding to the second compensation area 72 is 2 bits, the target storage bit width corresponding to the third compensation area 73 is 3 bits, the target storage bit width corresponding to the fourth compensation area 74 is 4 bits, the target storage bit width corresponding to the fifth compensation area 75 is 2 bits, and the target storage bit width corresponding to the sixth compensation area 76 is 2 bits.

[0132] Step 507 : Save the corresponding compensation data of each compensation area into a storage device according to the target storage bit width corresponding to each compensation area.

[0133] In an embodiment of the present application, after setting the target storage bit width corresponding to each compensation area, each compensation data in the compensation data table is burned into the storage device in sequence according to the target storage bit width corresponding to each compensation area, so as to save the compensation data in the compensation data table into the storage device.

[0134] For each compensation region, if the storage bit width occupied by all compensation data within the compensation region is less than or equal to the target storage bit width when saved, the compensation data can be directly saved to the storage device according to the target storage bit width. If the compensation region contains target compensation data that occupies a storage bit width greater than the target storage bit width, the maximum compensation data allowed by the target storage bit width is used as the target compensation data and saved to the storage device.

[0135] In some embodiments, a target storage bit width may exist for a compensation region. If some compensation data within the compensation region cannot be accurately stored, the compensation data that cannot be accurately stored with the target storage bit width is referred to as target compensation data. The storage bit width occupied by the target compensation data itself may be larger than the target storage bit width. In this case, the maximum compensation data allowed by the target storage bit width is used as the target compensation data and stored in the storage device.

[0136] For example, if the target storage bit width is 4 bits and target compensation data with a grayscale value of 9 exists within a compensation region, the target compensation data with a grayscale value of 9 occupies a storage bit width of 5 bits (including 1 bit of storage bit width for positive and negative attributes), which is greater than the target storage bit width. Therefore, when the target compensation data with a grayscale value of 9 is saved to the storage device, the maximum compensation data allowed by the target storage bit width, 0111 (corresponding to decimal data of 7), is used as the target compensation data.

[0137] Therefore, the present embodiment divides the compensation data table into multiple compensation areas, determines the data storage bit width based on the compensation characteristic value corresponding to the compensation data in each compensation area, and uses the sum of the data storage bit width and the positive and negative attribute storage bit width as the target storage bit width corresponding to the compensation area. This reduces the storage space occupied by the compensation data in the compensation data table, reduces the storage capacity of the storage device required to store the compensation data in the compensation data table, and thus reduces the hardware cost of the storage device.

[0138] The data processing method of the embodiment of the present application has been described above. The following describes the apparatus for executing the above data processing method provided in the embodiment of the present application. Those skilled in the art will appreciate that the method and apparatus can be combined and referenced with each other, and the data processing apparatus provided in the embodiment of the present application can execute the steps of the above data processing method.

[0139] Reference Figure 8 As shown in FIG. 8 , in the second aspect, a structural block diagram of a data processing device provided by an embodiment of the present application is provided. The data processing device includes: an acquisition module 801 , a division module 802 , a setting module 803 and a storage module 804 .

[0140] Among them, the acquisition module 801 is used to obtain the compensation data table of the display panel, which includes M rows and N columns of compensation data, where M and N are both positive integers greater than 1; the division module 802 is used to divide the compensation data table into multiple compensation areas; the setting module 803 is used to set the corresponding target storage bit width for the compensation area to which it belongs according to the compensation data in each compensation area; the saving module 804 is used to save the corresponding compensation data of each compensation area into a storage device according to the target storage bit width corresponding to each compensation area.

[0141] In an optional embodiment, the partitioning module 802 includes an identification submodule and a partitioning submodule. The identification submodule is used to identify multiple connected regions in the compensation data table; the partitioning submodule is used to partition the connected region into multiple compensation regions based on the distribution characteristics of the compensation data in the connected region.

[0142] In an optional embodiment, the identification submodule includes: a first processing unit, a second processing unit, a third processing unit, a segmentation boundary determination unit, and a segmentation unit. The first processing unit is configured to process the compensation data table using an image enhancement algorithm to obtain an enhanced data table; the second processing unit is configured to erode the enhanced data table to obtain an eroded data table; the third processing unit is configured to binarize the eroded data table to obtain a binary data table; the segmentation boundary determination unit is configured to determine the segmentation boundaries of the binary data table; and the segmentation unit is configured to segment the compensation data table using the segmentation boundaries to obtain multiple connected regions.

[0143] In an optional embodiment, the division submodule includes a division unit, which is used to divide a plurality of sequentially adjacent compensation data located in the same compensation threshold interval in the connected area into the same compensation area.

[0144] In an optional embodiment, the setting module 803 includes a compensation characteristic value calculation submodule, a data storage bit width determination submodule, and a target storage bit width calculation submodule. The compensation characteristic value calculation submodule is used to calculate the compensation characteristic value corresponding to the compensation data in each compensation area, where the compensation characteristic value includes any one of the average value, maximum value, and upper limit value of the confidence interval of the compensation data in the compensation area; the data storage bit width determination submodule is used to determine the data storage bit width based on the compensation characteristic value; and the target storage bit width calculation submodule is used to use the sum of the data storage bit width and the positive and negative attribute storage bit width as the target storage bit width corresponding to the compensation area.

[0145] In an optional embodiment, the compensation characteristic value is an average value of the compensation data within the compensation area; and the data storage bit width determination submodule includes a to-be-converted characteristic value calculation unit and a data storage bit width determination unit. The to-be-converted characteristic value calculation unit is configured to use the sum of the compensation characteristic value and a preset compensation offset value as the to-be-converted characteristic value; and the data storage bit width determination unit is configured to use the number of bits after the to-be-converted characteristic value is converted into binary data format as the data storage bit width.

[0146] In an optional embodiment, the saving module 804 includes a saving sub-module for saving the maximum compensation data allowed to be saved by the target storage bit width as the target compensation data in the storage device if there is target compensation data in the compensation area that occupies a storage bit width greater than the target storage bit width.

[0147] The data processing device may be a computer device such as a mobile phone, a desktop computer, a laptop computer, a tablet computer, etc. The data processing device may be integrated with the image acquisition device or may be an independent device.

[0148] The data processing device of the embodiment of the present application can be used to execute the steps executed in the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here. In addition, each module in the above data processing device can be implemented in whole or in part by software, hardware, firmware or any combination thereof. Each of the above modules can be embedded in or independent of the processor of the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0149] Reference Figure 9 As shown, in the third aspect, the present application also provides a computer device 900, which may include: a memory 901, a processor 902 and a communication interface 903, wherein the memory 901, the processor 902 and the communication interface 903 can communicate; illustratively, the memory 901, the processor 902 and the communication interface 903 can communicate through a communication bus.

[0150] The memory 901 may be a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 901 may store computer programs, which are controlled and executed by the processor 902 and communicated with by the communication interface 903, thereby implementing the data processing method provided in the above embodiments of the present application.

[0151] In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.

[0152] In one possible implementation, computer-readable media may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium designed to carry or store the desired program code in the form of instructions or data structures and accessible by a computer. Furthermore, any connection is appropriately referred to as a computer-readable medium. For example, if software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and disc as used herein include optical disc, laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks typically reproduce data magnetically, while optical discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0153] In the description of the embodiments of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to a fixed connection, an indirect connection via an intermediate medium, internal communication between two components, or an interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.

[0154] In the description of the embodiments of the present application, it should be understood that the terms "upper", "lower", "front", "back", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are only for the convenience of describing the present application and simplifying the description. They do not indicate or imply that the devices or elements referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore should not be understood as limiting the present application. In the description of the present application, "plurality" means two or more, unless otherwise specified.

[0155] The terms "first," "second," "third," "fourth," etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential sequence. It should be understood that the numbers used in this way are interchangeable where appropriate so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or apparatus.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A data processing method, characterized in that: include: Obtaining a compensation data table of the display panel; the compensation data table includes M rows and N columns of compensation data, where both M and N are positive integers greater than 1; Processing the compensation data table using an image enhancement algorithm to obtain an enhanced data table; performing corrosion processing on the enhanced data table to obtain a corrosion data table; performing binarization processing on the corrosion data table to obtain a binarized data table; Determining a segmentation boundary of the binary data table; Segmenting the compensation data table using the segmentation boundary to obtain a plurality of connected regions; Dividing the connected region into a plurality of compensation regions according to distribution characteristics of the compensation data within the connected region; According to the compensation data in each compensation area, setting a corresponding target storage bit width for the compensation area to which it belongs; According to the target storage bit width corresponding to each compensation area, the corresponding compensation data is saved in the storage device.

2. The method according to claim 1, characterized in that The step of dividing the connected region into a plurality of compensation regions according to the distribution characteristics of the compensation data in the connected region comprises: In the connected area, a plurality of sequentially adjacent compensation data located within the same compensation threshold interval are divided into the same compensation area.

3. The method according to claim 1, characterized in that The step of setting a corresponding target storage bit width for each compensation area according to the compensation data in the compensation area includes: Calculating a compensation characteristic value corresponding to the compensation data in each compensation area; the compensation characteristic value includes any one of an average value, a maximum value, and an upper limit value of a confidence interval of the compensation data in the compensation area; Determining a data storage bit width according to the compensation characteristic value; The sum of the data storage bit width and the positive and negative attribute storage bit width is used as the target storage bit width corresponding to the compensation area.

4. The method according to claim 3, characterized in that The compensation characteristic value is an average value of the compensation data in the compensation area; and determining the data storage bit width according to the compensation characteristic value includes: The sum of the compensation characteristic value and the preset compensation offset value is used as the characteristic value to be converted; The number of bits after the characteristic value to be converted is converted into a binary data format is used as the data storage bit width.

5. The method according to any one of claims 1 to 4, characterized in that The step of storing the corresponding compensation data of each compensation area in a storage device according to the target storage bit width corresponding to each compensation area includes: If target compensation data with a storage bit width greater than the target storage bit width exists in the compensation area, the maximum compensation data allowed to be stored by the target storage bit width is used as the target compensation data and is stored in the storage device.

6. A data processing device, characterized in that: include: An acquisition module, configured to acquire a compensation data table of a display panel; the compensation data table includes M rows and N columns of compensation data, where both M and N are positive integers greater than 1; A division module, configured to divide the compensation data table into a plurality of compensation areas; A setting module, configured to set a corresponding target storage bit width for each compensation area according to the compensation data in the compensation area; A saving module, configured to save the corresponding compensation data of each compensation area to a storage device according to the target storage bit width corresponding to each compensation area; The division module includes: an identification submodule, configured to identify a plurality of connected regions in the compensation data table; a division submodule, configured to divide the connected area into a plurality of compensation areas according to distribution characteristics of the compensation data in the connected area; The identification submodule includes: a first processing unit, configured to process the compensation data table using an image enhancement algorithm to obtain an enhanced data table; a second processing unit, configured to perform corrosion processing on the enhanced data table to obtain a corrosion data table; a third processing unit, configured to perform binarization processing on the corrosion data table to obtain a binarized data table; a segmentation boundary determination unit, configured to determine a segmentation boundary of the binary data table; The segmentation unit is configured to segment the compensation data table using the segmentation boundary to obtain a plurality of connected regions.

7. A computer device, characterized in that: The device comprises a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call the computer program to execute the data processing method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed, the data processing method according to any one of claims 1 to 5 is implemented.

9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, it is used to implement the data processing method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Display drive, compression and decompression method and device, display device and storage medium

    CN110176210A