CN116030759A - Method and device for determining compensation parameters, compensation method, device and storage medium - Google Patents

Method and device for determining compensation parameters, compensation method, device and storage medium Download PDF

Info

Publication number
CN116030759A
CN116030759A CN202211559594.0A CN202211559594A CN116030759A CN 116030759 A CN116030759 A CN 116030759A CN 202211559594 A CN202211559594 A CN 202211559594A CN 116030759 A CN116030759 A CN 116030759A
Authority
CN
China
Prior art keywords
sub
compensation parameters
compensation
vector
pixels
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.)
Pending
Application number
CN202211559594.0A
Other languages
Chinese (zh)
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.)
Beijing Eswin Computing Technology Co Ltd
Original Assignee
Beijing Eswin Computing Technology 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 Beijing Eswin Computing Technology Co Ltd filed Critical Beijing Eswin Computing Technology Co Ltd
Priority to CN202211559594.0A priority Critical patent/CN116030759A/en
Publication of CN116030759A publication Critical patent/CN116030759A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

A compensation parameter determining method, a compensation parameter determining device, an electronic device, and a computer-readable storage medium. The method for determining the compensation parameters is applied to a display panel, the display panel comprises M sub-pixels which are arranged in an array, and the method for determining the compensation parameters comprises the following steps: obtaining M first brightness vectors corresponding to the M sub-pixels respectively; based on the M first brightness vectors, carrying out merging operation to obtain K first compensation parameters of the M sub-pixels; determining a plurality of second compensation parameters of the display panel based on the K first compensation parameters; wherein M is an integer greater than 1, K is a positive integer less than M, and the number of the plurality of second compensation parameters is less than M. The method can utilize merging operation to reduce the number of compensation parameters to be smaller than the number of sub-pixels, realize data compression to a certain extent and further reduce the calculated amount and the storage amount required by compensation.

Description

