Determination Method and Device of Compensation Parameter, Compensation Method, Equipment and Storage Medium

By acquiring and combining the brightness vectors of each subpixel, the compensation parameters of the display panel are determined, which solves the problem of uneven display of the OLED display, and achieves uniformity compensation and data compression.

CN116030759BActive Publication Date: 2025-06-27BEIJING ESWIN COMPUTING TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211559594.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-06
Publication Date
2025-06-27
Estimated Expiration
2042-12-06

AI Technical Summary

Technical Problem

Due to the difference in threshold voltage and mobility of the driver transistor, the display is uneven, and the uniformity compensation is required for the display screen.

Method used

By obtaining the first brightness vector of each subpixel, a merging operation is performed to obtain the first compensation parameter, and then a second compensation parameter of the display panel is determined to achieve uniformity compensation for the display panel.

Benefits of technology

The uniformity compensation for the OLED display screen is achieved, the number of compensation parameters is reduced, the calculation amount and storage amount are reduced, and the display effect is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116030759B_ABST
    Figure CN116030759B_ABST
Patent Text Reader

Abstract

A method for determining compensation parameters, a compensation method, a device for determining compensation parameters, an electronic device, and a computer-readable storage medium. The method for determining compensation parameters is applied to a display panel, and the display panel includes M sub-pixels arranged in an array. The method for determining compensation parameters includes: obtaining M first luminance vectors respectively corresponding to the M sub-pixels; performing a merging operation based on the M first luminance vectors to obtain K first compensation parameters regarding the M sub-pixels; determining a plurality of second compensation parameters of the display panel based on the K first compensation parameters; where 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. This method can use the merging operation to reduce the number of compensation parameters to less than the number of sub-pixels, achieving a certain degree of data compression, and thereby reducing the computational amount and storage amount required for compensation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to a method for determining compensation parameters, a compensation method, an apparatus for determining compensation parameters, an electronic device, and a computer-readable storage medium. Background Art

[0002] Due to the differences in the threshold voltage (Vth) and mobility of driving transistors (D-TFTs), as well as the differences in other process segments during the production process, display unevenness (Mura) may occur in an organic light emitting diode (OLED) display screen. Therefore, it is necessary to perform uniformity compensation on the display screen. Summary of the Invention

[0003] At least one embodiment of the present disclosure provides a method for determining compensation parameters, which is applied to a display panel. The display panel includes M sub-pixels arranged in an array. The method includes: obtaining M first luminance vectors respectively corresponding to the M sub-pixels; based on the M first luminance vectors, performing a merging operation to obtain K first compensation parameters regarding the M sub-pixels; based on the K first compensation parameters, determining a plurality of second compensation parameters of the display panel; where 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.

[0004] For example, in the determination 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 at N gray levels respectively.

[0005] For example, in the determination method provided in an embodiment of the present disclosure, the K first compensation parameters are not equal to each other; each of the K first compensation parameters corresponds to at least one of the M sub-pixels.

[0006] For example, in the determination 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 regarding the M sub-pixels, including: calculating M vector norms based on the M first luminance vectors; performing the first merging operation on the M vector norms to merge the M vector norms into P vector norms; determining P second luminance vectors based on the P vector norms, where 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 luminance vectors; where P is a positive integer less than M.

[0007] For example, in the determination method provided in an embodiment of the present disclosure, the numerical values of the P vector norms are not equal to each other.

[0008] For example, in the determination method provided in an embodiment of the present disclosure, performing the first merging operation on the M vector norms to merge the M vector norms into P vector norms includes: performing a frequency statistics on the M vector norms to determine Q vector norms with different numerical values among the M vector norms and the frequencies corresponding to the Q vector norms respectively, where Q is a positive integer less than M; sorting the Q vector norms based on the numerical values of the Q vector norms to obtain a first sequence; and performing the first merging operation on the Q vector norms in the first sequence based on a first frequency threshold to obtain the P vector norms.

[0009] For example, in the determination 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 norms in the first sequence includes: performing at least one first sub-merging operation on the Q vector norms and updating the first sequence until the number of vector norms included in the updated first sequence is not greater than a first quantity threshold, where the P vector norms include the vector norms included in the updated first sequence obtained by the last first sub-merging operation.

[0010] For example, in the determination method provided in an embodiment of the present disclosure, each first sub-merging operation includes: determining a first vector norm in the first sequence whose frequency is less than the first frequency threshold; determining a vector norm adjacent to the first vector norm in the first sequence as a second vector norm; merging the first vector norm and the second vector norm to obtain a merged vector norm; determining the frequency of the merged vector norm based on the frequency of the first vector norm and the frequency of the second vector norm; deleting the first vector norm and the second vector norm from the first sequence, and adding the merged vector norm to the first sequence to obtain the updated first sequence corresponding to the first sub-merging operation, where the updated first sequence corresponding to the first sub-merging operation includes the merged vector norm and the vector norms in the first sequence that are not merged; if the number of vector norms included in the updated first sequence corresponding to the first sub-merging operation is greater than the first quantity threshold, then performing the next first sub-merging operation based on the updated first sequence corresponding to the first sub-merging operation; if the number of vector norms included in the updated first sequence corresponding to the first sub-merging operation is not greater than the first quantity threshold, then using the multiple vector norms included in the updated first sequence corresponding to the first sub-merging operation as the P vector norms.

[0011] For example, in the determination 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 includes: obtaining a luminance matrix based on the P second luminance vectors, where the luminance matrix includes M second luminance vectors respectively corresponding to the M sub-pixels; generating M initial compensation parameters based on the luminance matrix; and performing the second merging operation on the M initial compensation parameters to generate the K first compensation parameters.

[0012] For example, in the determination 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: performing frequency statistics on the M initial compensation parameters to determine R initial compensation parameters with different values among the M initial compensation parameters and the frequencies respectively corresponding to the R initial compensation parameters, where R is a positive integer less 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 merging operation on the R initial compensation parameters in the second sorting based on a second frequency threshold to obtain the K first compensation parameters; where the second merging operation includes a second sub-merging operation; performing the second merging operation on the R initial compensation parameters in the second sorting includes: performing at least one second sub-merging operation on the R initial compensation parameters and updating the second sequence; where the K first compensation parameters include the initial compensation parameters included in the updated second sequence obtained from the last second sub-merging operation.

[0013] For example, in the determination method provided in an embodiment of the present disclosure, each second sub-merging operation includes: determining a first initial compensation parameter in the second sequence whose frequency is 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; merging the first initial compensation parameter and the second initial compensation parameter to obtain a merged initial compensation parameter; determining the frequency of the merged 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 merged initial compensation parameter to the second sequence to obtain the updated second sequence corresponding to the second sub-merging operation; where the updated second sequence corresponding to the second sub-merging operation includes the merged initial compensation parameter and the initial compensation parameters in the second sequence that have not been merged.

[0014] For example, in the determination method provided in an embodiment of the present disclosure, the merging operation includes a third merging operation; performing a merging operation based on the M first luminance vectors to obtain K first compensation parameters for the M sub-pixels, including: obtaining corresponding M initial compensation parameters based on the M first luminance vectors; performing the third merging operation on the M initial compensation parameters to generate the K first compensation parameters.

[0015] For example, the determination 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; in response to the simulation result indicating that the display panel presents a first display state, adjusting the second frequency threshold, and re-performing the second merging operation based on the adjusted second frequency threshold to obtain updated multiple first compensation parameters until the simulation result corresponding to the updated multiple first compensation parameters indicates that the display panel presents a second display state; or, in response to the simulation result indicating that the display panel presents a first display state, adjusting the first frequency threshold and the second frequency threshold, and re-performing 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 multiple first compensation parameters until the simulation result corresponding to the updated multiple first compensation parameters indicates that the display panel presents a second display state.

[0016] For example, in the determination method provided in an embodiment of the present disclosure, determining multiple second compensation parameters of the display panel based on the K first compensation parameters includes: partitioning the M sub-pixels based on an expected compression ratio to obtain multiple sub-pixel blocks; determining multiple region compensation parameters respectively corresponding to the multiple sub-pixel blocks based on the K first compensation parameters; and obtaining the multiple second compensation parameters based on the multiple region compensation parameters.

[0017] For example, in the determination method provided in an embodiment of the present disclosure, determining multiple region compensation parameters respectively corresponding to the multiple sub-pixel blocks based on the K first compensation parameters includes: generating a compensation parameter matrix based on the K first compensation parameters, where the compensation parameter matrix includes M first compensation parameters respectively corresponding to the M sub-pixels; and generating the multiple region compensation parameters respectively corresponding to the multiple sub-pixel blocks based on the compensation parameter matrix.

[0018] For example, in the determination method provided in an embodiment of the present disclosure, each of the K first compensation parameters corresponds to an index value; based on the K first compensation parameters, determining a plurality of second compensation parameters of the display panel includes: dividing the M sub-pixels into blocks based on an expected compression ratio to obtain a plurality of sub-pixel blocks; generating an index matrix based on the K index values respectively corresponding to the K first compensation parameters, where the index matrix includes 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.

[0019] For example, in the determination method provided in an embodiment of the present disclosure, the index value corresponding to each sub-pixel is the index value of the compensation parameter corresponding to the sub-pixel.

[0020] For example, in the determination method provided in an embodiment of the present disclosure, 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 sub-pixel block, performing a weighted average process on the plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix, and using the processing result as the region compensation parameter corresponding to the sub-pixel block; or taking the compensation parameter with the highest frequency among the plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix as the region compensation parameter corresponding to the sub-pixel block; or taking the median of the plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix as the region compensation parameter corresponding to the sub-pixel block.

[0021] 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, and includes: obtaining a plurality of second compensation parameters of the display panel according to the determination method provided in any embodiment of the present disclosure; generating M target compensation parameters respectively corresponding to the M sub-pixels based on the plurality of second compensation parameters; and compensating the M sub-pixels based on the M target compensation parameters.

