Display data compensation method and apparatus, electronic device, and storage medium
By performing demura compensation for blocking and matching accuracy of image display data, the problem of complex algorithm and high power consumption in the prior art Demura compensation method is solved, and efficient display effect and low power consumption display compensation are achieved.
Patent Information
- Application Number
- PCT/CN2024/117763
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-09
- Filing Date
- 2024-09-09
- Publication Date
- 2025-07-17
AI Technical Summary
The existing Demura compensation method has complex algorithms and high power consumption, which cannot meet the display effect requirements of high-resolution display screens.
By determining the image display data and display resolution of the image to be displayed, the image display data is chunked, and according to the degree of dispersion between different pixel points in the block display data, the corresponding demura operation accuracy is selected for demura compensation.
While ensuring excellent display effect, the power consumption of demura compensation is reduced and the complexity of algorithm is simplified.
Smart Images

Figure CN2024117763_17072025_PF_FP_ABST
Abstract
Description
Display data compensation method, device, electronic device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application with application number 202410033123.9 filed with the China Patent Office on January 9, 2024, entitled “Display Data Compensation Method, Device, Electronic Device and Storage Medium”. The entire contents of the above application are incorporated by reference into this application. Technical Field
[0003] The present application relates to the technical field of display screens, and in particular to a display data compensation method, device, electronic device, and storage medium. Background Art
[0004] Mura refers to the different degrees of color difference perceived visually under the same light source and the same background color. The Mura phenomenon is common in LCD, AMOLED and other display screens.
[0005] Demura technology can be used to compensate display data to improve screen display effects. Most existing demura compensation methods obtain compensation data corresponding to each pixel and then compensate the display data based on the compensation data to improve screen display effects.
[0006] As the demand for resolution and display effects becomes higher and higher, the size of display panels becomes larger and larger. Accordingly, in the process of using existing demura compensation methods to compensate the display screen, the actual algorithm of compensation data becomes more and more complicated, resulting in higher and higher power consumption caused by demura compensation.
[0007] Summary of the Invention
[0008] In view of this, the purpose of the embodiments of the present application is to provide a display data compensation method, device, electronic device and storage medium to solve the technical problem that "the existing demura compensation method has complex algorithms and high compensation power consumption".
[0009] In a first aspect, an embodiment of the present application provides a display data compensation method, the display data compensation method comprising:
[0010] Determining image display data and display resolution of an image to be displayed;
[0011] Dividing the image display data into blocks according to the display resolution to obtain a plurality of block display data;
[0012] determining a demura calculation accuracy corresponding to each block of display data according to a degree of discreteness between different pixel points in each block of display data;
[0013] Demura compensation is performed on the image display data based on the demura calculation accuracy corresponding to each block of display data.
[0014] In the above-mentioned implementation process, the display data compensation method determines the image display data and display resolution of the image to be displayed; divides the image display data into blocks according to the display resolution; determines the demura calculation accuracy corresponding to each block of display data based on the degree of discreteness between different pixels in the display data; and performs demura compensation on the image display data based on the demura calculation accuracy corresponding to each block of display data. This display data compensation method selects the corresponding demura calculation accuracy based on the degree of discreteness between different pixels in the actual block of display data and performs demura compensation on the block of display data. This method can reduce demura compensation power consumption while maintaining excellent display quality. This method solves the technical problem of "existing demura compensation methods have complex algorithms and high compensation power consumption."
[0015] Optionally, in an embodiment of the present application, determining the demura operation accuracy corresponding to the block display data based on the degree of discreteness between different pixel points in each block display data includes: determining a first pixel difference absolute value between different pixel points in the same information unit in each block display data; determining a first maximum pixel difference absolute value corresponding to the block display data based on the first pixel difference absolute value; determining the degree of discreteness between different pixel points in each block display data based on the first maximum pixel difference absolute value; and determining the demura operation accuracy corresponding to the block display data based on the discreteness.
[0016] In the above implementation process, different pixels in the block display data are divided into multiple information units for processing; first, the absolute value of the first pixel difference between different pixels in the same information unit is determined; and then, based on the first maximum absolute value of the first pixel difference among the absolute values of the first pixel differences, the degree of discreteness corresponding to the corresponding block display data is determined. This can reduce the difficulty of determining the degree of discreteness and more quickly determine the demura calculation accuracy corresponding to the corresponding block display data.
[0017] Optionally, in the embodiment of the present application, before determining the degree of discreteness between different pixel points in each block of display data according to the first maximum pixel difference absolute value, determining the demura calculation accuracy corresponding to the block of display data according to the degree of discreteness between different pixel points in each block of display data further includes: determining a maximum information unit pixel value and a minimum information unit pixel value corresponding to each information unit in each block of display data;
[0018] Determining the degree of discreteness between different pixel points in each block of display data based on the first maximum pixel difference absolute value includes: determining the degree of discreteness between different pixel points in each block of display data based on the first maximum pixel difference absolute value, the information unit pixel maximum value, and the information unit pixel minimum value.
[0019] In the above implementation process, by determining the maximum value of the information unit pixels and the maximum value of the information unit pixels of each information unit, the pixel changes between different information units can be obtained; the pixel changes within the information unit can be obtained through the absolute value of the first maximum pixel difference; based on the "first maximum pixel difference absolute value, the maximum value of the information unit pixels and the minimum value of the information unit pixels", the "degree of discreteness between different pixel points in the corresponding block display data" can be determined more comprehensively and accurately, and then a more appropriate demura operation accuracy can be selected according to the discreteness to obtain better demura compensation effect and display effect.
[0020] Optionally, in an embodiment of the present application, the image display data is display data in RGB color mode; determining the first pixel difference absolute value between different pixel points in the same information unit in each block of display data includes: obtaining the first R pixel difference absolute value, the first G pixel difference absolute value, and the first B pixel difference absolute value between different pixel points in the same information unit in each block of display data; summing the first R pixel difference absolute value, the first G pixel difference absolute value, and the first B pixel difference absolute value, and determining the first pixel difference absolute value based on the summation result.
[0021] In the above implementation process, when the "image display data is display data in RGB color mode", the first R pixel difference absolute value, the first G pixel difference absolute value and the first B pixel difference absolute value between "different pixel points in the same information unit" are determined; the first R pixel difference absolute value, the first G pixel difference absolute value and the first B pixel difference absolute value are added to obtain the first pixel difference absolute value between the corresponding pixel points.
[0022] Optionally, in an embodiment of the present application, determining the demura operation accuracy corresponding to the block display data based on the degree of discreteness between different pixel points in each block display data includes: grouping the block display data to obtain multiple groups of pixel data; wherein the groups of pixel data include multiple pixel points; determining a second pixel difference absolute value between co-located pixel points in adjacent groups of pixel data; wherein the co-located pixel points refer to two pixel points in the adjacent groups of pixel data that are located at the same position in different groups of pixel data; determining a second maximum pixel difference absolute value corresponding to the block display data based on the second pixel difference absolute value; determining the degree of discreteness between different pixel points in each block display data based on the second maximum pixel difference absolute value; and determining the demura operation accuracy corresponding to the block display data based on the discreteness.
[0023] In the above implementation, by grouping the block display data, the calculation of the "degree of discreteness between different pixels in the block display data" is transformed into the calculation of the "degree of discreteness between adjacent groups of pixel data." This significantly reduces the difficulty of determining the degree of discreteness, allowing for more rapid determination of the demura calculation accuracy corresponding to the corresponding block display data. Furthermore, because the absolute value of the pixel difference between adjacent pixels is relatively small, this embodiment, by grouping the block display data, can more clearly and accurately determine the degree of discreteness between different pixels corresponding to the block display data based on the absolute value of the second pixel difference between co-located pixels in adjacent groups of data.
[0024] Optionally, in the embodiment of the present application, before determining the degree of discreteness between different pixel points in each block of display data according to the second maximum pixel difference absolute value, determining the demura calculation accuracy corresponding to the block of display data according to the degree of discreteness between different pixel points in each block of display data further includes: determining a maximum group pixel value and a minimum group pixel value in each group of pixel data;
[0025] Determining the degree of discreteness between different pixel points in each block of display data based on the second maximum pixel difference absolute value includes: determining the degree of discreteness between different pixel points in each block of display data based on the maximum group pixel value, the minimum group pixel value, and the second maximum pixel difference absolute value.
[0026] In the above implementation process, by determining the maximum group pixel value and the minimum group pixel value in each group of pixel data, the pixel changes between different groups of pixel data can be obtained; the pixel changes between adjacent groups of pixel data can be obtained by using the second maximum pixel difference absolute value; based on the "second maximum pixel difference absolute value, the maximum group pixel value, and the minimum group pixel value", the "degree of discreteness between different pixel points in the corresponding block of display data" can be more comprehensively and accurately determined, and then a more appropriate demura calculation accuracy can be selected based on the discreteness, thereby obtaining better demura compensation and display effects.
[0027] Optionally, in an embodiment of the present application, the image display data is display data in RGB color mode; determining the second pixel difference absolute value between the same-position pixel points in adjacent groups of pixel data includes: obtaining the second R pixel difference absolute value, the second G pixel difference absolute value, and the second B pixel difference absolute value between the same-position pixel points in adjacent groups of pixel data; summing the second R pixel difference absolute value, the second G pixel difference absolute value, and the second B pixel difference absolute value, and determining the second pixel difference absolute value based on the summation result.
[0028] In the above implementation process, when the "image display data is display data in RGB color mode", the second R pixel difference absolute value, the second G pixel difference absolute value and the second B pixel difference absolute value between the "co-located pixel points in adjacent groups of pixel data" are determined; the second R pixel difference absolute value, the second G pixel difference absolute value and the second B pixel difference absolute value are added to obtain the second pixel difference absolute value between the corresponding co-located pixel points.
[0029] In a second aspect, an embodiment of the present application provides a display data compensation device, the display data compensation device comprising:
[0030] An image analysis module, used to determine image display data and display resolution of an image to be displayed;
[0031] A block processing module, configured to divide the display data into blocks according to the display resolution to obtain a plurality of block display data;
[0032] an operation precision determination module, configured to determine the demura operation precision corresponding to each block of display data according to the discreteness between different pixel points in each block of display data;
[0033] The compensation module is configured to perform demura compensation on the image display data based on the demura calculation accuracy corresponding to each block of display data.
[0034] Optionally, in an embodiment of the present application, the above-mentioned operation accuracy determination module can be specifically used to: determine the first pixel difference absolute value between different pixel points in the same information unit in each block of display data; determine the first maximum pixel difference absolute value corresponding to the block display data based on the first pixel difference absolute value; determine the degree of discreteness between different pixel points in each block of display data based on the first maximum pixel difference absolute value; and determine the demura operation accuracy corresponding to the block display data based on the discreteness.
[0035] Optionally, in an embodiment of the present application, the above-mentioned calculation accuracy determination module can also be used to: determine the maximum value of the information unit pixel and the minimum value of the information unit pixel corresponding to each information unit in each of the block display data; and determine the degree of discreteness between different pixel points in each of the block display data based on the first maximum pixel difference absolute value, the information unit pixel maximum value and the information unit pixel minimum value.
[0036] Optionally, in an embodiment of the present application, the image display data is display data in RGB color mode; the above-mentioned calculation accuracy determination module can be specifically used to: obtain the first R pixel difference absolute value, the first G pixel difference absolute value and the first B pixel difference absolute value between different pixel points in the same information unit in each block of display data; sum the first R pixel difference absolute value, the first G pixel difference absolute value and the first B pixel difference absolute value, and determine the first pixel difference absolute value based on the summation result.
[0037] Optionally, in an embodiment of the present application, the above-mentioned operation accuracy determination module can also be specifically used to: group the block display data to obtain multiple groups of pixel data; wherein the group of pixel data includes multiple pixel points; determine the second pixel difference absolute value between the same-position pixel points in adjacent groups of pixel data; wherein the same-position pixel points refer to two pixel points in the adjacent groups of pixel data that are located at the same position in different groups of pixel data; based on the second pixel difference absolute value, determine the second maximum pixel difference absolute value corresponding to the block display data; based on the second maximum pixel difference absolute value, determine the discrete degree between different pixel points in each block display data; and based on the discrete degree, determine the demura operation accuracy corresponding to the block display data.
[0038] Optionally, in an embodiment of the present application, the above-mentioned calculation accuracy determination module can also be used to: determine the maximum group pixel value and the minimum group pixel value in each of the said groups of pixel data; and, based on the said maximum group pixel value, the said minimum group pixel value and the second maximum pixel difference absolute value, determine the degree of discreteness between different pixel points in each of the said block display data.
[0039] Optionally, in an embodiment of the present application, the image display data is display data in RGB color mode; the above-mentioned calculation accuracy determination module can be specifically used to: obtain the second R pixel difference absolute value, the second G pixel difference absolute value and the second B pixel difference absolute value between the same-position pixel points in adjacent groups of pixel data; sum the second R pixel difference absolute value, the second G pixel difference absolute value and the second B pixel difference absolute value, and determine the second pixel difference absolute value based on the summation result.
[0040] In a third aspect, an embodiment of the present application further provides an electronic device comprising: a memory and a processor, wherein the memory stores a computer program executable by the processor, and when the computer program is executed by the processor, the display data compensation method described in the first aspect above is executed.
[0041] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the display data compensation method described in the first aspect above is executed.
[0042] The beneficial effects of this application are as follows: by determining the image display data and display resolution of the image to be displayed; dividing the image display data into blocks according to the display resolution; and selecting the corresponding demura calculation accuracy based on the degree of discreteness between different pixels in the actual block display data, and performing demura compensation on the block display data, it can reduce the power consumption of demura compensation while ensuring a better display effect. This solves the technical problem of "existing demura compensation methods with complex algorithms and high compensation power consumption." BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0044] FIG1 is a schematic flow chart of a display data compensation method provided in an embodiment of the present application;
[0045] FIG2 is a flow chart of a method for determining demura calculation accuracy provided in an embodiment of the present application;
[0046] FIG3 is a flow chart of another method for determining demura calculation accuracy provided in an embodiment of the present application;
[0047] FIG4 is a schematic structural diagram of a display data compensation device provided in an embodiment of the present application;
[0048] FIG5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The following embodiments of the technical solution of the present application will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application and are therefore only examples and are not intended to limit the scope of protection of the present application.
[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0051] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is two or more, unless otherwise specifically defined.
[0052] Please refer to FIG1 , which shows a flow chart of a display data compensation method provided by an embodiment of the present application. The display data compensation method may include the following steps:
[0053] Step 101: Determine image display data and display resolution of an image to be displayed;
[0054] Step 102: Divide the image display data into blocks according to the display resolution to obtain a plurality of block display data;
[0055] Step 103: determining the demura calculation accuracy corresponding to each block of display data according to the degree of discreteness between different pixels in the block of display data;
[0056] Step 104 : Perform demura compensation on the image display data based on the demura calculation accuracy corresponding to each block of display data.
[0057] Among them, in step 101, the "image display data and display resolution" sent by the host computer can be directly received; or the image data (for determining the image display data) or register configuration (for determining the display resolution) sent by the host computer or other devices can be received; by analyzing the image data or register configuration, the image display data and display resolution corresponding to the image to be displayed are determined. Display resolution refers to the resolution of the display when displaying an image. The value of the display resolution refers to the number of horizontal pixels and vertical pixels on the visible area of the display; taking the display resolution of 800*600 as an example, it indicates that the screen of the display displays 800 pixels horizontally and 600 pixels vertically. The display resolution can be: 800*600, 1680*1080 or 2400*1080, etc. The specific value of the display resolution can be adjusted according to the actual display type or the display requirements of the display.
[0058] In step 102, the number of block display data obtained after the image display data is actually divided into blocks and the number of pixels included in each block of display data can be determined based on the display resolution. For example, when the display resolution is "2400*1080", the image display data can be divided into "20*8" blocks of display data, each of which includes "120*135" pixels; when the display resolution is "1680*1080", the image display data can be divided into "14*8" blocks of display data, each of which includes "120*135" pixels. The number of block display data obtained after the image display data is actually divided into blocks and the number of pixels included in each block of display data can also be comprehensively determined based on the display mode and display resolution of the display screen. For example, when the display resolution remains unchanged, if the display mode of the display screen is IDLE mode (energy saving mode), the image display data can be divided into a smaller number of block display data; specifically, taking the display resolution of "1680*1080" as an example, if the display mode is IDLE mode, the image display data can be divided into "7*4" blocks of display data, and each block of display data includes "240*270" pixels.
[0059] In step 103, the degree of discreteness can be determined based on the absolute value of the pixel difference between any two pixels in the block display data; the degree of discreteness can also be determined based on the absolute value of the pixel difference between different pixels in the same row of the block display data; or the block display data can be divided into multiple information units and the degree of discreteness can be determined based on the absolute value of the pixel difference between different pixels in the same information unit. Accordingly, the lower the degree of discreteness, the simpler the image to be displayed, and the higher the demura calculation accuracy required; the higher the degree of discreteness, the more complex the image to be displayed, and the lower the demura calculation accuracy can be used, or the demura calculation can be disabled directly.
[0060] In step 104 , demura compensation is performed on each piece of display data using demura calculation accuracy, thereby achieving demura compensation for the image display data.
[0061] As can be seen, the display data compensation method provided in the embodiments of the present application determines the image display data and display resolution of the image to be displayed; divides the image display data into blocks according to the display resolution; and selects the corresponding demura calculation accuracy based on the degree of discreteness between different pixels in the actual block display data to perform demura compensation on the block display data. This method can reduce the power consumption of demura compensation while ensuring a good display effect. This method solves the technical problem of "complex algorithms and high compensation power consumption of existing demura compensation methods."
[0062] Please refer to FIG. 2 , which is a flow chart of a method for determining demura calculation accuracy provided in an embodiment of the present application.
[0063] In some optional embodiments, step 103, determining the demura operation accuracy corresponding to the block display data based on the degree of discreteness between different pixel points in each block display data, includes: step 1031, determining a first pixel difference absolute value between different pixel points in the same information unit in each block display data; step 1032, determining a first maximum pixel difference absolute value corresponding to the block display data based on the first pixel difference absolute value; step 1033, determining the degree of discreteness between different pixel points in each block display data based on the first maximum pixel difference absolute value; and step 1034, determining the demura operation accuracy corresponding to the block display data based on the degree of discreteness.
[0064] Among them, the same information unit can be an information unit composed of pixels in the same row, or an information unit composed of pixels in the same column, or an information unit composed of pixels in other same block units. Taking the case where the same information unit is an information unit composed of pixels in the same row as an example, the first pixel difference absolute value may include: the absolute value of the pixel difference between any two different pixel points in the same row; it may also include: the absolute value of the pixel difference between two different pixel points in the same row with an interval greater than 6 (or 8, 12 or other reasonable values) pixels. The maximum value of the first pixel difference absolute values can be determined as the above-mentioned first maximum pixel difference absolute value; the first maximum pixel difference absolute value can characterize the pixel change situation within the same information unit (that is, the degree of discreteness between the pixel points within the same information unit).
[0065] The degree of discreteness can be divided into multiple discrete levels, each of which corresponds to a different pixel difference absolute value range. Specifically, the discrete levels may include: a pure color discrete level (the corresponding pixel difference absolute value range may include: [0, 30]), a gradient discrete level (the corresponding pixel difference absolute value range may include: (30, 100]), a simple texture discrete level (the corresponding pixel difference absolute value range may include: (100, 200]), and a complex texture discrete level (the corresponding pixel difference absolute value range may include: >200). The above is merely an example of a discrete level division and a corresponding pixel difference absolute value range corresponding to each discrete level. The specific division method of the discrete levels and the specific pixel difference absolute value range corresponding to each discrete level can be adjusted according to actual application conditions (for example, the display resolution parameters of the display screen, the model of the display screen, the color display mode of the display screen, etc.).
[0066] Demura calculation precision can specifically include: 1*1 calculation precision, 2*2 calculation precision, 4*4 calculation precision and turning off demura calculation. Among them, 1*1 calculation precision means that the corresponding demura compensation data is determined separately for each pixel; 2*2 calculation precision means that the block display data is divided into multiple compensation units of 2*2 pixels, and the pixels in the same compensation unit are compensated with unified demura compensation data; 4*4 calculation precision means that the block display data is divided into multiple compensation units of 4*4 pixels, and the pixels in the same compensation unit are compensated with unified demura compensation data; turning off demura calculation means not performing demura compensation on the corresponding block display data. Block display data with different degrees of discreteness can correspond to different demura calculation precisions, or they can correspond to the same demura calculation precision; specifically, the demura calculation precision corresponding to each discrete level can be adjusted according to the actual application.
[0067] In some optional embodiments, before determining the degree of discreteness between different pixels in each block of display data based on the first maximum pixel difference absolute value in step 1033, determining the demura calculation accuracy corresponding to the block of display data based on the degree of discreteness between different pixels in each block of display data in step 103 further includes: determining a maximum value and a minimum value of pixels of an information unit corresponding to each information unit in each block of display data;
[0068] Step 1033: Determine the degree of discreteness between different pixel points in each block of display data based on the first maximum pixel difference absolute value, including: determining the degree of discreteness between different pixel points in each block of display data based on the first maximum pixel difference absolute value, the information unit pixel maximum value, and the information unit pixel minimum value.
[0069] Wherein, taking the example of an information unit composed of pixels in the same row, the maximum value of the information unit pixel may be the maximum value among the pixel values corresponding to the pixel points in the corresponding row, and the minimum value of the information unit pixel may be the minimum value among the pixel values corresponding to the pixel points in the corresponding row. The image display data may be display data in a grayscale color mode, an RGB color mode, or other color modes. Taking the example of display data in an RGB color mode, the maximum value of the information unit pixel may specifically be the maximum value among the RGB pixel values (the sum of R pixel value, G pixel value, and B pixel value) corresponding to the pixel points in the corresponding row, and the minimum value of the information unit pixel may specifically be the minimum value among the RGB pixel values (the sum of R pixel value, G pixel value, and B pixel value) corresponding to the pixel points in the corresponding row. Taking the example of display data in a grayscale color mode, the maximum value of the information unit pixel may specifically be the maximum value among the pixel grayscale values corresponding to the pixel points in the corresponding row, and the minimum value of the information unit pixel may specifically be the minimum value among the pixel grayscale values corresponding to the pixel points in the corresponding row.
[0070] Among them, the maximum value of the information unit pixels and the maximum value of the information unit pixels of each information unit can represent the pixel changes between different information units; the absolute value of the first maximum pixel difference can represent the pixel changes within the information unit; based on the "first maximum pixel difference absolute value, the maximum value of the information unit pixels and the minimum value of the information unit pixels", the "degree of discreteness between different pixel points in the corresponding block display data" can be determined more comprehensively and accurately, and then a more appropriate demura operation accuracy can be selected according to the discreteness to obtain better demura compensation and display effects.
[0071] In some optional embodiments, the above-mentioned image display data is display data in RGB color mode; step 1031, determining the first pixel difference absolute value between different pixel points in the same information unit in each block of display data, including: obtaining the first R pixel difference absolute value, the first G pixel difference absolute value and the first B pixel difference absolute value between different pixel points in the same information unit in each block of display data; summing the first R pixel difference absolute value, the first G pixel difference absolute value and the first B pixel difference absolute value, and determining the first pixel difference absolute value according to the summation result.
[0072] Wherein, taking the case where the same information unit is an information unit composed of pixels in the same row as an example, the first pixel difference absolute value may include: the absolute value of the pixel difference between any two different pixels in the same row (for example, the pixels in the first row and the pixels in the second row); the pixel values corresponding to the pixels in the first row include: the R pixel value of the first row, the G pixel value of the first row, and the B pixel value of the first row; the pixel values corresponding to the pixels in the second row include: the R pixel value of the second row, the G pixel value of the second row, and the B pixel value of the second row; accordingly, the absolute value of the pixel difference between the pixels in the first row and the pixels in the second row may be calculated according to |R l1 -R l2 |+|G l1 -G l2 |+|B l1 -B l2 |determine; where || represents the absolute value symbol, R l1 Represents the first row R pixel value, G l1 Indicates the first row G pixel value, B l1 Indicates the pixel value of the first row B, R l2 Indicates the R pixel value of the second row, G l2 Indicates the G pixel value of the second row, B l2 Indicates the pixel value of the second row B.
[0073] Please refer to FIG. 3 , which is a flow chart of another method for determining demura calculation accuracy provided in an embodiment of the present application.
[0074] In some optional embodiments, step 103, determining the demura operation accuracy corresponding to the block display data based on the degree of discreteness between different pixel points in each block display data, includes: step 1035, grouping the block display data to obtain multiple groups of pixel data; wherein the groups of pixel data include multiple pixel points; step 1036, determining a second pixel difference absolute value between co-located pixel points in adjacent groups of pixel data; wherein the co-located pixel points refer to two pixel points in the adjacent groups of pixel data that are located at the same position in different groups of pixel data; step 1037, determining a second maximum pixel difference absolute value corresponding to the block display data based on the second pixel difference absolute value; step 1038, determining the degree of discreteness between different pixel points in each block display data based on the second maximum pixel difference absolute value; and step 1039, determining the demura operation accuracy corresponding to the block display data based on the degree of discreteness.
[0075] Each set of pixel data may include n*m pixels; specifically, n may represent the number of pixel rows corresponding to the set of pixel data, and m may represent the number of pixel columns corresponding to the set of pixel data; n may be 1, 2, or other reasonable values, and m may be 5, 9, or other reasonable values. For example, n=1, m=9, each set of pixel data includes 1*9 pixels, and Z1 (a1, a2, a3, a4, a5, a6, a7, a8, a9) and Z2 (b1, b2, b3, b4, b5, b6, b7, b8, b9) are adjacent sets of pixel data; accordingly, ai and bi (i may be any integer from 1 to 9) are at the same position (the first row, the i-th column) in different sets of pixel data and are co-located pixels. The maximum value of the second pixel difference absolute values may be determined as the second maximum pixel difference absolute value; the second maximum pixel difference absolute value may characterize the pixel variation between adjacent sets of pixel data (i.e., the degree of discreteness between pixels between adjacent sets of pixel data).
[0076] In some optional embodiments, before determining the degree of discreteness between different pixel points in each block of display data based on the second maximum pixel difference absolute value in step 1038, determining the demura calculation accuracy corresponding to the block of display data based on the degree of discreteness between different pixel points in each block of display data in step 103 further includes: determining a maximum group pixel value and a minimum group pixel value in each group of pixel data;
[0077] Step 1038: Determine the degree of discreteness between different pixel points in each block of display data based on the second maximum pixel difference absolute value, including: determining the degree of discreteness between different pixel points in each block of display data based on the maximum group pixel value, the minimum group pixel value, and the second maximum pixel difference absolute value.
[0078] Wherein, taking n=1, m=9, and each group of pixel data including 1*9 pixels as an example, the maximum group pixel value may be the maximum value among the pixel values corresponding to the 1*9 pixels, and the minimum group pixel value may be the minimum value among the pixel values corresponding to the 1*9 pixels. The image display data may be display data in a grayscale color mode, an RGB color mode, or other color modes. Taking the image display data in the RGB color mode as an example, the maximum group pixel value may specifically be the maximum value among the RGB pixel values (the sum of the R pixel value, the G pixel value, and the B pixel value) corresponding to the 1*9 pixels, and the minimum group pixel value may specifically be the minimum value among the RGB pixel values (the sum of the R pixel value, the G pixel value, and the B pixel value) corresponding to the 1*9 pixels. Taking the image display data in the grayscale color mode as an example, the maximum group pixel value may specifically be the maximum value among the pixel grayscale values corresponding to the 1*9 pixels, and the minimum group pixel value may specifically be the minimum value among the pixel grayscale values corresponding to the 1*9 pixels.
[0079] Among them, the maximum group pixel value and the minimum group pixel value in each group of pixel data can represent the pixel changes between different groups of pixel data; the second maximum pixel difference absolute value can represent the pixel changes between adjacent groups of pixel data; based on the "second maximum pixel difference absolute value, the maximum group pixel value and the minimum group pixel value", the "degree of discreteness between different pixel points in the corresponding block of display data" can be more comprehensively and accurately determined, and then a more appropriate demura calculation accuracy can be selected based on the discreteness to obtain better demura compensation and display effects.
[0080] In some optional embodiments, the above-mentioned image display data is display data in RGB color mode; step 1036, determining the second pixel difference absolute value between the same-position pixel points in adjacent groups of pixel data, including: obtaining the second R pixel difference absolute value, the second G pixel difference absolute value and the second B pixel difference absolute value between the same-position pixel points in adjacent groups of pixel data; summing the second R pixel difference absolute value, the second G pixel difference absolute value and the second B pixel difference absolute value, and determining the second pixel difference absolute value based on the summation result.
[0081] Wherein, taking n=1, m=9, each group of pixel data includes 1*9 pixel points, and Z1(a1, a2, a3, a4, a5, a6, a7, a8, a9) and Z2(b1, b2, b3, b4, b5, b6, b7, b8, b9) as adjacent groups of pixel data as an example, the second pixel difference absolute value may include: the pixel difference absolute value between the same-position pixel points ai and bi in the adjacent groups of pixel data; the pixel values corresponding to ai include: the third R pixel value, the third G pixel value and The third B pixel value; the pixel values corresponding to bi include: the fourth R pixel value, the fourth G pixel value and the fourth B pixel value; accordingly, the absolute value of the pixel difference between the same-position pixel points ai and bi can be determined according to |R3-R4|+|G3-G4|+|B3-B4|; wherein, || represents the absolute value sign, R3 represents the third R pixel value, G3 represents the third G pixel value, B3 represents the third B pixel value, R4 represents the fourth R pixel value, G4 represents the fourth G pixel value, and B4 represents the fourth B pixel value.
[0082] Please refer to FIG4 , which is a schematic diagram of the structure of a display data compensation device provided by an embodiment of the present application. The display data compensation device includes:
[0083] An image analysis module 201 is used to determine image display data and display resolution of an image to be displayed;
[0084] A block processing module 202 is used to divide the display data into blocks according to the display resolution to obtain a plurality of block display data;
[0085] An operation precision determination module 203 is configured to determine the demura operation precision corresponding to each block of display data according to the degree of discreteness between different pixels in the block of display data;
[0086] The compensation module 204 is configured to perform demura compensation on the image display data based on the demura calculation accuracy corresponding to each block of display data.
[0087] It should be understood that the display data compensation device corresponds to the display data compensation method embodiment described above and is capable of executing each of the steps involved in the method embodiment. The specific functions of the display data compensation device can be found in the description above, and a detailed description is omitted here to avoid repetition. The display data compensation device includes at least one software functional module that can be stored in a memory in the form of software or firmware or embedded in the device's operating system (OS).
[0088] Please refer to Figure 5, which is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. This embodiment of the present application provides an electronic device 300, comprising: a processor 301 and a memory 302. These components are interconnected and communicate with each other via a communication bus 303 and / or other connection mechanisms (not shown). Memory 302 stores a computer program executable by processor 301. When executed by processor 301, this computer program performs the display data compensation method described in the first aspect above.
[0089] An embodiment of the present application further provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by the processor 301 , the display data compensation method described in the first aspect above is executed.
[0090] Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0091] In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed devices / systems and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0092] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0093] The above description is only an optional implementation method of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited to this. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in the embodiment of the present application, and they should all be covered by the protection scope of the embodiment of the present application. Industrial Applicability
[0094] The present application provides a display data compensation method, device, electronic device and storage medium, which solve the technical problems of complex algorithms and high compensation power consumption of the compensation method.
[0095] In addition, it can be understood that the display data compensation method, device, electronic device and storage medium of the present application are reproducible and can be widely used in the field of display screens.
Claims
1. A display data compensation method, characterized in that, The method comprises: Determine image display data and display resolution of the image to be displayed; According to the display resolution, the image display data is divided into blocks to obtain a plurality of block display data; Determining the demura calculation accuracy corresponding to the block display data according to the discreteness between different pixel points in each block display data; Demura compensation is performed on the image display data based on the demura calculation accuracy corresponding to each of the block display data.
2. The method according to claim 1, characterized in that The step of determining the demura calculation accuracy corresponding to each block of display data according to the discreteness between different pixel points in each block of display data comprises: Determine a first pixel difference absolute value between different pixel points in the same information unit in each of the blocks of display data; determining a first maximum pixel difference absolute value corresponding to the block display data according to the first pixel difference absolute value; Determining the discrete degree between different pixel points in each block of display data according to the first maximum pixel difference absolute value; According to the discrete degree, the demura calculation accuracy corresponding to the block display data is determined.
3. The method according to claim 2, wherein Before determining the discrete degree between different pixel points in each block of display data according to the first maximum pixel difference absolute value, determining the demura calculation accuracy corresponding to the block of display data according to the discrete degree between different pixel points in each block of display data further includes: Determine the maximum value of the information unit pixel and the minimum value of the information unit pixel corresponding to each information unit in each of the blocks of display data; Determining the discrete degree between different pixel points in each block of display data according to the first maximum pixel difference absolute value includes: The discrete degree between different pixel points in each block of display data is determined according to the first maximum pixel difference absolute value, the information unit pixel maximum value and the information unit pixel minimum value.
4. The method according to claim 2 or 3, characterized in that, in, The image display data is display data in RGB color mode; The determining of a first pixel difference absolute value between different pixel points in the same information unit in each of the blocks of display data comprises: Obtain the first R pixel absolute difference between different pixels in the same information unit in each of the blocks of display data. a first G pixel difference absolute value, and a first B pixel difference absolute value; The first R pixel difference absolute value, the first G pixel difference absolute value, and the first B pixel difference absolute value are summed, and the first pixel difference absolute value is determined according to the summed result.
5. The method according to claim 1, wherein The step of determining the demura calculation accuracy corresponding to each block of display data according to the discreteness between different pixel points in each block of display data comprises: Grouping the block display data to obtain a plurality of groups of pixel data; wherein the group of pixel data includes a plurality of pixel points; Determine a second pixel difference absolute value between co-located pixel points in adjacent groups of pixel data; wherein the co-located pixel points refer to two pixel points in the adjacent groups of pixel data that are located at the same position in different groups of pixel data; determining a second maximum pixel difference absolute value corresponding to the block display data according to the second pixel difference absolute value; determining the discrete degree between different pixel points in each block of display data according to the second maximum pixel difference absolute value; According to the discrete degree, the demura calculation accuracy corresponding to the block display data is determined.
6. The method according to claim 5, characterized in that, Before determining the discrete degree between different pixel points in each of the blocks of display data according to the second maximum pixel difference absolute value, determining the demura calculation accuracy corresponding to the block of display data according to the discrete degree between different pixel points in each of the blocks of display data further includes: Determining a maximum group pixel value and a minimum group pixel value in each of the groups of pixel data; Determining the discrete degree between different pixel points in each block of display data according to the second maximum pixel difference absolute value includes: The discrete degree between different pixel points in each block of display data is determined according to the maximum group pixel value, the minimum group pixel value and the second maximum pixel difference absolute value.
7. The method according to claim 5 or 6, characterized in that in, The image display data is display data in RGB color mode; The determining of the second pixel difference absolute value between the co-located pixel points in the adjacent groups of pixel data comprises: Obtaining a second R pixel difference absolute value, a second G pixel difference absolute value, and a second B pixel difference absolute value between co-located pixel points in adjacent groups of pixel data; The second R pixel difference absolute value, the second G pixel difference absolute value, and the second B pixel difference absolute value are summed, and the second pixel difference absolute value is determined according to the summed result.
8. A display data compensation device, characterized in that, The device comprises: An image analysis module, used to determine image display data and display resolution of an image to be displayed; The block processing module is used to divide the display data into blocks according to the display resolution to obtain multiple block display data. Display data; A calculation precision determination module, used for determining the demura calculation precision corresponding to the block display data according to the discrete degree between different pixel points in each block display data; The compensation module is used to perform demura compensation on the image display data based on the demura calculation accuracy corresponding to each block of display data.
9. An electronic device, characterized in that, The electronic device comprises: Memory; processor; The memory stores a computer program executable by the processor, and when the computer program is executed by the processor, the method according to any one of claims 1 to 7 is performed.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Data processing method, displaying driving chip and displaying equipment
CN109036260A
DeMura method of display screen, display screen and storage medium
CN113687806A
Compensation information providing apparatus and method, and display driving apparatus using compensation information
CN115798425A
Data processing method and device of display panel and computer readable storage medium
CN116682352A
Display data compensation method and device, electronic equipment and storage medium
CN117765857A