Method and device for determining compensation parameters, compensation method, device and storage medium
Technical Field
Embodiments of the present disclosure relate to a compensation parameter determination method, a compensation parameter determination apparatus, an electronic device, and a computer-readable storage medium.
Background
Due to the differences in threshold voltage (Vth) and mobility of the drive transistor (D-TFT), as well as other process steps in the production process, display non-uniformity (Mura) of the OLED (organic light emitting diode) display may result, and therefore uniformity compensation of the display is required.
Disclosure of Invention
At least one embodiment of the present disclosure provides a method for determining compensation parameters, which is applied to a display panel, wherein the display panel includes M sub-pixels arranged in an array, and the method includes: obtaining M first brightness vectors corresponding to the M sub-pixels respectively; based on the M first brightness vectors, carrying out merging operation to obtain K first compensation parameters about the M sub-pixels; determining a plurality of second compensation parameters of the display panel based on the K first compensation parameters; wherein M is an integer greater than 1, K is a positive integer less than M, and the number of the plurality of second compensation parameters is less than M.
For example, in the determining method provided in an embodiment of the present disclosure, the first luminance vector corresponding to each of the M sub-pixels includes N display luminances of each of the sub-pixels under N gray scales, respectively.
For example, in the determining method provided in an embodiment of the present disclosure, each of the K first compensation parameters is not equal; each of the K first compensation parameters corresponds to at least one of the M sub-pixels.
For example, in the determining method provided in an embodiment of the present disclosure, the merging operation includes a first merging operation; based on the M first luminance vectors, performing a merging operation to obtain K first compensation parameters for the M sub-pixels, including: calculating M vector modular lengths based on the M first brightness vectors; the first merging operation is carried out on the M vector modular lengths so as to merge the M vector modular lengths into P vector modular lengths; determining P second luminance vectors based on the P vector modulo lengths, wherein each of the P second luminance vectors corresponds to at least one of the M sub-pixels; generating the K first compensation parameters based on the P second brightness vectors; wherein P is a positive integer less than M.
For example, in the determining method provided in an embodiment of the present disclosure, the values of the P vector modulo lengths are not equal.
For example, in the determining method provided in an embodiment of the present disclosure, the first merging operation is performed on the M vector modular lengths to merge the M vector modular lengths into P vector modular lengths, including: frequency statistics is carried out on the M vector modular lengths so as to determine Q vector modular lengths with different median values in the M vector modular lengths and frequencies corresponding to the Q vector modular lengths respectively, wherein Q is a positive integer smaller than M; sorting the Q vector modular lengths based on the values of the Q vector modular lengths to obtain a first sequence; and carrying out the first merging operation on the Q vector modular lengths in the first sequence based on a first frequency threshold value to obtain the P vector modular lengths.
For example, in the determining method provided in an embodiment of the present disclosure, the first merging operation includes a first sub-merging operation; performing the first merging operation on the Q vector modular lengths in the first sequence, including: and executing the first sub-merging operation at least once on the Q vector modular lengths, and updating the first sequence until the number of vector modular lengths contained in the updated first sequence is not greater than a first number threshold, wherein the P vector modular lengths comprise vector modular lengths contained in the updated first sequence obtained by the last first sub-merging operation.
For example, in the determining method provided in an embodiment of the present disclosure, each time the first sub-merging operation includes: determining a first vector modulo length for frequencies in the first sequence less than the first frequency threshold; determining one vector modular length adjacent to the first vector modular length in the first sequence as a second vector modular length; combining the first vector modular length with the second vector modular length to obtain a combined vector modular length; determining the frequency of the combined vector modulo length based on the frequency of the first vector modulo length and the frequency of the second vector modulo length; deleting the first vector modulo length and the second vector modulo length from the first sequence, and adding the combined vector modulo length to the first sequence to obtain an updated first sequence corresponding to the first sub-combining operation, wherein the updated first sequence corresponding to the first sub-combining operation includes the combined vector modulo length and an uncombined vector modulo length in the first sequence; if the number of vector modular lengths contained in the updated first sequence corresponding to the first sub-merging operation is greater than the first number threshold, executing the next first sub-merging operation based on the updated first sequence corresponding to the first sub-merging operation; and if the number of vector modular lengths contained in the updated first sequence corresponding to the first sub-merging operation is not greater than the first number threshold, taking a plurality of vector modular lengths contained in the updated first sequence corresponding to the first sub-merging operation as the P vector modular lengths.
For example, in the determining method provided in an embodiment of the present disclosure, the merging operation further includes a second merging operation; generating the K first compensation parameters based on the P second luminance vectors, including: obtaining a brightness matrix based on the P second brightness vectors, wherein the brightness matrix comprises M second brightness vectors corresponding to the M sub-pixels respectively; generating M initial compensation parameters based on the brightness matrix; and carrying out the second merging operation on the M initial compensation parameters to generate the K first compensation parameters.
For example, in the determining method provided in an embodiment of the present disclosure, performing the second merging operation on the M initial compensation parameters to generate the K first compensation parameters includes: counting the frequency of the M initial compensation parameters to determine R initial compensation parameters with different values in the M initial compensation parameters and the frequency corresponding to the R initial compensation parameters respectively, wherein R is a positive integer smaller than M; sorting the R initial compensation parameters based on the values of the R initial compensation parameters to obtain a second sequence; performing the second combining operation on the R initial compensation parameters in the second ordering based on a second frequency threshold to obtain the K first compensation parameters; wherein the second merging operation includes a second sub-merging operation; performing the second combining operation on the R initial compensation parameters in the second ordering includes: performing the second sub-combining operation at least once on the R initial compensation parameters and updating the second sequence; the K first compensation parameters include initial compensation parameters included in the updated second sequence obtained by the last second sub-merging operation.
For example, in the determining method provided in an embodiment of the present disclosure, each time the second sub-merging operation includes: determining a first initial compensation parameter for frequencies in the second sequence that are less than the second frequency threshold; determining one initial compensation parameter adjacent to the first initial compensation parameter in the second sequence as a second initial compensation parameter; combining the first initial compensation parameter and the second initial compensation parameter to obtain a combined initial compensation parameter; determining the frequency of the combined initial compensation parameter based on the frequency of the first initial compensation parameter and the frequency of the second initial compensation parameter; deleting the first initial compensation parameter and the second initial compensation parameter from the second sequence, and adding the combined initial compensation parameter to the second sequence to obtain an updated second sequence corresponding to the second sub-combining operation; the updated second sequence corresponding to the second sub-merging operation includes the initial compensation parameters after merging and initial compensation parameters not merged in the second sequence.
For example, in the determining method provided in an embodiment of the present disclosure, the merging operation includes a third merging operation; based on the M first luminance vectors, performing a merging operation to obtain K first compensation parameters for the M sub-pixels, including: obtaining corresponding M initial compensation parameters based on the M first brightness vectors; and carrying out the third merging operation on the M initial compensation parameters to generate the K first compensation parameters.
For example, the determining method provided in an embodiment of the present disclosure further includes: simulating the display panel based on the K first compensation parameters to obtain a simulation result; responding to the simulation result to represent the display panel to present a first display state, adjusting the second frequency threshold, and re-executing the second merging operation based on the adjusted second frequency threshold to obtain a plurality of updated first compensation parameters until the simulation result corresponding to the plurality of updated first compensation parameters represents the display panel to present a second display state; or, responding to the simulation result to represent the display panel to present a first display state, adjusting the first frequency threshold and the second frequency threshold, and re-executing the first merging operation and the second merging operation based on the adjusted first frequency threshold and the adjusted second frequency threshold to obtain updated first compensation parameters until the simulation result corresponding to the updated first compensation parameters represents the display panel to present a second display state.
For example, in a determining method provided in an embodiment of the present disclosure, determining a plurality of second compensation parameters of the display panel based on the K first compensation parameters includes: based on the expected compression multiplying power, partitioning the M sub-pixels to obtain a plurality of sub-pixel blocks; determining a plurality of regional compensation parameters corresponding to the plurality of sub-pixel blocks respectively based on the K first compensation parameters; and obtaining the plurality of second compensation parameters based on the plurality of regional compensation parameters.
For example, in the determining method provided in an embodiment of the present disclosure, determining, based on the K first compensation parameters, a plurality of region compensation parameters corresponding to the plurality of sub-pixel blocks respectively includes: generating a compensation parameter matrix based on the K first compensation parameters, wherein the compensation parameter matrix comprises M first compensation parameters respectively corresponding to the M sub-pixels; and generating the plurality of regional compensation parameters respectively corresponding to the plurality of sub-pixel blocks based on the compensation parameter matrix.
For example, in the determining method provided in an embodiment of the present disclosure, each of the K first compensation parameters corresponds to an index value; determining a plurality of second compensation parameters of the display panel based on the K first compensation parameters, including: based on the expected compression multiplying power, partitioning the M sub-pixels to obtain a plurality of sub-pixel blocks; generating an index matrix based on K index values respectively corresponding to the K first compensation parameters, wherein the index matrix comprises M index values respectively corresponding to the M sub-pixels; generating a plurality of region index values respectively corresponding to the plurality of sub-pixel blocks based on the index matrix; and obtaining the plurality of second compensation parameters based on the plurality of region index values.
For example, in the determining method provided in an embodiment of the present disclosure, the index value corresponding to each sub-pixel is an index value of the compensation parameter corresponding to the sub-pixel.
For example, in the determining method provided in an embodiment of the present disclosure, generating, based on the compensation parameter matrix, a plurality of region compensation parameters respectively corresponding to the plurality of sub-pixel blocks includes: for each sub-pixel block, carrying out weighted average processing on a plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix, and taking a processing result as a region compensation parameter corresponding to the sub-pixel block; or taking the compensation parameter with highest frequency in a plurality of first compensation parameters corresponding to the sub-pixel blocks in the compensation parameter matrix as the regional compensation parameter corresponding to the sub-pixel blocks; or taking the median of the first compensation parameters corresponding to the sub-pixel blocks in the compensation parameter matrix as the region compensation parameter corresponding to the sub-pixel blocks.
At least one embodiment of the present disclosure provides a compensation method for compensating a display panel, where the display panel includes M sub-pixels arranged in an array, including: according to the determining method provided by any embodiment of the disclosure, a plurality of second compensation parameters of the display panel are obtained; generating M target compensation parameters corresponding to the M sub-pixels respectively based on the second compensation parameters; and compensating the M sub-pixels based on the M target compensation parameters.
At least one embodiment of the present disclosure provides a determining device of compensation parameters, which is applied to a display panel, where the display panel includes M sub-pixels arranged in an array, and the device includes an acquisition module, a combining module, and a determining module, where the acquisition module is configured to acquire M first luminance vectors corresponding to the M sub-pixels respectively; the merging module is configured to perform merging operation based on the M first brightness vectors to obtain K first compensation parameters about the M sub-pixels; the determining module is configured to determine a plurality of second compensation parameters of the display panel based on the K first compensation parameters; wherein M is an integer greater than 1, K is an integer less than M, and the number of the plurality of second compensation parameters is less than M.
At least one embodiment of the present disclosure provides an electronic device comprising a processor; a memory storing one or more computer program modules; wherein the one or more computer program modules are configured to be executed by the processor for implementing the method of determining compensation parameters and/or the method of compensating provided by any of the embodiments of the present disclosure.
At least one embodiment of the present disclosure provides a computer-readable storage medium storing non-transitory computer-readable instructions that, when executed by a computer, may implement the method of determining and/or the method of compensating compensation parameters provided by any embodiment of the present disclosure.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below, and it is apparent that the drawings in the following description relate only to some embodiments of the present disclosure, not to limit the present disclosure.
FIG. 1 illustrates a schematic diagram of a display panel provided in accordance with at least one embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method of determining compensation parameters provided by at least one embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a first luminance vector according to at least one embodiment of the present disclosure;
FIG. 4 illustrates a flow chart of step S220 shown in FIG. 2 provided by at least one embodiment of the present disclosure;
FIG. 5 illustrates a statistical plot of vector modulo length and frequency provided by at least one embodiment of the present disclosure;
FIG. 6 illustrates a flow chart of step S224 shown in FIG. 4 provided by at least one embodiment of the present disclosure;
FIG. 7 illustrates a flow chart of step S230 shown in FIG. 2 provided by at least one embodiment of the present disclosure;
FIG. 8 illustrates a flow chart of a compensation method provided by at least one embodiment of the present disclosure;
fig. 9 shows a schematic block diagram of a device for determining compensation parameters provided by at least one embodiment of the present disclosure.
FIG. 10 illustrates a schematic block diagram of an electronic device provided by at least one embodiment of the present disclosure;
FIG. 11 illustrates a schematic block diagram of another electronic device provided by at least one embodiment of the present disclosure; and
fig. 12 shows a schematic diagram of a computer-readable storage medium provided by at least one embodiment of the present disclosure.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present disclosure. It will be apparent that the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments, which can be made by one of ordinary skill in the art without the need for inventive faculty, are within the scope of the present disclosure, based on the described embodiments of the present disclosure.
Unless defined otherwise, technical or scientific terms used in this disclosure should be given the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The terms "first," "second," and the like, as used in this disclosure, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. Likewise, the terms "a," "an," or "the" and similar terms do not denote a limitation of quantity, but rather denote the presence of at least one. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
The compensation method includes external optical compensation, which is a method of sensing optical characteristics of pixels through an external device and then compensating, and internal circuit compensation. For example, a camera is used to take a picture of the display panel to obtain brightness values of each sub-pixel under a plurality of gray scales, and then compensation data is calculated.
The inventor finds that the compensation data for external compensation on a screen such as an OLED display screen often needs to be accurate to a sub-pixel level, and the generated compensation data is usually in a size (screen width is equal to screen height is equal to sub-pixel substitution ratio is equal to compensation data bit width), and the sub-pixel substitution ratio represents the number of sub-pixels contained in one physical pixel, for example, one physical pixel contains two sub-pixels, and the sub-pixel substitution ratio=2:1. The total compensation data can be as high as tens of megabits, and the display driving chip (Display Drive Integrated Circuit) used in the OLED display screen and other screens often cannot support such large data volume.
At least one embodiment of the present disclosure provides a compensation parameter determining method, a compensation parameter determining apparatus, an electronic device, and a computer-readable storage medium. The method for determining the compensation parameters is applied to a display panel, the display panel comprises M sub-pixels which are arranged in an array, and the method for determining the compensation parameters comprises the following steps: obtaining M first brightness vectors corresponding to the M sub-pixels respectively; based on the M first brightness vectors, carrying out merging operation to obtain K first compensation parameters of the M sub-pixels; determining a plurality of second compensation parameters of the display panel based on the K first compensation parameters; wherein M is an integer greater than 1, K is a positive integer less than M, and the number of the plurality of second compensation parameters is less than M.
The method for determining the compensation parameters can utilize merging operation, so that the number of the compensation parameters is reduced to be smaller than the number of the sub-pixels, data compression to a certain extent is realized, and the calculated amount and the storage amount required by compensation are further reduced.
Fig. 1 shows a schematic diagram of a display panel provided in at least one embodiment of the present disclosure.
As shown in fig. 1, the display panel 100 includes M sub-pixels Pxij arranged in an array, M being an integer greater than 1. For example, the display panel 100 includes x rows and y columns of sub-pixels, where m=x×y, i is a positive integer less than x, and i represents the number of rows where the sub-pixels are located; j is a positive integer less than y, j representing the number of columns in which the subpixels are located.
For example, the display panel 100 may be an OLED display panel, QLED (Quantum Dot Light Emitting Diodes) display panel, or the like.
Each pixel unit is composed of a plurality of sub-pixels, for example, each pixel unit includes three sub-pixels, namely, a red (R) sub-pixel, a green (G) sub-pixel and a blue (B) sub-pixel, which emit red light, green light and blue light, respectively. For example, if the three sub-pixels R, G and B in each row are circularly arranged, three consecutive sub-pixels in each row may form a pixel unit, so that the sub-pixels are arranged in RGBRGB in the display panel 100. In the following embodiments, three sub-pixels, each including R, G and B, are taken as an example, but the disclosure is not limited thereto. The above-described arrangement of the sub-pixels and the composition of the pixel unit are merely exemplary, and in practical applications, the pixel unit and the sub-pixels may be arranged in other ways, for example, the pixel unit may further include sub-pixels other than R, G and B, such as a W (white) sub-pixel; for another example, the subpixels may also be arranged in a PenTile (i.e., RGBG) arrangement.
In the following embodiments, the compensation parameters for determining the display panel are described as an example. It should be noted that the method for determining the compensation parameter according to the embodiments of the present disclosure may also be applied to other types of display panels.
Fig. 2 is a flow chart illustrating a method for determining compensation parameters according to at least one embodiment of the present disclosure.
As shown in fig. 2, the determination method may include steps S210 to S230.
Step S210: and obtaining M first brightness vectors corresponding to the M sub-pixels respectively.
Step S220: based on the M first luminance vectors, a merging operation is performed to obtain K first compensation parameters for the M sub-pixels.
Step S230: a plurality of second compensation parameters of the display panel are determined based on the K first compensation parameters.
For example, in step S210, the first luminance vector corresponding to each of the M sub-pixels includes N display luminances of each of the sub-pixels in N gray scales.
For example, all red sub-pixels of the display panel are made to emit light, all red sub-pixels are made to display N gray scales in N time periods respectively, and the camera is used for shooting, so that the display brightness of each red sub-pixel under the N gray scales is obtained, and the display brightness of each green sub-pixel under the N gray scales and the display brightness of each blue sub-pixel under the N gray scales are obtained in the same way.
Fig. 3 is a schematic diagram of a first luminance vector according to at least one embodiment of the present disclosure.
As shown in fig. 3, for each sub-pixel, a first luminance vector Vij, vij= (L1, L2, L3, …, ln) may be formed correspondingly, where L1, L2, L3, …, ln respectively represent N display luminances.
For example, after obtaining M first luminance vectors, in step S220, a merging operation is performed to obtain K first compensation parameters, where K is a positive integer smaller than M, that is, the number of first compensation parameters obtained by the merging operation is smaller than the number of sub-pixels. Each of the K first compensation parameters corresponds to at least one of the M sub-pixels, for example, at least one of the K first compensation parameters may correspond to two or more sub-pixels, i.e., the two or more sub-pixels share the same first compensation parameter.
For example, the merging operation may merge at least two parameters corresponding to at least two sub-pixels of the M sub-pixels into one parameter, so as to obtain an initial compensation parameter for the at least two sub-pixels according to the merged parameters, where the at least two parameters may be different parameters, and the parameters may be parameters related to the compensation parameter, for example, parameters related to brightness (such as a first brightness vector or a brightness parameter calculated based on the first brightness vector), or may be compensation parameters. For example, the first compensation parameter may be calculated according to the first luminance vector, and if the first luminance vectors of the two sub-pixels are combined into the same first luminance vector, one compensation parameter for the two sub-pixels may be calculated based on the same first luminance vector, without calculating the compensation parameter once for each sub-pixel.
For example, the K first compensation parameters are each not equal. For example, the merging operation may merge different parameters, and may merge the same parameters to avoid repeated computation of the same parameters, e.g., if the luminance parameters of two sub-pixels are the same, a first compensation parameter may be computed for the two sub-pixels without repeating computation for the same luminance parameter.
For example, in step S230, a plurality of second compensation parameters may be obtained according to the K first compensation parameters, where the number of the plurality of second compensation parameters is also smaller than M, so as to further implement a certain degree of data compression. The plurality of second compensation parameters can be used as compensation parameters finally determined, and the plurality of second compensation parameters can be stored after being obtained, so that when the display panel is used subsequently, the plurality of second compensation parameters are called to carry out brightness compensation on each sub-pixel.
For example, the number of the plurality of second compensation parameters is for example equal to or smaller than K. For example, in step S220, if the data compression ratio during the merging operation has reached the desired compression ratio, for example, the number of first compensation parameters has been compressed to be less than or equal to the desired number, in step S230, the K first compensation parameters may be directly used as the plurality of second compensation parameters. If the data compression ratio during the merging operation does not reach the expected compression ratio, in step S230, the data compression ratio may be further reduced based on the K first compensation parameters, so as to obtain a smaller number of second compensation parameters.
According to the method for determining the compensation parameters, disclosed by the embodiment of the invention, the number of the compensation parameters is reduced to be smaller than the number of the sub-pixels by utilizing the merging operation, so that a certain degree of data compression is realized, the calculated amount and the storage amount required by brightness compensation are further reduced, the compensation time is shortened, and the cost is saved.
For example, in some embodiments, the parameters combined by the combining operation may include parameters related to luminance, i.e., parameters capable of reflecting differences in luminance of the sub-pixels, e.g., luminance parameters calculated based on the first luminance vector, e.g., the modulo length of the first luminance vector.
Fig. 4 shows a flowchart of step S220 provided by at least one embodiment of the present disclosure.
For example, the merging operation includes a first merging operation, and as shown in fig. 4, step S220 may include steps S221 to S224.
Step S221: based on the M first luminance vectors, M vector modular lengths are calculated.
Step S222: the first merging operation is performed on the M vector modular lengths to merge the M vector modular lengths into P vector modular lengths.
Step S223: based on the P vector modulo lengths, P second luminance vectors are determined.
Step S224: the K first compensation parameters are generated based on the P second luminance vectors.
For example, each of the P second luminance vectors corresponds to at least one of the M sub-pixels, and P is a positive integer less than M.
For example, the values of the P vector modulo lengths obtained by the combination may be each unequal. The P vector modular lengths may include a partial vector modular length of the M vector modular lengths, and may also include a new vector modular length generated based on at least a partial vector modular length of the M vector modular lengths.
For example, there may be equal vector modulo lengths in the M vector modulo lengths, and the equal vector modulo lengths in the M vector modulo lengths may be combined to obtain a plurality of unequal vector modulo lengths, for example, the sub-pixel Px11 corresponds to the luminance vector V11, the sub-pixel Px12 corresponds to the luminance vector V12, and if the vector modulo length d11 of V11 is equal to the vector modulo length d12 of V12, the two vector modulo lengths are combined into one vector modulo length, and the combined vector modulo lengths correspond to the sub-pixels Px11 and Px12.
For example, some of the M vector modulo lengths may also be combined to form a new vector modulo length, e.g., two or more different vector modulo lengths may be combined to form a new vector modulo length. For example, the sub-pixel Px13 corresponds to the luminance vector V13, the sub-pixel Px14 corresponds to the luminance vector V14, the modulo length d13 of V13 is not equal to the modulo length d14 of V14, and the vector modulo length d13 and the vector modulo length d14 may be combined into a new vector modulo length, which corresponds to the sub-pixel Px13 and the sub-pixel Px14.
For example, the step S222 may include: carrying out frequency statistics on the M vector modular lengths to determine Q vector modular lengths with different values in the M vector modular lengths and frequencies corresponding to the Q vector modular lengths respectively, wherein Q is a positive integer smaller than M; sorting the Q vector modular lengths based on the values of the Q vector modular lengths to obtain a first sequence; and based on a first frequency threshold, performing the first merging operation on the Q vector modulo long in the first sequence to obtain the P vector modulo long. In the embodiment of the disclosure, through the first merging operation, the luminance vector can be classified and compressed according to the Mura characteristics of the display panel, so that more compensation details can be reserved.
Fig. 5 shows a statistical plot of vector modulo length d and frequency f provided by at least one embodiment of the present disclosure.
As shown in fig. 5, for example, M vector modular lengths d11 to dxy may be equal, and Q vector modular lengths each having an unequal value are obtained from the M vector modular lengths, and are denoted by dv1 to dvq for distinguishing from the d11 to dxy. Vector modulo lengths having the same value may be referred to as a class, and the Q vector modulo lengths may be understood as being obtained by homogeneous combination of M vector modulo lengths, for example, if the vector modulo length d11 (for example, corresponding to the subpixel Px 11) and the vector modulo length d12 (for example, corresponding to the subpixel Px 12) are equal, d11 and d12 may be combined into one vector modulo length, for example, into a vector modulo length dv1, the value of the vector modulo length dv1 is equal to d11 and d12, and the vector modulo length dv1 corresponds to two subpixels (for example, px11 and Px 12). Each of the Q vector modulo lengths may correspond to one or more sub-pixels, and the number of sub-pixels corresponding to each vector modulo length is the frequency of the vector modulo length, for example, the vector modulo length dv1 corresponds to two sub-pixels, and the frequency of the vector modulo length dv1 is 2. In this way, Q vector modulo lengths each having an unequal value and the frequency of each vector modulo length can be obtained.
For example, the Q vector modular lengths may be ordered by magnitude, as shown in fig. 5, and sequentially ordered from small to large to obtain a first sequence, and for convenience of description, embodiments of the present disclosure will be described with the sequentially increasing magnitude of dv 1-dvq, so that the first sequence is [ dv1, dv2, …, dvq ]. The first merging operation is described in detail below in conjunction with the statistical diagram of vector modulo length and frequency shown in fig. 5.
For example, the first merging operation may include at least one first sub-merging operation, and each of the first sub-merging operations may include: combining at least one vector modular length smaller than the first frequency threshold value with at least one adjacent vector modular length in a first sequence to form at least one combined vector modular length, and updating the first sequence to obtain an updated first sequence, wherein the updated first sequence comprises the at least one combined vector modular length and an uncombined vector modular length in the first sequence; the P vector modular lengths include vector modular lengths included in an updated first sequence obtained by a last first sub-merging operation in the first merging operation.
For example, in each first sub-combining operation, a first vector modulo length of the first sequence having a frequency less than a first frequency threshold is determined (e.g., all vector modulo lengths having a frequency less than the first frequency threshold may be determined); determining one vector modular length adjacent to the first vector modular length in the first sequence as a second vector modular length; combining the first vector modular length with the second vector modular length to obtain a combined vector modular length; determining the frequency of the combined vector mode length based on the frequency of the first vector mode length and the frequency of the second vector mode length; deleting the first vector modular length and the second vector modular length from the first sequence, and adding the combined vector modular length to the first sequence to obtain an updated first sequence corresponding to the first sub-combining operation. If the first sub-merging operation is the first sub-merging operation, the updated first sequence corresponding to the first sub-merging operation comprises the initial compensation parameters after merging obtained in the first sub-merging operation and the initial compensation parameters which are not merged in the first sequence; if the second sub-merging operation is not the first sub-merging operation, the updated first sequence corresponding to the second sub-merging operation includes the initial compensation parameters after merging obtained in the second sub-merging operation and the initial compensation parameters after updating corresponding to the last first sub-merging operation, which are not merged in the second sub-merging operation. Then, the next first sub-merging operation may be performed based on the updated first sequence, and the vector modular length included in the updated first sequence obtained by the last first sub-merging operation is taken as P vector modular lengths.
For example, in each first sub-merging operation, vector modulo lengths of the first sequence having a frequency less than a first frequency threshold are merged to adjacent vector modulo lengths. In one example, in the first sub-combining operation, the first sequence is [ dv1, dv2, …, dvq ] and at least one vector modulo length with a frequency smaller than the first frequency threshold is determined from the first sequence, for example, if the first frequency threshold is 3 and the frequency of the vector modulo length dv1 is 2, the frequency of the vector modulo length dv1 is smaller than the first frequency threshold. Then, determining a vector modulo length adjacent to the vector modulo length in the first sequence, and combining the vector modulo length with the adjacent vector modulo length to obtain the combined vector modulo length. For example, vector modulo length dv1 is adjacent to vector modulo length dv2, and vector modulo length dv1 is combined with vector modulo length dv2 to obtain a new vector modulo length dv (12) (i.e., vector modulo length after combination). The new value of the vector modulo length may be calculated according to the combined value and frequency of the vector modulo length dv1, for example, if the value of the vector modulo length dv1 is 9 and the frequency is 2, the value of the vector modulo length dv2 is 10 and the frequency is 3, the value of the new vector modulo length dv (12) may be (9×2+10×3)/(2+3) =9.6. In other embodiments, the new vector modulo length dv (12) may also take the value of the next larger vector modulo length of the combined vector modulo lengths dv1 and dv 2. The frequency of the new vector modulo length dv (12) may be calculated, and the frequency of the vector modulo length dv (12) may be, for example, the sum of the frequencies of the vector modulo lengths dv1 and dv2 to be combined, that is, the frequency is 5. The combined vector models dv1 and dv2 are then deleted from the first sequence [ dv1, dv2, …, dvq ], and a new vector model length dv is added to the first sequence (12). In this way, all the vector modular lengths that were combined in the first sub-combining operation are deleted and all new vector modular lengths are added, resulting in an updated first sequence, i.e. the new vector modular lengths that were combined and the vector modular lengths that were not combined are combined to form the updated first sequence, in which all vector modular lengths are also ordered according to the numerical size.
For example, in the next first sub-merging operation, the updated first sequence obtained by the last first sub-merging operation is merged to obtain a updated first sequence again, and so on until the updated first sequence obtained by the last first sub-merging operation is obtained, and the vector modular length included in the updated first sequence obtained by the last first sub-merging operation is taken as the P vector modular lengths.
For example, in each first sub-combining operation, it may be determined that all vector modulo lengths with frequencies less than the first frequency threshold are combined, or only a portion of vector modulo lengths with frequencies less than the first frequency threshold may be combined.
For example, in some embodiments, if a certain vector modulo length smaller than the first frequency threshold has two adjacent vector modulo lengths, it may be first determined whether the frequencies of the two adjacent vector modulo lengths are both greater than or equal to the first frequency threshold, and if only one of the two adjacent vector modulo lengths has a frequency greater than or equal to the first frequency threshold, the vector modulo length with the frequency greater than or equal to the first frequency threshold and the vector modulo length with the frequency less than the first frequency threshold are combined. If the frequencies of the two adjacent vector modular lengths are larger than or equal to the first frequency threshold, selecting the vector modular length with larger frequency and the vector modular length with smaller frequency than the first frequency threshold for merging.
For example, in each first sub-merging operation, the vector modulo length with smaller frequency is merged to the vector modulo length adjacent to the vector modulo length, so that the number of vector modulo lengths is reduced, and the data amount in the process of calculating the compensation parameter can be reduced. In addition, since the vector modulo length can reflect the luminance of the sub-pixels, the sub-pixels with similar luminance can be regarded as a group, the compensation parameters can be calculated once for the group of sub-pixels, the compensation parameters of the sub-pixels with similar luminance are similar, and therefore, the difference between the compensation parameters calculated for the group of sub-pixels and the compensation parameters calculated for each sub-pixel is small, and therefore, based on this, the error due to the merging operation can be reduced.
For example, the number of times of execution of the first sub-merging operation may be determined according to actual conditions, or whether to end the first sub-merging operation may be determined as follows. For example, the first sub-merging operation is performed at least once on the Q vector modular lengths and the first sequence is updated until the number of vector modular lengths contained in the updated first sequence is not greater than a first number threshold. That is, until the number of vector modulo lengths is equal to or less than the first number threshold, the first sub-merging operation may be ended, that is, the first merging operation may be ended. The vector modular length included in the updated first sequence obtained by the last first sub-merging operation may be used as P vector modular lengths. In this way, the number of vector modulo lengths can be reduced to the desired number to achieve the desired compression ratio.
For example, the first number threshold may be expressed as max=para_bit_per_ subpixel compress _ratio. Wherein, para_bit_per_sub_pixel represents the total bit width of the compensation parameter of each sub-pixel, for example, the number of gray scales is N, the compensation parameter of each gray scale is 8 bits, and the total bit width of the compensation parameter of the sub-pixel is 8N. The compression_ratio indicates an expected compression ratio, and max=8n/8=n if the compression_ratio=8.
For example, after the updated first sequence corresponding to the first sub-merging operation is obtained in each first sub-merging operation, it may be determined whether the number of vector modular lengths included in the updated first sequence corresponding to the first sub-merging operation is greater than the first number threshold, and if the number of vector modular lengths included in the updated first sequence corresponding to the first sub-merging operation is greater than the first number threshold, the next first sub-merging operation is executed based on the updated first sequence corresponding to the first sub-merging operation; and if the number of vector modular lengths contained in the updated first sequence corresponding to the first sub-merging operation is not greater than the first number threshold, taking a plurality of vector modular lengths contained in the updated first sequence corresponding to the first sub-merging operation as the P vector modular lengths.
For example, in a certain first sub-merging operation, if the values of all vector modulo lengths are equal to or greater than the first frequency threshold, the value of the first frequency threshold may be increased by a predetermined increment (the increment may be empirically set) based on the current value, so as to continue to perform the subsequent first sub-merging operation based on the increased first frequency threshold.
For example, in step S222, P vector modulo lengths are obtained, and the correspondence of each vector modulo length to a subpixel is obtained. In step S223, corresponding P second luminance vectors may be obtained based on the P vector modulo lengths, and a correspondence between each second luminance vector and a sub-pixel may be obtained. For example, a correspondence table of vector modular lengths and luminance vectors may be pre-stored in the memory, and for each of the P vector modular lengths, the same or similar vector modular lengths are found from the correspondence table, and then the corresponding luminance vectors are obtained and used as the corresponding second luminance vectors. After obtaining the P second luminance vectors, step S224 may be performed to obtain K first compensation parameters. It should be noted that, the number of vector modular lengths in the correspondence table is limited, and each vector modular length in the P vector modular lengths may be rounded to correspond to the nearest vector modular length in the correspondence table.
For example, in some embodiments, the combining operation further includes a second combining operation, and after calculating the plurality of initial compensation parameters according to the P second luminance vectors, the second combining operation may be performed on the plurality of initial compensation parameters to reduce the number of compensation parameters.
Fig. 6 illustrates a flow chart of step S224 provided by at least one embodiment of the present disclosure.
As shown in fig. 6, step S224 may include steps S2241 to S2243.
Step S2241: and obtaining a brightness matrix based on the P second brightness vectors. For example, the luminance matrix includes M second luminance vectors corresponding to the M sub-pixels respectively.
Step S2242: based on the luminance matrix, M initial compensation parameters are generated.
Step S2243: the second combining operation is performed on the M initial compensation parameters to generate the K first compensation parameters.
For example, in step S2241, the P second luminance vectors are [ Vs1, vs2, vs3, …, vsp ], for example, and the correspondence between the P second luminance vectors and the M sub-pixels can be obtained according to the above steps. The M second luminance vectors in the luminance matrix may be arranged in an array manner of M sub-pixels shown in fig. 1, that is, the elements of the luminance matrix correspond to the sub-pixels shown in fig. 1 one by one, and the luminance matrix is, for example, as follows:
Figure BDA0003984065300000151
For example, if the first 4 subpixels in the first row shown in fig. 1 are Px11, px12, px13, and Px14, respectively, and the first 4 elements in the first row of the luminance matrix are Ve11, ve12, ve13, and Ve14, respectively, ve11, ve12, ve13, and Ve14 are second luminance vectors corresponding to Px11, px12, px13, and Px14, respectively. For example, if Vs1 in the P second luminance vectors corresponds to the sub-pixels Px11, px12, px13, and Px14, ve11, ve12, ve13, and Ve14 are each equal to Vs1.
For example, in step S2242, corresponding M initial compensation parameters are calculated according to M second luminance vectors in the luminance matrix. For the elements with the same value in the brightness matrix, the initial compensation parameters obtained by calculation can be calculated only once and shared, and repeated calculation is not needed, so that the calculated amount of the compensation process is reduced.
For example, the compensation parameter according to the luminance vector according to the embodiments of the present disclosure may be calculated according to the expected luminance of the sub-pixel under N gray scales and the luminance value included in the luminance vector, where the compensation parameter is used to make the display luminance of the sub-pixel reach or approach to the expected luminance. For example, at a certain gray level, the expected luminance of the sub-pixel is 150, and the luminance value corresponding to the gray level in the luminance vector is 100, the compensation parameter can be adjusted, so that the luminance of the sub-pixel at the gray level is increased by 50.
For example, in step S2243, a second combining operation may be performed on the M initial compensation parameters to combine the M initial compensation parameters into K first compensation parameters.
For example, step S2243 may include: counting the frequency of the M initial compensation parameters to determine R initial compensation parameters with different values in the M initial compensation parameters and the frequency corresponding to the R initial compensation parameters respectively, wherein R is a positive integer smaller than M; sorting the R initial compensation parameters based on the values of the R initial compensation parameters to obtain a second sequence; and based on a second frequency threshold, performing the second merging operation on the R initial compensation parameters in the second order to obtain the K first compensation parameters. Wherein the second merging operation includes at least one second sub-merging operation, and performing the second merging operation on the R initial compensation parameters in the second ordering includes: at least one second sub-combining operation is performed on the R initial compensation parameters and the second sequence is updated.
For example, each second sub-merging operation may include: combining at least one initial compensation parameter smaller than the second frequency threshold value in the second sequence with at least one adjacent initial compensation parameter to form at least one combined initial compensation parameter, and updating the second sequence to obtain an updated second sequence, wherein the updated second sequence comprises the at least one combined initial compensation parameter and initial compensation parameters which are not combined in the second sequence. The K first compensation parameters include initial compensation parameters included in the updated second sequence obtained by the last second sub-combining operation in the second combining operation.
For example, each second sub-merging operation may include: determining a first initial compensation parameter for frequencies in the second sequence that are less than the second frequency threshold; determining an initial compensation parameter adjacent to the first initial compensation parameter in the second sequence as a second initial compensation parameter; combining the first initial compensation parameter and the second initial compensation parameter to obtain a combined initial compensation parameter; determining the frequency of the combined initial compensation parameter based on the frequency of the first initial compensation parameter and the frequency of the second initial compensation parameter; deleting the first initial compensation parameter and the second initial compensation parameter from the second sequence, and adding the combined initial compensation parameter to the second sequence to obtain an updated second sequence corresponding to the second sub-combining operation.
For example, if the second sub-merging operation is the first second sub-merging operation, the updated second sequence corresponding to the second sub-merging operation includes the initial compensation parameters after merging obtained in the second sub-merging operation and the initial compensation parameters not merged in the second sequence; if the second sub-merging operation is not the first second sub-merging operation, the updated second sequence corresponding to the second sub-merging operation includes the initial compensation parameters after merging obtained in the second sub-merging operation and the initial compensation parameters not merged in the updated second sequence corresponding to the last second sub-merging operation.
For example, the process of performing the second combining operation on the M initial compensation parameters may refer to the process of performing the first combining operation on the M vector modulo lengths, which is not described herein.
For example, the number of times of execution of the second sub-combining operation may be determined according to actual conditions, or whether to end the second sub-combining operation may be determined based on the expected compression ratio as well.
For example, in other embodiments, in step S224, corresponding P initial compensation parameters may be obtained according to the P second luminance vectors, and the second merging operation is directly performed on the basis of the P initial compensation parameters, so as to reduce the P initial compensation parameters to K first compensation parameters (P > K).
For example, the above-described embodiment describes a procedure of performing the first combining operation and the second combining operation, that is, the combining operation is performed on both the luminance parameter and the compensation parameter. In other embodiments, it is also possible to perform the merging operation only on the luminance parameter and not on the compensation parameter, i.e. to perform only the first merging operation and not the second merging operation. For example, after obtaining P second luminance vectors according to step S223, calculating corresponding P initial compensation parameters according to the P second luminance vectors, the P initial compensation parameters may be directly used as K first compensation parameters (p=k). For example, in other embodiments, only the compensation parameter may be combined, and the luminance parameter may not be combined, which will be described below.
For example, the merging operation includes a third merging operation, and step S220 may include: obtaining corresponding M initial compensation parameters based on the M first brightness vectors; and performing the third merging operation on the M initial compensation parameters to generate the K first compensation parameters.
For example, the third combining operation is a combining operation performed on the compensation parameters, and in this embodiment, the corresponding M initial compensation parameters may be calculated directly based on the M first luminance vectors obtained in step S210. A third combining operation is performed in step S220 to combine the M initial compensation parameters into K first compensation parameters. The process of performing the third combining operation on the M initial compensation parameters may refer to the above process of performing the second combining operation on the M initial compensation parameters, which is not described herein.
For example, in some embodiments, the method of determining embodiments of the present disclosure may further include: based on the K first compensation parameters, simulating the display panel to obtain a simulation result; and responding to the simulation result to represent the display panel to represent the first display state, adjusting a second frequency threshold, and re-executing a second merging operation based on the adjusted second frequency threshold to obtain a plurality of updated first compensation parameters until the simulation result corresponding to the plurality of updated first compensation parameters represents the display panel to represent the second display state.
For example, when the display panel assumes the first display state, it may be considered that the display panel exhibits abnormal display, for example, bright spots, dark spots, or the like. The display effect of the display panel may be considered normal when the display panel assumes the second display state, for example, the display panel has no bright spots, no dark spots, or the like. The abnormal display of the display panel indicates that the display effect of the display panel does not reach the state expected by the user, and the normal display effect of the display panel indicates that the display effect of the display panel reaches the state expected by the user. The state that the user desires to reach may be set by the user according to the actual situation, which is not limited.
For example, adjusting the second frequency threshold may include decreasing the second frequency threshold. After obtaining K first compensation parameters, performing simulation by using the K first compensation parameters to determine whether the K first compensation parameters obtained by the merging operation cause abnormal display, for example, judging whether a bright spot, a dark spot and the like appear on the display panel, and if the abnormal situation appears, indicating that the K first compensation parameters cause overcompensation or insufficient compensation of the display panel. In this case, if the above-described second combining operation is performed before, the second combining operation may be retracted, the value of the second frequency threshold may be reduced, and the second combining operation may be performed again based on the reduced second frequency threshold, to retrieve the plurality of first compensation parameters. And simulating again based on the plurality of first compensation parameters to judge whether the plurality of first compensation parameters still cause abnormal display, if so, reducing the second frequency threshold again and executing the second merging operation again until the updated plurality of first compensation parameters enable the display panel to display normally.
For example, in other embodiments, the method for determining embodiments of the present disclosure may further include: based on the K first compensation parameters, simulating the display panel to obtain a simulation result; and responding to the simulation result to represent the display panel to present the first display state, adjusting the first frequency threshold and the second frequency threshold, and re-executing the first merging operation and the second merging operation based on the adjusted first frequency threshold and the adjusted second frequency threshold to obtain a plurality of updated first compensation parameters until the simulation result corresponding to the plurality of updated first compensation parameters represents the display panel to present the second display state.
For example, if the K first compensation parameters cause abnormal display, the second merging operation and the first merging operation may be retracted, the value of the first frequency threshold and the value of the second frequency threshold are reduced, and the first merging operation and the second merging operation are re-executed based on the reduced first frequency threshold and the reduced second frequency threshold until the updated plurality of first compensation parameters enable the display panel to display normally.
For example, in the case of an abnormality in the display panel, the merging operation is performed again based on the reduced frequency threshold (the second frequency threshold and/or the first frequency threshold), so that the merged data is reduced, and more original data is retained.
For example, in some embodiments, after the merging operation, it may be determined whether the data compression ratio after the merging operation reaches the intended compression ratio. In the case where the data compression ratio is not smaller than the intended compression ratio, the K first compensation parameters may be directly used as the plurality of second compensation parameters. Under the condition that the data compression multiplying power is smaller than the expected compression multiplying power, the K first compensation parameters can be further compressed to obtain a plurality of second compensation parameters.
Fig. 7 shows a flowchart of step S230 provided by at least one embodiment of the present disclosure.
As shown in fig. 7, for example, step S230 may include steps S231 to S233.
Step S231: and dividing the M sub-pixels into blocks based on the expected compression multiplying power to obtain a plurality of sub-pixel blocks.
Step S232: and determining a plurality of regional compensation parameters corresponding to the plurality of sub-pixel blocks respectively based on the K first compensation parameters.
Step S233: the plurality of second compensation parameters are obtained based on the plurality of regional compensation parameters.
For example, if the expected compression ratio is N times and the data compression ratio through the merging operation is S times, it is necessary to recompress N/S times, and sub-pixels may be blocked based on the N/S. For example, the expected compression ratio is 8 times, and the data compression ratio after the merging operation is 2 times (for example, k=m/2), and then 4 times of compression is required to achieve the expected compression ratio, in which case, each 4 sub-pixels may be divided into a sub-pixel block, as shown in fig. 1, for example, 2×2 sub-pixels adjacent to each other in the lateral direction and the longitudinal direction are used as a sub-pixel block B, or 1*4 sub-pixels adjacent to each other in the lateral direction or the longitudinal direction are used as a sub-pixel block.
For example, step S232 may include: generating a compensation parameter matrix based on the K first compensation parameters, wherein the compensation parameter matrix comprises M first compensation parameters respectively corresponding to the M sub-pixels; and generating a plurality of regional compensation parameters respectively corresponding to the plurality of sub-pixel blocks based on the compensation parameter matrix.
For example, the K first compensation parameters are [ C1, C2, C3, …, ck ], and according to the foregoing steps, the correspondence between the K first compensation parameters and the M sub-pixels can be obtained. The M first compensation parameters in the compensation parameter matrix may be arranged in an array manner of M sub-pixels shown in fig. 1, that is, the elements of the compensation parameter matrix correspond to the sub-pixels shown in fig. 1 one by one, and the compensation parameter matrix is for example as follows:
Figure BDA0003984065300000201
for example, if the first 4 sub-pixels in the first row shown in fig. 1 are Px11, px12, px13, and Px14, respectively, and the first 4 elements in the first row of the compensation parameter matrix are Ce11, ce12, ce13, and Ce14, respectively, then Ce11, ce12, ce13, and Ce14 are the first compensation parameters corresponding to Px11, px12, px13, and Px14, respectively. For example, if C1 in the K first compensation parameters corresponds to the sub-pixels Px11, px12, px13, and Px14, ce11, ce12, ce13, and Ce14 are all equal to C1.
For example, in some embodiments, for each of the sub-pixel blocks, a weighted average process may be performed on a plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix, and the processing result is used as a regional compensation parameter corresponding to the sub-pixel block. For example, as shown in fig. 1, the first two sub-pixels Px11 and Px12 in the first row and the first two sub-pixels Px21 and Px22 in the second row form a sub-pixel block, then the first two elements Ce11 and Ce12 in the first row and the first two elements Ce21 and Ce22 in the second row are searched for from the compensation parameter matrix, and then the Ce11, ce12, ce21 and Ce22 are weighted and averaged, and the result of the weighted and averaged result can be used as the regional compensation parameter corresponding to the sub-pixel block.
For example, in other embodiments, for each of the sub-pixel blocks, a compensation parameter with the highest frequency among the plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix is taken as a regional compensation parameter corresponding to the sub-pixel block. For example, along the example, for the sub-pixel block composed of Px11, px12, px21, and Px22, one compensation parameter with the highest frequency among Ce11, ce12, ce21, and Ce22 may be used as the region compensation parameter corresponding to the sub-pixel block. If there are two or more first compensation parameters with highest parallel frequency among the plurality of first compensation parameters, for example, the frequencies of Ce11, ce12, ce21 and Ce22 are respectively 3, 1, 3, 2, and the parallel frequencies of Ce11 and Ce21 are highest. For this case, in one example, one may be randomly selected from the two or more first compensation parameters juxtaposed as the regional compensation parameter; in another example, the region compensation parameter may be determined in other manners, such as the weighted average manner described above or the median manner described below.
For example, in other embodiments, for each of the sub-pixel blocks, a median of a plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix is taken as the region compensation parameter corresponding to the sub-pixel block. For example, along with the above example, for the sub-pixel block composed of Px11, px12, px21, and Px22 described above, the median compensation parameter of Ce11, ce12, ce21, and Ce22 may be taken as the region compensation parameter corresponding to the sub-pixel block. If the plurality of first compensation parameters are arranged according to the values, two values are located at the middle position, and then an average value of the two middle values can be taken as the regional compensation parameter. For example, if the values of Ce11, ce12, ce21, and Ce22 are 1, 2, 3, and 4, respectively, the average value of 2 and 3, 2.5, can be used as the region compensation parameter.
For example, each sub-pixel in each sub-pixel block shares a region compensation parameter, i.e., the region compensation parameter of each sub-pixel block corresponds to a plurality of sub-pixels contained in the sub-pixel block. After obtaining the regional compensation parameters corresponding to each sub-pixel block, in step S233, a plurality of regional compensation parameters with different values may be extracted from the regional compensation parameters of all sub-pixel blocks as a plurality of second compensation parameters. And, a sub-pixel corresponding to each second compensation parameter can be obtained.
For example, an index table may be pre-stored, and the index table may include correspondence between a plurality of index values and a plurality of second compensation parameters. After obtaining the plurality of second compensation parameters, the index table can be searched to obtain a plurality of corresponding index values and sub-pixels corresponding to each index value. And storing the plurality of index values and the corresponding relation between the plurality of index values and the M sub-pixels so as to later call the stored plurality of index values and the corresponding relation between the plurality of index values and the M sub-pixels and carry out compensation operation on the display panel. For example, the multiple index values, the corresponding relations between the multiple index values and the M sub-pixels, and the index table may be combined to generate a code stream, which is burned into a driving chip of the display panel, and the display panel may call the code stream after being turned on.
For example, in other embodiments, each of the K first compensation parameters may have a corresponding index value, for example, after obtaining the K first compensation parameters, the index table may be first searched according to the K first compensation parameters, so as to obtain the corresponding K index values. Step S232 may include: based on the expected compression multiplying power, partitioning the M sub-pixels to obtain a plurality of sub-pixel blocks; generating an index matrix based on K index values respectively corresponding to the K first compensation parameters; generating a plurality of region index values respectively corresponding to the plurality of sub-pixel blocks based on the index matrix; and obtaining the plurality of second compensation parameters based on the plurality of region index values. For example, the index matrix includes M index values corresponding to the M sub-pixels, respectively, for example, the index value corresponding to each sub-pixel is the index value of the compensation parameter corresponding to the sub-pixel.
For example, according to the corresponding relation between the K first compensation parameters and the M sub-pixels, the corresponding relation between the K index values and the M sub-pixels can be obtained, and according to the corresponding relation between the K index values and the M sub-pixels, an index matrix is formed. For example, the M index values in the index matrix may be arranged in an array manner of M sub-pixels shown in fig. 1, that is, the elements of the index matrix correspond to the sub-pixels shown in fig. 1 one by one, where the index matrix is as follows:
Figure BDA0003984065300000221
for example, if the first 4 subpixels in the first row shown in fig. 1 are Px11, px12, px13, and Px14, respectively, and the first 4 elements in the first row of the index matrix are Id11, id12, id13, and Id14, respectively, id11, id12, id13, and Id14 are index values corresponding to Px11, px12, px13, and Px14, respectively. For example, the K index values are, for example, [ I1, I2, I3, …, ik ], where if I1 corresponds to the sub-pixels Px11, px12, px13, and Px14, id11, id12, id13, and Id14 are all equal to I1.
For example, the operation of partitioning M sub-pixels may be referred to the above related description, and will not be described herein. After obtaining the sub-pixel blocks, a corresponding region index value may be calculated for each sub-pixel block. For example, for each sub-pixel block, a weighted average process may be performed on a plurality of index values corresponding to the sub-pixel block in the index matrix, and the processing result may be used as the region index value corresponding to the sub-pixel block. Alternatively, for each sub-pixel block, the index value next highest among the plurality of index values corresponding to the sub-pixel block in the index matrix may be taken as the region index value corresponding to the sub-pixel block. Alternatively, for each sub-pixel block, the median of the index values corresponding to the sub-pixel block in the index matrix may be taken as the region index value corresponding to the sub-pixel block.
For example, each sub-pixel in each sub-pixel block shares a region index value, i.e., the region index value of each sub-pixel block corresponds to a plurality of sub-pixels contained in the sub-pixel block. After obtaining the region index value corresponding to each sub-pixel block, in step S233, a plurality of region index values with different values may be extracted from the region index values of all the sub-pixel blocks, and a plurality of compensation parameters respectively corresponding to the plurality of region index values with different values may be obtained as a plurality of second compensation parameters by searching the index table.
For example, a plurality of index values with different values and the corresponding relation between each index value and the sub-pixel can be stored, so that the stored plurality of index values and the corresponding relation between the index values and the M sub-pixels can be called later to perform compensation operation on the display panel.
According to the method for determining the compensation parameters, the brightness of each sub-pixel of the display panel under the sampling gray level can be formed into the multi-dimensional vector, and the multi-dimensional vector is classified according to a certain compression ratio, so that a certain degree of data compression is achieved.
According to the method for determining the compensation parameters in the embodiment of the disclosure, after the brightness is classified, the compensation values of the sub-pixels under different gray scales can be further classified, and the classified index values are used for replacing the compensation values of the sub-pixels to perform further data compression.
According to the method for determining the compensation parameters, the compensation data can be compressed under the condition that the compensation effect is ensured.
The embodiment of the disclosure also provides a compensation method for compensating the display panel.
Fig. 8 illustrates a flow chart of a compensation method provided by at least one embodiment of the present disclosure.
As shown in fig. 8, the compensation method includes steps S310 to S330.
Step S310: and obtaining a plurality of second compensation parameters of the display panel according to the determination method of the compensation parameters.
Step S320: and generating M target compensation parameters corresponding to the M sub-pixels respectively based on the second compensation parameters.
Step S330: and compensating the M sub-pixels based on the M target compensation parameters.
For example, in step S310, the method for determining the compensation parameter may refer to the description of any one of the above embodiments, which is not described herein. For example, the method for determining the compensation parameters stores a plurality of index values and their corresponding relations with the M sub-pixels in the display driving chip, and when the method is executed, the plurality of index values are called, and the corresponding plurality of compensation parameters are obtained by searching the index table as a plurality of second compensation parameters.
For example, in step S320, the correspondence between the M sub-pixels and the plurality of second compensation parameters may be obtained according to the correspondence between the plurality of index values and the M sub-pixels. For each sub-pixel, its corresponding second compensation parameter may be determined as the target compensation parameter.
For example, in step S330, the corresponding sub-pixels may be compensated according to the target compensation parameter corresponding to each sub-pixel, so that the display brightness of each sub-pixel reaches or approximates the expected brightness.
The embodiment of the disclosure also provides a device for determining the compensation parameters, which is applied to a display panel, wherein the display panel comprises M sub-pixels arranged in an array.
Fig. 9 shows a schematic block diagram of a compensation parameter determination apparatus 400 provided by at least one embodiment of the present disclosure.
For example, as shown in fig. 9, the determining apparatus 400 includes an acquisition module 410, a combining module 420, and a determining module 430. These components are interconnected by a bus system and/or other forms of connection mechanisms (not shown). For example, these modules may be implemented by hardware (e.g., circuit) modules, software modules, or any combination of the two, and the like, and the following embodiments are the same and will not be repeated. For example, these elements may be implemented by a Central Processing Unit (CPU), an image processor (GPU), a Tensor Processor (TPU), a Field Programmable Gate Array (FPGA), or other form of processing unit having data processing and/or instruction execution capabilities, and corresponding computer instructions. It should be noted that the components and structures of the determining apparatus 400 shown in fig. 9 are merely exemplary and not limiting, and that the determining apparatus 400 may have other components and structures as desired.
The obtaining unit 410 is configured to obtain M first luminance vectors corresponding to the M sub-pixels respectively. The acquisition unit 410 may perform, for example, step S210 described in fig. 2.
The combining module 420 is configured to perform a combining operation based on the M first luminance vectors to obtain K first compensation parameters for the M sub-pixels. The combining module 420 may perform, for example, step S220 described in fig. 2.
The determining module 430 is configured to determine a plurality of second compensation parameters of the display panel based on the K first compensation parameters. The determination module 430 may perform, for example, step S230 described in fig. 2.
For example, M is an integer greater than 1, K is an integer less than M, and the number of the plurality of second compensation parameters is less than M.
For example, the acquisition module 410, the merge module 420, and the determination module 430 may be hardware, software, firmware, and any feasible combination thereof. For example, the acquisition module 410, the combining module 420, and the determining module 430 may be dedicated or general-purpose circuits, chips, devices, or the like, or may be a combination of a processor and a memory. With respect to the specific implementation forms of the respective units described above, the embodiments of the present disclosure are not limited thereto.
For example, the acquisition module 410, the merge module 420, and the determination module 430 may include code and programs stored in memory; the processor may execute the code and programs to implement some or all of the functions of the image acquisition module 410, the merge module 420, and the determination module 430 as described above. For example, the acquisition module 410, the merge module 420, and the determination module 430 may be dedicated hardware devices for performing some or all of the functions of the acquisition module 410, the merge module 420, and the determination module 430 as described above. For example, the acquisition module 410, the combining module 420, and the determination module 430 may be one circuit board or a combination of circuit boards for implementing the functions described above. In an embodiment of the present disclosure, the circuit board or the combination of circuit boards may include: (1) one or more processors; (2) One or more non-transitory memories coupled to the processor; and (3) firmware stored in the memory that is executable by the processor.
It should be noted that, in the embodiment of the present disclosure, each unit of the determining device 400 for compensation parameters corresponds to each step of the foregoing determining method for compensation parameters, and the specific function of the determining device 400 for compensation parameters may refer to the related description of the determining method for compensation parameters, which is not repeated herein. The components and configuration of the compensation parameter determining apparatus 400 shown in fig. 9 are merely exemplary and not limiting, and the compensation parameter determining apparatus 400 may include other components and configurations as desired. The determining device 400 of the compensation parameter may include more or fewer circuits or units, and the connection relationship between the circuits or units is not limited, and may be determined according to actual requirements. The specific configuration of each circuit or unit is not limited, and may be constituted by an analog device according to the circuit principle, a digital chip, or other applicable means.
For example, the determining means of the compensation parameter may further comprise a simulation module configured to: simulating the display panel based on the K first compensation parameters to obtain a simulation result; responding to the simulation result to represent the display panel to present a first display state, adjusting the second frequency threshold, and re-executing the second merging operation based on the adjusted second frequency threshold to obtain a plurality of updated first compensation parameters until the simulation result corresponding to the plurality of updated first compensation parameters represents the display panel to present a second display state; or, responding to the simulation result to represent the display panel to present the first display state, adjusting the first frequency threshold and the second frequency threshold, and re-executing the first merging operation and the second merging operation based on the adjusted first frequency threshold and the adjusted second frequency threshold to obtain a plurality of updated first compensation parameters until the simulation result corresponding to the plurality of updated first compensation parameters represents the display panel to present the second display state.
At least one embodiment of the present disclosure also provides an electronic device comprising a processor and a memory storing one or more computer program modules. One or more computer program modules are configured to be executed by the processor to implement the method of determining compensation parameters described above. The electronic device can utilize the merging operation to reduce the number of compensation parameters to be smaller than the number of sub-pixels, realize a certain degree of data compression, and further reduce the calculated amount and the storage amount required by brightness compensation.
Fig. 10 is a schematic block diagram of an electronic device provided by some embodiments of the present disclosure. As shown in fig. 10, the electronic device 500 includes a processor 510 and a memory 520. Memory 520 stores non-transitory computer-readable instructions (e.g., one or more computer program modules). Processor 510 is configured to execute non-transitory computer readable instructions that, when executed by processor 510, perform one or more steps of the method of determining compensation parameters described above. The memory 520 and the processor 510 may be interconnected by a bus system and/or other form of connection mechanism (not shown). For specific implementation of each step of the method for determining the compensation parameter and related explanation, reference may be made to the embodiment of the method for determining the compensation parameter, and the details are not repeated here.
It should be noted that the components of the electronic device 500 shown in fig. 10 are exemplary only and not limiting, and that the electronic device 500 may have other components as desired for practical applications.
For example, processor 510 and memory 520 may communicate with each other directly or indirectly.
For example, the processor 510 and the memory 520 may communicate over a network. The network may include a wireless network, a wired network, and/or any combination of wireless and wired networks. Intercommunication among processor 510 and memory 520 can also be implemented via a system bus as no limitation of the present disclosure.
For example, the processor 510 and the memory 520 may be provided at a server side (or cloud).
For example, the processor 510 may control other components in the electronic device 500 to perform desired functions. For example, processor 510 may be a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), or other form of processing unit having data processing capabilities and/or program execution capabilities. For example, the Central Processing Unit (CPU) may be an X86 or ARM architecture, or the like. The processor 510 may be a general purpose processor or a special purpose processor that may control other components in the electronic device 500 to perform the desired functions.
For example, memory 520 may include any combination of one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory can include, for example, random Access Memory (RAM) and/or cache memory (cache) and the like. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), USB memory, flash memory, and the like. One or more computer program modules may be stored on the computer readable storage medium and executed by the processor 510 to implement the various functions of the electronic device 500. Various applications and various data, as well as various data used and/or generated by the applications, etc., may also be stored in the computer readable storage medium.
For example, in some embodiments, the electronic device 500 may be a cell phone, tablet, notebook, server, or the like.
For example, the electronic device 500 may be connected to the display panel by wired or wireless means to interact data with the display panel.
For example, the electronic device 500 may be connected to a photographing device such as a camera in a wired or wireless manner, so that after the photographing device collects a display image of the display panel, the display image is sent to the electronic device 500, and the electronic device 500 obtains display brightness according to the display image collected by the photographing device, so as to obtain a brightness vector.
For example, the electronic device 500 may have a touch function, that is, the electronic device 500 may be a touch device.
It should be noted that, in the embodiments of the present disclosure, specific functions and technical effects of the electronic device 500 may refer to the description of the method for determining the compensation parameter hereinabove, which is not repeated herein.
Fig. 11 is a schematic block diagram of another electronic device provided by some embodiments of the present disclosure. The electronic device 600 is for example suitable for implementing the method of determining compensation parameters provided by embodiments of the present disclosure. The electronic device 600 may be a terminal device or the like. It should be noted that the electronic device 600 shown in fig. 11 is merely an example, and does not impose any limitation on the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 11, the electronic device 600 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 610, which may perform various suitable actions and processes according to a program stored in a Read Only Memory (ROM) 620 or a program loaded from a storage means 680 into a Random Access Memory (RAM) 630. In the RAM630, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 610, ROM 620, and RAM630 are connected to each other by a bus 640. An input/output (I/O) interface 650 is also connected to bus 640.
In general, the following devices may be connected to the I/O interface 650: input devices 660 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 670 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, etc.; storage 680 including, for example, magnetic tape, hard disk, etc.; and a communication device 690. The communication device 690 may allow the electronic apparatus 600 to communicate wirelessly or by wire with other electronic apparatuses to exchange data. While fig. 11 shows the electronic device 600 with various means, it is to be understood that not all of the illustrated means are required to be implemented or provided, and that the electronic device 600 may alternatively be implemented or provided with more or fewer means.
For example, according to embodiments of the present disclosure, the above-described method of determining compensation parameters may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program, carried on a non-transitory computer readable medium, the computer program comprising program code for performing the above-described method of determining compensation parameters. In such embodiments, the computer program may be downloaded and installed from a network via communications device 690, or from storage device 680, or from ROM 620. The functions defined in the method of determining compensation parameters provided by the embodiments of the present disclosure may be implemented when the computer program is executed by the processing means 610.
At least one embodiment of the present disclosure also provides a computer-readable storage medium storing non-transitory computer-readable instructions that, when executed by a computer, implement the above-described method of determining compensation parameters. With the computer-readable storage medium, the number of compensation parameters can be reduced to be smaller than the number of sub-pixels by utilizing the merging operation, so that a certain degree of data compression is realized, and the calculated amount and the storage amount required by brightness compensation are further reduced.
Fig. 12 is a schematic diagram of a storage medium according to some embodiments of the present disclosure. As shown in fig. 12, the storage medium 700 stores non-transitory computer readable instructions 710. For example, non-transitory computer readable instructions 710, when executed by a computer, perform one or more steps in a method of determining compensation parameters according to the above.
For example, the storage medium 700 may be applied to the electronic device 500 described above. For example, the storage medium 700 may be the memory 520 in the electronic device 500 shown in fig. 10. For example, the relevant description of the storage medium 700 may refer to the corresponding description of the memory 520 in the electronic device 500 shown in fig. 10, which is not repeated here.
While FIG. 12 shows a computer system having various devices, it should be understood that the computer system is not required to have all of the illustrated devices, and that a computer system may have more or fewer devices instead.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.
For the purposes of this disclosure, the following points are also noted:
(1) The drawings of the embodiments of the present disclosure relate only to the structures to which the embodiments of the present disclosure relate, and reference may be made to the general design for other structures.
(2) The embodiments of the present disclosure and features in the embodiments may be combined with each other to arrive at a new embodiment without conflict.
The foregoing is merely specific embodiments of the disclosure, but the scope of the disclosure is not limited thereto, and the scope of the disclosure should be determined by the claims.