[0022] At least one embodiment of the present disclosure provides a device for determining compensation parameters, which is applied to a display panel. The display panel includes M sub-pixels arranged in an array. The device includes an acquisition module, a merging module, and a determination module. The acquisition module is configured to acquire M first luminance vectors respectively corresponding to the M sub-pixels. The merging module is configured to perform a merging operation based on the M first luminance vectors to obtain K first compensation parameters for the M sub-pixels. The determination module is configured to determine a plurality of second compensation parameters of the display panel based on the K first compensation parameters. Here, 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.

[0023] At least one embodiment of the present disclosure provides an electronic device, including 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 to implement the method for determining compensation parameters and / or the compensation method provided in any embodiment of the present disclosure.

[0024] At least one embodiment of the present disclosure provides a computer-readable storage medium storing non-transitory computer-readable instructions, which can implement the method for determining compensation parameters and / or the compensation method provided in any embodiment of the present disclosure when executed by a computer. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present disclosure and do not limit the present disclosure.

[0026] Figure 1 FIG. shows a schematic diagram of a display panel provided by at least one embodiment of the present disclosure;

[0027] Figure 2 FIG. shows a flowchart of a method for determining compensation parameters provided by at least one embodiment of the present disclosure;

[0028] Figure 3 FIG. shows a schematic diagram of a first luminance vector provided by at least one embodiment of the present disclosure;

[0029] Figure 4 FIG. shows provided by at least one embodiment of the present disclosure Figure 2 The flowchart of step S220 shown in FIG.

[0030] Figure 5 FIG. shows a statistical chart of vector modulus and frequency provided by at least one embodiment of the present disclosure;

[0031] Figure 6shows the one provided by at least one embodiment of the present disclosure Figure 4 flowchart of step S224 shown;

[0032] Figure 7 shows the one provided by at least one embodiment of the present disclosure Figure 2 flowchart of step S230 shown;

[0033] Figure 8 flowchart of a compensation method provided by at least one embodiment of the present disclosure;

[0034] Figure 9 schematic block diagram of a device for determining a compensation parameter provided by at least one embodiment of the present disclosure.

[0035] Figure 10 schematic block diagram of an electronic device provided by at least one embodiment of the present disclosure;

[0036] Figure 11 schematic block diagram of another electronic device provided by at least one embodiment of the present disclosure; and

[0037] Figure 12 schematic diagram of a computer-readable storage medium provided by at least one embodiment of the present disclosure. Detailed implementation manners

[0038] To make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, 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. Obviously, the described embodiments are some but not all of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the described embodiments of the present disclosure without creative efforts shall fall within the scope of protection of the present disclosure.

[0039] Unless otherwise defined, technical terms or scientific terms used in this disclosure shall have the ordinary meanings as understood by those of ordinary skill in the art to which this disclosure pertains. The "first", "second" and similar terms used in this disclosure do not denote any order, quantity or importance, but are merely used to distinguish different components. Similarly, words such as "a", "an" or "the" do not denote a limitation of quantity, but mean that there is at least one. Words such as "comprising" or "including" mean that the elements or items appearing before the word cover the elements or items listed after the word and their equivalents, without excluding other elements or items. Words such as "connected" or "coupled" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right", etc. are only used to represent relative positional relationships, and when the absolute position of the object being described changes, the relative positional relationship may also change accordingly.

[0040] The compensation methods include external optical compensation and internal circuit compensation. External optical compensation refers to a method of sensing the optical characteristics of pixels through external devices and then performing compensation. For example, a camera is used to take pictures of the display panel to obtain the brightness values of each sub-pixel at several gray levels, and then the compensation data is calculated.

[0041] The inventors found that the compensation data for external compensation of screens such as OLED display screens often needs to be accurate to the sub-pixel level. The size of the generated compensation data is usually (screen width * screen height * sub-pixel substitution ratio * compensation data bit width). The sub-pixel substitution ratio represents the number of sub-pixels included in a physical pixel. For example, if a physical pixel contains two sub-pixels, the sub-pixel substitution ratio = 2:1. The total compensation data can be as high as dozens of megabits, and the internal of the display driver integrated circuit (Display Drive Integrated Circuit) used in screens such as OLED display screens often cannot support such a large amount of data.

[0042] At least one embodiment of this disclosure provides a method for determining compensation parameters, a compensation method, a device for determining compensation parameters, an electronic device, and a computer-readable storage medium. The method for determining compensation parameters is applied to a display panel, and the display panel includes M sub-pixels arranged in an array. The method for determining compensation parameters includes: obtaining M first luminance vectors respectively corresponding to the M sub-pixels; performing a merging operation based on the M first luminance vectors to obtain K first compensation parameters regarding the M sub-pixels; determining a plurality of second compensation parameters of the display panel based on the K first compensation parameters; where 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.

[0043] The method for determining the compensation parameters can utilize a merging operation to reduce the number of compensation parameters to be less than the number of sub-pixels, achieving a certain degree of data compression, and thus reducing the computational amount and storage amount required for compensation.

[0044] Figure 1 FIG. shows a schematic diagram of a display panel provided by at least one embodiment of the present disclosure.

[0045] As Figure 1 shown, the display panel 100 includes M sub-pixels Pxij arranged in an array, where M is an integer greater than 1. For example, if the display panel 100 includes x rows and y columns of sub-pixels, then M = x * y, i is a positive integer less than x, and i represents the row number where the sub-pixel is located; j is a positive integer less than y, and j represents the column number where the sub-pixel is located.

[0046] For example, the display panel 100 can be an OLED display panel, a QLED (Quantum Dot Light Emitting Diodes) display panel, etc.

[0047] Each pixel unit is composed of several sub-pixels. For example, each pixel unit includes three types of sub-pixels, namely a red (R) sub-pixel, a green (G) sub-pixel, and a blue (B) sub-pixel. The red (R) sub-pixel, the green (G) sub-pixel, and the blue (B) sub-pixel emit red light, green light, and blue light respectively. For example, if the R, G, and B sub-pixels are arranged in a cycle in each row, then three consecutive sub-pixels in each row can form a pixel unit. Thus, in the display panel 100, the arrangement pattern of the sub-pixels is RGBRGB. In the following embodiments, it is described by taking each pixel unit including R, G, and B sub-pixels as an example, but the present disclosure is not limited thereto. The above description of the composition of the pixel unit and the arrangement pattern of the sub-pixels is only exemplary. In practical applications, other methods can also be used to set the pixel unit and the sub-pixels. For example, the pixel unit can also include other sub-pixels in addition to R, G, and B, such as a W (white) sub-pixel; or for another example, the sub-pixels can also adopt the PenTile (i.e., RGBG) arrangement pattern.

[0048] In the following embodiments, the method for determining the compensation parameters of the above display panel is taken as an example for description. It should be noted that the method for determining the compensation parameters in the embodiments of the present disclosure can also be applied to other types of display panels.

[0049] Figure 2 FIG. shows a flowchart of a method for determining compensation parameters provided by at least one embodiment of the present disclosure.

[0050] As Figure 2 shown, the determination method can include steps S210 to S230.

[0051] Step S210: Obtain M first luminance vectors corresponding to the M sub-pixels respectively.

[0052] Step S220: Based on the M first luminance vectors, perform a merging operation to obtain K first compensation parameters for the M sub-pixels.

[0053] Step S230: Based on the K first compensation parameters, determine multiple second compensation parameters of the display panel.

[0054] 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 at N gray levels respectively.

[0055] For example, make all the red sub-pixels of the display panel emit light, make all the red sub-pixels present N gray levels in N time periods respectively, and use a camera to take pictures to obtain the display luminances of each red sub-pixel at the N gray levels. Similarly, the display luminances of each green sub-pixel at the N gray levels and the display luminances of each blue sub-pixel at the N gray levels can be obtained.

[0056] Figure 3 FIG. shows a schematic diagram of a first luminance vector provided by at least one embodiment of the present disclosure.

[0057] As Figure 3 shown, for each sub-pixel, a first luminance vector Vij can be correspondingly formed, Vij = (L1, L2, L3, …, Ln), where L1, L2, L3, …, Ln respectively represent N display luminances.

[0058] For example, after obtaining the M first luminance vectors, in step S220, a merging operation is performed to obtain K first compensation parameters, where K is a positive integer less than M. That is to say, the merging operation makes the number of the obtained first compensation parameters less 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 can correspond to two or more sub-pixels, that is, the two or more sub-pixels share the same first compensation parameter.

[0059] For example, the merging operation may merge at least two parameters corresponding to at least two 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 parameter. Among them, the at least two parameters may be different parameters, and the parameters here may be parameters related to the compensation parameter, such as parameters related to brightness (for example, the first brightness vector or the brightness parameter calculated based on the first brightness vector), or may be the compensation parameter. For example, the first compensation parameter may be calculated according to the first brightness vector. If the first brightness vectors of two sub-pixels are merged into the same first brightness vector, then a compensation parameter for the two sub-pixels may be calculated based on the same first brightness vector, without calculating the compensation parameter for the brightness vector of each sub-pixel once again.

[0060] For example, the K first compensation parameters are all different. For example, in addition to merging different parameters, the merging operation may also merge the same parameters to avoid repeated calculation of the same parameters. For example, if the brightness parameters of two sub-pixels are the same, then a first compensation parameter may be calculated for the two sub-pixels, without repeating the calculation for the same brightness parameter.

[0061] For example, in step S230, multiple second compensation parameters may be obtained according to the above K first compensation parameters, and the number of the multiple second compensation parameters is also less than M, so as to further achieve a certain degree of data compression. The multiple second compensation parameters may be used as the finally determined compensation parameters. After obtaining the multiple second compensation parameters, they may be stored so that when the display panel is used subsequently, the multiple second compensation parameters are called to perform brightness compensation on each sub-pixel.

[0062] For example, the number of the multiple second compensation parameters is, for example, equal to or less than K. For example, in step S220, if the data compression ratio during the merging operation has reached the expected compression ratio, for example, the number of the first compensation parameters has been compressed to be less than or equal to the expected number, then in step S230, the K first compensation parameters may be directly used as the multiple second compensation parameters. If the data compression ratio during the merging operation has not reached the expected compression ratio, then in step S230, further reduction may be performed on the basis of the K first compensation parameters to obtain second compensation parameters with a smaller number.

