Disclosure of Invention
The embodiments of the present application provide a gray scale compensation method, a gray scale compensation device, and a display apparatus, which have the beneficial effects of improving the compensation effect and improving the image quality.
The application provides a gray scale compensation method for gray scale compensation of a display panel, the display panel comprises a plurality of pixel units distributed in an array manner, the pixel units comprise a plurality of first pixel units, and the gray scale compensation method comprises the following steps:
screening a target pixel unit which is charged qualified from the plurality of pixel units, and acquiring a color parameter of the target pixel unit as a first reference color parameter;
gradually increasing the gray scale of a first pixel unit to be compensated in the plurality of first pixel units, and acquiring a first actual color parameter of the first pixel unit when the gray scale is increased each time;
comparing the first actual color parameter of the first pixel unit at each gray scale increment with the first reference color parameter respectively to screen out a first compensation gray scale value from the multi-adjusted gray scale values of the first pixel unit;
and compensating the corresponding first pixel units according to the first gray scale compensation values.
In the gray scale compensation method, the step of comparing the first actual color parameter of the first pixel unit at each gray scale increment with the first reference color parameter respectively to screen out a first compensated gray scale value from the multiple adjusted gray scale values of the first pixel unit comprises:
comparing the first actual color parameters of the first pixel unit during each gray scale increase with the first reference color parameters respectively to select a first actual color parameter meeting a preset condition from the first actual color parameters;
and taking the gray scale value corresponding to the first actual color parameter meeting the conditions as a first compensation gray scale value.
In the gray scale compensation method, the first actual color parameter and the first reference color parameter both include a chrominance parameter and a luminance parameter;
the step of comparing the first actual color parameters of the first pixel unit at each gray scale increase with the first reference color parameters respectively to select a first actual color parameter meeting a preset condition from the first actual color parameters comprises:
the first actual color parameter meeting the preset condition is a first actual color parameter of which the chromaticity parameter and the luminance parameter are closest to the chromaticity parameter and the luminance parameter of the first reference color parameter.
In the gray scale compensation method of the present application, the display panel further includes a plurality of second pixel units, wherein the gray scale of the first pixel units is changed from 0 to a, and the gray scale of the second pixel units is changed from b to c, where 0< b < c < a;
the step of compensating each corresponding first pixel unit according to each first gray scale compensation value further comprises:
acquiring a second reference color parameter of a second pixel unit of which the gray scale change to be compensated is b to c according to the first pixel unit of which the compensated gray scale change is 0 to b and the first pixel unit of which the compensated gray scale change is 0 to c;
comparing a second actual color parameter of the second pixel unit during each gray scale adjustment with the second reference color parameter respectively to screen out a second compensation gray scale value from the gray scale values of the second pixel unit during multiple times of adjustment;
and performing gray scale compensation on the second pixel unit to be compensated according to the second gray scale compensation value.
In the gray scale compensation method of the present application, the second reference color parameter includes a lower color parameter and an upper color parameter, the color parameter of the first pixel unit with compensated gray scale change from 0 to b is used as the lower color parameter, and the color parameter of the first pixel unit with compensated gray scale change from 0 to c is used as the upper color parameter;
the second reference color parameter includes a lower reference color parameter and an upper reference color parameter.
In the gray scale compensation method of the present application, in the step of comparing the second actual color parameter of the second pixel unit during each gray scale adjustment with the second reference color parameter, respectively, to screen out a second compensated gray scale value from the gray scale values of the second pixel unit during multiple adjustments:
and taking the gray scale lower limit value corresponding to the low-order color parameter closest to the low-order reference color parameter as a lower limit gray scale compensation value, taking the gray scale upper limit value corresponding to the high-order color parameter closest to the high-order reference color parameter as an upper limit gray scale compensation value, and forming the second gray scale compensation value by the lower limit gray scale compensation value and the upper limit gray scale compensation value.
A gray scale compensation device for gray scale compensation of a display panel, the display panel comprises a plurality of pixel units distributed in an array, the pixel units comprise a plurality of first pixel units, the gray scale compensation device comprises:
the first obtaining module is used for screening out a target pixel unit which is qualified in charging from the plurality of pixel units, and obtaining a color parameter of the target pixel unit as a first reference color parameter;
the second acquisition module is used for gradually increasing the gray scale of a first pixel unit to be compensated in the plurality of first pixel units and acquiring a first actual color parameter of the first pixel unit when the gray scale is increased each time;
the first screening module is used for comparing the first actual color parameter of the first pixel unit during each gray scale increase with the first reference color parameter respectively so as to screen out a first compensation gray scale value from the multiple adjusted gray scale values of the first pixel unit;
and the first compensation module is used for compensating the corresponding first pixel units according to the first gray scale compensation values.
In the gray scale compensation apparatus of the present application, the first screening module is configured to:
comparing the first actual color parameters of the first pixel unit at each gray scale increase with the first reference color parameters respectively to select a first actual color parameter meeting a preset condition from the first actual color parameters; and taking the gray scale value corresponding to the first actual color parameter meeting the selected condition as a first compensation gray scale value.
In the gray scale compensation device, the first actual color parameter and the first reference color parameter both include a chrominance parameter and a luminance parameter;
the first screening module is used for enabling the first actual color parameter meeting the preset condition to be one of the chromaticity parameter and the brightness parameter which are closest to the first reference color parameter.
A display device comprising a processor and a memory, the memory having stored therein a computer program, the processor being adapted to perform the method of any of the preceding claims by invoking the computer program stored in the memory.
In the invention, one target pixel unit which is qualified in charging is screened out from the plurality of pixel units, and the color parameter of the target pixel unit is obtained as the first reference color parameter; gradually increasing the gray scale of a first pixel unit to be compensated in the plurality of first pixel units, and acquiring a first actual color parameter of the first pixel unit when the gray scale is increased each time; comparing the first actual color parameter of the first pixel unit at each gray scale increment with the first reference color parameter respectively to screen out a first compensation gray scale value from the multi-adjusted gray scale values of the first pixel unit; compensating each corresponding first pixel unit according to each first gray scale compensation value; therefore, the compensation of the pixel unit is realized, and the compensation effect and the image quality are improved.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating a gray scale compensation method according to some embodiments of the present invention. The method is used for gray scale compensation of a display panel, the display panel comprises a plurality of pixel units distributed in an array manner, the pixel units comprise a plurality of first pixel units and a plurality of second pixel units, wherein the gray scale of the first pixel units is changed from 0 to a, the first pixel units are zero-gray pixel units, the gray scale of the second pixel units is changed from b to c, the second pixel units are non-zero-gray pixel units, and 0< b < c < a; the method comprises the following steps:
s101, screening out one target pixel unit which is qualified in charging from the plurality of first pixel units, and acquiring a color parameter of the target pixel unit as a first reference color parameter.
The color parameters referred to herein include a luminance parameter and a chrominance parameter. When the color mixing phenomenon occurs on the display panel, the first pixel units which are qualified to be charged in the plurality of first pixel units are automatically screened out to be used as target pixel units.
For example, referring to fig. 5, fig. 5 is a schematic diagram illustrating a first process of the gray scale compensation method according to the embodiment of the present application. As shown in fig. 5, when the color mixing phenomenon occurs on the display panel, the first pixel unit that is qualified for charging is automatically selected as the target pixel unit 100, wherein, in one embodiment, the gray scale of the target pixel unit is 64.
S102, gradually increasing the gray scale of a first pixel unit to be compensated in the plurality of first pixel units, and acquiring a first actual color parameter of the first pixel unit when the gray scale is increased each time.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating a second process of the gray scale compensation method according to the embodiment of the present application. In this step, as shown in fig. 6, the gray scale of the first pixel unit 200 to be compensated in the plurality of first pixel units may be gradually increased, and the first actual color parameter of the first pixel unit at each time of gray scale increase is obtained. For example, the initial gray scale of the first pixel unit 200 is changed to 0 to 64, and when the gray scale of the first pixel unit 200 is adjusted, the gray scale of the first pixel unit 200 is increased by 1 each time, and is sequentially changed to 65, 66, 67, 68. And detecting a first actual color parameter of the first pixel unit at the gray level value, namely an actual luminance parameter and an actual chrominance parameter, every time the gray level value is adjusted.
S103, comparing the first actual color parameter of the first pixel unit during each gray scale increase with the first reference color parameter respectively, so as to screen out a first compensation gray scale value from the multiple adjusted gray scale values of the first pixel unit.
In this step, in some embodiments, this step S103 includes: s1031, comparing the first actual color parameters of the first pixel unit at each gray level increase with the first reference color parameters, respectively, to select a first actual color parameter meeting a preset condition from the first actual color parameters; the first actual color parameter meeting the preset condition is a first actual color parameter of which the chromaticity parameter and the brightness parameter are closest to the chromaticity parameter and the brightness parameter of the first reference color parameter. S1032, taking the gray scale value corresponding to the selected first actual color parameter meeting the condition as a first compensation gray scale value.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating a third process of the gray scale compensation method according to the embodiment of the present application. In this step, as shown in fig. 7, the first actual color parameter of the first pixel unit 200 at each gray level increase is compared with the first reference color parameter of the target pixel unit 100, respectively, to screen out a first compensated gray level value from the multiple adjusted gray level values of the first pixel unit 200. For example, the first actual color parameter of the first pixel unit 200 at each gray level increase is compared with the first reference color parameter of the target pixel unit 100, and the first compensated gray level value 76 is screened from the multiple adjusted gray level values of the first pixel unit 200.
And S104, compensating the corresponding first pixel units according to the first gray scale compensation values.
And after the first gray scale compensation value of each first pixel unit is obtained through calculation, compensating the gray scale value of each corresponding first pixel unit according to each first gray scale compensation value.
In the invention, one target pixel unit which is qualified in charging is screened out from the plurality of pixel units, and the color parameter of the target pixel unit is obtained as the first reference color parameter; gradually increasing the gray scale of a first pixel unit to be compensated in the plurality of first pixel units, and acquiring a first actual color parameter of the first pixel unit when the gray scale is increased each time; comparing the first actual color parameter of the first pixel unit at each gray scale increment with the first reference color parameter respectively to screen out a first compensation gray scale value from the multi-adjusted gray scale values of the first pixel unit; compensating each corresponding first pixel unit according to each first gray scale compensation value; therefore, the compensation of the pixel unit is realized, and the compensation effect and the image quality are improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a gray scale compensation method according to some embodiments of the present invention. The gray scale compensation method comprises the following steps:
s201, screening a target pixel unit which is qualified in charging from the plurality of first pixel units, and acquiring a color parameter of the target pixel unit as a first reference color parameter.
The color parameters referred to herein include a luminance parameter and a chrominance parameter. When the color mixing phenomenon occurs on the display panel, the first pixel units which are qualified in charging in the plurality of first pixel units are automatically screened out to be used as target pixel units.
S202, gradually increasing the gray scale of a first pixel unit to be compensated in the plurality of first pixel units, and acquiring a first actual color parameter of the first pixel unit when the gray scale is increased each time.
In this step, for example, the initial gray scale of the first pixel unit is changed to 0 to 64, and when the gray scale of the first pixel unit is adjusted, the gray scale of the first pixel unit is increased by 1 each time, and the gray scale is sequentially changed to 65, 66, 67, 68. And detecting a first actual color parameter of the first pixel unit at the gray level value, namely an actual luminance parameter and an actual chrominance parameter, every time the gray level value is adjusted.
S203, comparing the first actual color parameter of the first pixel unit at each time of gray scale increase with the first reference color parameter respectively, so as to screen out a first compensation gray scale value from the multiple adjusted gray scale values of the first pixel unit.
In this step, in some embodiments, this step S203 includes: s2031, comparing the first actual color parameters of the first pixel unit at each gray level increase with the first reference color parameters, respectively, to select a first actual color parameter meeting a preset condition from the first actual color parameters; the first actual color parameter meeting the preset condition is a first actual color parameter of which the chromaticity parameter and the brightness parameter are closest to the chromaticity parameter and the brightness parameter of the first reference color parameter. And S2032, taking the gray scale value corresponding to the first actual color parameter meeting the conditions as a first compensation gray scale value.
S204, compensating the corresponding first pixel units according to the first gray scale compensation values.
And after the first gray scale compensation value of each first pixel unit is obtained through calculation, compensating the gray scale value of each corresponding first pixel unit according to each first gray scale compensation value.
S205, acquiring a second reference color parameter of a second pixel unit with gray scale change b to c to be compensated according to the first pixel unit with gray scale change 0 to b compensated and the first pixel unit with gray scale change 0 to c compensated.
The second reference color parameter comprises a low-order color parameter and a high-order color parameter, the color parameter of the first pixel unit with the compensated gray scale change from 0 to b is used as the low-order color parameter, and the color parameter of the first pixel unit with the compensated gray scale change from 0 to c is used as the high-order color parameter; correspondingly, the second reference color parameter comprises a lower reference color parameter and an upper reference color parameter. For example, for a second pixel unit with gray scale changes from b to c, the color parameter with gray scale of b is the lower color parameter of the second pixel unit, and the color parameter with gray scale of c is the upper color parameter of the second pixel unit.
For example. Taking the second pixel unit with gray scale variation from 32 to 96 as an example, according to steps S201-S204, it can be found that: the gray scale change is the first gray scale compensation value of the first pixel unit from 0 to 32, and the color parameter at this time, that is, the lower reference color parameter, can be obtained. Similarly, the first gray scale compensation value of the first pixel unit with gray scale variation from 0 to 96 can be obtained, and the color parameter at this time, that is, the high-order reference color parameter, can be obtained.
S206, comparing the second actual color parameter of the second pixel unit during each gray scale adjustment with the second reference color parameter respectively, so as to screen out a second compensation gray scale value from the gray scale values of the second pixel unit during multiple times of adjustment.
In this step, a lower limit value of a gray scale corresponding to a lower color parameter closest to the lower reference color parameter is used as a lower limit gray scale compensation value, an upper limit value of a gray scale corresponding to a higher color parameter closest to the higher reference color parameter is used as an upper limit gray scale compensation value, and the lower limit gray scale compensation value and the upper limit gray scale compensation value constitute the second gray scale compensation value.
And reducing the lower limit value 32 of the gray scale range of the second pixel unit to be compensated by 1 at each time, wherein the lower limit value is 31, 30 and 29. And increasing the upper limit value 96 of the gray scale range of the second pixel unit to be compensated by 1 each time, wherein the upper limit value is 97, 98, 99 and 100. And obtaining the color parameter value when the gray scale is adjusted each time, so that the gray scale compensation value of the second pixel unit and the upper limit gray scale compensation value are 28 and 100 respectively by the comparison, and thus the gray scale compensation value of the second pixel unit is (28, 100).
And S207, performing gray scale compensation on the second pixel unit to be compensated according to the second gray scale compensation value.
And after the second gray scale compensation value of each second pixel unit is obtained through calculation, compensating the gray scale value of each corresponding second pixel unit according to each second gray scale compensation value.
In the invention, one target pixel unit which is qualified in charging is screened out from the plurality of pixel units, and the color parameter of the target pixel unit is obtained as the first reference color parameter; gradually increasing the gray scale of a first pixel unit to be compensated in the plurality of first pixel units, and acquiring a first actual color parameter of the first pixel unit when the gray scale is increased each time; comparing the first actual color parameter of the first pixel unit at each gray scale increment with the first reference color parameter respectively to screen out a first compensation gray scale value from the multi-adjusted gray scale values of the first pixel unit; compensating each corresponding first pixel unit according to each first gray scale compensation value; therefore, the compensation of the pixel unit is realized, and the compensation effect and the image quality are improved.
Referring to fig. 3, fig. 3 is a structural diagram of a gray scale compensation apparatus for gray scale compensation of a display panel according to some embodiments of the present invention, where the display panel includes a plurality of pixel units distributed in an array, and the pixel units include a plurality of first pixel units and a plurality of second pixel units, where a gray scale of the first pixel unit is changed from 0 to a, and a gray scale of the second pixel unit is changed from b to c, where 0< b < c < a; the device comprises: a first obtaining module 301, a second obtaining module 302, a first filtering module 303, and a first compensating module 304.
The first obtaining module 301 is configured to screen a target pixel unit that is charged qualified from the plurality of pixel units, and obtain a color parameter of the target pixel unit as a first reference color parameter; the first actual color parameter and the first reference color parameter each comprise a chrominance parameter and a luminance parameter. The color parameters referred to herein include a luminance parameter and a chrominance parameter. When the color mixing phenomenon occurs on the display panel, the first pixel units which are qualified in charging in the plurality of first pixel units are automatically screened out to be used as target pixel units.
The second obtaining module 302 is configured to successively increase gray scales of a first pixel unit to be compensated among the plurality of first pixel units, and obtain a first actual color parameter of the first pixel unit at each gray scale increase; for example, the initial gray scale of the first pixel unit is changed to 0 to 64, and when the gray scale of the first pixel unit is adjusted, the gray scale of the first pixel unit is increased by 1 each time and is sequentially changed to 65, 66, 67, 68. And detecting a first actual color parameter of the first pixel unit at the gray level value, namely an actual luminance parameter and an actual chrominance parameter, every time the gray level value is adjusted.
The first screening module 303 is configured to compare the first actual color parameter of the first pixel unit at each gray scale increment with the first reference color parameter, respectively, so as to screen out a first compensated gray scale value from the multiple adjusted gray scale values of the first pixel unit; specifically, the first screening module 303 is configured to: comparing the first actual color parameters of the first pixel unit during each gray scale increase with the first reference color parameters respectively to select a first actual color parameter meeting a preset condition from the first actual color parameters; and taking the gray scale value corresponding to the first actual color parameter meeting the selected condition as a first compensation gray scale value. The first screening module 303 is configured to use the first actual color parameter meeting the preset condition as a first actual color parameter of which the chromaticity parameter and the luminance parameter are closest to the chromaticity parameter and the luminance parameter of the first reference color parameter.
The first compensation module 304 is configured to compensate each corresponding first pixel unit according to each first gray scale compensation value.
In the invention, one target pixel unit which is qualified in charging is screened out from the plurality of pixel units, and the color parameter of the target pixel unit is obtained as the first reference color parameter; gradually increasing the gray scale of a first pixel unit to be compensated in the plurality of first pixel units, and acquiring a first actual color parameter of the first pixel unit when the gray scale is increased each time; comparing the first actual color parameter of the first pixel unit at each gray scale increment with the first reference color parameter respectively to screen out a first compensation gray scale value from the multi-adjusted gray scale values of the first pixel unit; compensating each corresponding first pixel unit according to each first gray scale compensation value; therefore, the compensation of the pixel unit is realized, and the compensation effect and the image quality are improved.
Referring to fig. 4, fig. 4 is a structural diagram of a gray scale compensation apparatus for gray scale compensation of a display panel according to some embodiments of the present invention, where the display panel includes a plurality of pixel units distributed in an array, and the pixel units include a plurality of first pixel units and a plurality of second pixel units, where a gray scale of the first pixel unit is changed from 0 to a, and a gray scale of the second pixel unit is changed from b to c, where 0< b < c < a; the device comprises: a first obtaining module 301, a second obtaining module 302, a first screening module 303, and a first compensating module 304.
The first obtaining module 301 is configured to screen a target pixel unit that is charged qualified from the plurality of pixel units, and obtain a color parameter of the target pixel unit as a first reference color parameter; the first actual color parameter and the first reference color parameter each comprise a chrominance parameter and a luminance parameter. The color parameters referred to herein include a luminance parameter and a chrominance parameter. When the color mixing phenomenon occurs on the display panel, the first pixel units which are qualified in charging in the plurality of first pixel units are automatically screened out to be used as target pixel units.
The second obtaining module 302 is configured to successively increase gray scales of a first pixel unit to be compensated among the plurality of first pixel units, and obtain a first actual color parameter of the first pixel unit at each gray scale increase; for example, the initial gray scale of the first pixel unit is changed to 0 to 64, and when the gray scale of the first pixel unit is adjusted, the gray scale of the first pixel unit is increased by 1 each time and is sequentially changed to 65, 66, 67, 68. And detecting a first actual color parameter of the first pixel unit at the gray level value, namely an actual luminance parameter and an actual chrominance parameter, every time the gray level value is adjusted.
The first screening module 303 is configured to compare the first actual color parameter of the first pixel unit at each gray scale increment with the first reference color parameter, respectively, so as to screen out a first compensated gray scale value from the multiple adjusted gray scale values of the first pixel unit; specifically, the first screening module 303 is configured to: comparing the first actual color parameters of the first pixel unit at each gray scale increase with the first reference color parameters respectively to select a first actual color parameter meeting a preset condition from the first actual color parameters; and taking the gray scale value corresponding to the first actual color parameter meeting the selected condition as a first compensation gray scale value. The first screening module 303 is configured to use the first actual color parameter meeting the preset condition as a first actual color parameter of which the chromaticity parameter and the luminance parameter are closest to the chromaticity parameter and the luminance parameter of the first reference color parameter.
The first compensation module 304 is configured to compensate each corresponding first pixel unit according to each first gray scale compensation value.
The third obtaining module 305 is configured to obtain a second reference color parameter of a second pixel unit with gray scale changes from b to c to be compensated according to the first pixel unit with gray scale changes from 0 to b and the first pixel unit with gray scale changes from 0 to c; the second reference color parameter comprises a low-order color parameter and a high-order color parameter, the color parameter of the first pixel unit with the compensated gray scale change from 0 to b is used as the low-order color parameter, and the color parameter of the first pixel unit with the compensated gray scale change from 0 to c is used as the high-order color parameter; correspondingly, the second reference color parameter comprises a lower reference color parameter and an upper reference color parameter. For example, for a second pixel unit with gray scale changes from b to c, the color parameter with gray scale of b is the lower color parameter of the second pixel unit, and the color parameter with gray scale of c is the upper color parameter of the second pixel unit.
For example. Taking the second pixel unit with gray scale variation from 32 to 96 as an example, according to steps S201-S204, it can be found that: the gray scale change is the first gray scale compensation value of the first pixel unit from 0 to 32, and the color parameter at this time, i.e. the lower reference color parameter, can be obtained. Similarly, the first gray scale compensation value of the first pixel unit with gray scale variation from 0 to 96 can be obtained, and the color parameter at this time, that is, the high-order reference color parameter, can be obtained.
The second screening module 306 is configured to compare the second actual color parameter of the second pixel unit during each gray scale adjustment with the second reference color parameter, so as to screen out a second compensated gray scale value from the gray scale values of the second pixel unit during multiple times of adjustment; and taking the gray scale lower limit value corresponding to the low-order color parameter closest to the low-order reference color parameter as a lower limit gray scale compensation value, taking the gray scale upper limit value corresponding to the high-order color parameter closest to the high-order reference color parameter as an upper limit gray scale compensation value, and forming the second gray scale compensation value by the lower limit gray scale compensation value and the upper limit gray scale compensation value.
And reducing the lower limit value 32 of the gray scale range of the second pixel unit to be compensated by 1 at each time, wherein the lower limit value is 31, 30 and 29. And increasing the upper limit value 96 of the gray scale range of the second pixel unit to be compensated by 1 each time, wherein the upper limit value is 97, 98, 99 and 100. And obtaining the color parameter value when adjusting the gray scale each time, so that comparing today, the limited gray scale compensation value and the upper limit gray scale compensation value of the second pixel unit can be obtained as 28 and 100 respectively, therefore, the gray scale compensation value of the second pixel unit is obtained as (28, 100)
The second compensation module 307 is configured to perform gray scale compensation on the second pixel unit to be compensated according to the second gray scale compensation value.
In the invention, one target pixel unit which is qualified in charging is screened out from the plurality of pixel units, and the color parameter of the target pixel unit is obtained as the first reference color parameter; gradually increasing the gray scale of a first pixel unit to be compensated in the plurality of first pixel units, and acquiring a first actual color parameter of the first pixel unit when the gray scale is increased each time; comparing the first actual color parameter of the first pixel unit at each gray scale increment with the first reference color parameter respectively to screen out a first compensation gray scale value from the multi-adjusted gray scale values of the first pixel unit; compensating each corresponding first pixel unit according to each first gray scale compensation value; therefore, the compensation of the pixel unit is realized, and the compensation effect and the image quality are improved.
The present invention also provides a display device, comprising a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the method of any one of the above by calling the computer program stored in the memory, so as to realize the following functions: screening a target pixel unit which is charged qualified from the plurality of pixel units, and acquiring a color parameter of the target pixel unit as a first reference color parameter; gradually increasing the gray scale of a first pixel unit to be compensated in the plurality of first pixel units, and acquiring a first actual color parameter of the first pixel unit when the gray scale is increased each time; comparing the first actual color parameter of the first pixel unit at each gray scale increment with the first reference color parameter respectively to screen out a first compensation gray scale value from the multi-adjusted gray scale values of the first pixel unit; and compensating the corresponding first pixel units according to the first gray scale compensation values.
It should be noted that, those skilled in the art can understand that all or part of the steps in the methods of the above embodiments can be implemented by hardware related to instructions of a program, and the program can be stored in a computer readable storage medium, which can include but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The gray scale compensation method, the gray scale compensation device and the display device provided by the embodiments of the present application are described in detail above, and the principles and embodiments of the present application are explained in the present application by applying specific examples, and the description of the above embodiments is only used to help understanding the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.