Claims (22)

1. The method for determining the compensation parameters is applied to a display panel, wherein the display panel comprises M sub-pixels arranged in an array, and the method comprises the following steps:
obtaining M first brightness vectors corresponding to the M sub-pixels respectively;
based on the M first brightness vectors, carrying out merging operation to obtain K first compensation parameters about the M sub-pixels;
Determining a plurality of second compensation parameters of the display panel based on the K first compensation parameters;
wherein M is an integer greater than 1, K is a positive integer less than M, and the number of the plurality of second compensation parameters is less than M.
2. The determining method according to claim 1, wherein the first luminance vector corresponding to each of the M sub-pixels includes N display luminances of each of the M sub-pixels at N gray scales, respectively.
3. The determination method according to claim 1, wherein each of the K first compensation parameters is not equal;
each of the K first compensation parameters corresponds to at least one of the M sub-pixels.
4. The determination method according to any one of claims 1 to 3, wherein the merging operation includes a first merging operation,
based on the M first luminance vectors, performing a merging operation to obtain K first compensation parameters for the M sub-pixels, including:
calculating M vector modular lengths based on the M first brightness vectors;
the first merging operation is carried out on the M vector modular lengths so as to merge the M vector modular lengths into P vector modular lengths;
Determining P second luminance vectors based on the P vector modulo lengths, wherein each of the P second luminance vectors corresponds to at least one of the M sub-pixels;
generating the K first compensation parameters based on the P second brightness vectors;
wherein P is a positive integer less than M.
5. The determination method according to claim 4, wherein the values of the P vector modulo lengths are each not equal.
6. The determining method according to claim 4, wherein the first merging operation is performed on the M vector modulo lengths to merge the M vector modulo lengths into P vector modulo lengths, including:
frequency statistics is carried out on the M vector modular lengths so as to determine Q vector modular lengths with different median values in the M vector modular lengths and frequencies corresponding to the Q vector modular lengths respectively, wherein Q is a positive integer smaller than M;
sorting the Q vector modular lengths based on the values of the Q vector modular lengths to obtain a first sequence;
and carrying out the first merging operation on the Q vector modular lengths in the first sequence based on a first frequency threshold value to obtain the P vector modular lengths.
7. The determination method of claim 6, wherein the first merging operation includes a first sub-merging operation,
Performing the first merging operation on the Q vector modular lengths in the first sequence, including:
performing at least one of the first sub-merging operations on the Q vector modular lengths and updating the first sequence until the number of vector modular lengths contained in the updated first sequence is not greater than a first number threshold,
the P vector modular lengths comprise vector modular lengths included in the updated first sequence obtained by the last first sub-merging operation.
8. The determination method of claim 7, wherein each of the first sub-merging operations comprises:
determining a first vector modulo length for frequencies in the first sequence less than the first frequency threshold;
determining one vector modular length adjacent to the first vector modular length in the first sequence as a second vector modular length;
combining the first vector modular length with the second vector modular length to obtain a combined vector modular length;
determining the frequency of the combined vector modulo length based on the frequency of the first vector modulo length and the frequency of the second vector modulo length;
deleting the first vector modulo length and the second vector modulo length from the first sequence, and adding the combined vector modulo length to the first sequence to obtain an updated first sequence corresponding to the first sub-combining operation, wherein the updated first sequence corresponding to the first sub-combining operation includes the combined vector modulo length and an uncombined vector modulo length in the first sequence;
If the number of vector modular lengths contained in the updated first sequence corresponding to the first sub-merging operation is greater than the first number threshold, executing the next first sub-merging operation based on the updated first sequence corresponding to the first sub-merging operation;
and if the number of vector modular lengths contained in the updated first sequence corresponding to the first sub-merging operation is not greater than the first number threshold, taking a plurality of vector modular lengths contained in the updated first sequence corresponding to the first sub-merging operation as the P vector modular lengths.
9. The determination method of claim 6, wherein the merging operation further comprises a second merging operation,
generating the K first compensation parameters based on the P second luminance vectors, including:
obtaining a brightness matrix based on the P second brightness vectors, wherein the brightness matrix comprises M second brightness vectors corresponding to the M sub-pixels respectively;
generating M initial compensation parameters based on the brightness matrix;
and carrying out the second merging operation on the M initial compensation parameters to generate the K first compensation parameters.
10. The determining method of claim 9, wherein performing the second combining operation on the M initial compensation parameters to generate the K first compensation parameters includes:
Counting the frequency of the M initial compensation parameters to determine R initial compensation parameters with different values in the M initial compensation parameters and the frequency corresponding to the R initial compensation parameters respectively, wherein R is a positive integer smaller than M;
sorting the R initial compensation parameters based on the values of the R initial compensation parameters to obtain a second sequence;
performing the second combining operation on the R initial compensation parameters in the second ordering based on a second frequency threshold to obtain the K first compensation parameters,
wherein the second merging operation comprises a second sub-merging operation,
performing the second combining operation on the R initial compensation parameters in the second ordering includes: performing the second sub-combining operation at least once on the R initial compensation parameters and updating the second sequence;
the K first compensation parameters include initial compensation parameters included in the updated second sequence obtained by the last second sub-merging operation.
11. The determining method of claim 10, wherein each of the second sub-merging operations comprises:
determining a first initial compensation parameter for frequencies in the second sequence that are less than the second frequency threshold;
Determining one initial compensation parameter adjacent to the first initial compensation parameter in the second sequence as a second initial compensation parameter;
combining the first initial compensation parameter and the second initial compensation parameter to obtain a combined initial compensation parameter;
determining the frequency of the combined initial compensation parameter based on the frequency of the first initial compensation parameter and the frequency of the second initial compensation parameter;
deleting the first initial compensation parameter and the second initial compensation parameter from the second sequence, adding the combined initial compensation parameter to the second sequence to obtain an updated second sequence corresponding to the second sub-combining operation,
the updated second sequence corresponding to the second sub-merging operation includes the initial compensation parameters after merging and initial compensation parameters not merged in the second sequence.
12. The determination method according to any one of claims 1 to 3, wherein the merging operation includes a third merging operation,
based on the M first luminance vectors, performing a merging operation to obtain K first compensation parameters for the M sub-pixels, including:
Obtaining corresponding M initial compensation parameters based on the M first brightness vectors;
and carrying out the third merging operation on the M initial compensation parameters to generate the K first compensation parameters.
13. The determination method according to claim 10, further comprising:
simulating the display panel based on the K first compensation parameters to obtain a simulation result;
responding to the simulation result to represent the display panel to present a first display state, adjusting the second frequency threshold, and re-executing the second merging operation based on the adjusted second frequency threshold to obtain a plurality of updated first compensation parameters until the simulation result corresponding to the plurality of updated first compensation parameters represents the display panel to present a second display state; or,
and responding to the simulation result to represent the display panel to present a first display state, adjusting the first frequency threshold and the second frequency threshold, and re-executing the first merging operation and the second merging operation based on the adjusted first frequency threshold and the adjusted second frequency threshold to obtain a plurality of updated first compensation parameters until the simulation result corresponding to the plurality of updated first compensation parameters represents the display panel to present a second display state.
14. The determination method according to claim 1, wherein determining a plurality of second compensation parameters of the display panel based on the K first compensation parameters includes:
based on the expected compression multiplying power, partitioning the M sub-pixels to obtain a plurality of sub-pixel blocks;
determining a plurality of regional compensation parameters corresponding to the plurality of sub-pixel blocks respectively based on the K first compensation parameters;
and obtaining the plurality of second compensation parameters based on the plurality of regional compensation parameters.
15. The determining method according to claim 14, wherein determining a plurality of region compensation parameters respectively corresponding to the plurality of sub-pixel blocks based on the K first compensation parameters includes:
generating a compensation parameter matrix based on the K first compensation parameters, wherein the compensation parameter matrix comprises M first compensation parameters respectively corresponding to the M sub-pixels;
and generating the plurality of regional compensation parameters respectively corresponding to the plurality of sub-pixel blocks based on the compensation parameter matrix.
16. The determination method according to claim 1, wherein each of the K first compensation parameters corresponds to an index value;
Determining a plurality of second compensation parameters of the display panel based on the K first compensation parameters, including:
based on the expected compression multiplying power, partitioning the M sub-pixels to obtain a plurality of sub-pixel blocks;
generating an index matrix based on K index values respectively corresponding to the K first compensation parameters, wherein the index matrix comprises M index values respectively corresponding to the M sub-pixels;
generating a plurality of region index values respectively corresponding to the plurality of sub-pixel blocks based on the index matrix;
and obtaining the plurality of second compensation parameters based on the plurality of region index values.
17. The determining method according to claim 16, wherein the index value corresponding to each sub-pixel is an index value of the compensation parameter corresponding to the sub-pixel.
18. The determining method according to claim 15, wherein generating a plurality of region compensation parameters respectively corresponding to the plurality of sub-pixel blocks based on the compensation parameter matrix includes: for each of the sub-pixel blocks,
performing weighted average processing on a plurality of first compensation parameters corresponding to the sub-pixel blocks in the compensation parameter matrix, and taking the processing result as the regional compensation parameters corresponding to the sub-pixel blocks; or alternatively
Taking the compensation parameter with highest frequency in a plurality of first compensation parameters corresponding to the sub-pixel blocks in the compensation parameter matrix as the regional compensation parameter corresponding to the sub-pixel blocks; or alternatively
And taking the median of a plurality of first compensation parameters corresponding to the sub-pixel blocks in the compensation parameter matrix as the region compensation parameter corresponding to the sub-pixel blocks.
19. A compensation method for compensating a display panel, wherein the display panel includes M sub-pixels arranged in an array, comprising:
the determination method according to any one of claims 1 to 18, obtaining a plurality of second compensation parameters of the display panel;
generating M target compensation parameters corresponding to the M sub-pixels respectively based on the second compensation parameters;
and compensating the M sub-pixels based on the M target compensation parameters.
20. A compensation parameter determining device applied to a display panel, wherein the display panel comprises M sub-pixels arranged in an array, the device comprising:
the acquisition module is configured to acquire M first brightness vectors corresponding to the M sub-pixels respectively;
a combining module configured to perform a combining operation based on the M first luminance vectors to obtain K first compensation parameters for the M sub-pixels;
A determining module configured to determine a plurality of second compensation parameters of the display panel based on the K first compensation parameters;
wherein M is an integer greater than 1, K is an integer less than M, and the number of the plurality of second compensation parameters is less than M.
21. An electronic device, comprising:
a processor;
a memory storing one or more computer program modules;
wherein the one or more computer program modules are configured to be executed by the processor for implementing the method of determining the compensation parameter of any one of claims 1-18 and/or the method of compensating of claim 19.
22. A computer readable storage medium having stored non-transitory computer readable instructions which when executed by a computer implement the method of determining the compensation parameter of any one of claims 1-18 and/or the method of compensating of claim 19.
CN202211559594.0A 2022-12-06 2022-12-06 Method and device for determining compensation parameters, compensation method, device and storage medium Pending CN116030759A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211559594.0A CN116030759A (en) 2022-12-06 2022-12-06 Method and device for determining compensation parameters, compensation method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211559594.0A CN116030759A (en) 2022-12-06 2022-12-06 Method and device for determining compensation parameters, compensation method, device and storage medium