[0063] According to the method for determining the compensation parameter of the embodiment of the present disclosure, by using the merging operation, the number of compensation parameters is reduced to be less than the number of sub-pixels, achieving a certain degree of data compression, thereby reducing the calculation amount and storage amount required for brightness compensation, reducing the compensation time, and saving costs.

[0064] For example, in some embodiments, the parameters merged by the merging operation may include parameters related to brightness, that is, parameters capable of reflecting the brightness difference of sub-pixels. For example, it may be a brightness parameter calculated based on the first brightness vector, such as the magnitude of the first brightness vector.

[0065] Figure 4 The flowchart of step S220 provided by at least one embodiment of the present disclosure is shown.

[0066] For example, the merging operation includes a first merging operation, as Figure 4 shown, step S220 may include steps S221 to S224.

[0067] Step S221: Based on the M first brightness vectors, calculate M vector magnitudes.

[0068] Step S222: Perform the first merging operation on the M vector magnitudes to merge the M vector magnitudes into P vector magnitudes.

[0069] Step S223: Based on the P vector magnitudes, determine P second brightness vectors.

[0070] Step S224: Based on the P second brightness vectors, generate the K first compensation parameters.

[0071] For example, each of the P second brightness vectors corresponds to at least one of the M sub-pixels, and P is a positive integer less than M.

[0072] For example, the numerical values of the P merged vector magnitudes may be different from each other. The P vector magnitudes may include some of the M vector magnitudes, or may include new vector magnitudes generated based on at least some of the M vector magnitudes.

[0073] For example, there may be vector magnitudes with equal numerical values among the M vector magnitudes. The equal vector magnitudes among the M vector magnitudes can be merged to obtain several vector magnitudes with different values. For example, sub-pixel Px11 corresponds to brightness vector V11, and sub-pixel Px12 corresponds to brightness vector V12. If the vector magnitude d11 of V11 is equal to the vector magnitude d12 of V12, then the two are merged into one vector magnitude, and the merged vector magnitude corresponds to sub-pixels Px11 and Px12.

[0074] For example, some of the vector magnitudes among the M vector magnitudes can also be combined to form a new vector magnitude. For example, two or more different vector magnitudes can be combined into a new vector magnitude. For example, sub-pixel Px13 corresponds to luminance vector V13, sub-pixel Px14 corresponds to luminance vector V14, and the magnitude d13 of V13 is not equal to the magnitude d14 of V14. The vector magnitude d13 and the vector magnitude d14 can be combined into a new vector magnitude, and this new vector magnitude corresponds to sub-pixel Px13 and sub-pixel Px14.

[0075] For example, the above step S222 may include: performing a frequency statistics on the M vector magnitudes to determine Q vector magnitudes with different numerical values among the M vector magnitudes and the frequencies corresponding to the Q vector magnitudes respectively, where Q is a positive integer less than M; sorting the Q vector magnitudes based on the numerical values of the Q vector magnitudes to obtain a first sequence; and performing the first merging operation on the Q vector magnitudes in the first sequence based on a first frequency threshold to obtain the P vector magnitudes. In the embodiments of the present disclosure, through the first merging operation, the luminance vectors can be classified and compressed according to the Mura characteristics of the display panel, and more compensation details can be retained.

[0076] Figure 5 The statistical chart of the vector magnitude d and the frequency f provided by at least one embodiment of the present disclosure is shown.

[0077] As Figure 5 shown, for example, the M vector magnitudes are d11 to dxy, and there may be equal vector magnitudes among them. Q vector magnitudes with different numerical values are obtained from the M vector magnitudes. To distinguish from the above d11 to dxy, the Q vector magnitudes are labeled as dv1 to dvq. Vector magnitudes with the same numerical value can be called one class. The Q vector magnitudes can be understood as being obtained by merging the same classes of the M vector magnitudes. For example, if the vector magnitude d11 (for example, corresponding to sub-pixel Px11) and the vector magnitude d12 (for example, corresponding to sub-pixel Px12) are equal, d11 and d12 can be merged into a vector magnitude, for example, merged into vector magnitude dv1. The numerical value of this vector magnitude dv1 is equal to that of d11 and d12, and this vector magnitude dv1 corresponds to two sub-pixels (for example, Px11 and Px12). Each of the Q vector magnitudes can correspond to one or more sub-pixels, and the number of sub-pixels corresponding to each vector magnitude is the frequency of the vector magnitude. For example, if the vector magnitude dv1 corresponds to two sub-pixels, then the frequency of this vector magnitude dv1 is 2. In this way, Q vector magnitudes with different numerical values and the frequency of each vector magnitude among them can be obtained.

[0078] For example, the Q vector magnitudes can be sorted according to the numerical size, as Figure 5As shown, the Q vector magnitudes are arranged in ascending order of magnitude to obtain a first sequence. For ease of description, in the embodiments of the present disclosure, it is exemplified that the values of dv1 to dvq increase in sequence, so that the first sequence is [dv1, dv2,..., dvq]. The following combines Figure 5 The statistical chart of the vector magnitude and frequency shown in FIG. to describe the first merging operation in detail.

[0079] For example, the first merging operation may include at least one first sub-merging operation. Each first sub-merging operation may include: merging at least one vector magnitude in the first sequence that is less than the first frequency threshold with at least one adjacent vector magnitude into at least one merged vector magnitude, and updating the first sequence to obtain an updated first sequence, where the updated first sequence includes the at least one merged vector magnitude and the vector magnitudes in the first sequence that are not merged; where the P vector magnitudes include the vector magnitudes included in the updated first sequence obtained from the last first sub-merging operation in the first merging operation.

[0080] For example, in each first sub-merging operation, determine a first vector magnitude in the first sequence whose frequency is less than the first frequency threshold (for example, all vector magnitudes whose frequencies are less than the first frequency threshold can be determined); determine a vector magnitude adjacent to the first vector magnitude in the first sequence as a second vector magnitude; merge the first vector magnitude and the second vector magnitude to obtain a merged vector magnitude; based on the frequency of the first vector magnitude and the frequency of the second vector magnitude, determine the frequency of the merged vector magnitude; delete the first vector magnitude and the second vector magnitude from the first sequence, and add the merged vector magnitude to the first sequence to obtain the updated first sequence corresponding to the first sub-merging operation. If the first sub-merging operation is the first first sub-merging operation, the updated first sequence corresponding to the first sub-merging operation includes the merged initial compensation parameter obtained in the first sub-merging operation and the initial compensation parameters in the first sequence that are not merged; if the first sub-merging operation is not the first first sub-merging operation, the updated first sequence corresponding to the first sub-merging operation includes the merged initial compensation parameter obtained in the first sub-merging operation and the initial compensation parameters in the updated first sequence corresponding to the previous first sub-merging operation that are not merged in the first sub-merging operation. Then, the next first sub-merging operation may be performed based on the updated first sequence, and the vector magnitudes included in the updated first sequence obtained from the last first sub-merging operation are used as the P vector magnitudes.

[0081] For example, in each first sub - merging operation, the vector lengths with frequencies less than the first frequency threshold in the first sequence are merged into adjacent vector lengths. In one example, in the first first sub - merging operation, the first sequence targeted is the first sequence [dv1, dv2, …, dvq] obtained above. At least one vector length with a frequency less than the first frequency threshold is determined from this first sequence. For example, if the first frequency threshold is 3 and the frequency of the vector length dv1 is 2, then the frequency of the vector length dv1 is less than the first frequency threshold. Then, one vector length adjacent to this vector length in the first sequence is determined, and this vector length is merged with the adjacent vector length to obtain the merged vector length. For example, the vector length dv1 is adjacent to the vector length dv2, and the vector length dv1 and the vector length dv2 are merged to obtain a new vector length dv(12) (i.e., the merged vector length). The value of the new vector length can be calculated based on the values and frequencies of the merged vector lengths. For example, if the value of the vector length dv1 is 9 and the frequency is 2, and the value of the vector length dv2 is 10 and the frequency is 3, then the value of the new vector length dv(12) can be (9 * 2 + 10 * 3) / (2 + 3) = 9.6. In some other embodiments, the value of the new vector length dv(12) can also be taken as the value of the vector length with the larger frequency among the merged vector lengths dv1 and dv2. And, the frequency of this new vector length dv(12) can be calculated. The frequency of the vector length dv(12) can be, for example, the sum of the frequencies of the merged vector lengths dv1 and dv2, that is, the frequency is 5. Then, the merged vector models dv1 and dv2 are deleted from the first sequence [dv1, dv2, …, dvq], and the new vector length dv(12) is added to the first sequence. Based on this method, all the merged vector lengths in this first first sub - merging operation are deleted and all the new vector lengths are added to obtain an updated first sequence. That is to say, the merged new vector lengths and the un - merged vector lengths form this updated first sequence. In this updated first sequence, all the vector lengths are also sorted according to the numerical size.

[0082] For example, in the next first sub - merging operation, the updated first sequence obtained from the previous first sub - merging operation is merged to obtain a further updated first sequence, and so on, until the updated first sequence obtained by performing the last first sub - merging operation is obtained. The vector lengths included in the updated first sequence obtained by this last first sub - merging operation are used as the P vector lengths.

[0083] For example, in each first sub - merging operation, all the vector lengths with frequencies less than the first frequency threshold can be determined for merging, or only some of the vector lengths with frequencies less than the first frequency threshold can be merged.

[0084] For example, in some embodiments, if a vector norm less than the first frequency threshold has two adjacent vector norms, it may be first determined whether the frequencies of the two adjacent vector norms are both greater than or equal to the first frequency threshold. If only one of the vector norms has a frequency greater than or equal to the first frequency threshold, then the vector norm with a frequency greater than or equal to the first frequency threshold is merged with the vector norm with a frequency less than the first frequency threshold. If the frequencies of the two adjacent vector norms are both greater than or equal to the first frequency threshold, then the vector norm with the larger frequency is selected and merged with the vector norm with a frequency less than the first frequency threshold.

[0085] For example, in each first sub-merging operation, the vector norm with the smaller frequency is merged into its adjacent vector norm, reducing the number of vector norms, and thus reducing the amount of data in the process of calculating the compensation parameter. In addition, since the vector norm can reflect the brightness of the sub-pixel, the above method can regard sub-pixels with similar brightness as a group, and the compensation parameter can be calculated once for this group of sub-pixels. The compensation parameters of sub-pixels with similar brightness are also similar. Therefore, the difference between the compensation parameter calculated for this group of sub-pixels and the compensation parameter calculated for each sub-pixel therein is small. Therefore, based on this method, the error caused by the merging operation can be reduced.

[0086] For example, the number of executions of the first sub-merging operation can be determined according to the actual situation, or the following method can be used to determine whether to end the first sub-merging operation. For example, at least one execution of the first sub-merging operation is performed on the Q vector norms and the first sequence is updated until the number of vector norms included in the updated first sequence is not greater than the first quantity threshold. That is, until the number of vector norms is less than or equal to the first quantity threshold, the first sub-merging operation can be ended, that is, the first merging operation can be ended. The vector norms included in the updated first sequence obtained by the last first sub-merging operation can be used as the P vector norms. Based on this method, the number of vector norms can be reduced to the expected number, achieving the expected compression ratio.

[0087] For example, the first quantity threshold can be expressed as MAX = Para_bit_per_subpixel × compress_ratio. Where Para_bit_per_subpixel represents the total bit width of the compensation parameter of each sub-pixel. For example, if the number of gray levels is N and the compensation parameter of each gray level is 8 bits, then the total bit width of the compensation parameter of the sub-pixel is 8N. compress_ratio represents the expected compression ratio. If compress_ratio = 8, then MAX = 8N / 8 = N.

[0088] For example, in each first sub - merging operation, after obtaining the updated first sequence corresponding to the current first sub - merging operation, it can be determined whether the number of vector magnitudes included in the updated first sequence corresponding to the current first sub - merging operation is greater than the first quantity threshold. If the number of vector magnitudes included in the updated first sequence corresponding to the current first sub - merging operation is greater than the first quantity threshold, then the next first sub - merging operation is performed based on the updated first sequence corresponding to the current first sub - merging operation; if the number of vector magnitudes included in the updated first sequence corresponding to the current first sub - merging operation is not greater than the first quantity threshold, then the multiple vector magnitudes included in the updated first sequence corresponding to the current first sub - merging operation are used as the P vector magnitudes.

[0089] For example, in a certain first sub - merging operation, if the values of all vector magnitudes are greater than or equal to the first frequency threshold, then the value of the first frequency threshold can be increased by a predetermined increment (the increment can be set according to experience) on the basis of the current value, so as to continue to perform subsequent first sub - merging operations based on the increased first frequency threshold.

[0090] For example, in step S222, P vector magnitudes are obtained, and the corresponding relationship between each vector magnitude and the sub - pixel is obtained. In step S223, based on the P vector magnitudes, the corresponding P second luminance vectors can be obtained, and the corresponding relationship between each second luminance vector and the sub - pixel can be obtained. For example, a correspondence table between vector magnitudes and luminance vectors can be pre - stored in the memory. For each of the P vector magnitudes, the same or similar vector magnitude is found from the correspondence table, and then the corresponding luminance vector is obtained and used as the corresponding second luminance vector. After obtaining the P second luminance vectors, step S224 can be performed to obtain K first compensation parameters. It should be noted that the values of the vector magnitudes in the correspondence table are finite, and each of the P vector magnitudes can be rounded to correspond to the closest vector magnitude in the correspondence table.

[0091] For example, in some embodiments, the merging operation further includes a second merging operation. After calculating multiple initial compensation parameters based on the P second luminance vectors, the second merging operation can be performed on the multiple initial compensation parameters to reduce the number of compensation parameters.

[0092] Figure 6 The flowchart of step S224 provided by at least one embodiment of the present disclosure is shown.

[0093] As Figure 6 shown, step S224 may include steps S2241 to S2243.

[0094] Step S2241: Based on the P second luminance vectors, obtain a luminance matrix. For example, the luminance matrix includes M second luminance vectors corresponding to the M sub-pixels respectively.

[0095] Step S2242: Based on the luminance matrix, generate M initial compensation parameters.

[0096] Step S2243: Perform the second merging operation on the M initial compensation parameters to generate the K first compensation parameters.

[0097] For example, in Step S2241, the P second luminance vectors are, for example, [Vs1, Vs2, Vs3, …, Vsp]. According to the foregoing steps, the corresponding relationship between the P second luminance vectors and the M sub-pixels can be obtained. The M second luminance vectors in the luminance matrix can be arranged in the array manner of the M sub-pixels as Figure 1 shown, that is, the elements of the luminance matrix correspond one by one to the Figure 1 sub-pixels shown. The luminance matrix is, for example, as follows:

[0098]

[0099] For example, if the first 4 sub-pixels in the first row as Figure 1 shown 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, then Ve11, Ve12, Ve13, and Ve14 are the 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, then Ve11, Ve12, Ve13, and Ve14 are all equal to Vs1.

[0100] For example, in Step S2242, M initial compensation parameters corresponding thereto are calculated according to the M second luminance vectors in the luminance matrix. For the elements with the same value in the luminance matrix, they can be calculated only once and the calculated initial compensation parameters can be shared without repeated calculation, thereby reducing the calculation amount in the compensation process.

[0101] For example, the compensation parameter obtained according to the luminance vector described in the embodiments of the present disclosure can be calculated according to the expected luminance of the sub-pixel at N gray levels and the luminance value included in the luminance vector. The compensation parameter is used to make the display luminance of the sub-pixel reach or approach 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 this gray level in the luminance vector is 100, then the compensation parameter can be adjusted to increase the luminance of the sub-pixel by 50 at this gray level.

[0102] For example, in step S2243, a second merging operation may be performed on the M initial compensation parameters to merge the M initial compensation parameters into K first compensation parameters.

[0103] For example, step S2243 may include: performing a frequency statistics on the M initial compensation parameters to determine R initial compensation parameters with different values among the M initial compensation parameters and the frequencies corresponding to the R initial compensation parameters respectively, where R is a positive integer less 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 merging operation on the R initial compensation parameters in the second sorting based on a second frequency threshold to obtain the K first compensation parameters. The second merging operation includes at least one second sub-merging operation. Performing the second merging operation on the R initial compensation parameters in the second sorting includes: performing at least one second sub-merging operation on the R initial compensation parameters and updating the second sequence.

[0104] For example, each second sub-merging operation may include: merging at least one initial compensation parameter less than the second frequency threshold in the second sequence with at least one adjacent initial compensation parameter into at least one merged initial compensation parameter, and updating the second sequence to obtain an updated second sequence, where the updated second sequence includes the at least one merged initial compensation parameter and the initial compensation parameters not merged in the second sequence. The K first compensation parameters include the initial compensation parameters included in the updated second sequence obtained from the last second sub-merging operation in the second merging operation.

[0105] For example, each second sub-merging operation may include: determining a first initial compensation parameter with a frequency less than the second frequency threshold in the second sequence; determining an initial compensation parameter adjacent to the first initial compensation parameter in the second sequence as a second initial compensation parameter; merging the first initial compensation parameter and the second initial compensation parameter to obtain a merged initial compensation parameter; determining the frequency of the merged 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 merged initial compensation parameter to the second sequence to obtain an updated second sequence corresponding to the second sub-merging operation.

[0106] For example, if this second sub - merging operation is the first second sub - merging operation, the updated second sequence corresponding to this second sub - merging operation includes the merged initial compensation parameters obtained in this second sub - merging operation and the unmerged initial compensation parameters in the second sequence; if this second sub - merging operation is not the first second sub - merging operation, the updated second sequence corresponding to this second sub - merging operation includes the merged initial compensation parameters obtained in this second sub - merging operation and the unmerged initial compensation parameters in the updated second sequence corresponding to the previous second sub - merging operation.

[0107] For example, the process of performing the second merging operation on M initial compensation parameters can refer to the process of performing the first merging operation on the M vector norms described above, which will not be elaborated here.

[0108] For example, the number of executions of the second sub - merging operation can be determined according to the actual situation, or it can also be based on the expected compression ratio to judge whether to end the second sub - merging operation.

[0109] For example, in some other embodiments, in step S224, P corresponding initial compensation parameters can be obtained according to P second luminance vectors, and the above - mentioned second merging operation can be directly performed on the basis of the P initial compensation parameters to reduce the P initial compensation parameters to K first compensation parameters (P > K).

[0110] For example, the above - mentioned embodiments describe the process of performing the first merging operation and the second merging operation, that is, merging operations are performed on both luminance parameters and compensation parameters. In some other embodiments, a merging operation can also be performed only on the luminance parameters and not on the compensation parameters, that is, only the first merging operation is performed without performing the second merging operation. For example, after obtaining P second luminance vectors according to step S223, P corresponding initial compensation parameters can be calculated according to the P second luminance vectors, and the P initial compensation parameters can be directly used as K first compensation parameters (P = K). For example, in some other embodiments, a merging operation can also be performed only on the compensation parameters and not on the luminance parameters, and the following will describe this situation.

[0111] For example, the merging operation includes a third merging operation, and step S220 can include: obtaining M corresponding initial compensation parameters based on the M first luminance vectors; performing the third merging operation on the M initial compensation parameters to generate the K first compensation parameters.

[0112] For example, the third merging operation is a merging operation performed on compensation parameters. In this embodiment, the corresponding M initial compensation parameters can be directly calculated based on the M first luminance vectors obtained in step S210. The third merging operation is performed in step S220 to merge the M initial compensation parameters into K first compensation parameters. The process of performing the third merging operation on the M initial compensation parameters can refer to the process of performing the second merging operation on the M initial compensation parameters described above, which will not be elaborated here.

