Data processing method and device, equipment and medium
By acquiring and processing the compensation data of adjacent grayscale pictures of the display panel, the problem of compensation data compression distortion in the prior art is solved, and a higher compression rate and lower data volume are achieved.
Patent Information
- Application Number
- CN202510121882.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2045-01-23
AI Technical Summary
In the prior art, the compensation data of the display panel is distorted greatly during the compression process, resulting in a decrease in the compression rate.
By obtaining the compensation data of adjacent grayscale pictures of the display panel, performing compression and screening processing, the adjacent third and fourth compensation data are obtained, and stored as compensation data of the corresponding grayscale pictures.
Without a large compression ratio, the correlation of adjacent pixels is used to retain part of the compensation data of adjacent grayscale pictures, which reduces the amount of data, reduces the distortion of the compressed compensation data, and improves the compression rate.
Smart Images

Figure CN119626138A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a data processing method, device, equipment and medium. Background Art
[0002] Display panels usually include multiple sub-pixels. When displaying images, corresponding data needs to be provided to each sub-pixel to achieve different grayscale displays. Due to material processing and other reasons, some products may have Mura on the screen. Mura refers to the phenomenon that the brightness on the display panel surface is uneven, causing various traces.
[0003] In order to eliminate the uneven display brightness, it is necessary to compensate the grayscale data of the sub-pixels. Since the amount of compensation data is too large, the compensation data needs to be compressed. At present, due to the demand for high resolution and high display effect, the resolution of display panels is getting higher and higher, resulting in more and more compensation data in the compensation data table. In the related technology, in order to compress the compensation data of multiple sub-pixels to the expected size, it is necessary to use a larger compression ratio (i.e., a larger block size) for compression. In this case, the compressed compensation data will be more distorted, reducing the compression rate. Summary of the invention
[0004] The present application discloses a data processing method, device, equipment and medium to solve the problem in the related art that the compensation data after compression is greatly distorted and the compression rate is reduced.
[0005] In a first aspect, the present application discloses a data processing method, the data processing method comprising:
[0006] Acquire a plurality of first compensation data and a plurality of second compensation data of a plurality of sub-pixels of a display panel, wherein the plurality of first compensation data are compensation data of the plurality of sub-pixels when a first grayscale picture is displayed; and the plurality of second compensation data are compensation data of the plurality of sub-pixels when a second grayscale picture is displayed, wherein the first grayscale picture and the second grayscale picture are display pictures of adjacent grayscales;
[0007] A plurality of third compensation data is obtained by compressing and filtering the plurality of first compensation data, a plurality of fourth compensation data is obtained by compressing and filtering the plurality of second compensation data, and a plurality of sub-pixels corresponding to the plurality of third compensation data are respectively adjacent to a plurality of sub-pixels corresponding to the plurality of fourth compensation data;
[0008] The plurality of third compensation data are stored as compensation data of the plurality of sub-pixels when displaying a first grayscale picture, and the plurality of fourth compensation data are stored as compensation data of the plurality of sub-pixels when displaying a second grayscale picture.
[0009] In an exemplary embodiment, compressing and filtering the plurality of first compensation data to obtain the plurality of third compensation data comprises: filtering out a portion of the first compensation data from the plurality of first compensation data, and compressing the filtered portion of the first compensation data to obtain the plurality of third compensation data;
[0010] Compressing and filtering the plurality of second compensation data to obtain the plurality of fourth compensation data comprises: filtering out part of the second compensation data from the plurality of second compensation data, and compressing the filtered part of the second compensation data to obtain the plurality of fourth compensation data;
[0011] The part of the first compensation data is the first compensation data of the odd columns, and the part of the second compensation data is the second compensation data of the even columns, or the part of the first compensation data is the first compensation data of the odd rows, and the part of the second compensation data is the second compensation data of the even rows.
[0012] In an exemplary embodiment, compressing and filtering the plurality of first compensation data to obtain a plurality of third compensation data includes: compressing the plurality of first compensation data to obtain a plurality of fifth compensation data, filtering out a portion of the plurality of fifth compensation data as the plurality of third compensation data;
[0013] The step of compressing and filtering the plurality of second compensation data to obtain a plurality of fourth compensation data comprises: compressing the plurality of second compensation data to obtain a plurality of sixth compensation data, and filtering out a portion of the plurality of sixth compensation data as the plurality of fourth compensation data;
[0014] The part of the fifth compensation data is the fifth compensation data of odd columns, and the part of the sixth compensation data is the fifth compensation data of even columns, or the part of the fifth compensation data is the fifth compensation data of odd rows, and the part of the sixth compensation data is the sixth compensation data of even rows.
[0015] In an exemplary embodiment, the data processing method further includes: calculating the mean of the plurality of third compensation data and the mean of the plurality of fourth compensation data, calculating the plurality of third compensation data, the mean of the plurality of third compensation data and the mean of the plurality of fourth compensation data to obtain a plurality of seventh compensation data; or using the plurality of third compensation data as a plurality of seventh compensation data;
[0016] The plurality of seventh compensation data are used as second compensation data of odd columns, or the plurality of seventh compensation data are used as second compensation data of odd rows.
[0017] In an exemplary embodiment, the data processing method further includes:
[0018] combining the plurality of fourth compensation data and the plurality of seventh compensation data;
[0019] performing data restoration on the merged plurality of fourth compensation data and the plurality of seventh compensation data to obtain a plurality of tenth compensation data;
[0020] The plurality of tenth compensation data are used as compensation data of the plurality of sub-pixels when displaying a second grayscale image.
[0021] In an exemplary embodiment, the data processing method further includes:
[0022] Calculating the mean of the plurality of third compensation data and the mean of the plurality of fourth compensation data, and calculating the mean of the plurality of fourth compensation data, the mean of the plurality of third compensation data and the mean of the plurality of fourth compensation data to obtain a plurality of eighth compensation data; or using the plurality of fourth compensation data as a plurality of eighth compensation data;
[0023] The plurality of eighth compensation data are used as first compensation data for even columns, or the plurality of eighth compensation data are used as first compensation data for even rows.
[0024] In an exemplary embodiment, the data processing method further includes:
[0025] combining the plurality of third compensation data and the plurality of eighth compensation data;
[0026] Performing data restoration on the merged plurality of third compensation data and the plurality of eighth compensation data to obtain a plurality of ninth compensation data;
[0027] The plurality of ninth compensation data are used as compensation data of the plurality of sub-pixels when displaying the first grayscale image.
[0028] In a second aspect, the present application discloses a data processing device, the data processing device comprising:
[0029] an acquisition unit, configured to acquire a plurality of first compensation data and a plurality of second compensation data of a plurality of sub-pixels of a display panel, wherein the plurality of first compensation data are compensation data of the plurality of sub-pixels when a first grayscale picture is displayed; and the plurality of second compensation data are compensation data of the plurality of sub-pixels when a second grayscale picture is displayed, wherein the first grayscale picture and the second grayscale picture are display pictures of adjacent grayscales;
[0030] a data processing unit, configured to compress and filter the plurality of first compensation data to obtain a plurality of third compensation data, and compress and filter the plurality of second compensation data to obtain a plurality of fourth compensation data, wherein a plurality of sub-pixels corresponding to the plurality of third compensation data are respectively adjacent to a plurality of sub-pixels corresponding to the plurality of fourth compensation data;
[0031] The storage unit is used to store the plurality of third compensation data as compensation data of the plurality of sub-pixels when displaying the first grayscale picture, and store the plurality of fourth compensation data as compensation data of the plurality of sub-pixels when displaying the second grayscale picture.
[0032] In a third aspect, the present application discloses a data processing device, comprising a processor, a memory, and a computer program stored in the memory, wherein the processor implements the steps of the data processing method described in the first aspect when executing the computer program.
[0033] In a fourth aspect, the present application discloses a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the steps of the data processing method described in the first aspect are implemented.
[0034] In the data processing method, device, equipment and medium provided by the present application, the first compensation data corresponding to the first grayscale image of the display panel and the second compensation data corresponding to the second grayscale image are obtained, and the first compensation data and the second compensation data are compressed and filtered respectively to obtain a plurality of third compensation data and a plurality of fourth compensation data, wherein the plurality of sub-pixels corresponding to the plurality of third compensation data are adjacent to the plurality of sub-pixels corresponding to the plurality of fourth compensation data respectively; the plurality of third compensation data are stored as compensation data of the plurality of sub-pixels when the first grayscale image is displayed, and the plurality of fourth compensation data are stored as compensation data of the plurality of sub-pixels when the second grayscale image is displayed. The present application utilizes the characteristic that the Mura morphology of the display images of adjacent grayscales is not much different, and utilizes the correlation of adjacent pixels in the image without selecting a larger compression ratio, and retains part of the compensation data of the display images of adjacent grayscales to retain most of the image details, thereby retaining the Mura feature change trend, reducing the amount of data, and reducing the distortion of the compressed compensation data while improving the compression rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.
[0036] Figure 1 The following is a flow chart showing a data processing method according to an exemplary embodiment of the present application.
[0037] Figure 2It is a schematic diagram of a plurality of first compensation data shown in an exemplary embodiment of the present application.
[0038] Figure 3 It is a schematic diagram of multiple second compensation data shown in an exemplary embodiment of the present application.
[0039] Figure 4 It is a schematic diagram of a plurality of third compensation data shown in an exemplary embodiment of the present application.
[0040] Figure 5 It is a schematic diagram of a plurality of fourth compensation data shown in an exemplary embodiment of the present application.
[0041] Figure 6 The following is a flow chart showing a data processing method according to an exemplary embodiment of the present application.
[0042] Figure 7 This is a schematic diagram of first compression compensation data shown in an exemplary embodiment of the present application.
[0043] Figure 8 This is a schematic diagram of second compression compensation data shown in an exemplary embodiment of the present application.
[0044] Fig. 9 It is a schematic diagram of a plurality of ninth compensation data shown in an exemplary embodiment of the present application.
[0045] Fig.10 It is a schematic diagram of a plurality of tenth compensation data shown in an exemplary embodiment of the present application.
[0046] Fig.11 A block diagram of a data processing device is shown for an exemplary embodiment of the present application.
[0047] Fig.12 A schematic diagram of a data processing device is shown as an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0048] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] High PPI means high pixel density (Pixels Per Inch). PPI is an indicator used to measure the number of pixels on the screen of display devices (such as TVs, mobile phones, and computer monitors), which means the number of pixels per inch (2.54 cm). High PPI means that on a screen of the same size, more pixels are arranged closely, making the image clearer and more delicate. When the pixel density increases, it becomes more difficult for the human eye to distinguish individual pixels, thereby providing higher visual quality and better image details.
[0050] The display panel usually includes multiple sub-pixels. When displaying a picture, it is necessary to provide corresponding data to each sub-pixel to achieve the display of different grayscales. Due to material processing and other reasons, some products may have uneven display brightness (Mura). In order to eliminate the uneven display brightness, the grayscale data of the sub-pixel needs to be compensated. Because the amount of compensation data is too large, the compensation data needs to be compressed.
[0051] After compressing the compensation data based on the current compression method, downsampling will cause data loss, and the higher the compression rate requirement, the larger the Block needs to be set, and the more data loss will be. Therefore, there is a problem that the effect quality is guaranteed, but the compression rate cannot be achieved.
[0052] As an optional implementation of the content disclosed in this application, the embodiment of this application discloses a data processing method, such as Figure 1 As shown, Figure 1 This is a flow chart of a data processing method disclosed in an embodiment of the present application, the data processing method comprising:
[0053] Step S110, obtaining multiple first compensation data and multiple second compensation data of multiple sub-pixels of the display panel, wherein the multiple first compensation data are compensation data of multiple sub-pixels when displaying a first grayscale image; the multiple second compensation data are compensation data of multiple sub-pixels when displaying a second grayscale image, and the first grayscale image and the second grayscale image are display images of adjacent grayscales.
[0054] Among them, the compensation data can be the compensation data obtained by performing external optical compensation on the display panel, that is, Demura compensation data, which is used to improve the mura phenomenon of the display panel. When performing external optical compensation, point-to-point compensation, that is, pixel-level compensation, can be achieved, and each sub-pixel can correspond to a compensation data. In order to capture the Mura data of different grayscales of the screen, a camera or mobile phone can be used to capture the image on the screen of the display panel. The camera can be set to manual mode so that the exposure and other parameters can be adjusted by yourself.
[0055] The specific process of obtaining multiple first compensation data and multiple second compensation data of multiple sub-pixels of the display panel can be as follows: For example, the grayscale range can be determined during the shooting process, that is, the grayscale range to be shot can be determined. For example, a grayscale range from pure black to pure white can be selected, or some specific grayscale levels can be selected. Then the display panel is set to the desired grayscale level. In a dark and uniform photography environment, the camera can be focused on a specific area on the screen of the display panel, and the appropriate exposure is set to ensure that the brightness of the image is moderate. Next, use the camera to shoot an image of a specific grayscale on the screen, repeat the above steps, shoot images of different grayscales one by one, until the desired grayscale range is completed, the captured image can be transferred to the computer, and the software tool is used to display the Mura information in the image, and the Mura information is processed to obtain compensation data. Taking advantage of the fact that the Mura morphology of the display screens of adjacent grayscales is not much different, the compensation data of multiple sub-pixels of the display screens of adjacent grayscales are selected as multiple first compensation data and multiple second compensation data respectively.
[0056] refer to Figure 2 and Figure 3 As shown, Figure 2 A plurality of first compensation data are exemplarily shown, Figure 3 Multiple second compensation data are exemplarily shown, wherein the multiple first compensation data correspond to compensation data of multiple sub-pixels when the display panel displays a first grayscale picture; and the multiple second compensation data correspond to compensation data of multiple sub-pixels when the display panel displays a second grayscale picture. The first grayscale picture and the second grayscale picture are display pictures of adjacent grayscales, and the multiple first compensation data and the multiple second compensation data are both composed of N rows of compensation data and M columns of compensation data.
[0057] Step S120, compress and filter the multiple first compensation data to obtain multiple third compensation data, compress and filter the multiple second compensation data to obtain multiple fourth compensation data, and the multiple sub-pixels corresponding to the multiple third compensation data are adjacent to the multiple sub-pixels corresponding to the multiple fourth compensation data.
[0058] refer to Figure 4 and Figure 5 As shown, Figure 4 A plurality of third compensation data are exemplarily shown, Figure 5Multiple fourth compensation data are exemplarily shown. Among them, multiple third compensation data are obtained after compression and screening based on multiple first compensation data, and multiple fourth compensation data are obtained after compression and screening based on multiple second compensation data. Multiple sub-pixels corresponding to the multiple third compensation data in the display panel are respectively adjacent to multiple sub-pixels corresponding to the multiple fourth compensation data in the display panel, so as to utilize the correlation of adjacent pixels in the image to retain partial compensation data of the display screen of adjacent grayscales, so as to retain most of the image details.
[0059] Step S130 , storing the plurality of third compensation data as compensation data of the plurality of sub-pixels when displaying the first grayscale image, and storing the plurality of fourth compensation data as compensation data of the plurality of sub-pixels when displaying the second grayscale image.
[0060] In order to reduce the storage space occupied by the compensation data, the Mura morphology of the display screens of adjacent grayscales is not much different, and multiple third compensation data and multiple fourth compensation data are obtained based on multiple first compensation data and multiple second compensation data for storage, wherein multiple sub-pixels corresponding to the multiple third compensation data are respectively adjacent to multiple sub-pixels corresponding to the multiple fourth compensation data, so as to utilize the correlation of adjacent pixels in the image to retain part of the compensation data of the display screens of adjacent grayscales to retain most of the image details, thereby retaining the Mura feature change trend, reducing the distortion of the compressed compensation data, thereby achieving an improved compression rate without affecting the compensation effect and display effect. The data processing method provided by the present application is also conducive to reducing the storage space occupied by the display panel compensation data, reducing the production cost of the display panel, and improving the production efficiency of the display panel.
[0061] As an optional implementation of the content disclosed in this application, the embodiment of this application discloses a data processing method, such as Figure 6 As shown, Figure 6 This is a flow chart of a data processing method disclosed in an embodiment of the present application, the data processing method comprising:
[0062] Step S210, obtaining multiple first compensation data and multiple second compensation data of multiple sub-pixels of the display panel, wherein the multiple first compensation data are compensation data of multiple sub-pixels when displaying a first grayscale image; the multiple second compensation data are compensation data of multiple sub-pixels when displaying a second grayscale image, and the first grayscale image and the second grayscale image are display images of adjacent grayscales.
[0063] This step is implemented in the same manner as step S110 in the above embodiment, and will not be described in detail here.
[0064] Step S220, filter out part of the first compensation data from the multiple first compensation data, and compress the filtered part of the first compensation data to obtain multiple third compensation data; filter out part of the second compensation data from the multiple second compensation data, and compress the filtered part of the second compensation data to obtain multiple fourth compensation data.
[0065] In this embodiment, the odd row and column information or the even row and column information can be retained by compensating the data of adjacent grayscale display images, so as to improve the compression rate while retaining the Mura characteristic change trend.
[0066] Specifically, in this embodiment, after the plurality of first compensation data and the plurality of second compensation data are screened and compressed in sequence, a plurality of third compensation data and a plurality of fourth compensation data can be obtained accordingly.
[0067] refer to Figure 2 and Figure 3 As shown, for the convenience of description, a plurality of first compensation data may be recorded as a first compensation data array P1, and a plurality of second compensation data may be recorded as a second compensation data array P2. Figure 2 , the first compensation data array P1 is divided into columns. For example, referring to Figure 2 and Figure 3 , taking the compensation data of 8*8 sub-pixels in both the first compensation data array P1 and the second compensation data array P2 as an example, the first compensation data array P1 and the second compensation data array P2 can be divided into columns based on the target compression ratio. For example, taking the block with a target compression ratio of 2*2 as an example, the compensation data array sequentially uses the compensation data of two columns of sub-pixels as the column compensation data, and the first compensation data array P1 is divided into the first column of first compensation data PC11, the second column of first compensation data (not shown in the figure), the third column of first compensation data PC13 and the fourth column of first compensation data (not shown in the figure). The second compensation data is divided into the first column of second compensation data (not shown in the figure), the second column of second compensation data PC22, the third column of second compensation data (not shown in the figure) and the fourth column of second compensation data PC24.
[0068] Exemplarily, the first compensation data of the odd columns, namely the first compensation data PC11 of the first column and the first compensation data PC13 of the third column, are screened out and compressed in 2*2 blocks. Figure 4 , multiple third compensation data are recorded as the first column PC31 and the third column PC33, and the second compensation data of the even columns are screened out, that is, the second compensation data PC22 of the second column and the second compensation data PC24 of the fourth column, and compressed in 2*2 blocks. Figure 5, the obtained plurality of fourth compensation data are recorded as the second column PC42 and the fourth column PC44. It can be seen that the plurality of third compensation data are compressed data of the first compensation data of the odd columns; the plurality of fourth compensation data are compressed data of the second compensation data of the even columns.
[0069] Step S230, storing the plurality of third compensation data as compensation data of the plurality of sub-pixels when displaying the first grayscale image, and storing the plurality of fourth compensation data as compensation data of the plurality of sub-pixels when displaying the second grayscale image.
[0070] This step is implemented in the same manner as step S130 in the above embodiment, and will not be described in detail here.
[0071] Step S240: Obtain a plurality of seventh compensation data according to the plurality of third compensation data, and obtain a plurality of eighth compensation data according to the plurality of fourth compensation data.
[0072] In this embodiment, in the process of compressing and storing the compensation data, in order to save storage space, the compressed data of the first compensation data corresponding to the odd columns are retained as multiple third compensation data, recorded as the first column PC31 and the third column PC33, and the compressed data of the second compensation data corresponding to the even columns are retained as multiple fourth compensation data, recorded as the second column PC42 and the fourth column PC44. It can be seen that since the Mura morphology in the first compensation data and the second compensation data is not much different, therefore, in the process of data restoration, for the first compensation data, the even columns of the first compensation data are predicted by the retained even columns of the second compensation data; for the second compensation data, the odd columns of the second compensation data can be predicted by the retained odd columns of the first compensation data, and the prediction accuracy is relatively high.
[0073] Exemplarily, obtaining a plurality of seventh compensation data according to a plurality of third compensation data may include:
[0074] calculating an average of a plurality of third compensation data and an average of a plurality of fourth compensation data;
[0075] A plurality of third compensation data, an average of a plurality of third compensation data, and an average of a plurality of fourth compensation data are calculated to obtain a plurality of seventh compensation data; and the plurality of seventh compensation data are used as the second compensation data of the odd-numbered columns.
[0076] Specifically, refer to Figure 4 As shown, the plurality of third compensation data include two columns of compressed compensation data, namely the first column PC31 and the third column PC33, which correspond to the compressed data of the first compensation data of the odd columns, respectively. The first column PC31 and the third column PC33 both include a plurality of compensation data values arranged in sequence along the column direction, and the mean of all compensation data values is calculated to obtain the mean value P1mean of the plurality of third compensation data. Figure 5As shown, the plurality of fourth compensation data include two columns of compressed compensation data, namely the second column PC42 and the fourth column PC44, which correspond to the compressed data of the second compensation data of the even columns, and the second column PC42 and the fourth column PC44 each include a plurality of compensation data values arranged in sequence along the column direction, and the mean of all compensation data values is calculated to obtain the mean P2mean of the plurality of fourth compensation data. The compensation depth can be calculated by the difference between the mean P1mean and the mean P2mean, so as to adjust or compensate the brightness or color of the sub-pixel by the compensation depth, so as to obtain the best sub-pixel compensation result.
[0077] Specifically, refer to Figure 8 , multiple seventh compensation data include first column prediction compensation data PC41 and third column prediction compensation data PC43, wherein the first column prediction compensation data PC41 and the third column prediction compensation data PC43 are prediction data of compressed data corresponding to the second compensation data of odd columns. Multiple seventh compensation data can be determined by the sum of the difference between the mean of multiple third compensation data and the mean of multiple fourth compensation data. Specifically, taking the first column prediction compensation data PC41 as an example, the first column prediction compensation data PC41 includes multiple prediction compensation values arranged in sequence along the column direction, and the multiple prediction compensation values correspond to the sum of the difference between multiple third compensation data (data compensation values arranged in sequence along the column direction in PC31) and the mean (P2mean) of multiple fourth compensation data and the mean (P1mean) of multiple third compensation data.
[0078] refer to Figure 7 , according to the above process, a plurality of eighth compensation data may be obtained according to a plurality of fourth compensation data, and this step may include:
[0079] calculating an average of a plurality of third compensation data and an average of a plurality of fourth compensation data;
[0080] The plurality of fourth compensation data, the average value of the plurality of third compensation data and the average value of the plurality of fourth compensation data are calculated to obtain a plurality of eighth compensation data; and the plurality of eighth compensation data are used as the first compensation data of the even-numbered columns.
[0081] refer to Figure 7As shown, the plurality of eighth compensation data includes the second column prediction compensation data PC32 and the fourth column prediction compensation data PC34, wherein the second column prediction compensation data PC321 and the fourth column prediction compensation data PC34 are prediction data of the compressed data corresponding to the odd-numbered columns of the first compensation data. After calculating the mean value P1mean of the plurality of third compensation data and the mean value P2mean of the plurality of fourth compensation data, the plurality of eighth compensation data can be determined by the sum of the difference between the plurality of fourth compensation data, the mean value of the plurality of third compensation data and the mean value of the plurality of fourth compensation data.
[0082] refer to Figure 7 Specifically, taking the second column prediction compensation data PC32 as an example, the second column prediction compensation data PC32 includes multiple prediction compensation values arranged in sequence along the column direction, and the multiple prediction compensation values correspond to the sum of the differences between multiple fourth compensation data (data compensation values arranged in sequence along the column direction in PC42) and the mean (P1mean) of multiple third compensation data and the mean (P2mean) of multiple fourth compensation data.
[0083] Step S250, obtaining a plurality of ninth compensation data based on a plurality of third compensation data and a plurality of eighth compensation data, and using the plurality of ninth compensation data as compensation data for a plurality of sub-pixels when displaying a first grayscale image; obtaining a plurality of tenth compensation data based on a plurality of fourth compensation data and a plurality of seventh compensation data, and using the plurality of tenth compensation data as compensation data for a plurality of sub-pixels when displaying a second grayscale image.
[0084] In this embodiment, after the plurality of third compensation data and the plurality of eighth compensation data are respectively obtained, in the process of restoring the data, reference is made to Figure 7 , the plurality of third compensation data and the plurality of eighth compensation data are combined, so as to obtain the complete first compressed compensation data PZ1 corresponding to the first compensation data. Then, the complete first compressed compensation data PZ1 is restored, that is, the combined plurality of third compensation data and the plurality of eighth compensation data are restored, referring to Fig. 9 As shown, a plurality of ninth compensation data are obtained, that is, restored data of the compressed data of the first compensation data are obtained, so that the plurality of ninth compensation data are used as compensation data of a plurality of sub-pixels when displaying the first grayscale image.
[0085] In this embodiment, after obtaining a plurality of fourth compensation data and a plurality of seventh compensation data, in the process of data restoration, reference is made to Figure 8, the plurality of fourth compensation data and the plurality of seventh compensation data are combined, so as to obtain the complete second compressed compensation data PZ2 corresponding to the second compensation data. Then, the complete second compressed compensation data PZ2 is restored, that is, the combined plurality of fourth compensation data and the plurality of seventh compensation data are restored, referring to Fig.10 As shown, a plurality of tenth compensation data are obtained, that is, restored data of the compressed data of the second compensation data are obtained, so that the plurality of tenth compensation data are used as compensation data of a plurality of sub-pixels when displaying the second grayscale image.
[0086] For example, reference Figure 2 As shown, taking the column division of compensation data as an example, when filtering a plurality of first compensation data and a plurality of second compensation data respectively, the first compensation data of even columns can be filtered out for compression to obtain a plurality of third compensation data; correspondingly, the second compensation data of odd columns can be filtered out for compression to obtain a plurality of fourth compensation data. The plurality of third compensation data are stored as compensation data of a plurality of sub-pixels when displaying a first grayscale picture, and the plurality of fourth compensation data are stored as compensation data of a plurality of sub-pixels when displaying a second grayscale picture.
[0087] For example, when the compensation data is divided, the compensation data may also be divided into rows, referring to Figure 2 , the first compensation data array P1 is divided into rows, for example, the first compensation data array P1 is divided into odd rows and even rows. Figure 3 By dividing the second compensation data array P2 into odd rows and even rows, the second compensation data of the odd rows and the second compensation data of the even rows can be obtained.
[0088] For example, reference Figure 2 and Figure 3 , taking the compensation data of 8*8 sub-pixels in both the first compensation data array P1 and the second compensation data array P2 as an example, the first compensation data array P1 and the second compensation data array P2 can be divided into rows based on the target compression ratio. For example, taking the block with a target compression ratio of 2*2 as an example, the compensation data array uses the compensation data of two rows of sub-pixels as the row compensation data, and the first compensation data is divided into the first compensation data PR11 of the first row, the first compensation data of the second row (not shown in the figure), the first compensation data PR13 of the third row, and the first compensation data of the fourth row (not shown in the figure). The second compensation data is divided into the second compensation data of the first row (not shown in the figure), the second compensation data PR22 of the second row, the second compensation data of the third row (not shown in the figure), and the second compensation data PR24 of the fourth row.
[0089] Exemplarily, the first compensation data of the odd-numbered rows, i.e., the first compensation data PR11 of the first row and the first compensation data PR13 of the third row are screened out, compressed in a 2*2 block, to obtain a plurality of third compensation data, and the second compensation data PR22 and PR24 of the even-numbered rows are screened out, compressed in a 2*2 block, to obtain a plurality of fourth compensation data. The plurality of third compensation data are stored as compensation data of a plurality of sub-pixels when displaying a first grayscale image, and the plurality of fourth compensation data are stored as compensation data of a plurality of sub-pixels when displaying a second grayscale image.
[0090] In this embodiment, in the process of compressing and storing the compensation data, in order to save storage space, the compressed data of the first compensation data corresponding to the odd rows are retained as multiple third compensation data, and the compressed data of the second compensation data corresponding to the even rows are retained as multiple fourth compensation data. Since the Mura morphology difference between the first compensation data and the second compensation data is not large, in the process of data restoration, for the first compensation data, the even rows of the second compensation data can be used to predict the even rows of the first compensation data to obtain multiple eighth compensation data; for the second compensation data, the odd rows of the first compensation data can be used to predict the odd rows of the second compensation data to obtain multiple seventh compensation data, and the prediction accuracy is relatively high.
[0091] As an optional implementation of the content disclosed in the present application, an embodiment of the present application discloses a data processing method, which is basically the same as a data processing method disclosed in the above embodiment, and the main difference is that the data processing method mainly describes another implementation method of obtaining multiple seventh compensation data based on the multiple third compensation data and obtaining multiple eighth compensation data based on the multiple fourth compensation data. In the data processing method, obtaining multiple seventh compensation data based on multiple third compensation data includes: using multiple third compensation data as multiple seventh compensation data; obtaining multiple eighth compensation data based on multiple fourth compensation data includes: using multiple fourth compensation data as multiple eighth compensation data.
[0092] In this embodiment, for example, referring to Figure 4 and Figure 5 As shown, when multiple fourth compensation data are compressed data corresponding to the second compensation data of even columns, then multiple seventh compensation data are compressed data of the second compensation data of odd columns corresponding to the missing second compensation data, and multiple third compensation data can be used as compressed data of the second compensation data of odd columns and merged with multiple fourth compensation data to obtain second compressed compensation data corresponding to the complete second compensation data.
[0093] Similarly, for example, when multiple third compensation data are compressed data of the first compensation data corresponding to odd columns, then multiple eighth compensation data are compressed data of the first compensation data of even columns corresponding to the missing first compensation data, and multiple fourth compensation data can be used as compressed data of the first compensation data of even columns and merged with multiple third compensation data to obtain the first compressed compensation data corresponding to the complete first compensation data.
[0094] As an optional implementation of the contents disclosed in the present application, an embodiment of the present application discloses a data processing method, which is basically the same as the data processing method provided in the above embodiment. The main difference is that the data processing method mainly describes an optional implementation method of compressing and screening multiple first compensation data to obtain multiple third compensation data, and compressing and screening multiple second compensation data to obtain multiple fourth compensation data.
[0095] In this embodiment, the first compensation data and the second compensation data are respectively compressed and then screened, and a plurality of third compensation data and a plurality of fourth compensation data are obtained accordingly. Specifically, in the data processing method, compressing and screening a plurality of first compensation data to obtain a plurality of third compensation data includes: compressing a plurality of first compensation data to obtain a plurality of fifth compensation data, and screening out a portion of the fifth compensation data from the plurality of fifth compensation data as a plurality of third compensation data;
[0096] The method of compressing and screening multiple second compensation data to obtain multiple fourth compensation data includes: compressing multiple second compensation data to obtain multiple sixth compensation data, screening out part of the multiple sixth compensation data as multiple fourth compensation data; part of the fifth compensation data is the fifth compensation data of the odd column, and part of the sixth compensation data is the fifth compensation data of the even column.
[0097] Specifically, in this embodiment, the plurality of first compensation data and the plurality of second compensation data may be compressed and filtered in sequence to obtain the plurality of third compensation data and the plurality of fourth compensation data. Figure 2 As shown, multiple first compensation data are compressed. For example, the first compensation data array P1 is compressed at a block ratio of 2*2, and 4*4 compressed compensation data can be obtained, that is, multiple fifth compensation data, and multiple sixth compensation data are compressed data of the first compensation data. Figure 3As shown, the plurality of second compensation data are compressed, for example, the second compensation data array P2 is taken as an example of a block with a compression ratio of 2*2, and 4*4 compressed compensation data can be obtained, that is, a plurality of sixth compensation data, and the plurality of sixth compensation data are compressed data of the second compensation data. The plurality of fifth compensation data are directly divided into rows or columns, so as to directly select part of the fifth compensation data from the plurality of fifth compensation data as a plurality of third compensation data; the plurality of sixth compensation data are directly divided into rows or columns, so as to directly select part of the sixth compensation data from the plurality of sixth compensation data as a plurality of fourth compensation data. In the compressed first compensation data and the compressed second compensation data, the fifth compensation data in the odd columns are adjacent to the sixth compensation data in the even columns.
[0098] Exemplarily, the plurality of fifth compensation data and the plurality of sixth compensation data are divided into columns, the plurality of fifth compensation data are divided into fifth compensation data of odd columns and fifth compensation data of even columns, the screened-out part of the fifth compensation data may be fifth compensation data of odd columns, and the fifth compensation data of odd columns are used as the plurality of third compensation data. The plurality of sixth compensation data are also divided into sixth compensation data of odd columns and sixth compensation data of even columns, the screened-out part of the sixth compensation data may be sixth compensation data of even columns, and the sixth compensation data of even columns are used as the plurality of fourth compensation data.
[0099] In other exemplary embodiments, the plurality of fifth compensation data and the plurality of sixth compensation data may also be divided into rows, and the plurality of fifth compensation data may be divided into fifth compensation data of odd rows and fifth compensation data of even rows, and the part of the fifth compensation data screened out may be the fifth compensation data of odd rows, and the fifth compensation data of odd rows is used as the plurality of third compensation data. The plurality of sixth compensation data may also be divided into sixth compensation data of odd rows and sixth compensation data of even rows, and the part of the sixth compensation data screened out may be the sixth compensation data of even rows, and the sixth compensation data of even rows is used as the plurality of fourth compensation data.
[0100] As an optional implementation of the content disclosed in this application, the embodiment of this application discloses a data processing device, such as Fig.11 As shown, Fig.11 This is a block diagram of a data processing device disclosed in an embodiment of the present application, the data processing device comprising:
[0101] The acquisition unit 100 is used to acquire a plurality of first compensation data and a plurality of second compensation data of a plurality of sub-pixels of the display panel, wherein the plurality of first compensation data are compensation data of the plurality of sub-pixels when displaying a first grayscale picture; the plurality of second compensation data are compensation data of the plurality of sub-pixels when displaying a second grayscale picture, wherein the first grayscale picture and the second grayscale picture are display pictures of adjacent grayscales;
[0102] The data processing unit 200 is used to compress and filter the plurality of first compensation data to obtain a plurality of third compensation data, and compress and filter the plurality of second compensation data to obtain a plurality of fourth compensation data, wherein the plurality of sub-pixels corresponding to the plurality of third compensation data are adjacent to the plurality of sub-pixels corresponding to the plurality of fourth compensation data;
[0103] The storage unit 300 is used to store a plurality of third compensation data as compensation data of a plurality of sub-pixels when displaying a first grayscale image, and to store a plurality of fourth compensation data as compensation data of a plurality of sub-pixels when displaying a second grayscale image.
[0104] The data processing device provided by the present application obtains the first compensation data corresponding to the first grayscale image of the display panel and the second compensation data corresponding to the second grayscale image, and compresses and filters the first compensation data and the second compensation data respectively to obtain a plurality of third compensation data and a plurality of fourth compensation data, wherein the plurality of sub-pixels corresponding to the plurality of third compensation data are adjacent to the plurality of sub-pixels corresponding to the plurality of fourth compensation data respectively; the plurality of third compensation data are stored as compensation data of the plurality of sub-pixels when the first grayscale image is displayed, and the plurality of fourth compensation data are stored as compensation data of the plurality of sub-pixels when the second grayscale image is displayed. The present application utilizes the characteristic that the Mura morphology of the display images of adjacent grayscales is not much different, and utilizes the correlation of adjacent pixels in the image without selecting a larger compression ratio, and retains part of the compensation data of the display images of adjacent grayscales to retain most of the image details, thereby retaining the Mura feature change trend, reducing the amount of data, and reducing the distortion of the compressed compensation data while improving the compression rate.
[0105] Fig.12 700 is a block diagram of a data processing device 700 according to an exemplary embodiment. For example, the data processing device 700 may be provided as a terminal device. Fig.10 The data processing device 700 includes a processor 701, and the number of processors can be set to one or more as needed. The data processing device 700 also includes a memory 702, which is used to store instructions that can be executed by the processor 701, such as application programs. The number of memories can be set to one or more as needed. The application programs stored therein can be one or more. The processor 701 is configured to execute instructions to execute the above-mentioned data processing method.
[0106] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices (equipment), or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data), including but not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer, etc. In addition, it is well known to those skilled in the art that communication media generally contain computer-readable instructions, data structures, program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0107] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is provided, such as a memory 702 including instructions, and the instructions can be executed by a processor 701 of a data processing device 700 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0108] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a data processing device, enables the data processing device to perform the above-mentioned data processing method.
[0109] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatuses (devices) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0112] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.
[0113] The above embodiments only express several implementation methods of this specification, and the descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent application. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of this specification, which all belong to the protection scope of this specification. Therefore, the protection scope of the patent of this specification shall be based on the attached claims.
Claims
1. A data processing method, characterized in that: The data processing method comprises: Acquire a plurality of first compensation data and a plurality of second compensation data of a plurality of sub-pixels of a display panel, wherein the plurality of first compensation data are compensation data of the plurality of sub-pixels when a first grayscale picture is displayed; and the plurality of second compensation data are compensation data of the plurality of sub-pixels when a second grayscale picture is displayed, wherein the first grayscale picture and the second grayscale picture are display pictures of adjacent grayscales; A plurality of third compensation data is obtained by compressing and filtering the plurality of first compensation data, a plurality of fourth compensation data is obtained by compressing and filtering the plurality of second compensation data, and a plurality of sub-pixels corresponding to the plurality of third compensation data are respectively adjacent to a plurality of sub-pixels corresponding to the plurality of fourth compensation data; The plurality of third compensation data are stored as compensation data of the plurality of sub-pixels when displaying a first grayscale picture, and the plurality of fourth compensation data are stored as compensation data of the plurality of sub-pixels when displaying a second grayscale picture.
2. The data processing method according to claim 1, characterized in that: The step of compressing and filtering the plurality of first compensation data to obtain the plurality of third compensation data comprises: filtering out a portion of the first compensation data from the plurality of first compensation data, and compressing the filtered portion of the first compensation data to obtain the plurality of third compensation data; Compressing and filtering the plurality of second compensation data to obtain the plurality of fourth compensation data comprises: filtering out part of the second compensation data from the plurality of second compensation data, and compressing the filtered part of the second compensation data to obtain the plurality of fourth compensation data; The part of the first compensation data is the first compensation data of the odd columns, and the part of the second compensation data is the second compensation data of the even columns, or the part of the first compensation data is the first compensation data of the odd rows, and the part of the second compensation data is the second compensation data of the even rows.
3. The data processing method according to claim 1, characterized in that: The step of compressing and filtering the plurality of first compensation data to obtain a plurality of third compensation data comprises: compressing the plurality of first compensation data to obtain a plurality of fifth compensation data, and filtering out a portion of the plurality of fifth compensation data as the plurality of third compensation data; The step of compressing and filtering the plurality of second compensation data to obtain a plurality of fourth compensation data comprises: compressing the plurality of second compensation data to obtain a plurality of sixth compensation data, and filtering out a portion of the plurality of sixth compensation data as the plurality of fourth compensation data; The part of the fifth compensation data is the fifth compensation data of odd columns, and the part of the sixth compensation data is the fifth compensation data of even columns, or the part of the fifth compensation data is the fifth compensation data of odd rows, and the part of the sixth compensation data is the sixth compensation data of even rows.
4. The data processing method according to claim 1, characterized in that: The data processing method further includes: Calculating the mean of the plurality of third compensation data and the mean of the plurality of fourth compensation data, and calculating the plurality of third compensation data, the mean of the plurality of third compensation data and the mean of the plurality of fourth compensation data to obtain a plurality of seventh compensation data; or using the plurality of third compensation data as a plurality of seventh compensation data; The plurality of seventh compensation data are used as second compensation data of odd columns, or the plurality of seventh compensation data are used as second compensation data of odd rows.
5. The data processing method according to claim 4, characterized in that: The data processing method further includes: combining the plurality of fourth compensation data and the plurality of seventh compensation data; performing data restoration on the merged plurality of fourth compensation data and the plurality of seventh compensation data to obtain a plurality of tenth compensation data; The plurality of tenth compensation data are used as compensation data of the plurality of sub-pixels when displaying a second grayscale image.
6. The data processing method according to claim 1, characterized in that: The data processing method further includes: Calculating the mean of the plurality of third compensation data and the mean of the plurality of fourth compensation data, and calculating the mean of the plurality of fourth compensation data, the mean of the plurality of third compensation data and the mean of the plurality of fourth compensation data to obtain a plurality of eighth compensation data; or using the plurality of fourth compensation data as a plurality of eighth compensation data; The plurality of eighth compensation data are used as first compensation data for even columns, or the plurality of eighth compensation data are used as first compensation data for even rows.
7. The data processing method according to claim 6, characterized in that: The data processing method further includes: combining the plurality of third compensation data and the plurality of eighth compensation data; Performing data restoration on the merged plurality of third compensation data and the plurality of eighth compensation data to obtain a plurality of ninth compensation data; The plurality of ninth compensation data are used as compensation data of the plurality of sub-pixels when displaying the first grayscale image.
8. A data processing device, characterized in that: The data processing device comprises: an acquisition unit, configured to acquire a plurality of first compensation data and a plurality of second compensation data of a plurality of sub-pixels of a display panel, wherein the plurality of first compensation data are compensation data of the plurality of sub-pixels when a first grayscale picture is displayed; and the plurality of second compensation data are compensation data of the plurality of sub-pixels when a second grayscale picture is displayed, wherein the first grayscale picture and the second grayscale picture are display pictures of adjacent grayscales; a data processing unit, configured to compress and filter the plurality of first compensation data to obtain a plurality of third compensation data, and compress and filter the plurality of second compensation data to obtain a plurality of fourth compensation data, wherein a plurality of sub-pixels corresponding to the plurality of third compensation data are respectively adjacent to a plurality of sub-pixels corresponding to the plurality of fourth compensation data; The storage unit is used to store the plurality of third compensation data as compensation data of the plurality of sub-pixels when displaying the first grayscale picture, and store the plurality of fourth compensation data as compensation data of the plurality of sub-pixels when displaying the second grayscale picture.
9. A data processing device comprising a processor, a memory and a computer program stored in the memory, characterized in that: When the processor executes the computer program, the steps of the data processing method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the steps of the data processing method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Mura phenomenon compensation method of display panel and display panel
CN106952627A
Data compression method and decompression method for DeMura table
CN108196793A
Mura compensation method and device for display panel
CN110148375A
Gray scale compensation method and device, computer device and storage medium
CN110277062A
Display brightness adjusting method and device, electronic equipment and storage medium
CN114863891A