Publications (1)

Publication Number Publication Date
CN116030759A true CN116030759A (en) 2023-04-28

Family

ID=86069728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211559594.0A Pending CN116030759A (en) 2022-12-06 2022-12-06 Method and device for determining compensation parameters, compensation method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116030759A (en)

Similar Documents

Publication Publication Date Title
CN110134353B (en) Color compensation method, compensation device and display device
CN107591121B (en) Method of displaying image by using display device
CN110073433B (en) Display compensation method, display compensation device, display device, and storage medium
US20200279536A1 (en) Display panel and display method
US10964250B2 (en) Display apparatus with frame masking driving scheme and electronic system including the same
CN110349537B (en) Display compensation method, device, computer equipment and storage medium
CN113516939B (en) Brightness correction method and device, display equipment, computing equipment and storage medium
US11917124B2 (en) Display apparatus and the control method thereof
KR102525979B1 (en) Gamma voltage generator and display device
CN114120906A (en) Brightness compensation method and compensation device of display panel and electronic equipment
CN112767891B (en) Mura compensation method, display panel and display device
CN114138224B (en) Rendering method and device for sub-pixels in image, computer equipment and storage medium
CN107656717B (en) Display method, image processing module and display device
CN110853105B (en) Method and device for simultaneously positioning RGB (red, green and blue) sub-pixels and application
CN113920917B (en) Display panel compensation method and compensation device
CN114999385A (en) Memory-saving compensation method for rapidly dividing Mura area
KR20240025043A (en) Luminance compensation methods, devices, devices and media
US20220139309A1 (en) Method of compensating for degeneration of electroluminescent display device and display system performing the same
CN108269522B (en) Display device and image display method thereof
CN116030759A (en) Method and device for determining compensation parameters, compensation method, device and storage medium
CN107767327B (en) Image rendering method and device, computing equipment and display equipment
CN113963658A (en) Brightness compensation method, brightness data determination method, device and chip
CN113963663B (en) Pixel driving method, display and readable storage medium
CN116913197B (en) Pixel positioning method, pixel brightness extraction method and system
US20170169772A1 (en) Display device

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