[0113] For example, in some embodiments, the determination method of the embodiments of the present disclosure may further include: based on the K first compensation parameters, simulating the display panel to obtain a simulation result; in response to the simulation result indicating that the display panel presents a first display state, adjusting the second frequency threshold, and re-performing the second merging operation based on the adjusted second frequency threshold to obtain updated multiple first compensation parameters until the simulation result corresponding to the updated multiple first compensation parameters indicates that the display panel presents a second display state.

[0114] For example, when the display panel presents the first display state, it can be considered that the display panel has abnormal display. For example, there are bright spots, dark spots, etc. on the display panel. When the display panel presents the second display state, it can be considered that the display effect of the display panel is normal. For example, there are no bright spots, dark spots, etc. on the display panel. 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 expected by the user can be set by the user according to the actual situation, and there is no limitation on this.

[0115] For example, adjusting the second frequency threshold may include reducing the second frequency threshold. After obtaining the K first compensation parameters, use the K first compensation parameters for simulation to determine whether the K first compensation parameters obtained by the merging operation will cause abnormal display. For example, determine whether there are bright spots, dark spots, etc. on the display panel. If an abnormal situation occurs, it means that the K first compensation parameters cause over-compensation or under-compensation of the display panel. In this case, if the above-mentioned second merging operation has been performed before, the second merging operation can be withdrawn, the value of the second frequency threshold can be reduced, and the second merging operation can be re-performed based on the reduced second frequency threshold to obtain multiple first compensation parameters again. Simulate based on the multiple first compensation parameters again to determine whether the multiple first compensation parameters still cause abnormal display. If so, reduce the second frequency threshold again and re-perform the second merging operation until the updated multiple first compensation parameters make the display panel display normally.

[0116] For example, in some other embodiments, the determination method according to the embodiments of the present disclosure may further include: simulating the display panel based on the K first compensation parameters to obtain a simulation result; in response to the simulation result indicating that the display panel presents 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 multiple first compensation parameters until the simulation result corresponding to the updated multiple first compensation parameters indicates that the display panel presents a second display state.

[0117] For example, if the K first compensation parameters cause display anomalies, the second merging operation and the first merging operation can be withdrawn, the values of the first frequency threshold and the second frequency threshold can be reduced, and the first merging operation and the second merging operation can be re - executed based on the reduced first frequency threshold and the reduced second frequency threshold until the display panel displays normally with the updated multiple first compensation parameters.

[0118] For example, in the case of display anomalies in the display panel, the merging operation is re - performed based on the reduced frequency threshold. The reduced frequency threshold (the second frequency threshold and / or the first frequency threshold) can reduce the data to be merged, retaining more original data. Therefore, in this way, both data compression and display effects are ensured.

[0119] For example, in some embodiments, after the merging operation, it can be determined whether the data compression ratio after the merging operation reaches the expected compression ratio. When the data compression ratio is not less than the expected compression ratio, the K first compensation parameters can be directly used as multiple second compensation parameters. When the data compression ratio is less than the expected compression ratio, the K first compensation parameters can be further compressed to obtain multiple second compensation parameters.

[0120] Figure 7 The flowchart of step S230 provided by at least one embodiment of the present disclosure is shown.

[0121] As Figure 7 shown, for example, step S230 may include steps S231 - S233.

[0122] Step S231: Divide the M sub - pixels into multiple sub - pixel blocks based on the expected compression ratio.

[0123] Step S232: Determine multiple region compensation parameters respectively corresponding to the multiple sub - pixel blocks based on the K first compensation parameters.

[0124] Step S233: Obtain the multiple second compensation parameters based on the multiple region compensation parameters.

[0125] For example, if the expected compression ratio is N times and the data compression ratio after the merging operation is S times, then it is necessary to further compress by N / S times. Sub-pixels can be divided into blocks based on N / S. For example, if the expected compression ratio is 8 times and the data compression ratio after the merging operation is 2 times (e.g., K = M / 2), then it is still necessary to compress by 4 times to achieve the expected compression ratio. In this case, every 4 sub-pixels can be divided into a sub-pixel block, as Figure 1 shown. For example, 2×2 adjacent sub-pixels in the horizontal and vertical directions can be used as a sub-pixel block B, or 1×4 adjacent sub-pixels in the horizontal or vertical direction can also be used as a sub-pixel block.

[0126] For example, step S232 may include: generating a compensation parameter matrix based on the K first compensation parameters, where the compensation parameter matrix includes M first compensation parameters respectively corresponding to the M sub-pixels; generating multiple region compensation parameters respectively corresponding to the multiple sub-pixel blocks based on the compensation parameter matrix.

[0127] For example, the K first compensation parameters are, for example, [C1, C2, C3, …, Ck]. According to the foregoing steps, the corresponding relationship between the K first compensation parameters and the M sub-pixels can be obtained. The M first compensation parameters in the compensation parameter matrix can be arranged in the Figure 1 array manner of the M sub-pixels shown, that is, the elements of the compensation parameter matrix correspond one by one to the Figure 1 sub-pixels shown. The compensation parameter matrix is, for example, as follows:

[0128]

[0129] For example, if Figure 1 the first 4 sub-pixels in the first row shown 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, then Ce11, Ce12, Ce13, and Ce14 are all equal to C1.

[0130] For example, in some embodiments, for each such sub-pixel block, weighted average processing can be performed on the multiple first compensation parameters in the compensation parameter matrix corresponding to the sub-pixel block, and the processing result is used as the region compensation parameter corresponding to the sub-pixel block. For example, as Figure 1As shown, 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 found from the compensation parameter matrix. Then, Ce11, Ce12, Ce21, and Ce22 are weighted and averaged, and the result of the weighted average can be used as the area compensation parameter corresponding to the sub-pixel block.

[0131] For example, in some other embodiments, for each such sub-pixel block, the compensation parameter with the highest frequency among the multiple first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix is taken as the area compensation parameter corresponding to the sub-pixel block. For example, continuing with the above example, for the sub-pixel block composed of the above Px11, Px12, Px21, and Px22, one of the compensation parameters with the highest frequency among Ce11, Ce12, Ce21, and Ce22 can be taken as the area compensation parameter corresponding to the sub-pixel block. If there are two or more first compensation parameters with the same highest frequency among the multiple first compensation parameters, for example, the frequencies of Ce11, Ce12, Ce21, and Ce22 are 3, 1, 3, and 2 respectively, and Ce11 and Ce21 have the same highest frequency. For this situation, in one example, one can be randomly selected from the two or more tied first compensation parameters as the area compensation parameter; in another example, other methods can be used to determine the area compensation parameter, such as the above-mentioned weighted average method or the following method of taking the median.

[0132] For example, in some other embodiments, for each such sub-pixel block, the median of the multiple first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix is taken as the area compensation parameter corresponding to the sub-pixel block. For example, continuing with the above example, for the sub-pixel block composed of the above Px11, Px12, Px21, and Px22, the median compensation parameter of Ce11, Ce12, Ce21, and Ce22 can be taken as the area compensation parameter corresponding to the sub-pixel block. If, after arranging the multiple first compensation parameters in ascending or descending order of magnitude, there are two values in the middle position, then the average of these two middle values can be taken as the area compensation parameter. For example, if the values of Ce11, Ce12, Ce21, and Ce22 are 1, 2, 3, and 4 respectively, then the average of 2 and 3, which is 2.5, can be taken as the area compensation parameter.

[0133] For example, each sub-pixel in each sub-pixel block shares a region compensation parameter, that is, the region compensation parameter of each sub-pixel block corresponds to multiple sub-pixels included in the sub-pixel block. After obtaining the region compensation parameter corresponding to each sub-pixel block, in step S233, multiple region compensation parameters with different values can be extracted from the region compensation parameters of all sub-pixel blocks as multiple second compensation parameters. Moreover, the sub-pixels corresponding to each second compensation parameter can be obtained.

[0134] For example, an index table can be pre-stored, and the index table can include the correspondence between multiple index values and multiple second compensation parameters. After obtaining multiple second compensation parameters, the index table can be searched to obtain the corresponding multiple index values and the sub-pixels corresponding to each index value. Store the multiple index values and the correspondence between the multiple index values and M sub-pixels for subsequent calling of the stored multiple index values and their correspondence with M sub-pixels to perform a compensation operation on the display panel. For example, the multiple index values, the correspondence between the multiple index values and M sub-pixels, and the index table can be combined to generate a bitstream and burned into the driving chip of the display panel. After the display panel is powered on, the bitstream can be called, and based on the multiple index values, the correspondence between the multiple index values and M sub-pixels, and the index table, the compensation parameters corresponding to each sub-pixel can be parsed to compensate the sub-pixels based on the corresponding compensation parameters.

[0135] For example, in some other embodiments, each of the K first compensation parameters can have a corresponding index value. For example, after obtaining the K first compensation parameters, the index table can be searched according to the K first compensation parameters to obtain the corresponding K index values. Step S232 can include: based on the expected compression ratio, partitioning the M sub-pixels to obtain multiple sub-pixel blocks; generating an index matrix based on the K index values respectively corresponding to the K first compensation parameters; generating multiple region index values respectively corresponding to the multiple sub-pixel blocks based on the index matrix; and obtaining the multiple second compensation parameters based on the multiple region index values. For example, the index matrix includes M index values respectively corresponding to the M sub-pixels. For example, the index value corresponding to each sub-pixel is the index value of the compensation parameter corresponding to the sub-pixel.

[0136] For example, according to the correspondence between the K first compensation parameters and the M sub-pixels, the correspondence between the K index values and the M sub-pixels can be obtained, and an index matrix is formed according to the correspondence between the K index values and the M sub-pixels. For example, the M index values in the index matrix can be arranged in the array manner of the M sub-pixels shown in Figure 1 That is, the elements of the index matrix correspond one by one to the sub-pixels shown in Figure 1 The index matrix is shown as follows:

[0137]

[0138] For example, if Figure 1 the first 4 sub-pixels shown in the first row are Px11, Px12, Px13, and Px14 respectively, and the first 4 elements of the index matrix in the first row are Id11, Id12, Id13, and Id14 respectively, then Id11, Id12, Id13, and Id14 are the index values corresponding to Px11, Px12, Px13, and Px14 respectively. For example, K index values are, for example, [I1, I2, I3, …, Ik]. If I1 among them corresponds to sub-pixels Px11, Px12, Px13, and Px14, then Id11, Id12, Id13, and Id14 are all equal to I1.

