CN113421515A - Mura compensation method, device, equipment and storage medium - Google Patents

Mura compensation method, device, equipment and storage medium Download PDF

Info

Publication number
CN113421515A
CN113421515A CN202110708217.8A CN202110708217A CN113421515A CN 113421515 A CN113421515 A CN 113421515A CN 202110708217 A CN202110708217 A CN 202110708217A CN 113421515 A CN113421515 A CN 113421515A
Authority
CN
China
Prior art keywords
gray
sub
row
pixel
scale
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110708217.8A
Other languages
Chinese (zh)
Other versions
CN113421515B (en
Inventor
陈�峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunshan Govisionox Optoelectronics Co Ltd
Original Assignee
Kunshan Govisionox Optoelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kunshan Govisionox Optoelectronics Co Ltd filed Critical Kunshan Govisionox Optoelectronics Co Ltd
Priority to CN202110708217.8A priority Critical patent/CN113421515B/en
Publication of CN113421515A publication Critical patent/CN113421515A/en
Application granted granted Critical
Publication of CN113421515B publication Critical patent/CN113421515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2007Display of intermediate tones
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0233Improving the luminance or brightness uniformity across the screen

Abstract

The application discloses a Mura compensation method, a Mura compensation device, Mura compensation equipment and a Mura compensation storage medium, and belongs to the technical field of display. The method comprises the following steps: collecting the brightness values of sub-pixels of target colors in each pixel unit of a display panel under the condition that the display panel displays a target gray scale; determining the Mura direction of the display panel based on the brightness value of each sub-pixel of the target color; and compensating the sub-pixels in a minimum compensation unit divided in the display panel according to the Mura direction of the display panel, wherein the minimum compensation unit comprises M multiplied by N pixel units, N is the number of the pixel units in the minimum compensation unit in the row direction, M is the number of the pixel units in the minimum compensation unit in the column direction, the sub-pixels with the same color in the same minimum compensation unit are compensated by using the same Mura compensation data, N is less than M when the Mura direction is the row change direction, and N is greater than M when the Mura direction is the column change direction. According to the embodiment of the application, the burden of a chip can be reduced.

Description

Mura compensation method, device, equipment and storage medium
Technical Field
The present application belongs to the field of display technologies, and in particular, to a Mura compensation method, apparatus, device, and storage medium.
Background
With the development of display technology, the application of display panels is more and more extensive, and the requirements on the display effect of the display panels are higher and higher. In the production process of the display panel, the display panel may generate a Mura phenomenon due to a production process and the like. The Mura phenomenon is a phenomenon in which the brightness of the display panel is not uniform, resulting in various marks.
To mitigate or eliminate the Mura phenomenon, Mura compensation may be performed on the display panel. With the increasing refinement of the Mura compensation effect, the resource consumption of the chip for performing the Mura compensation in the display panel by the Mura compensation is also continuously increased, and a great burden is caused to the chip.
Disclosure of Invention
The embodiment of the application provides a Mura compensation method, a Mura compensation device, Mura compensation equipment and a Mura compensation storage medium, and the burden of a chip can be reduced.
In a first aspect, an embodiment of the present application provides a Mura compensation method, including: collecting the brightness value of a sub-pixel of a target color in each pixel unit of a display panel when the display panel displays a target gray scale, wherein the display panel comprises pixel units arranged in an array; determining a Mura direction of the display panel based on the brightness value of each sub-pixel of the target color, wherein the Mura direction comprises a row change direction and a column change direction, the row change direction represents that the Mura changes in the row direction of the pixel unit arrangement, and the column change direction represents that the Mura changes in the column direction of the pixel unit arrangement; and compensating the sub-pixels in a minimum compensation unit divided in the display panel according to the Mura direction of the display panel, wherein the minimum compensation unit comprises M multiplied by N pixel units, N is the number of the pixel units in the minimum compensation unit in the row direction, and M is the number of the pixel units in the minimum compensation unit in the column direction, the sub-pixels with the same color in the same minimum compensation unit are compensated by using the same Mura compensation data, N is less than M when the Mura direction is the row change direction, and N is greater than M when the Mura direction is the column change direction.
In some possible embodiments, determining the Mura direction of the display panel based on the luminance values of the sub-pixels of the target color includes: converting to obtain a display gray scale image based on the brightness value of each sub-pixel of the target color, wherein the gray scale value of the sub-pixel of one target color corresponding to the display gray scale image corresponds to the brightness value of the sub-pixel of one target color; obtaining a row representative gray-scale value of the sub-pixel of the target color in each row of pixel units and a column representative gray-scale value of the sub-pixel of the target color in each column of pixel units according to the corresponding gray-scale value of the sub-pixel of the target color in the display gray-scale image; respectively utilizing the row representative gray-scale value of the sub-pixel of the target color in each row of pixel units and the column representative gray-scale value of the sub-pixel of the target color in each column of pixel units to calculate the row gray-scale variation and the column gray-scale variation of the sub-pixel of the target color of the display panel; determining the Mura direction of the display panel as a row change direction under the condition that the row gray scale variation is larger than the column gray scale variation; and under the condition that the row gray scale variation is smaller than the column gray scale variation, determining the Mura direction of the display panel as a row variation direction.
In some possible embodiments, the converting to obtain the display gray-scale map based on the luminance values of the sub-pixels of the target color comprises: acquiring the maximum value and the minimum value in the brightness values of the sub-pixels of the target color, converting the maximum value into a gray scale maximum value, and converting the minimum value into a gray scale minimum value; converting to obtain gray-scale values corresponding to the brightness values of the other sub-pixels of the target color except the maximum value and the minimum value according to the brightness values of the other sub-pixels of the target color except the maximum value and the minimum value; and obtaining a display gray-scale image based on gray-scale values, gray-scale highest values and gray-scale lowest values corresponding to the brightness values of other sub-pixels of the target color except the maximum value and the minimum value.
In some possible embodiments, obtaining the row representative gray scale value of the sub-pixel of the target color in each row of pixel units and the column representative gray scale value of the sub-pixel of the target color in each column of pixel units according to the corresponding gray scale value of the sub-pixel of the target color in the display gray scale map comprises: converting the display gray-scale image into a binary gray-scale image according to a corresponding gray-scale value of the sub-pixel of the target color in the display gray-scale image and a preset binarization threshold value; for each row of pixel units, determining the average value of gray scale values of the target color sub-pixels in the row of pixel units in the binary gray scale image as a row representative gray scale value of the target color sub-pixels in the row of pixel units; for each row of pixel units, determining the average value of the gray-scale values of the target-color sub-pixels in the row of pixel units in the binary gray-scale map as the row representative gray-scale value of the target-color sub-pixels in the row of pixel units.
In some possible embodiments, after converting the display gray-scale map into a binary gray-scale map according to a gray-scale value of the target color sub-pixel in the display gray-scale map and a preset binarization threshold, the method further includes: selecting a target area, wherein the center of the target area is overlapped with the center of a display area of the display panel, the length of the target area is smaller than that of the display area, and the width of the target area is smaller than that of the display area; and (3) omitting the gray-scale values of the sub-pixels of the target color in the pixel units except the target area in the display area.
In some possible embodiments, converting the display gray-scale map into a binary gray-scale map according to a gray-scale value of the target color sub-pixel in the display gray-scale map and a preset binarization threshold, includes: selecting a first reference area and a second reference area along the row direction in the display gray-scale image; calculating to obtain an area gray scale transition parameter based on the average value of the gray scale values of the sub-pixels of the target color in the pixel unit of the first reference area and the average value of the gray scale values of the sub-pixels of the target color in the pixel unit of the second reference area; for each row of pixel units, calculating to obtain a row gray scale reference value of the target color sub-pixels in the row of pixel units according to the area gray scale transition parameter and the initial gray scale average value, wherein the initial gray scale average value comprises an average value of the gray scale values of the target color sub-pixels in the pixel units of the first reference area or an average value of the gray scale values of the target color sub-pixels in the pixel units of the second reference area, obtaining a target standard gray scale value of the target color sub-pixels in each row of pixel units according to the row gray scale reference value of the target color sub-pixels in each row of pixel units and the maximum value and the minimum value of the gray scale values of the target color sub-pixels in the display panel, converting the gray scale value of the target color sub-pixels in the pixel units of which the absolute value of the difference value with the target standard gray scale value is greater than a preset gray scale compensation threshold value into the lowest gray scale value, converting the gray scale value of the sub-pixel of the target color in the pixel unit of which the absolute value of the difference value with the target standard gray scale value is less than or equal to a preset gray scale compensation threshold value into a gray scale highest value; and obtaining a binary gray-scale image of the sub-pixels of the target color in each row of pixel units according to the gray-scale value converted by the sub-pixels of the target color in each row of pixel units.
In some possible embodiments, calculating the row gray scale variation and the column gray scale variation of the sub-pixel of the target color of the display panel by using the row representative gray scale value of the sub-pixel of the target color in each row of pixel units and the column representative gray scale value of the sub-pixel of the target color in each column of pixel units respectively comprises: calculating a first difference value of row representative gray scale values of the sub-pixels of the target color in any two adjacent rows of pixel units, and determining the average value of the first difference value as row gray scale variation; and calculating a second difference value of the row representative gray-scale values of the sub-pixels of the target color in any two adjacent rows of pixel units, and determining the average value of the second difference values as the row gray-scale variation.
In some possible embodiments, in the case where the Mura direction is the row change direction, N-1, M-2; when the Mura direction is the column change direction, N is 2 and M is 1.
In a second aspect, an embodiment of the present application provides a Mura compensation apparatus, including: the acquisition module is used for acquiring the brightness value of a target color sub-pixel in each pixel unit of the display panel under the condition that the display panel displays a target gray scale, and the display panel comprises pixel units which are arranged in an array; a direction determining module, configured to determine, based on luminance values of sub-pixels of a target color, a Mura direction of the display panel, where the Mura direction includes a row change direction and a column change direction, the row change direction indicates a change of the Mura in the row direction of an arrangement of the pixel units, and the column change direction indicates a change of the Mura in the column direction of the arrangement of the pixel units; and the compensation module is used for compensating the sub-pixels in a minimum compensation unit divided in the display panel according to the Mura direction of the display panel, wherein the minimum compensation unit comprises M multiplied by N pixel units, N is the number of the pixel units in the minimum compensation unit in the row direction, and M is the number of the pixel units in the minimum compensation unit in the column direction, the sub-pixels with the same color in the same minimum compensation unit are compensated by using the same Mura compensation data, N is less than M under the condition that the Mura direction is the row change direction, and N is greater than M under the condition that the Mura direction is the column change direction.
In a third aspect, an embodiment of the present application provides a Mura compensation apparatus, including: a processor and a memory storing computer program instructions; the Mura compensation method of the first aspect is implemented when the processor executes the computer program instructions.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which computer program instructions are stored, and when executed by a processor, the computer program instructions implement the Mura compensation method of the first aspect.
The application provides a Mura compensation method, a device, equipment and a storage medium, wherein under the condition that a display panel displays a target gray scale, the Mura direction of the display panel is determined based on the acquired brightness values of sub-pixels of target colors in each pixel unit of the display panel. The Mura direction is used for representing the direction of uneven display brightness of the display panel. The divided minimum compensation unit may be determined by the Mura direction. When the Mura direction is a row change direction, the display brightness of the display panel changes more in the row direction and less in the column direction, and compared with the pixel units in the row direction, the sub-pixels with the same color in more pixel units adjacent in the column direction share one Mura compensation data to perform Mura compensation, so that the display effect of the display panel is not affected. When the Mura direction is a column change direction, the display brightness of the display panel changes more in the column direction and less in the row direction, and compared with the pixel units in the column direction, the sub-pixels with the same color in a plurality of adjacent pixel units in the row direction share one Mura compensation data to perform Mura compensation, so that the display effect of the display panel is not affected. Because the sub-pixels with the same color in the plurality of pixel units in the minimum compensation unit share one Mura compensation data, the calculation amount of the Mura compensation data of the chip for executing the Mura compensation is greatly reduced, thereby reducing the resource consumption of the chip for executing the Mura compensation and reducing the burden of the chip.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic application scenario diagram of an example of a Mura compensation method provided in an embodiment of the present application;
FIG. 2 is a flow chart of an embodiment of a Mura compensation method provided herein;
fig. 3 is a schematic diagram of an example of a display image with a Mura direction being a row direction according to an embodiment of the present application;
fig. 4 is a schematic diagram of an example of a display image with the Mura direction being the column direction according to an embodiment of the present application;
FIG. 5 is a diagram illustrating an example of a minimum compensation unit provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of another example of a minimum compensation unit provided by an embodiment of the present application;
FIG. 7 is a flow chart of another embodiment of a Mura compensation method provided herein;
FIG. 8 is a schematic diagram of an example of a first reference region and a second reference region provided by an embodiment of the present application;
FIG. 9 is a diagram illustrating an example of a binary grayscale map provided in an embodiment of the present application;
FIG. 10 is a diagram illustrating another example of a binary grayscale map provided in an embodiment of the present application;
FIG. 11 is a diagram illustrating an example of a display area and a target area according to an embodiment of the present disclosure;
FIG. 12 is a diagram illustrating an example of rows representing gray scale values provided by an embodiment of the present application;
FIG. 13 is a diagram illustrating an example of gray scale values in columns according to an embodiment of the present disclosure;
FIG. 14 is a diagram illustrating another example of rows representing grayscale values provided by an embodiment of the present application;
FIG. 15 is a diagram illustrating another example of a column representing gray scale values provided by an embodiment of the present application;
fig. 16 is a schematic structural diagram of an embodiment of a Mura compensation apparatus provided in the present application;
fig. 17 is a schematic structural diagram of an embodiment of a Mura compensation apparatus provided in the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative only and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
In the production process of the display panel, the display panel may generate a Mura phenomenon due to a production process and the like. The Mura phenomenon is a phenomenon in which the brightness of the display panel is not uniform, resulting in various marks. The Mura phenomenon may cause a reduction in display effect of the display panel. In order to improve the display effect of the display panel, Mura compensation is performed on the display panel, so that the brightness displayed by the display panel tends to be uniform.
For example, the calculation compensation can be performed for each pixel unit for the case where the display panel is not uniform in luminance. Since the number of pixel units in the display panel is very large, the chip resource consumption for performing Mura compensation in the display panel is large, and a huge burden is brought to the chip.
The application provides a Mura compensation method, a device, equipment and a storage medium, which can collect the brightness value of sub-pixels in a display panel and judge the change direction of Mura of the display panel, namely the Mura direction according to the brightness value of the sub-pixels. And dividing the minimum compensation units according to the Mura direction, and compensating according to the minimum compensation units to reduce the calculated amount of chips in the display panel, thereby reducing the burden of the chips.
Fig. 1 is a schematic application scenario diagram of an example of a Mura compensation method provided in an embodiment of the present application. As shown in fig. 1, an optical pickup Device 11, such as a Charge Coupled Device (CCD) camera, may be used to pick up the luminance values of sub-pixels in each pixel unit of the display panel 12. The display panel 12 includes pixel units arranged in an array. The display panel 12 has a display area and a non-display area, and the pixel units are located in the display area. The pixel unit may include sub-pixels of multiple colors, for example, the pixel unit may include a red sub-pixel, a green sub-pixel, and a blue sub-pixel, which is not limited herein. The optical pickup device 11 may transmit the picked luminance values of the sub-pixels to the memory 13 for storage, and the upper computer 14 for detection may acquire the luminance values of the sub-pixels from the memory 13 to determine a Mura direction of the display panel, and perform Mura compensation according to the Mura direction in a divided minimum compensation unit. In some examples, the steps of determining the Mura direction of the display panel according to the luminance values of the sub-pixels and performing the Mura compensation according to the divided minimum compensation units according to the Mura direction may also be performed by a chip in the display panel 12, and are not limited herein.
The application provides a Mura compensation method which can be executed by a Mura compensation device or a Mura compensation device. The Mura compensation device or the Mura compensation apparatus may be embodied as a chip in an upper computer or a display panel, and is not limited herein. Fig. 2 is a flowchart of an embodiment of a Mura compensation method provided in the present application. As shown in fig. 2, the Mura compensation method may include steps S201 to S203.
In step S201, when the display panel displays the target gray scale, the luminance values of the sub-pixels of the target color in each pixel unit of the display panel are collected.
Because the Mura direction of the display panel is determined by the structure of the display panel, different Mura directions cannot be caused along with different gray scales or different displayed colors. To save the time spent on Mura compensation, the display panel may be lit up to cause the display panel to display an image of the target color at the target gray scale. The target gray level is any one of gray levels from 0 to 255, and is not limited herein. The target color may be any color that the pixel unit can display, and is not limited herein. For example, the pixel unit includes a red sub-pixel, a green sub-pixel, and a blue sub-pixel, and correspondingly, the target color may be red, green, or blue. Since the brightness of the green image displayed by the display panel is the maximum, the control of the display panel to display the green image can be prioritized.
The luminance value may be implemented as parameter data capable of guaranteeing luminance, and is not limited herein. And collecting a brightness value corresponding to the target color sub-pixel in each pixel unit, thereby obtaining the brightness value of each target color sub-pixel. The luminance Value may be implemented in the form of Comma Separated Value (CSV) data, and is not limited herein.
In step S202, the Mura direction of the display panel is determined based on the luminance values of the respective sub-pixels of the target color.
The Mura direction is a direction in which Mura varies, i.e., a direction in which the display luminance of the display panel is not uniform. The Mura direction includes a row variation direction and a column variation direction. The row variation direction means that Mura varies in a row direction in which the pixel units are arranged, that is, the display panel displays luminance unevenness in the row direction. The column variation direction means that Mura varies in the column direction in which the pixel units are arranged, i.e., the display panel displays luminance unevenness in the column direction.
For example, fig. 3 is a schematic diagram of an example of a display image in which the Mura direction is the row direction according to an embodiment of the present application. In fig. 3, the darker the color indicates the higher the luminance value, the darker the color indicates the lower the luminance value, and the lighter the color indicates the higher the luminance value. As shown in fig. 3, the display luminance of the display panel varies greatly in the row direction. Fig. 4 is a schematic diagram of an example of a display image with the Mura direction being the column direction according to an embodiment of the present application. In fig. 4, the darker the color indicates the higher the luminance value, the darker the color indicates the lower the luminance value, and the lighter the color indicates the higher the luminance value. As shown in fig. 4, the display luminance of the display panel varies greatly in the column direction.
Based on the luminance values of the respective sub-pixels of the target color, a variation in the row direction and a variation in the column direction of the display luminance of the display panel can be obtained. The Mura direction of the display panel can be determined by comparing the variation in the row direction and the variation in the column direction of the display luminance of the display panel. Specifically, the change of the display luminance of the display panel in the row direction is larger than the change of the display luminance of the display panel in the column direction, and the Mura direction of the display panel is considered as the row change direction; the change in the display luminance of the display panel in the column direction is larger than the change in the display luminance of the display panel in the row direction, and the Mura direction of the display panel is considered to be the column change direction.
In step S203, the sub-pixels in the minimum compensation unit divided in the display panel are compensated according to the Mura direction of the display panel.
The display area of the display panel may be divided into a plurality of minimum compensation units. Specifically, the display area of the display panel may be divided into a plurality of minimum compensation units of the same size. The division of the minimum compensation unit may be determined according to the Mura direction of the display panel. Each minimum compensation unit includes M × N pixel units. Wherein, N is the number of the pixel units in the minimum compensation unit in the row direction, and M is the number of the pixel units in the minimum compensation unit in the column direction. For example, fig. 5 is a schematic diagram of an example of a minimum compensation unit provided in an embodiment of the present application. As shown in fig. 5, each square indicates a pixel unit including a sub-pixel of a target color; the display area of the display panel includes a plurality of minimum compensation units G1, and it should be noted that only a part of the minimum compensation units G1 is labeled in fig. 5; let N be 1 and M be 2, the minimum compensation unit G1 includes 2 × 1 pixel units. For another example, fig. 6 is a schematic diagram of another example of the minimum compensation unit provided in the embodiment of the present application. As shown in fig. 6, each square indicates a pixel unit including a sub-pixel of a target color; the display area of the display panel includes a plurality of minimum compensation units G2, and it should be noted that only a part of the minimum compensation units G2 is labeled in fig. 6; let N be 2 and M be 1, the minimum compensation unit G2 includes 1 × 2 pixel units.
The same color sub-pixels in the same minimum compensation unit are compensated using the same Mura compensation data. That is to say, for the sub-pixels of the same color in one minimum compensation unit, only one computation of the Mura compensation data is needed, and the computation of the Mura compensation data is not needed for each sub-pixel of the same color in the minimum compensation unit, so that the workload of the computation of the Mura compensation data is greatly reduced, the resource consumption of a chip for performing the Mura compensation is reduced, and the burden of the chip is reduced.
The Mura compensation data may include a compensation gray scale value, a data compensation voltage value, etc., and is not limited herein.
In the case where the Mura direction is the row variation direction, the display luminance of the display panel varies more in the row direction, and correspondingly, the display luminance of the display panel varies less in the column direction and tends to be more uniform, so that sub-pixels of the same color in more pixel units adjacent in the column direction can share one Mura compensation data for Mura compensation than pixel units in the row direction, that is, N < M, and substantially no adverse effect is generated on the display result of the display panel. For example, in the case where the Mura direction is the row change direction, N may take 1 and M may take 2.
In the case where the Mura direction is the column variation direction, the display luminance of the display panel varies more in the column direction, and correspondingly, the display luminance of the display panel varies less in the row direction and tends to be more uniform, so that sub-pixels having the same color in a plurality of pixel units adjacent in the row direction can share one Mura compensation data for Mura compensation, that is, N > M, compared with the pixel units in the column direction, and substantially no adverse effect is generated on the display result of the display panel. For example, in the case where the Mura direction is the column change direction, N may take 2 and M may take 1.
In the embodiment of the application, under the condition that the display panel displays the target gray scale, the Mura direction of the display panel is determined based on the collected brightness values of the sub-pixels of the target color in each pixel unit of the display panel. The Mura direction is used for representing the direction of uneven display brightness of the display panel. The divided minimum compensation unit may be determined by the Mura direction. When the Mura direction is a row change direction, the display brightness of the display panel changes more in the row direction and less in the column direction, and compared with the pixel units in the row direction, the sub-pixels with the same color in more pixel units adjacent in the column direction share one Mura compensation data to perform Mura compensation, so that the display effect of the display panel is not affected. When the Mura direction is a column change direction, the display brightness of the display panel changes more in the column direction and less in the row direction, and compared with the pixel units in the column direction, the sub-pixels with the same color in a plurality of adjacent pixel units in the row direction share one Mura compensation data to perform Mura compensation, so that the display effect of the display panel is not affected. Because the sub-pixels with the same color in the plurality of pixel units in the minimum compensation unit share one Mura compensation data, the calculation amount of the Mura compensation data of the chip for executing the Mura compensation is greatly reduced, thereby reducing the resource consumption of the chip for executing the Mura compensation and reducing the burden of the chip.
In some examples, the Mura compensation method in the embodiment of the present application may be executed by an upper computer, so as to further reduce resource consumption of a chip corresponding to the display panel, and further reduce a burden of the chip.
In some embodiments, the image displayed by the display panel may be converted into a display gray scale map based on the luminance value of each sub-pixel of the target color. The Mura direction of the display panel is determined by using the display gray scale map. Fig. 7 is a flowchart of another embodiment of a Mura compensation method provided in the present application. Fig. 7 is different from fig. 2 in that step S202 in fig. 2 can be embodied as step S2021 to step S2025 in fig. 7.
In step S2021, a display gray-scale map is converted based on the luminance values of the respective sub-pixels of the target color.
And each gray-scale point in the display gray-scale image corresponds to a sub-pixel of the target color in one pixel unit. The gray-scale value of the sub-pixel of the target color in the display gray-scale image in one pixel unit corresponds to the brightness value of the sub-pixel of the target color in the one pixel unit. The position of the gray-scale point in the display gray-scale image is consistent with the position of the pixel unit of the sub-pixel comprising the target color in the display area of the display panel. The gray scale value of the gray scale point in the display gray scale image is the same as the gray scale value obtained by converting the brightness value of the sub-pixel of the corresponding target color. The gray-scale value of the gray-scale point in the display gray-scale image is consistent with the brightness value of the sub-pixel of the target color.
Specifically, the maximum value and the minimum value of the luminance values of the sub-pixels of the target color may be obtained, the maximum value is converted into the highest grayscale value, and the minimum value is converted into the lowest grayscale value. And converting to obtain gray-scale values corresponding to the brightness values of the other sub-pixels of the target color except the maximum value and the minimum value according to the brightness values of the other sub-pixels of the target color except the maximum value and the minimum value. And obtaining a display gray-scale image based on gray-scale values, gray-scale highest values and gray-scale lowest values corresponding to the brightness values of other sub-pixels of the target color except the maximum value and the minimum value.
Since the range of the gray scale value is fixed, that is, the range of the gray scale value is 0 to 255. The maximum value of the brightness values of the sub-pixels of the target color is converted into the highest gray level value, the minimum value of the brightness values of the sub-pixels of the target color is converted into the lowest gray level value, the range of the brightness values of the sub-pixels of the target color can be consistent with the range of the gray level values, the brightness values of the sub-pixels of the target color in the display panel can be conveniently converted into the corresponding gray level values, and therefore the display gray level image of the display panel is formed.
For example, if the maximum value and the minimum value among the luminance values of the sub-pixels of the target color are a1 and a2, respectively, and the luminance value of the sub-pixel of one target color other than the maximum value and the minimum value is A3, the luminance value of the sub-pixel of the one target color corresponds to a gray scale value of 0+ [ (A3-a2)/(a1-a2) ] × 255.
In step S2022, a row representative gray scale value of the sub-pixel of the target color in each row of pixel units and a column representative gray scale value of the sub-pixel of the target color in each column of pixel units are obtained according to the corresponding gray scale value of the sub-pixel of the target color in the displayed gray scale map.
The row of the target color sub-pixels in one row of the pixel units represents the gray-scale value as a parameter capable of representing the gray-scale value of the target color sub-pixels in the row of the pixel units. The column of the target color sub-pixel in one column of pixel units represents the gray-scale value as a parameter capable of representing the gray-scale value of the target color sub-pixel in the column of pixel units. The row representative gray scale value of the sub-pixel of the target color in each row of pixel units and the column representative gray scale value of the sub-pixel of the target color in each column of pixel units can be deduced according to the gray scale value of the sub-pixel of the target color in the display gray scale image in the pixel units.
In some examples, to make the row representative grayscale values and the column representative grayscale values more prominent, the display grayscale map may be converted to a binary grayscale map that is more capable of highlighting Mura trails. The binary gray scale map includes a point with a gray scale of 0 and a point with a gray scale of 255, and each point in the binary gray scale map corresponds to a sub-pixel of a target color in each pixel unit of the display panel. According to the gray-scale values in the binary gray-scale image, the row representative gray-scale value of the sub-pixel of the target color in each row of pixel units and the column representative gray-scale value of the sub-pixel of the target color in each column of pixel units can be obtained.
The display gray scale image can be converted into a binary gray scale image according to the corresponding gray scale value of the sub-pixel of the target color in the display gray scale image in the pixel unit and a preset binarization threshold value. For each row of pixel units, determining the average value of the gray-scale values of the target color sub-pixels in the row of pixel units in the binary gray-scale image as the row representative gray-scale value of the target color sub-pixels in the row of pixel units. For each row of pixel units, determining the average value of the gray-scale values of the target-color sub-pixels in the row of pixel units in the binary gray-scale map as the row representative gray-scale value of the target-color sub-pixels in the row of pixel units.
Specifically, the first reference region and the second reference region may be selected in a row direction in the display gray scale map. Namely, the first reference region and the second reference region are distributed along the column direction. The first reference region may be located at one side of the display gray scale pattern in the row direction, and the second reference region may be located at the other side of the display gray scale pattern in the row direction. For example, fig. 8 is a schematic diagram of an example of the first reference area and the second reference area provided in the embodiment of the present application. As shown in fig. 8, in the display gray scale map, the first reference region B1 and the second reference region B2 are located at both sides of the display gray scale map, and the first reference region B1 and the second reference region B2 are disposed opposite to each other in the column direction.
And calculating to obtain the area gray scale transition parameter based on the average value of the gray scale values of the sub-pixels of the target color in the pixel unit of the first reference area and the average value of the gray scale values of the sub-pixels of the target color in the pixel unit of the second reference area. The regional gray level transition parameter is used for representing the change degree or the change quantity of the gray level from the first reference region to the second reference region. The average value of the gray scale values of the sub-pixels of the target color in the pixel units of the first reference area can represent the overall gray scale condition of the first reference area. The average value of the gray scale values of the sub-pixels of the target color in the pixel units of the second reference area can represent the overall gray scale condition of the second reference area.
Specifically, the area gray scale transition parameter is calculated based on the average of the gray scale values of the sub-pixels of the target color in the pixel unit of the first reference area, the average of the gray scale values of the sub-pixels of the target color in the pixel unit of the second reference area, and the column direction resolution. In some examples, the calculation of the regional gray level transition parameters can be seen in equation (1) below:
Figure BDA0003132194010000121
wherein a is a regional gray scale transition parameter; p1 is an average of the gray-scale values of the sub-pixels of the target color in the pixel unit of the first reference region; p2 is an average of the gray-scale values of the sub-pixels of the target color in the pixel unit of the second reference region; va is the column direction resolution of the display panel, which can be determined according to the structure of the display panel and is not described herein again.
For each row of pixel units, calculating to obtain a row gray scale reference value of the target color sub-pixels in the row of pixel units according to the region gray scale transition parameter and the initial gray scale average value; obtaining a target standard gray-scale value of the sub-pixel of the target color in each row of pixel units according to the row gray-scale reference value of the sub-pixel of the target color in each row of pixel units and the maximum value and the minimum value of the gray-scale value of the sub-pixel of the target color in the display panel; in each row of pixel units, converting the gray scale value of the sub-pixel of the target color in the pixel unit of which the absolute value of the difference value with the target standard gray scale value is greater than the preset gray scale compensation threshold value into the lowest gray scale value, and converting the gray scale value of the pixel unit of which the absolute value of the difference value with the target standard gray scale value is less than or equal to the preset gray scale compensation threshold value into the highest gray scale value. The initial gray-scale average value includes an average value of gray-scale values of the sub-pixels of the target color in the pixel unit of the first reference region or an average value of gray-scale values of the sub-pixels of the target color in the pixel unit of the second reference region. The preset gray level compensation threshold may be set according to the scene and the requirement, and is not limited herein. For example, the predetermined gray level compensation threshold may be 30.
By using the regional gray scale transition parameters, the row gray scale reference value of the target color sub-pixel in each row of pixel units can be calculated. The line gray scale reference value of the target color sub-pixel in each line of pixel unit can be used for representing the gray scale of the target color sub-pixel in each line of pixel unit, but because the reference value is calculated by using the regional gray scale transition parameter, the reference value can only be used for calculation. The target standard gray scale value of the sub-pixel of the target color in each row of pixel units is the target standard value of the gray scale of the sub-pixel of the target color in each row of pixel units. Therefore, the target standard gray-scale value of the target color sub-pixel in each row of pixel units can be used for carrying out binarization on the gray-scale value of the target color sub-pixel in each row of pixel units. The average value of the gray-scale values of the sub-pixels of the target color in the pixel unit of the first reference region and the average value of the gray-scale values of the sub-pixels of the target color in the pixel unit of the second reference region participate in the calculation of the regional gray-scale transition parameters, so that the situation that the adopted sub-pixels of the individual target color are in the Mura region or the brightness of the sub-pixels of the individual target color is abnormal under the condition that only the gray-scale values of the sub-pixels of the individual target color are adopted can be avoided, and the accuracy of the regional gray-scale transition parameters is improved.
Specifically, the row gray scale reference value of the target color sub-pixel in each row of pixel units can be calculated according to the region gray scale transition parameter, the initial gray scale average value and the position of each row of pixel units. The position of a row of pixel units may be embodied as information that the row sequence number of the row of pixel units in the display panel and the like can guarantee the position of the row of pixel units in the display area of the display panel, and is not limited herein. For example, taking the example that the initial gray-scale average value includes an average value of gray-scale values of the sub-pixels of the target color in the pixel units of the first reference region, the calculation of the row gray-scale reference value of the sub-pixels of the target color in each row of pixel units can be referred to as the following equation (2), and the calculation of the target standard gray-scale value of the sub-pixels of the target color in each row of pixel units can be referred to as the following equation (3):
Mi=P1+a×Vcnt (2)
Figure BDA0003132194010000141
wherein Mi is a row gray scale reference value of a sub-pixel of a target color in the ith row of pixel units; a is a regional gray scale transition parameter; p1 is an average of the gray-scale values of the sub-pixels of the target color in the pixel unit in the first reference region; vcnt is the row sequence number of the pixel unit of the ith row; fi is a target standard gray-scale value of a sub-pixel of a target color in the pixel unit of the ith row; pmin is the minimum value of the gray-scale values of the sub-pixels of the target color in the pixel unit of the display panel, and Pmax is the maximum value of the gray-scale values of the sub-pixels of the target color in the pixel unit of the display panel.
Converting the gray scale value of the sub-pixel of the target color in the pixel unit with the absolute value of the difference value with the target standard gray scale value larger than the preset gray scale compensation threshold value into the lowest gray scale value, and converting the gray scale value of the sub-pixel of the target color in the pixel unit with the absolute value of the difference value with the target standard gray scale value smaller than or equal to the preset gray scale compensation threshold value into the highest gray scale value, so that the conversion from a display gray scale image to a binary gray scale image is realized, and Mura traces are highlighted. The lowest gray scale value is 0 and the highest gray scale value is 255.
And obtaining a binary gray-scale image according to the gray-scale value converted by the sub-pixel of the target color in the pixel unit in each row of pixel units. The gray scale value of each point in the binary gray scale map corresponds to the gray scale value of the point at the same position in the display gray scale map.
For example, fig. 9 is a schematic diagram of an example of a binary grayscale map provided in the embodiment of the present application. The binary gray-scale map shown in fig. 9 is converted from the display gray-scale map shown in fig. 3. Fig. 10 is a schematic diagram of another example of a binary grayscale map provided in the embodiment of the present application. The binary gray-scale map shown in fig. 10 is converted from the display gray-scale map shown in fig. 4. As shown in fig. 9 and 10, the black point set is obtained by converting the gray scale value of the sub-pixel of the target color in the pixel unit whose absolute value of the difference value from the target standard gray scale value is greater than the preset gray scale compensation threshold, and the other parts except the black point set are obtained by converting the gray scale of the sub-pixel of the target color in the pixel unit whose absolute value of the difference value from the target standard gray scale value is less than or equal to the preset gray scale compensation threshold. The second-order grayscale graphs shown in fig. 9 and 10 are more obvious in Mura trace and easier to be used for determining the Mura direction than the display grayscale graphs shown in fig. 3 and 4.
In the process of calculating the row representative gray scale value of the sub-pixel of the target color in each row of pixel units and the column representative gray scale value of the sub-pixel of the target color in each column of pixel units by using the binary gray scale map, since the sub-pixel of the target color in the pixel unit at the edge of the display area of the display panel may provide an invalid brightness value in the display process, the gray scale value of the point at the edge part of the binary gray scale map may be discarded, and the row representative gray scale value and the column representative gray scale value may be calculated by using the gray scale values of the points reserved in the binary gray scale map.
Specifically, the target area can be selected, the gray-scale values of the target color sub-pixels in the pixel units except the target area in the display area are omitted, and the gray-scale values of the target color sub-pixels in each row of pixel units and the row representative gray-scale values of the target color sub-pixels in each column of pixel units are calculated by using the gray-scale values of the target color sub-pixels in the pixel units in the target area.
The center of the target area coincides with the center of the display area of the display panel, the length of the target area is smaller than the length of the display area, and the width of the target area is smaller than the width of the display area. For example, fig. 11 is a schematic diagram of an example of a display area and a target area provided in the embodiment of the present application. As shown in fig. 11, the target area D2 is formed by retracting the display area D1 according to a predetermined scale.
In step S2023, a row gray scale variation amount and a column gray scale variation amount of the sub-pixel of the target color of the display panel are calculated by using the row representative gray scale value of the sub-pixel of the target color in each row of pixel units and the column representative gray scale value of the sub-pixel of the target color in each column of pixel units, respectively.
The line gray scale variation is used for representing the variation of the display brightness of the display panel in the column direction. The variation of the display brightness between the sub-pixels of the target color in each row of the pixel units of the display panel can be obtained by the row of the sub-pixels of the target color in each adjacent row of the pixel units representing the gray-scale value. According to the change situation of the display brightness of the sub-pixels of the target color in each row of pixel units of the display panel, the change situation of the display brightness of the sub-pixels of the target color of the display panel in the column direction can be determined, and the change situation of the display brightness of the sub-pixels of the target color of the display panel in the column direction can reflect the change situation of the display brightness of the whole display panel in the column direction.
The column gray scale variation is used for representing the variation of the display brightness of the display panel in the row direction. The variation of the display brightness between the sub-pixels of the target color in each row of pixel units of the display panel can be obtained by representing the gray-scale value by the row of the sub-pixels of the target color in each adjacent row of pixel units. According to the change situation of the display brightness of the sub-pixel of the target color in each column of pixel units of the display panel, the change situation of the display brightness of the sub-pixel of the target color of the display panel in the row direction can be determined, and the change situation of the display brightness of the sub-pixel of the target color of the display panel in the row direction can reflect the change situation of the display brightness of the whole display panel in the row direction.
Specifically, a first difference value of the row representative gray scale values of the sub-pixels of the target color in any two adjacent rows of pixel units is calculated, and the average value of the first difference value is determined as the row gray scale variation. Calculating a first difference value of the row representative gray-scale values of the sub-pixels of the target color in any two rows of pixel units can obtain a plurality of first difference values. An average value of the plurality of first difference values is determined as a row gray-scale variation. The average value here may include an arithmetic average value, a weighted average value, and the like, and is not limited herein.
For example, if the display panel includes 100 rows of pixel units, a first difference C101 between the row-representative gray-scale value of the target color sub-pixel in the 1 st row of pixel units and the row-representative gray-scale value of the target color sub-pixel in the 2 nd row of pixel units, a first difference C102 between the row-representative gray-scale value of the target color sub-pixel in the 2 nd row of pixel units and the row-representative gray-scale value of the target color sub-pixel in the 3 rd row of pixel units, and a first difference C103 between the row-representative gray-scale value of the target color sub-pixel in the 3 rd row of pixel units and the row-representative gray-scale value of the target color sub-pixel in the 4 th row of pixel units can be calculated, … …, a first difference C199 between the line representation gray-scale value of the sub-pixel of the target color in the pixel unit of the 99 th row and the line representation gray-scale value of the sub-pixel of the target color in the pixel unit of the 100 th row, and (C101+ C102+ C103+ … … + C199)/99 is taken as the row gray-scale variation.
Specifically, a second difference value of the row representative gray-scale values of the sub-pixels of the target color in any two adjacent rows of pixel units is calculated, and the average value of the second difference value is determined as the row gray-scale variation. And calculating a second difference value of the column representation gray-scale values of the sub-pixels of the target color in any two columns of pixel units to obtain a plurality of second difference values. And determining the average value of the plurality of second difference values as the row gray scale variation. The average value here may include an arithmetic average value, a weighted average value, and the like, and is not limited herein.
For example, if the display panel includes 50 rows of pixel units, a second difference C201 between the row-representative gray-scale value of the sub-pixel of the target color in the 1 st row of pixel units and the row-representative gray-scale value of the sub-pixel of the target color in the 2 nd row of pixel units, a second difference C202 between the row-representative gray-scale value of the sub-pixel of the target color in the 2 nd row of pixel units and the row-representative gray-scale value of the sub-pixel of the target color in the 3 rd row of pixel units, and a second difference C203 between the row-representative gray-scale value of the sub-pixel of the target color in the 3 rd row of pixel units and the row-representative gray-scale value of the sub-pixel of the target color in the 4 th row of pixel units can be calculated, … …, a second difference C249 between the row representation gray-scale value of the sub-pixel of the target color in the 49 th row of pixel units and the row representation gray-scale value of the sub-pixel of the target color in the 50 th row of pixel units, wherein (C201+ C202+ C203+ … … + C249)/49 is taken as the row gray-scale variation.
In step S2024, when the row gray scale variation is larger than the column gray scale variation, the Mura direction of the display panel is determined to be the column variation direction.
The line gray scale variation can represent the variation of the display brightness of the target color sub-pixel in the pixel unit of the display panel between lines, that is, the variation of the display brightness of the target color sub-pixel in the pixel unit of the display panel in the column direction, and further can represent the variation of the display brightness of the display panel in the column direction. The column gray scale variation can represent the variation of the display brightness of the sub-pixel of the target color in the pixel unit in the display panel between columns, namely the variation of the display brightness of the sub-pixel of the target color in the pixel unit in the display panel in the row direction, and further can represent the variation of the display brightness of the display panel in the row direction.
The row gray scale variation is larger than the column gray scale variation, and the variation of the display brightness of the sub-pixel of the target color in the pixel unit of the display panel in the column direction is more drastic than the variation of the display brightness of the sub-pixel of the target color in the pixel unit of the display panel in the row direction, that is, the Mura direction of the display panel is the column variation direction.
For example, fig. 12 is a schematic diagram of an example where a row represents a gray scale value according to an embodiment of the present application. Fig. 13 is a schematic diagram of an example of a column representing gray scale values provided in an embodiment of the present application. Fig. 12 and 13 represent that the rows and columns of the same display panel represent gray scale values. In fig. 12, the abscissa indicates the row sequence number of each row of pixel units, the ordinate indicates the gray scale value in the display gray scale map or the binary gray scale map, and the row gray scale variation is 0.0302. In fig. 13, the abscissa indicates the column number of each column of pixel units, the ordinate indicates the gray scale value in the display gray scale map or the binary gray scale map, and the column gray scale variation is 0.0049. As can be seen from a comparison between fig. 12 and fig. 13, the fluctuation of the display luminance of the sub-pixel of the target color in the pixel unit in the display panel between rows is more severe than the fluctuation of the display luminance of the sub-pixel of the target color in the pixel unit in the display panel between columns, that is, the fluctuation of the display luminance of the sub-pixel of the target color in the pixel unit in the display panel in the column direction is more severe than the fluctuation of the display luminance of the sub-pixel of the target color in the pixel unit in the display panel in the row direction, and thus, the Mura direction of the display panel can be determined to be the column change direction.
In step S2025, in the case where the row grayscale variation amount is smaller than the column grayscale variation amount, the Mura direction of the display panel is determined to be the row variation direction.
The row gray scale variation is smaller than the column gray scale variation, and the variation of the display brightness of the sub-pixel of the target color in the pixel unit of the display panel in the row direction is more drastic than the variation of the display brightness of the sub-pixel of the target color in the pixel unit of the display panel in the column direction, that is, the Mura direction of the display panel is the row variation direction.
For example, fig. 14 is a schematic diagram of another example in which a row represents a gray scale value according to an embodiment of the present application. Fig. 15 is a schematic diagram of another example of columns representing gray scale values provided in an embodiment of the present application. Fig. 14 and 15 represent that the rows and columns of the same display panel represent gray scale values. In fig. 14, the abscissa indicates the row number of each row of pixel units, the ordinate indicates the gray scale value in the display gray scale map or the binary gray scale map, and the row gray scale variation amount is 0.0054. In fig. 15, the abscissa indicates the column number of each column of pixel units, the ordinate indicates the gray scale value in the display gray scale map or the binary gray scale map, and the column gray scale variation is 0.0307. As can be seen from comparison between fig. 14 and fig. 15, the fluctuation of the display luminance of the sub-pixel of the target color in the pixel unit in the display panel between columns is more severe than the fluctuation of the display luminance of the sub-pixel of the target color in the pixel unit in the display panel between rows, that is, the fluctuation of the display luminance of the sub-pixel of the target color in the pixel unit in the display panel in the row direction is more severe than the fluctuation of the display luminance of the sub-pixel of the target color in the pixel unit in the display panel in the column direction, and therefore, the Mura direction of the display panel can be determined to be the column change direction.
Through the line gray scale variable quantity and the column gray scale variable quantity, the fluctuation situation of the display brightness of the sub-pixel of the target color in the pixel unit in the display panel between lines and the fluctuation situation of the display brightness of the sub-pixel of the target color in the pixel unit in the display panel between columns can be obtained, namely the fluctuation situation of the display brightness of the sub-pixel of the target color in the pixel unit in the display panel in the line direction and the fluctuation situation of the display brightness of the sub-pixel of the target color in the pixel unit in the display panel in the column direction are obtained, the Mura direction of the display panel is determined according to the strength of the fluctuation situation, the data is sufficient, and the accuracy of the determination of the Mura direction can be improved.
Corresponding to the Mura compensation method in the above embodiment, the present application provides a Mura compensation apparatus. Fig. 16 is a schematic structural diagram of an embodiment of a Mura compensation apparatus provided in the present application. As shown in fig. 16, the Mura compensation apparatus 300 may include an acquisition module 301, a direction determination module 302, and a compensation module 303.
The collecting module 301 is configured to collect the luminance values of the sub-pixels of the target color in each pixel unit of the display panel when the display panel displays the target gray scale.
The display panel comprises pixel units arranged in an array.
The direction determining module 302 may be configured to determine a Mura direction of the display panel based on the luminance values of the sub-pixels of the target color.
The Mura direction includes a row variation direction and a column variation direction. The row variation direction indicates that Mura varies in a row direction in which the pixel units are arranged, and the column variation direction indicates that Mura varies in a column direction in which the pixel units are arranged.
The compensation module 303 may be configured to compensate for the sub-pixels in the minimum compensation unit divided in the display panel according to the Mura direction of the display panel.
The minimum compensation unit includes M × N pixel units. N is the number of the pixel units in the minimum compensation unit in the row direction, and M is the number of the pixel units in the minimum compensation unit in the column direction.
Wherein the same color sub-pixels in the same minimum compensation unit are compensated using the same Mura compensation data. In the case where the Mura direction is the line change direction, N < M. In the case where the Mura direction is the column variation direction, N > M.
In some examples, where the Mura direction is the row change direction, N is 1 and M is 2.
In other examples, where the Mura direction is the column variation direction, N-2 and M-1.
In the embodiment of the application, under the condition that the display panel displays the target gray scale, the Mura direction of the display panel is determined based on the collected brightness values of the sub-pixels of the target color in each pixel unit of the display panel. The Mura direction is used for representing the direction of uneven display brightness of the display panel. The divided minimum compensation unit may be determined by the Mura direction. When the Mura direction is a row change direction, the display brightness of the display panel changes more in the row direction and less in the column direction, and compared with the pixel units in the row direction, the sub-pixels with the same color in more pixel units adjacent in the column direction share one Mura compensation data to perform Mura compensation, so that the display effect of the display panel is not affected. When the Mura direction is a column change direction, the display brightness of the display panel changes more in the column direction and less in the row direction, and compared with the pixel units in the column direction, the sub-pixels with the same color in a plurality of adjacent pixel units in the row direction share one Mura compensation data to perform Mura compensation, so that the display effect of the display panel is not affected. Because the sub-pixels with the same color in the plurality of pixel units in the minimum compensation unit share one Mura compensation data, the calculation amount of the Mura compensation data of the chip for executing the Mura compensation is greatly reduced, thereby reducing the resource consumption of the chip for executing the Mura compensation and reducing the burden of the chip.
In some embodiments, the direction determination module 302 may be configured to: converting to obtain a display gray scale image based on the brightness value of each sub-pixel of the target color, wherein the gray scale value of the sub-pixel of one target color corresponding to the display gray scale image corresponds to the brightness value of the sub-pixel of one target color; obtaining a row representative gray-scale value of the sub-pixel of the target color in each row of pixel units and a column representative gray-scale value of the sub-pixel of the target color in each column of pixel units according to the corresponding gray-scale value of the sub-pixel of the target color in the display gray-scale image; respectively utilizing the row representative gray-scale value of the sub-pixel of the target color in each row of pixel units and the column representative gray-scale value of the sub-pixel of the target color in each column of pixel units to calculate the row gray-scale variation and the column gray-scale variation of the sub-pixel of the target color of the display panel; determining the Mura direction of the display panel as a row change direction under the condition that the row gray scale variation is larger than the column gray scale variation; and under the condition that the row gray scale variation is smaller than the column gray scale variation, determining the Mura direction of the display panel as a row variation direction.
In some examples, the direction determination module 302 may be to: acquiring the maximum value and the minimum value in the brightness values of the sub-pixels of the target color, converting the maximum value into a gray scale maximum value, and converting the minimum value into a gray scale minimum value; converting to obtain gray-scale values corresponding to the brightness values of the other sub-pixels of the target color except the maximum value and the minimum value according to the brightness values of the other sub-pixels of the target color except the maximum value and the minimum value; and obtaining a display gray-scale image based on gray-scale values, gray-scale highest values and gray-scale lowest values corresponding to the brightness values of other sub-pixels of the target color except the maximum value and the minimum value.
In some examples, the direction determination module 302 may be to: converting the display gray-scale image into a binary gray-scale image according to a corresponding gray-scale value of the sub-pixel of the target color in the display gray-scale image and a preset binarization threshold value; for each row of pixel units, determining the average value of gray scale values of the target color sub-pixels in the row of pixel units in the binary gray scale image as a row representative gray scale value of the target color sub-pixels in the row of pixel units; for each row of pixel units, determining the average value of the gray-scale values of the target-color sub-pixels in the row of pixel units in the binary gray-scale map as the row representative gray-scale value of the target-color sub-pixels in the row of pixel units.
Specifically, the direction determination module 302 may be configured to: selecting a first reference area and a second reference area along the row direction in the display gray-scale image; calculating to obtain an area gray scale transition parameter based on the average value of the gray scale values of the sub-pixels of the target color in the pixel unit of the first reference area and the average value of the gray scale values of the sub-pixels of the target color in the pixel unit of the second reference area; for each row of pixel units, calculating a row gray scale reference value of the target color sub-pixels in the row of pixel units according to the area gray scale transition parameter and the initial gray scale average value, wherein the initial gray scale average value comprises an average value of the gray scale values of the target color sub-pixels in the pixel units of the first reference area or an average value of the gray scale values of the target color sub-pixels in the pixel units of the second reference area; obtaining a target standard gray-scale value of the sub-pixel of the target color in each row of pixel units according to the row gray-scale reference value of the sub-pixel of the target color in each row of pixel units and the maximum value and the minimum value of the gray-scale value of the sub-pixel of the target color in the display panel; in each row of pixel units, converting the gray scale value of the sub-pixel of the target color in the pixel unit of which the absolute value of the difference value with the target standard gray scale value is greater than the preset gray scale compensation threshold value into the lowest gray scale value, and converting the gray scale value of the sub-pixel of the target color in the pixel unit of which the absolute value of the difference value with the target standard gray scale value is less than or equal to the preset gray scale compensation threshold value into the highest gray scale value; and obtaining a binary gray-scale image according to the gray-scale value converted by the sub-pixel of the target color in each row of pixel units.
In some examples, the direction determination module 302 may be to: calculating a first difference value of row representative gray scale values of the sub-pixels of the target color in any two adjacent rows of pixel units, and determining the average value of the first difference value as row gray scale variation; and calculating a second difference value of the row representative gray-scale values of the sub-pixels of the target color in any two adjacent rows of pixel units, and determining the average value of the second difference values as the row gray-scale variation.
In some examples, the direction determination module 302 may also be to: selecting a target area, wherein the center of the target area is overlapped with the center of a display area of the display panel, the length of the target area is smaller than that of the display area, and the width of the target area is smaller than that of the display area; and (3) omitting the gray-scale values of the sub-pixels of the target color in the pixel units except the target area in the display area.
The application also provides a Mura compensation device. Fig. 17 is a schematic structural diagram of an embodiment of a Mura compensation apparatus provided in the present application. As shown in fig. 17, the Mura compensation apparatus 400 includes a memory 401, a processor 402, and a computer program stored on the memory 401 and executable on the processor 402.
In one example, the processor 402 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 401 may include Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash Memory devices, electrical, optical, or other physical/tangible Memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the Mura compensation methods according to the present application.
The processor 402 runs a computer program corresponding to the executable program code by reading the executable program code stored in the memory 401 for implementing the Mura compensation method in the above-described embodiments.
In one example, the Mura compensation apparatus 400 may further include a communication interface 403 and a bus 404. As shown in fig. 17, the memory 401, the processor 402, and the communication interface 403 are connected by a bus 404 to complete mutual communication.
The communication interface 403 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present application. Input devices and/or output devices may also be accessed through communication interface 403.
The bus 404 comprises hardware, software, or both that couple the components of the Mura compensation apparatus 400 to one another. By way of example and not limitation, Bus 404 may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (Front Side Bus, FSB), a HyperTransport (HT) Interconnect, an Industry Standard Architecture (ISA) Bus, an infiniband Interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a MicroChannel Architecture (MCA) Bus, a Peripheral Component Interconnect (PCI) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (Serial Advanced Technology Attachment, SATA) Bus, a Local Video Association (vldeo) Bus, or a combination of two or more of these buses, as appropriate. Bus 404 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
An embodiment of the present application further provides a computer-readable storage medium, where computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are executed by a processor, the Mura compensation method in the foregoing embodiments can be implemented, and the same technical effects can be achieved. The computer-readable storage medium may include a non-transitory computer-readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, which is not limited herein.
It should be clear that the embodiments in this specification are described in a progressive manner, and the same or similar parts in the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. For apparatus embodiments, device embodiments, computer-readable storage medium embodiments, reference may be made in the descriptive section to method embodiments. The present application is not limited to the particular steps and structures described above and shown in the drawings. Those skilled in the art may make various changes, modifications and additions or change the order between the steps after appreciating the spirit of the present application. Also, a detailed description of known process techniques is omitted herein for the sake of brevity.
Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be appreciated by persons skilled in the art that the above embodiments are illustrative and not restrictive. Different features which are present in different embodiments may be combined to advantage. Other variations to the disclosed embodiments can be understood and effected by those skilled in the art upon studying the drawings, the specification, and the claims. In the claims, the term "comprising" does not exclude other means or steps; the word "a" or "an" does not exclude a plurality; the terms "first" and "second" are used to denote a name and not to denote any particular order. Any reference signs in the claims shall not be construed as limiting the scope. The functions of the various parts appearing in the claims may be implemented by a single hardware or software module. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.

Claims (10)

1. A Mura compensation method, comprising:
the display panel comprises pixel units arranged in an array, and under the condition that the display panel displays a target gray scale, the brightness values of sub-pixels of target colors in the pixel units of the display panel are collected;
determining a Mura direction of the display panel based on the brightness value of each sub-pixel of the target color, wherein the Mura direction comprises a row change direction and a column change direction, the row change direction represents the change of Mura in the row direction of the pixel unit arrangement, and the column change direction represents the change of Mura in the column direction of the pixel unit arrangement;
compensating sub-pixels in a minimum compensation unit divided in the display panel according to the Mura direction of the display panel, wherein the minimum compensation unit comprises M multiplied by N pixel units, N is the number of the pixel units in the minimum compensation unit in the row direction, M is the number of the pixel units in the minimum compensation unit in the column direction,
and the same color sub-pixels in the same minimum compensation unit are compensated by using the same Mura compensation data, wherein N is less than M when the Mura direction is the row change direction, and N is greater than M when the Mura direction is the column change direction.
2. The method of claim 1, wherein determining the Mura direction of the display panel based on the luminance values of the sub-pixels of the target color comprises:
converting to obtain a display gray scale image based on the brightness value of each sub-pixel of the target color, wherein the gray scale value of the sub-pixel of one target color corresponding to the display gray scale image corresponds to the brightness value of the sub-pixel of one target color;
obtaining a row representative gray-scale value of the sub-pixel of the target color in each row of pixel units and a column representative gray-scale value of the sub-pixel of the target color in each column of pixel units according to the corresponding gray-scale value of the sub-pixel of the target color in the display gray-scale image;
respectively utilizing the row representative gray-scale value of the sub-pixel of the target color in each row of pixel units and the column representative gray-scale value of the sub-pixel of the target color in each column of pixel units to calculate the row gray-scale variation and the column gray-scale variation of the sub-pixel of the target color of the display panel;
determining the Mura direction of the display panel as a row change direction under the condition that the row gray scale variation is larger than the column gray scale variation;
and determining the Mura direction of the display panel as a row change direction under the condition that the row gray scale variation is smaller than the column gray scale variation.
3. The method of claim 2, wherein converting the display gray scale map based on the luminance values of the sub-pixels of the target color comprises:
acquiring the maximum value and the minimum value in the brightness values of the sub-pixels of the target color, converting the maximum value into a gray scale maximum value, and converting the minimum value into a gray scale minimum value;
converting to obtain gray-scale values corresponding to the brightness values of the other sub-pixels of the target color except the maximum value and the minimum value according to the brightness values of the other sub-pixels of the target color except the maximum value and the minimum value;
and obtaining the display gray-scale image based on gray-scale values corresponding to the brightness values of other sub-pixels of the target color except the maximum value and the minimum value, the highest gray-scale value and the lowest gray-scale value.
4. The method according to claim 2, wherein obtaining a row representative gray scale value of the sub-pixel of the target color in each row of pixel units and a column representative gray scale value of the sub-pixel of the target color in each column of pixel units according to the corresponding gray scale value of the sub-pixel of the target color in the displayed gray scale map comprises:
converting the display gray-scale image into a binary gray-scale image according to a gray-scale value corresponding to the target color sub-pixel in the display gray-scale image and a preset binarization threshold value;
for each row of pixel units, determining the average value of gray-scale values of the target color sub-pixels in the row of pixel units in the binary gray-scale image as the row representative gray-scale value of the target color sub-pixels in the row of pixel units;
for each row of pixel units, determining the average value of gray-scale values of the target-color sub-pixels in the row of pixel units in the binary gray-scale map as the row representative gray-scale value of the target-color sub-pixels in the row of pixel units;
preferably, after the converting the display gray-scale map into a binary gray-scale map according to the gray-scale value of the target color sub-pixel in the display gray-scale map and a preset binarization threshold, the method further includes:
selecting a target area, wherein the center of the target area coincides with the center of a display area of the display panel, the length of the target area is smaller than the length of the display area, and the width of the target area is smaller than the width of the display area;
and omitting the gray-scale value of the sub-pixel of the target color in the pixel unit except the target area in the display area.
5. The method as claimed in claim 4, wherein the converting the display gray level map into a binary gray level map according to the gray level value of the target color sub-pixel in the display gray level map and a preset binarization threshold comprises:
selecting a first reference area and a second reference area along the row direction in the display gray-scale image;
calculating to obtain an area gray scale transition parameter based on the average value of the gray scale values of the sub-pixels of the target color in the pixel unit of the first reference area and the average value of the gray scale values of the sub-pixels of the target color in the pixel unit of the second reference area;
for each row of pixel units, calculating a row gray scale reference value of the target color sub-pixels in the row of pixel units according to the region gray scale transition parameter and an initial gray scale average value, wherein the initial gray scale average value comprises an average value of the gray scale values of the target color sub-pixels in the pixel units of the first reference region or an average value of the gray scale values of the target color sub-pixels in the pixel units of the second reference region;
obtaining a target standard gray-scale value of the sub-pixel of the target color in each row of pixel units according to the row gray-scale reference value of the sub-pixel of the target color in each row of pixel units and the maximum value and the minimum value of the gray-scale value of the sub-pixel of the target color in the display panel;
in each row of pixel units, converting the gray-scale value of the sub-pixel of the target color in the pixel unit of which the absolute value of the difference value with the target standard gray-scale value is greater than a preset gray-scale compensation threshold value into the lowest gray-scale value, and converting the gray-scale value of the sub-pixel of the target color in the pixel unit of which the absolute value of the difference value with the target standard gray-scale value is less than or equal to the preset gray-scale compensation threshold value into the highest gray-scale value;
and obtaining the binary gray-scale image according to the gray-scale value converted by the sub-pixel of the target color in each row of pixel units.
6. The method of claim 2, wherein calculating the row gray scale variation and the column gray scale variation of the target color sub-pixel of the display panel using the row representative gray scale value of the target color sub-pixel in each row of pixel units and the column representative gray scale value of the target color sub-pixel in each column of pixel units respectively comprises:
calculating a first difference value of row representative gray scale values of sub-pixels of target colors in pixel units of any two adjacent rows, and determining an average value of the first difference value as the row gray scale variation;
and calculating a second difference value of the row representative gray-scale values of the sub-pixels of the target color in any two adjacent rows of pixel units, and determining the average value of the second difference value as the row gray-scale variation.
7. The method of claim 1,
when the Mura direction is the row change direction, N is 1, and M is 2;
when the Mura direction is the column variation direction, N is 2 and M is 1.
8. A Mura compensation apparatus, comprising:
the display panel comprises pixel units which are arranged in an array manner, wherein the pixel units are used for displaying a target gray scale;
a direction determining module, configured to determine, based on luminance values of sub-pixels of a target color, a Mura direction of the display panel, where the Mura direction includes a row change direction and a column change direction, the row change direction indicates a change of Mura in a row direction of an arrangement of pixel units, and the column change direction indicates a change of Mura in a column direction of the arrangement of pixel units;
a compensation module, configured to compensate sub-pixels in a minimum compensation unit divided in the display panel according to the Mura direction of the display panel, where the minimum compensation unit includes M × N pixel units, N is the number of the pixel units in the minimum compensation unit in the row direction, and M is the number of the pixel units in the minimum compensation unit in the column direction,
and the same color sub-pixels in the same minimum compensation unit are compensated by using the same Mura compensation data, wherein N is less than M when the Mura direction is the row change direction, and N is greater than M when the Mura direction is the column change direction.
9. A Mura compensation apparatus, comprising: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the Mura compensation method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the Mura compensation method of any of claims 1-7.
CN202110708217.8A 2021-06-24 2021-06-24 Mura compensation method, device, equipment and storage medium Active CN113421515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110708217.8A CN113421515B (en) 2021-06-24 2021-06-24 Mura compensation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110708217.8A CN113421515B (en) 2021-06-24 2021-06-24 Mura compensation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113421515A true CN113421515A (en) 2021-09-21
CN113421515B CN113421515B (en) 2022-10-21

Family

ID=77716591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110708217.8A Active CN113421515B (en) 2021-06-24 2021-06-24 Mura compensation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113421515B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113963663A (en) * 2021-10-22 2022-01-21 晟合微电子(肇庆)有限公司 Pixel driving method, display and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103913461A (en) * 2013-01-07 2014-07-09 北京兆维电子(集团)有限责任公司 TFT-LCD lighting automatic optical inspection based image processing method
KR20160095686A (en) * 2015-02-03 2016-08-12 삼성디스플레이 주식회사 Sensing apparatus, Display apparatus, and Method of sensing electrical signal
US20170154561A1 (en) * 2015-08-26 2017-06-01 Shenzhen China Star Optoelectronics Technology Co. Ltd. Array substrate and the driving method thereof
CN107665684A (en) * 2017-10-13 2018-02-06 深圳吉迪思电子科技有限公司 A kind of color Mura compensation methodes
CN109903717A (en) * 2019-04-26 2019-06-18 京东方科技集团股份有限公司 Recognition methods, compensation method and the device in the speck region of display panel
CN112233633A (en) * 2020-10-28 2021-01-15 福州京东方光电科技有限公司 Brightness compensation method, device, equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103913461A (en) * 2013-01-07 2014-07-09 北京兆维电子(集团)有限责任公司 TFT-LCD lighting automatic optical inspection based image processing method
KR20160095686A (en) * 2015-02-03 2016-08-12 삼성디스플레이 주식회사 Sensing apparatus, Display apparatus, and Method of sensing electrical signal
US20170154561A1 (en) * 2015-08-26 2017-06-01 Shenzhen China Star Optoelectronics Technology Co. Ltd. Array substrate and the driving method thereof
CN107665684A (en) * 2017-10-13 2018-02-06 深圳吉迪思电子科技有限公司 A kind of color Mura compensation methodes
CN109903717A (en) * 2019-04-26 2019-06-18 京东方科技集团股份有限公司 Recognition methods, compensation method and the device in the speck region of display panel
CN112233633A (en) * 2020-10-28 2021-01-15 福州京东方光电科技有限公司 Brightness compensation method, device, equipment and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113963663A (en) * 2021-10-22 2022-01-21 晟合微电子(肇庆)有限公司 Pixel driving method, display and readable storage medium

Also Published As

Publication number Publication date
CN113421515B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN112530347B (en) Method, device and equipment for determining compensation gray scale
US20210021791A1 (en) Gray scale adjustment method and device for display panel
KR100818988B1 (en) Method and apparatus for processing image signal
US10210604B2 (en) Method and device for adjusting contrast
CN112530346A (en) Method, device and equipment for determining compensation gray scale
US9269288B2 (en) Generating method of Gamma value test chart of display device and measuring method of Gamma value thereof
CN110246129B (en) Image detection method, device, computer readable storage medium and computer equipment
CN113299216B (en) Gamma debugging method, device, equipment and storage medium
CN113379680A (en) Defect detection method, defect detection device, electronic equipment and computer readable storage medium
CN113421515B (en) Mura compensation method, device, equipment and storage medium
CN109191386B (en) BPNN-based rapid Gamma correction method and device
CN114333675B (en) Display compensation method, device, display device and storage medium
CN115760704A (en) Paint surface defect detection method and device based on color active reference object and medium
CN114267316B (en) Gamma debugging method, electronic equipment and computer readable storage medium
CN114283745A (en) Brightness compensation method of display panel and related device
CN112614468B (en) Brightness compensation method and system of display panel
US9495609B2 (en) System and method for evaluating data
CN113380170A (en) Display compensation method and device of display panel, display device and medium
CN109493825B (en) Picture parameter calculation method, device and storage medium
CN115083328B (en) Display compensation method, device, equipment, medium and display device
CN114898714B (en) Brightness compensation method, device, equipment and medium
CN110534067B (en) Image processing method and display device for regional dimming
CN114677983B (en) Display calibration method and related device
CN115423721A (en) Image processing method, image processing apparatus, electronic device, and storage medium
CN114894443A (en) Screen light leakage and ambient light detection method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant