Display panel pixel brightness compensation control method and device
Technical Field
The invention relates to the field of liquid crystal display, in particular to a display panel pixel brightness compensation control method and device.
Background
As liquid Crystal displays (L liquid Crystal displays, L CD) are getting lighter, thinner and larger, due to some uncontrollable factors in the actual manufacturing process, the physical characteristics of the L CD Display panel are different, which results in a phenomenon of non-uniform brightness when displaying pure gray images in a range larger than one pixel unit, namely the Mura phenomenon.
For a L CD display Panel (Panel) which is manufactured, the physical characteristics are already fixed, and in order to compensate the Mura phenomenon generated by defects in L CD manufacturing process, the brightness of a pixel unit can be corrected in a gray compensation mode, so that the Mura phenomenon is improved.
Fig. 1 and 2 illustrate a mura compensation method in prior art, in which the display panel shown in fig. 1 includes a plurality of pixel units, such as a1-j8, arranged in an array, each pixel unit serving as a basic unit for detecting and compensating for individual gray levels of a single pixel unit, respectively, the disadvantage is large occupied storage space, and about 530M data are required for FHD resolution. The display panel shown in FIG. 2 includes a plurality of pixel units, such as a1-j8, arranged in an array, wherein a plurality of pixel units (such as 4x4) are used as basic units, i.e., a1, b1, a2, and b2 are used as a basic unit A1, and the individual gray levels of the basic unit A1 are detected and then compensated.
For the two mura compensation methods at present, the first problem is that the occupied memory is too large; the second problem is mainly the inability to fine-compensate for the smaller mura.
Disclosure of Invention
In order to solve the above technical problems, the present invention provides a method and an apparatus for controlling pixel brightness compensation of a display panel, which achieve finer mura compensation on the premise of less memory usage.
The technical scheme provided by the invention is as follows:
the invention discloses a display panel pixel brightness compensation control method, which comprises the following steps:
s100, acquiring a display area of a display panel, detecting all pixel units in the display area, and recording a value to be compensated of each pixel unit;
s200, dividing N frames to be compensated into a plurality of frame groups, wherein each frame group comprises N frames; each m frame groups are one frame unit, corresponding partition modes are respectively allocated to the m frame groups in each frame unit, 1< N < N, and N, N and m are integers more than 1;
s300, respectively dividing the display area of each frame group according to a partition mode corresponding to the frame group, and dividing the display area into a plurality of sub-display areas;
s400, calculating a regional compensation value to be compensated of the sub-display region of each frame group according to the value to be compensated of each pixel unit recorded in the step S100;
and S500, respectively compensating the brightness of all pixel units in each sub-display area according to the calculated area compensation value needing to be compensated of each sub-display area of each frame group.
Furthermore, m frame groups in each frame unit are respectively allocated with corresponding partition modes, and each partition mode is different.
Further, the step S100 of obtaining the display area of the display panel, detecting all the pixel units in the display area, and recording the value to be compensated of each pixel unit specifically includes the steps of:
s110, acquiring brightness values of all pixel units in a display area;
and S120, calculating to obtain a value to be compensated of each pixel unit according to a preset brightness value and the brightness values of all the pixel units acquired in the step S110.
Further, the step S110 of acquiring the brightness value of each pixel unit in the display area specifically includes the steps of:
s111, when the display panel displays the gray level picture, shooting the gray level picture for multiple times through a camera to obtain multiple gray level pictures;
and S112, acquiring actual brightness values of a pixel unit in a plurality of different gray level pictures, and taking the average value of the acquired actual brightness values as the brightness value of the pixel unit.
Further, the step S400 "calculating a region compensation value to be compensated for the sub-display region of each frame group according to the value to be compensated recorded in the step S100" specifically includes the steps of:
s410, obtaining values to be compensated of a plurality of pixel units in a sub-display area in a frame group;
s420, taking the average value of the obtained multiple values to be compensated as the regional compensation value of the sub-display region;
and S430, sequentially acquiring the area compensation value of each sub-display area in each frame group according to the steps.
The invention also discloses a display panel pixel brightness compensation control device, which comprises:
the detection recording unit is used for acquiring a display area of the display panel, detecting all pixel units in the display area and recording a value to be compensated of each pixel unit;
a frame dividing unit for dividing the N frames to be compensated into a plurality of frame groups, each frame group including N frames;
the partition mode allocation unit is used for allocating corresponding partition modes to the m frame groups in each frame unit by taking each m frame group as one frame unit, wherein 1< N < N, and N, N and m are integers more than 1;
a display area dividing unit for dividing the display areas of the frame groups respectively in a partitioning manner corresponding to each frame group and dividing the display areas into a plurality of sub-display areas;
the area compensation value calculating unit is used for calculating the area compensation value required to be compensated in the sub-display area of each frame group according to the recorded value to be compensated of each pixel unit;
and the compensation unit is used for respectively compensating the brightness of all the pixel units in each sub-display area according to the calculated area compensation value needing to be compensated in each sub-display area of each frame group.
Furthermore, m frame groups in each frame unit are respectively allocated with corresponding partition modes, and each partition mode is different.
Further, the detecting and recording unit specifically includes:
the brightness value acquisition subunit is used for acquiring the brightness values of all the pixel units in the display area;
and the value to be compensated operator unit is used for calculating the value to be compensated of each pixel unit according to the preset brightness value and the acquired brightness values of all the pixel units.
Further, the luminance value obtaining subunit is specifically configured to, when the display panel is displaying a gray scale picture, take multiple times of shooting of the gray scale picture by the camera to obtain multiple gray scale pictures, obtain actual luminance values of one pixel unit in multiple different gray scale pictures, and use an average value of the obtained multiple actual luminance values as the luminance value of the pixel unit.
Further, the area compensation value calculating unit is specifically configured to obtain values to be compensated of a plurality of pixel units in a sub-display area in one frame group, use an average value of the obtained values to be compensated as an area compensation value of the sub-display area, and sequentially obtain an area compensation value of each sub-display area in each frame group.
Compared with the prior art, the method and the device have the advantages that different frame groups are allocated with different partition modes, the display area of the frame group is divided into the plurality of sub-display areas through the different partition modes, the area compensation values of the sub-display areas are calculated to be different in the different partition modes, the compensation of the pixel unit is realized through the combined circulation of the plurality of partition modes, and the more fine mura compensation is realized on the premise of less memory occupation.
Drawings
The present invention will be further described in the following detailed description of preferred embodiments, which is to be read in connection with the accompanying drawings.
FIG. 1 is a mura compensation method in the prior art;
FIG. 2 is another mura compensation method of the prior art;
FIG. 3 is a schematic diagram illustrating major steps of a method for controlling pixel brightness compensation of a display panel according to the present invention;
FIG. 4 is a schematic diagram of mura positions of a display panel pixel brightness compensation control method according to the present invention;
FIG. 5 is a schematic diagram illustrating a compensation method of a display panel pixel brightness compensation control method according to the present invention;
FIG. 6 is a schematic diagram illustrating another compensation method for controlling the pixel brightness compensation of a display panel according to the present invention;
FIG. 7 is a schematic diagram illustrating a partition manner of a pixel brightness compensation control method of a display panel according to the present invention;
FIG. 8 is a schematic diagram illustrating another partition method of a method for controlling pixel brightness compensation of a display panel according to the present invention;
FIG. 9 is a schematic diagram illustrating another partition manner of a pixel brightness compensation control method of a display panel according to the present invention;
FIG. 10 is a block diagram illustrating another method for controlling pixel brightness compensation of a display panel according to the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
Fig. 3 is a schematic diagram of main steps of a display panel pixel brightness compensation control method according to the present invention, and as shown in the figure, the display panel pixel brightness compensation control method includes the following steps:
s100, obtaining a display area of the display panel, detecting all pixel units in the display area, and recording a value to be compensated of each pixel unit.
Specifically, the step S100 of obtaining the display area of the display panel, detecting all the pixel units in the display area, and recording the value to be compensated of each pixel unit includes the steps of: and S110, acquiring brightness values of all pixel units in the display area. And S120, calculating to obtain a value to be compensated of each pixel unit according to a preset brightness value and the brightness values of all the pixel units acquired in the step S110.
Specifically, the step S110 of obtaining the brightness value of each pixel unit in the display area specifically includes the steps of: s111, when the display panel displays the gray level picture, shooting the gray level picture for multiple times through a camera to obtain multiple gray level pictures; and S112, acquiring actual brightness values of a pixel unit in a plurality of different gray level pictures, and taking the average value of the acquired actual brightness values as the brightness value of the pixel unit.
FIG. 4 is a schematic diagram of mura positions of a display panel pixel brightness compensation control method according to the present invention. As shown in fig. 4, a display panel includes a plurality of pixel units arranged in an array, as shown in a1-j 8. When a display panel displays a gray scale picture, a mura position (a position marked as 1 in the figure) needing compensation is analyzed through a plurality of gray scale pictures obtained by screen shooting, and a value to be compensated (the value to be compensated is compensation gray scale voltage) needing compensation of each pixel unit in a display area is calculated.
Specifically, the pixel unit to be compensated is a pixel unit of which the value to be compensated includes a zero value; that is, each pixel unit is detected to determine a value to be compensated corresponding to the brightness that needs to be compensated for each pixel unit, and if some pixel units do not need brightness compensation, the compensation gray scale voltage of the pixel unit that does not need brightness compensation is determined to be zero. In specific implementation, the pixel unit may not be subjected to any operation of compensating the brightness, or the pixel unit may output a voltage value with a compensation gray scale voltage of zero.
S200, dividing N frames to be compensated into a plurality of frame groups, wherein each frame group comprises N frames (1< N < N, N, N are integers); each m frame groups is a frame unit, and the m frame groups in each frame unit are respectively allocated with corresponding partition modes (m is an integer larger than 1).
And S300, respectively dividing the display area of each frame group according to the partition mode corresponding to the frame group, and dividing the display area into a plurality of sub-display areas.
S400, calculating a regional compensation value required to be compensated for the sub-display region of each frame group according to the value to be compensated of each pixel unit recorded in the step S100.
Specifically, the step S400 "calculating the area compensation value to be compensated for the sub-display area of each frame group according to the value to be compensated recorded in the step S100" specifically includes the steps of: s410, obtaining values to be compensated of a plurality of pixel units in a sub-display area in a frame group; s420, taking the average value of the obtained multiple values to be compensated as the regional compensation value of the sub-display region; and S430, sequentially acquiring the area compensation value of each sub-display area in each frame group according to the steps.
And S500, respectively compensating the brightness of all pixel units in each sub-display area according to the calculated area compensation value needing to be compensated of each sub-display area of each frame group.
Specifically, m frame groups in each frame unit are respectively assigned with corresponding partition modes, and each partition mode is different.
In practical applications, preferably, n is 2, that is, every two frames are a frame group, for example, 1 to 2 frames are used as a frame group, and 3 to 4 frames are used as a frame group. The value of m is determined according to the number of the partition modes, for example, if the partition modes are two, m is 2, and every two frame groups are a frame unit, wherein each frame group is respectively allocated with one partition mode, that is, a frame group composed of 1-2 frames adopts a first partition mode, a frame group composed of 3-4 frames adopts a second partition mode, and a frame group composed of 5-6 frames adopts the first partition mode, and are sequentially and circularly allocated.
Fig. 5-6 are schematic diagrams illustrating two compensation methods of the display panel pixel brightness compensation control method according to the present invention.
As shown in fig. 5, if the partition modes are two, including partition one and partition two, different partition is allocated to different frame groups during the mura compensation operation, frames 1-2 are compensated by partition one, frames 3-4 are compensated by partition two, frames 5-6 are compensated by partition one, and frames 7-8 are compensated by partition two, which are sequentially cycled.
As shown in fig. 6, if the partition modes are three, including partition one, partition two, and partition three, different partition is allocated to different frame groups during the mura compensation operation, frames 1-2 are compensated in the partition one mode, frames 3-4 are compensated in the partition two mode, frames 5-6 are compensated in the partition three mode, frames 7-8 are compensated in the partition one mode, frames 9-10 are compensated in the partition two mode, and frames 11-12 are compensated in the partition three mode, which are sequentially cycled.
In practical applications, the two compensation methods are not limited. The two compensation methods, namely the two-partition circulation and the three-partition circulation, can actually adopt a mode of more groups of circulation or mixed circulation for compensation, and the duration of each partition can be changed.
According to the invention, different partition modes are allocated to different frame groups, so that the values to be compensated, which are calculated by the same pixel unit in the frame groups of different partition modes, are different, and the mura compensation accuracy is improved.
Fig. 7-10 are schematic diagrams of various partition modes of a method for controlling pixel brightness compensation of a display panel according to the present invention. The display area is divided into a plurality of sub-display areas by several partition modes, and each sub-display area comprises a plurality of pixel units. In practical application, the partition mode shown in fig. 7 is combined with another or several partition compound modes.
The method for calculating the compensation value of the sub-display area will be described in detail with reference to fig. 7.
As shown in fig. 7, a1-E4 in the figure are a plurality of sub-display regions obtained by dividing the display region of each frame group according to the partition mode corresponding to the frame group, where a1 includes a plurality of pixel units, i.e., a1/b1/a2/b2 (taking 4 pixel units as an example, actually, without specific limitation), the region compensation value of a1 is calculated according to the to-be-compensated values of the 4 pixel units, and then four pixel units in a1 are respectively compensated according to the region compensation value of a 1.
If the values to be compensated of the four pixel units a1/b1/a2/b2 in a1 are 1, 4, 2, and 1, respectively, the area compensation value of a1 is calculated as follows: a1 ═ 2 (1+4+2+1)/4 ═ 2, that is, the zone offset value of a1 was 2.
The region compensation value for each sub-display region can be calculated similarly.
The invention also discloses a display panel pixel brightness compensation control device, which comprises: the detection recording unit is used for acquiring a display area of the display panel, detecting all pixel units in the display area and recording a value to be compensated of each pixel unit; a frame dividing unit for dividing the N frames to be compensated into a plurality of frame groups, each frame group including N frames (1< N, N, N being an integer); a partition mode allocation unit, configured to allocate, with each m frame groups as one frame unit, a corresponding partition mode (m is an integer greater than 1) to each of the m frame groups in each frame unit; a display area dividing unit for dividing the display areas of the frame groups respectively in a partitioning manner corresponding to each frame group and dividing the display areas into a plurality of sub-display areas; the area compensation value calculating unit is used for calculating the area compensation value required to be compensated in the sub-display area of each frame group according to the recorded value to be compensated of each pixel unit; and the compensation unit is used for respectively compensating the brightness of all the pixel units in each sub-display area according to the calculated area compensation value needing to be compensated in each sub-display area of each frame group.
Preferably, m frame groups in each frame unit are respectively assigned with corresponding partition modes, and each partition mode is different.
Preferably, the detecting and recording unit specifically includes: the brightness value acquisition subunit is used for acquiring the brightness values of all the pixel units in the display area; and the value to be compensated operator unit is used for calculating the value to be compensated of each pixel unit according to the preset brightness value and the brightness values of all the pixel units acquired in the step.
Preferably, the luminance value obtaining subunit is specifically configured to, when the display panel is displaying a gray scale image, take multiple times of the gray scale image by using the camera to obtain multiple gray scale images, obtain actual luminance values of one pixel unit in multiple different gray scale images, and use an average value of the obtained multiple actual luminance values as the luminance value of the pixel unit.
Preferably, the area compensation value calculating unit is specifically configured to acquire values to be compensated of a plurality of pixel units in a sub-display area in one frame group, use an average value of the acquired values to be compensated as an area compensation value of the sub-display area, and sequentially acquire an area compensation value of each sub-display area in each frame group.
The working process between the units in the device is based on the same technical concept as the method, and is not described again here.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.