[0139] For example, the operation of dividing M sub-pixels into blocks can refer to the above relevant description and will not be elaborated here. After obtaining the sub-pixel blocks, for each sub-pixel block, the corresponding regional index value can be calculated. For example, for each sub-pixel block, a weighted average process can be performed on multiple index values corresponding to the sub-pixel block in the index matrix, and the processing result is used as the regional index value corresponding to the sub-pixel block. Or, for each sub-pixel block, the index value with the highest frequency among multiple index values corresponding to the sub-pixel block in the index matrix can be taken as the regional index value corresponding to the sub-pixel block. Or, for each sub-pixel block, the median of multiple index values corresponding to the sub-pixel block in the index matrix can be taken as the regional index value corresponding to the sub-pixel block.

[0140] For example, each sub-pixel in each sub-pixel block shares a regional index value, that is, the regional index value of each sub-pixel block corresponds to multiple sub-pixels included in the sub-pixel block. After obtaining the regional index value corresponding to each sub-pixel block, in step S233, multiple regional index values with different numerical values can be extracted from the regional index values of all sub-pixel blocks, and by looking up the index table, multiple compensation parameters corresponding to the multiple regional index values with different numerical values are obtained as multiple second compensation parameters.

[0141] For example, multiple index values with different numerical values and the corresponding relationship between each index value and sub-pixels can be stored, so as to subsequently call the stored multiple index values and their corresponding relationship with M sub-pixels to perform a compensation operation on the display panel.

[0142] According to the method for determining compensation parameters of the embodiments of the present disclosure, the brightness of each sub-pixel of the display panel at the sampled gray level can be formed into a multi-dimensional vector, and the multi-dimensional vector can be classified according to a certain compression ratio to achieve a certain degree of data compression.

[0143] According to the method for determining compensation parameters according to an embodiment of the present disclosure, after classifying the brightness, the compensation values of each sub-pixel at different gray levels can be further classified, and the classified index values are used to replace the compensation values of each sub-pixel for further data compression.

[0144] According to the method for determining compensation parameters according to an embodiment of the present disclosure, the compensation data can be compressed while ensuring the compensation effect.

[0145] An embodiment of the present disclosure further provides a compensation method for compensating a display panel.

[0146] Figure 8 The flowchart of a compensation method provided by at least one embodiment of the present disclosure is shown.

[0147] As Figure 8 shown, the compensation method includes steps S310 to S330.

[0148] Step S310: Obtain a plurality of second compensation parameters of the display panel according to the method for determining compensation parameters.

[0149] Step S320: Generate M target compensation parameters corresponding to the M sub-pixels respectively based on the plurality of second compensation parameters.

[0150] Step S330: Compensate the M sub-pixels based on the M target compensation parameters.

[0151] For example, in step S310, the method for determining compensation parameters can refer to the description of any of the above embodiments and will not be elaborated here. For example, the method for determining compensation parameters stores a plurality of index values and their corresponding relationships with the M sub-pixels in the display driver chip. When executing the compensation method, a plurality of index values are retrieved, and the corresponding plurality of compensation parameters are obtained by looking up the index table as the plurality of second compensation parameters.

[0152] For example, in step S320, the corresponding relationship between the plurality of second compensation parameters and the M sub-pixels can be obtained according to the corresponding relationship between the plurality of index values and the M sub-pixels. For each sub-pixel, its corresponding second compensation parameter can be determined and used as the target compensation parameter.

[0153] For example, in step S330, each sub-pixel can be compensated according to the target compensation parameter corresponding to it so that the display brightness of each sub-pixel reaches or approaches the expected brightness.

[0154] An embodiment of the present disclosure further provides a device for determining compensation parameters. The device for determining compensation parameters is applied to a display panel, and the display panel includes M sub-pixels arranged in an array.

[0155] Figure 9 FIG. 0 shows a schematic block diagram of a determination device 400 for compensation parameters provided by at least one embodiment of the present disclosure.

[0156] For example, as Figure 9 shown, the determination device 400 includes an acquisition module 410, a merging module 420, and a determination module 430. These components are interconnected through a bus system and / or other forms of connection mechanisms (not shown). For example, these modules can be implemented through hardware (such as circuits), software modules, or any combination of the two. The same applies to the following embodiments and will not be elaborated further. For example, these units can be implemented through a central processing unit (CPU), a graphics processing unit (GPU), a tensor processing unit (TPU), a field programmable gate array (FPGA), or other forms of processing units with data processing capabilities and / or instruction execution capabilities, as well as corresponding computer instructions. It should be noted that Figure 9 the components and structures of the determination device 400 shown are exemplary and not restrictive. According to needs, the determination device 400 can also have other components and structures.

[0157] The acquisition unit 410 is configured to acquire M first luminance vectors respectively corresponding to the M sub-pixels. The acquisition unit 410 can, for example, execute Figure 2 the steps described in S210.

[0158] The merging module 420 is configured to perform a merging operation based on the M first luminance vectors to obtain K first compensation parameters for the M sub-pixels. The merging module 420 can, for example, execute Figure 2 the steps described in S220.

[0159] The determination 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 can, for example, execute Figure 2 the steps described in S230.

[0160] 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.

[0161] For example, the acquisition module 410, the merging module 420, and the determination module 430 can be hardware, software, firmware, and any feasible combination thereof. For example, the acquisition module 410, the merging module 420, and the determination module 430 can be dedicated or general-purpose circuits, chips, or devices, etc., or can also be a combination of a processor and a memory. Regarding the specific implementation forms of the above-mentioned respective units, the embodiments of the present disclosure do not limit this.

[0162] For example, the acquisition module 410, the merging module 420, and the determination module 430 may include code and programs stored in a memory; the processor may execute the code and programs to implement some or all of the functions of the image acquisition module 410, the merging module 420, and the determination module 430 as described above. For example, the acquisition module 410, the merging module 420, and the determination module 430 may be dedicated hardware devices for implementing some or all of the functions of the acquisition module 410, the merging module 420, and the determination module 430 as described above. For example, the acquisition module 410, the merging module 420, and the determination module 430 may be a circuit board or a combination of multiple circuit boards for implementing the functions as described above. In the embodiments of the present disclosure, the circuit board or the combination of multiple circuit boards may include: (1) one or more processors; (2) one or more non-transitory memories connected to the processor; and (3) firmware stored in the memory and executable by the processor.

[0163] It should be noted that in the embodiments of the present disclosure, each unit of the compensation parameter determination device 400 corresponds to each step of the foregoing compensation parameter determination method. For the specific functions of the compensation parameter determination device 400, reference may be made to the relevant descriptions of the compensation parameter determination method, which will not be elaborated here. Figure 9 The components and structures of the shown compensation parameter determination device 400 are merely exemplary and not restrictive. According to needs, the compensation parameter determination device 400 may further include other components and structures. The compensation parameter determination device 400 may include more or fewer circuits or units, and the connection relationships between the various circuits or units are not limited and may be determined according to actual requirements. The specific composition manners of the various circuits or units are not limited and may be composed of analog devices according to circuit principles, or composed of digital chips, or in other applicable manners.

[0164] For example, the apparatus for determining compensation parameters may further include a simulation module configured to: simulate the display panel based on the K first compensation parameters to obtain a simulation result; in response to the simulation result indicating that the display panel presents a first display state, adjust the second frequency threshold, and re - execute the second merging operation based on the adjusted second frequency threshold to obtain updated multiple first compensation parameters until the simulation result corresponding to the updated multiple first compensation parameters indicates that the display panel presents a second display state; or, in response to the simulation result indicating that the display panel presents a first display state, adjust the first frequency threshold and the second frequency threshold, and re - execute 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 multiple first compensation parameters until the simulation result corresponding to the updated multiple first compensation parameters indicates that the display panel presents a second display state.

[0165] At least one embodiment of the present disclosure further provides an electronic device, which includes a processor and a memory. The memory stores one or more computer program modules. The one or more computer program modules are configured to be executed by the processor to implement the above - mentioned method for determining compensation parameters. The electronic device can use the merging operation to reduce the number of compensation parameters to be less than the number of sub - pixels, achieve a certain degree of data compression, and thus reduce the computational amount and storage amount required for brightness compensation.

[0166] Figure 10 Schematic block diagram of an electronic device provided for some embodiments of the present disclosure. As Figure 10 shown, the electronic device 500 includes a processor 510 and a memory 520. The memory 520 stores non - transient computer - readable instructions (such as one or more computer program modules). The processor 510 is configured to run the non - transient computer - readable instructions, and when the non - transient computer - readable instructions are run by the processor 510, one or more steps in the above - mentioned method for determining compensation parameters are executed. The memory 520 and the processor 510 may be interconnected through a bus system and / or other forms of connection mechanisms (not shown). For the specific implementation and related explanation of each step of the method for determining compensation parameters, reference may be made to the embodiments of the method for determining compensation parameters above, and repeated parts will not be elaborated here.

[0167] It should be noted that Figure 10 the components of the electronic device 500 shown are exemplary and not restrictive. According to actual application requirements, the electronic device 500 may further have other components.

[0168] For example, the processor 510 and the memory 520 may communicate directly or indirectly with each other.

[0169] For example, the processor 510 and the memory 520 can communicate via a network. The network can include a wireless network, a wired network, and / or any combination of a wireless network and a wired network. Communication between the processor 510 and the memory 520 can also be achieved via a system bus, and the present disclosure places no restrictions thereon.

[0170] For example, the processor 510 and the memory 520 can be disposed on the server side (or cloud).

[0171] For example, the processor 510 can control other components in the electronic device 500 to perform desired functions. For example, the processor 510 can be a central processing unit (CPU), a graphics processing unit (GPU), or other forms of processing units with data processing capabilities and / or program execution capabilities. For example, the central processing unit (CPU) can be of the X86 or ARM architecture, etc. The processor 510 can be a general-purpose processor or a dedicated processor, and can control other components in the electronic device 500 to perform desired functions.

[0172] For example, the memory 520 can include any combination of one or more computer program products, and the computer program products can 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, etc. Non-volatile memory can 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, etc. One or more computer program modules can be stored on the computer-readable storage medium, and the processor 510 can run one or more computer program modules to implement various functions of the electronic device 500. Various application programs and various data, as well as various data used and / or generated by the application programs, can also be stored in the computer-readable storage medium.

[0173] For example, in some embodiments, the electronic device 500 can be a mobile phone, a tablet computer, a laptop computer, a server, etc.

[0174] For example, the electronic device 500 can be connected to a display panel in a wired or wireless manner to perform data interaction with the display panel.

[0175] For example, the electronic device 500 can be connected to a photographing device such as a camera in a wired or wireless manner. After the photographing device captures the display image of the display panel, the display image is sent to the electronic device 500, and the electronic device 500 obtains the display brightness based on the display image captured by the photographing device, and then obtains the brightness vector.

[0176] For example, the electronic device 500 may have a touch function, that is, the electronic device 500 may be a touch device.

[0177] It should be noted that in the embodiments of the present disclosure, the specific functions and technical effects of the electronic device 500 can refer to the description of the method for determining compensation parameters in the foregoing text, and will not be elaborated here.

[0178] Figure 11 The 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 for determining compensation parameters provided by the embodiments of the present disclosure. The electronic device 600 may be a terminal device or the like. It should be noted that Figure 11 The illustrated electronic device 600 is merely an example, and it will not impose any limitations on the functions and usage scope of the embodiments of the present disclosure.

[0179] As Figure 11 shown, the electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 610, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 620 or the program loaded from the storage device 680 into the random access memory (RAM) 630. In the RAM 630, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 610, the ROM 620, and the RAM 630 are connected to each other through a bus 640. The input / output (I / O) interface 650 is also connected to the bus 640.

[0180] Generally, the following devices may be connected to the I / O interface 650: an input device 660 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 670 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 680 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 690. The communication device 690 can allow the electronic device 600 to communicate with other electronic devices wirelessly or wiredly to exchange data. Although Figure 11 the illustrated electronic device 600 has various devices, it should be understood that it is not required to implement or include all the illustrated devices, and the electronic device 600 may alternatively implement or include more or fewer devices.

[0181] For example, according to an embodiment of the present disclosure, the method for determining the above compensation parameters may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium. The computer program includes program code for executing the method for determining the above compensation parameters. In such an embodiment, the computer program may be downloaded and installed from a network through a communication device 690, or installed from a storage device 680, or installed from a ROM 620. When the computer program is executed by a processing device 610, the functions defined in the method for determining the compensation parameters provided by the embodiments of the present disclosure may be implemented.

[0182] At least one embodiment of the present disclosure further provides a computer-readable storage medium, which stores non-temporary computer-readable instructions. When the non-temporary computer-readable instructions are executed by a computer, the above method for determining the compensation parameters may be implemented. By using this computer-readable storage medium, a merge operation may be utilized to reduce the number of compensation parameters to be less than the number of sub-pixels, achieving a certain degree of data compression, and thus reducing the amount of computation and storage required for brightness compensation.

[0183] Figure 12 Schematic diagram of a storage medium provided for some embodiments of the present disclosure. As Figure 12 shown, the storage medium 700 stores non-temporary computer-readable instructions 710. For example, when the non-temporary computer-readable instructions 710 are executed by a computer, one or more steps in the method for determining the compensation parameters described above are executed.

[0184] For example, the storage medium 700 may be applied to the above electronic device 500. For example, the storage medium 700 may be Figure 10 the memory 520 in the shown electronic device 500. For example, the relevant description of the storage medium 700 may refer to Figure 10 the corresponding description of the memory 520 in the shown electronic device 500, which will not be elaborated here.

[0185] Although Figure 12 a computer system with various devices is shown, it should be understood that it is not required for the computer system to have all the shown devices. Instead, the computer system may have more or fewer devices.

[0186] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) having similar functions disclosed in the present disclosure.

[0187] In addition, although the operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although 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 described in the context of separate embodiments may also be implemented combinatorially in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented separately or in any suitable sub-combination in multiple embodiments.

[0188] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. On the contrary, the specific features and acts described above are merely example forms for implementing the claims.

[0189] Regarding the present disclosure, the following points also need to be noted:

[0190] (1) The drawings of the embodiments of the present disclosure only relate to the structures involved in the embodiments of the present disclosure, and other structures can refer to the general design.

[0191] (2) Without conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other to obtain new embodiments.

[0192] The above is only the specific implementation manner of the present disclosure, but the protection scope of the present disclosure is not limited thereto. The protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. 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 luminance vectors respectively corresponding to the M sub-pixels; Performing a merging operation based on the M first luminance vectors to obtain K first compensation parameters for 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; Wherein, the merging operation includes a first merging operation, Performing a merging operation based on the M first luminance vectors to obtain K first compensation parameters for the M sub-pixels, including: Calculating M vector magnitudes based on the M first luminance vectors; Performing the first merging operation on the M vector magnitudes to merge the M vector magnitudes into P vector magnitudes; Determining P second luminance vectors based on the P vector magnitudes, wherein each of the P second luminance vectors corresponds to at least one sub-pixel among the M sub-pixels; Generating the K first compensation parameters based on the P second luminance vectors; Wherein, P is a positive integer less than M; the P vector magnitudes include: partial vector magnitudes among the M vector magnitudes, and / or new vector magnitudes generated from at least partial vector magnitudes among the M vector magnitudes.

2. The determination method according to claim 1, wherein The first luminance vector corresponding to each sub-pixel among the M sub-pixels includes N display luminances of the each sub-pixel at N gray levels respectively.

3. The determination method according to claim 1, wherein The K first compensation parameters are not equal to each other; Each of the K first compensation parameters corresponds to at least one sub-pixel among the M sub-pixels.

4. The determination method according to any one of claims 1 to 3, wherein The numerical values of the P vector magnitudes are not equal to each other.

5. The determination method according to any one of claims 1-3, wherein, Performing the first merging operation on the M vector magnitudes to merge the M vector magnitudes into P vector magnitudes, including: Performing frequency statistics on the M vector magnitudes to determine Q vector magnitudes with different numerical values among the M vector magnitudes and the frequencies respectively corresponding to the Q vector magnitudes, wherein Q is a positive integer less than M; Sorting the Q vector magnitudes based on the numerical values of the Q vector magnitudes to obtain a first sequence; Performing the first merging operation on the Q vector magnitudes in the first sequence based on a first frequency threshold to obtain the P vector magnitudes.

6. The determination method according to claim 5, wherein, The first merging operation includes a first sub-merging operation, Performing the first merging operation on the Q vector magnitudes in the first sequence, including: Performing at least one time of the first sub-merging operation on the Q vector magnitudes and updating the first sequence until the number of vector magnitudes included in the updated first sequence is not greater than a first quantity threshold, Wherein, the P vector magnitudes include the vector magnitudes included in the updated first sequence obtained by the last first sub-merging operation.

7. The determination method according to claim 6, wherein, Each time the first sub-merging operation includes: Determining a first vector magnitude with a frequency less than the first frequency threshold in the first sequence; Determining a vector magnitude adjacent to the first vector magnitude in the first sequence as a second vector magnitude; Combine the magnitude of the first vector and the magnitude of the second vector to obtain the magnitude of the combined vector; Determine the frequency of the magnitude of the combined vector based on the frequency of the magnitude of the first vector and the frequency of the magnitude of the second vector; Delete the magnitude of the first vector and the magnitude of the second vector from the first sequence, and add the magnitude of the combined vector to the first sequence to obtain the updated first sequence corresponding to the first sub-combination operation, where the updated first sequence corresponding to the first sub-combination operation includes the magnitude of the combined vector and the vector magnitudes in the first sequence that have not been combined; If the number of vector magnitudes included in the updated first sequence corresponding to the first sub-combination operation is greater than the first quantity threshold, perform the next first sub-combination operation based on the updated first sequence corresponding to the first sub-combination operation; If the number of vector magnitudes included in the updated first sequence corresponding to the first sub-combination operation is not greater than the first quantity threshold, use the multiple vector magnitudes included in the updated first sequence corresponding to the first sub-combination operation as the P vector magnitudes.

8. The determination method according to claim 5, wherein, The combination operation further includes a second combination operation. Generate the K first compensation parameters based on the P second luminance vectors, including: Obtain a luminance matrix based on the P second luminance vectors, where the luminance matrix includes M second luminance vectors corresponding to the M sub-pixels respectively; Generate M initial compensation parameters based on the luminance matrix; Perform the second combination operation on the M initial compensation parameters to generate the K first compensation parameters.

9. The determination method according to claim 8, wherein, Perform the second combination operation on the M initial compensation parameters to generate the K first compensation parameters, including: Perform a frequency statistics on the M initial compensation parameters to determine R initial compensation parameters with different values among the M initial compensation parameters and the frequencies corresponding to the R initial compensation parameters respectively, where R is a positive integer less than M; Sort the R initial compensation parameters based on the values of the R initial compensation parameters to obtain a second sequence; Perform the second combination operation on the R initial compensation parameters in the second sequence based on a second frequency threshold to obtain the K first compensation parameters. Wherein, the second combination operation includes a second sub-combination operation. Performing the second combination operation on the R initial compensation parameters in the second sequence includes: performing at least one second sub-combination operation on the R initial compensation parameters and updating the second sequence; Wherein, the K first compensation parameters include the initial compensation parameters included in the updated second sequence obtained by the last second sub-combination operation.

10. The determination method according to claim 9, wherein, Each second sub-combination operation includes: Determine a first initial compensation parameter in the second sequence whose frequency is less than the second frequency threshold; Determine an initial compensation parameter adjacent to the first initial compensation parameter in the second sequence as a second initial compensation parameter; Combine the first initial compensation parameter and the second initial compensation parameter to obtain a combined initial compensation parameter; Determine the frequency of the merged initial compensation parameter based on the frequencies of the first initial compensation parameter and the second initial compensation parameter; Delete the first initial compensation parameter and the second initial compensation parameter from the second sequence, and add the merged initial compensation parameter to the second sequence to obtain the updated second sequence corresponding to the second sub-merging operation, wherein, the updated second sequence corresponding to the second sub-merging operation includes the merged initial compensation parameter and the initial compensation parameters in the second sequence that have not been merged.

11. The determination method according to claim 9 further includes: Simulate the display panel based on the K first compensation parameters to obtain a simulation result; In response to the simulation result indicating that the display panel presents a first display state, adjust the second frequency threshold, and re-execute the second merging operation based on the adjusted second frequency threshold to obtain updated multiple first compensation parameters until the simulation result corresponding to the updated multiple first compensation parameters indicates that the display panel presents a second display state; Or, In response to the simulation result indicating that the display panel presents a first display state, adjust the first frequency threshold and the second frequency threshold, and re-execute 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 multiple first compensation parameters until the simulation result corresponding to the updated multiple first compensation parameters indicates that the display panel presents a second display state.

12. The determination method according to claim 1, wherein, Determine multiple second compensation parameters of the display panel based on the K first compensation parameters, including: Block the M sub-pixels based on an expected compression ratio to obtain multiple sub-pixel blocks; Determine multiple region compensation parameters corresponding to the multiple sub-pixel blocks respectively based on the K first compensation parameters; Obtain the multiple second compensation parameters based on the multiple region compensation parameters.

13. The determination method according to claim 12, wherein Determine multiple region compensation parameters corresponding to the multiple sub-pixel blocks respectively based on the K first compensation parameters, including: Generate a compensation parameter matrix based on the K first compensation parameters, wherein the compensation parameter matrix includes M first compensation parameters corresponding to the M sub-pixels respectively; Generate the multiple region compensation parameters corresponding to the multiple sub-pixel blocks respectively based on the compensation parameter matrix.

14. The determination method according to claim 1, wherein, Each of the K first compensation parameters corresponds to an index value; Determine multiple second compensation parameters of the display panel based on the K first compensation parameters, including: Block the M sub-pixels based on an expected compression ratio to obtain multiple sub-pixel blocks; Generate an index matrix based on the K index values corresponding to the K first compensation parameters, wherein the index matrix includes M index values corresponding to the M sub-pixels respectively; Generate multiple region index values corresponding to the multiple sub-pixel blocks respectively based on the index matrix; Obtain the multiple second compensation parameters based on the multiple region index values.

15. The determination method according to claim 14, wherein, The index value corresponding to each of the sub-pixels is the index value of the compensation parameter corresponding to the sub-pixel.

16. The determination method according to claim 13, wherein, Based on the compensation parameter matrix, generating a plurality of regional compensation parameters respectively corresponding to the plurality of sub-pixel blocks, including: for each of the sub-pixel blocks, performing a weighted average process on a plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix, and taking the processing result as the regional compensation parameter corresponding to the sub-pixel block; or taking the compensation parameter with the highest frequency among the plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix as the regional compensation parameter corresponding to the sub-pixel block; or taking the median of the plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix as the regional compensation parameter corresponding to the sub-pixel block.

17. 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 luminance vectors respectively corresponding to the M sub-pixels; performing a merging operation based on the M first luminance vectors to obtain K first compensation parameters regarding 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; wherein, the merging operation includes a third merging operation, performing a merging operation based on the M first luminance vectors to obtain K first compensation parameters regarding the M sub-pixels, including: obtaining corresponding M initial compensation parameters based on the M first luminance vectors; performing the third merging operation on the M initial compensation parameters to generate the K first compensation parameters wherein, performing the third merging operation on the M initial compensation parameters to generate the K first compensation parameters includes: performing a frequency statistics on the M initial compensation parameters to determine R initial compensation parameters with different values among the M initial compensation parameters and the frequencies respectively corresponding to the R initial compensation parameters, wherein, R is a positive integer less than M; sorting the R initial compensation parameters based on the values of the R initial compensation parameters to obtain a third sequence; performing the third merging operation on the R initial compensation parameters in the third sequence based on a second frequency threshold to obtain the K first compensation parameters, wherein, the third merging operation includes a third sub-merging operation, performing the third merging operation on the R initial compensation parameters in the third sequence includes: performing at least one of the third sub-merging operations on the R initial compensation parameters and updating the third sequence; wherein, the K first compensation parameters include the initial compensation parameters included in the updated third sequence obtained by the last third sub-merging operation.

18. The determination method according to claim 17, wherein, The first luminance vector corresponding to each of the M sub-pixels includes N display luminances of each of the sub-pixels at N gray levels.

19. The determination method according to claim 17, wherein The K first compensation parameters are not equal to each other; Each of the K first compensation parameters corresponds to at least one of the M sub-pixels.

20. The determination method according to claim 17, wherein Determine a plurality of second compensation parameters of the display panel based on the K first compensation parameters, including: Block the M sub-pixels based on an expected compression ratio to obtain a plurality of sub-pixel blocks; Determine a plurality of region compensation parameters respectively corresponding to the plurality of sub-pixel blocks based on the K first compensation parameters; Obtain the plurality of second compensation parameters based on the plurality of region compensation parameters.

21. The determination method according to claim 20, wherein, Determine a plurality of region compensation parameters respectively corresponding to the plurality of sub-pixel blocks based on the K first compensation parameters, including: Generate a compensation parameter matrix based on the K first compensation parameters, where the compensation parameter matrix includes M first compensation parameters respectively corresponding to the M sub-pixels; Generate the plurality of region compensation parameters respectively corresponding to the plurality of sub-pixel blocks based on the compensation parameter matrix.

22. The determination method according to claim 17, wherein Each of the K first compensation parameters corresponds to an index value; Determine a plurality of second compensation parameters of the display panel based on the K first compensation parameters, including: Block the M sub-pixels based on an expected compression ratio to obtain a plurality of sub-pixel blocks; Generate an index matrix based on the K index values respectively corresponding to the K first compensation parameters, where the index matrix includes M index values respectively corresponding to the M sub-pixels; Generate a plurality of region index values respectively corresponding to the plurality of sub-pixel blocks based on the index matrix; Obtain the plurality of second compensation parameters based on the plurality of region index values.

23. The determination method according to claim 22, wherein, The index value corresponding to each sub-pixel is the index value of the compensation parameter corresponding to the sub-pixel.

24. The determination method according to claim 21, wherein Generate the plurality of region compensation parameters respectively corresponding to the plurality of sub-pixel blocks based on the compensation parameter matrix, including: for each sub-pixel block, Perform a weighted average process on the plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix, and use the processing result as the region compensation parameter corresponding to the sub-pixel block; or Take the compensation parameter with the highest frequency among the plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix as the region compensation parameter corresponding to the sub-pixel block; or Take the median of the plurality of first compensation parameters corresponding to the sub-pixel block in the compensation parameter matrix as the region compensation parameter corresponding to the sub-pixel block.

25. A compensation method for compensating a display panel, wherein, The display panel includes M sub-pixels arranged in an array, including: Obtain a plurality of second compensation parameters of the display panel according to the determination method according to any one of claims 1 to 24; Generate M target compensation parameters respectively corresponding to the M sub-pixels based on the plurality of second compensation parameters; Compensate the M sub-pixels based on the M target compensation parameters.

26. An apparatus 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 device includes: An acquisition module configured to acquire M first luminance vectors respectively corresponding to the M sub-pixels; A merging module configured to perform a merging operation based on the M first luminance vectors to obtain K first compensation parameters regarding the M sub-pixels; A determination 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 multiple second compensation parameters is less than M; Wherein, the merging operation includes a first merging operation, The merging module is specifically configured to: Based on the M first luminance vectors, calculate M vector norms; Perform the first merging operation on the M vector norms to merge the M vector norms into P vector norms; Based on the P vector norms, determine P second luminance vectors, wherein each of the P second luminance vectors corresponds to at least one of the M sub-pixels; Generate the K first compensation parameters based on the P second luminance vectors; Wherein, P is a positive integer less than M; the P vector norms include: partial vector norms among the M vector norms, and / or new vector norms generated from at least partial vector norms among the M vector norms.

27. An apparatus 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 device includes: An acquisition module, configured to acquire M first luminance vectors respectively corresponding to the M sub-pixels; A merging module, configured to perform a merging operation based on the M first luminance vectors to obtain K first compensation parameters regarding the M sub-pixels; A determination module, configured to determine multiple 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 multiple second compensation parameters is less than M; Wherein, the merging operation includes a third merging operation, The merging module is specifically configured to: Based on the M first luminance vectors, obtain corresponding M initial compensation parameters; Perform the third merging operation on the M initial compensation parameters to generate the K first compensation parameters; Wherein, the merging module is specifically configured to perform the third merging operation in the following manner: Perform frequency statistics on the M initial compensation parameters to determine R initial compensation parameters with different numerical values among the M initial compensation parameters and the frequencies respectively corresponding to the R initial compensation parameters, wherein R is a positive integer less than M; Sort the R initial compensation parameters based on the numerical values of the R initial compensation parameters to obtain a third sequence; Based on a second frequency threshold, perform the third merging operation on the R initial compensation parameters in the third sequence to obtain the K first compensation parameters, Wherein, the third merging operation includes a third sub-merging operation, Performing the third merging operation on the R initial compensation parameters in the third sequence includes: performing at least one time of the third sub-merging operation on the R initial compensation parameters and updating the third sequence; Wherein, the K first compensation parameters include the initial compensation parameters included in the updated third sequence obtained from the last third sub-merging operation.

28. An electronic device, including: 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 to implement the method for determining compensation parameters according to any one of claims 1-24 and / or the compensation method according to claim 25.

29. A computer-readable storage medium storing non-transitory computer-readable instructions that, when executed by a computer, implement the method for determining compensation parameters according to any one of claims 1-24 and / or the compensation method according to claim 25.

Citation Information

Patent Citations

  • Data compression method and device

    CN109887456A

  • Mura compensation method and device for display panel

    CN110148375A