Pixel compensation method and system based on OLED display

By calculating the brightness and chromaticity difference of each pixel of the OLED display screen, determining the pixel type and compensating, the problem of inconsistent brightness and chromaticity of the edges of the OLED screen and the center area is solved, and the display uniformity and quality are improved.

CN119993064AActive Publication Date: 2025-05-13JIANG SU HE YI GUANG XIAN KE JI YOU XIAN GONG SI

Patent Information

Application Number
CN202510381293.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-05-13
Estimated Expiration
2045-03-28

AI Technical Summary

Technical Problem

The brightness and chromaticity of the OLED display between the edge and the center area is inconsistent, resulting in uneven display effects and affecting the user's visual experience.

Method used

By obtaining the initial attributes, voltage and current data of each pixel, calculating the brightness difference and chrominance difference of adjacent pixels, judging the pixel type, and calculating the brightness and chrominance compensation values ​​based on the pixel type, and performing accurate pixel compensation.

Benefits of technology

It effectively solves the problem of inconsistent display effects between the edges of the OLED screen and the center area, improves display uniformity and quality, and ensures consistency of brightness and chromaticity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119993064A_ABST
    Figure CN119993064A_ABST
Patent Text Reader

Abstract

The invention relates to a pixel compensation method and system based on OLED display. The method comprises the following steps: firstly, acquiring initial attributes, voltage and current data of pixels, calculating brightness difference and chromaticity difference of adjacent pixels according to the initial attributes, the voltage and the current data, and determining pixel types; then, a luminance adjustment value is calculated from the pixel voltage and current, and a luminance compensation value is generated in combination with the signal path length and the luminance decay value. And meanwhile, generating a chromaticity compensation value according to the initial attributes and the chromaticity difference of the adjacent pixels by utilizing a preset chromaticity compensation formula and a smoothing algorithm. And adjusting the pixel brightness and chromaticity based on the compensation value to obtain adjusted brightness and chromaticity data. And finally, calculating a brightness variation and a chrominance variation according to the initial attribute and the adjusted brightness and chrominance data, and further determining new brightness and chrominance compensation values. According to the method, the problem that the display effects of the edge and the center of the OLED screen are inconsistent is solved, and the display quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of OLED display control, and in particular to a pixel compensation method and system based on OLED display. Background Art

[0002] In the development process of OLED display technology, ensuring the consistency of brightness and color between different areas of the screen has always been a key area of ​​technological exploration. Since each pixel emits light independently, its brightness and color may vary due to factors such as manufacturing process, material properties and usage environment, especially between the edge and center areas of the screen. These differences may cause uneven display effects, which in turn affects the user's visual experience. In order to optimize the visual experience, especially to achieve uniform and consistent display effects on large-size screens, it is particularly important to accurately compensate pixels. Therefore, how to achieve this goal efficiently has become a current research hotspot. Through accurate pixel compensation, not only can the display quality be significantly improved, but the user experience can also be greatly enhanced, pushing OLED display technology to a higher quality standard.

[0003] In practical applications, a specific implementation process of the prior art is as follows: First, the OLED screen is preliminarily scanned by a built-in optical sensor to obtain the initial brightness and initial chromaticity of each pixel of the screen, and these data are stored in the processing unit. Next, the initial data is processed using a compensation algorithm based on statistical analysis to generate preliminary compensation parameters, and these parameters are written into the driver chip of the screen. Then, during the normal display of the screen, the driver chip adjusts the brightness and chromaticity of each pixel in real time according to the stored compensation parameters. At the same time, the screen is locally sampled by periodically triggering the optical sensor to obtain updated brightness and chromaticity data, which are compared with the initial data to identify areas with large deviations. Subsequently, the compensation parameters are fine-tuned using an iterative optimization algorithm, and the updated parameters are rewritten into the driver chip. Finally, through multiple iterations and adjustments, the brightness and chromaticity differences between the edge and center areas of the screen are gradually reduced.

[0004] In the prior art, due to the limited accuracy of optical sensors, it is difficult to accurately capture subtle changes in edge areas, and the sampling range is insufficient, resulting in insufficient edge data; in addition, the algorithm has poor adaptability in dynamic environments and cannot respond to changes in ambient light or temperature in a timely manner, resulting in delayed adjustment of compensation parameters. These problems make it difficult to completely eliminate the brightness and chromaticity differences between the edge and center of the screen, resulting in inconsistent display effects at the edge and center of the screen, and there is still obvious brightness and chromaticity deviation. Summary of the invention

[0005] The present invention provides a pixel compensation method and system based on OLED display, so as to ensure that the display effects of the edge and center areas of the screen are consistent, thereby improving the display quality of OLED.

[0006] In a first aspect, in order to solve the above technical problems, the present invention provides a pixel compensation method based on OLED display, comprising:

[0007] Obtaining the initial attributes, pixel voltage, and pixel current of each pixel in the screen, wherein the initial attributes include initial coordinates, initial brightness, and initial chromaticity;

[0008] Calculating brightness difference and chromaticity difference of adjacent pixels according to the initial attributes, and performing type judgment according to the brightness difference and the chromaticity difference to obtain pixel types, wherein the pixel types include edge types and center types;

[0009] Calculating a brightness adjustment value according to the pixel voltage and the pixel current;

[0010] Calculating a signal path length and a brightness attenuation value according to the pixel type, and generating a brightness compensation value in combination with the brightness adjustment value;

[0011] Generating a chromaticity compensation value using a preset chromaticity compensation formula and a smoothing algorithm according to the initial attributes of the adjacent pixels and the chromaticity difference value;

[0012] Adjust the pixel brightness and the pixel chromaticity according to the brightness compensation value and the chromaticity compensation value to obtain an adjusted brightness and an adjusted chromaticity;

[0013] The brightness change amount and the chromaticity change amount are calculated according to the initial attribute, the adjusted brightness and the adjusted chromaticity, and new brightness compensation values ​​and new chromaticity compensation values ​​are calculated according to the brightness change amount and the chromaticity change amount for output.

[0014] In an optional implementation, the calculating the brightness difference and the chromaticity difference of adjacent pixels according to the initial attributes, and performing type judgment according to the brightness difference and the chromaticity difference to obtain the pixel type, wherein the pixel type includes an edge type and a center type, includes:

[0015] For pixels corresponding to the most edge rows and columns around the screen, their type is directly determined to be edge type;

[0016] For the pixels corresponding to the four edges except for the above four edges:

[0017] Calculate the brightness difference between adjacent pixels according to the initial coordinates and the initial brightness;

[0018] Calculate the chromaticity difference between adjacent pixels according to the initial coordinates and the initial chromaticity;

[0019] According to the comparison between the brightness difference value and the chromaticity difference value and a preset brightness difference value threshold value and a preset chromaticity difference value threshold value, if the brightness difference value is greater than the brightness difference value threshold value and the chromaticity difference value is greater than the chromaticity difference value threshold value, it is determined that the type of the corresponding pixel belongs to the edge type;

[0020] If the brightness difference is less than the brightness difference threshold or the chrominance difference is less than the chrominance difference threshold, it is determined that the type of the corresponding pixel belongs to the center type;

[0021] The brightness difference is calculated by the following formula:

[0022]

[0023] The chromaticity difference is calculated by the following formula:

[0024]

[0025] Among them, L(x,y) represents the initial brightness at the pixel coordinates (x,y), C(x,y) represents the initial chromaticity at the pixel coordinates (x,y), L(x+i,y+j) represents the initial brightness at the pixel coordinates (x+i,y+j), C(x+i,y+j) represents the initial chromaticity at the pixel coordinates (x+i,y+j), ΔL(x,y) represents the brightness difference at the pixel coordinates (x,y), and ΔC(x,y) represents the chromaticity difference at the pixel coordinates (x,y).

[0026] In an optional implementation manner, calculating the brightness adjustment value according to the pixel voltage and the pixel current includes:

[0027] The brightness adjustment value is calculated using the following formula:

[0028] P(x,y)=V(x,y)×I(x,y)

[0029]

[0030] Where V(x,y) represents the pixel voltage at the pixel coordinate (x,y), I(x,y) represents the pixel current at the pixel coordinate (x,y), P(x,y) represents the pixel power at the pixel coordinate (x,y), and P max Indicates the maximum pre-stored pixel power, L max Indicates the stored maximum brightness, L adjusted (x, y) represents the brightness adjustment value, and γ represents the preset gamma correction coefficient.

[0031] 4. The pixel compensation method based on OLED display according to claim 1, characterized in that the calculating of the signal path length and the brightness attenuation value according to the pixel type and generating the brightness compensation value in combination with the brightness adjustment value comprises:

[0032] The signal path length is calculated using the following formula:

[0033] D(x,y)=x×k D

[0034] The brightness attenuation value is calculated using the following formula:

[0035] A(x,y)=L(x,y)×α e(x,y) ×z(x,y)

[0036] The brightness compensation value is calculated by the following formula:

[0037] L compensate (x,y)=L adjust (x,y)+A(x,y)

[0038] Where D(x,y) represents the signal path length from the pixel coordinate (x,y) to the driving circuit, k D represents the transmission path length coefficient corresponding to the unit pixel, α represents the signal attenuation rate per unit length, A(x, y) represents the brightness attenuation value, e(x, y) represents the influence coefficient of the pre-stored circuit layout, L adjust (x, y) represents the brightness adjustment value, L compensate (x, y) represents the brightness compensation value, and z(x, y) represents the pre-stored pixel type influencing factor.

[0039] In an optional implementation, the generating of the chromaticity compensation value by using a preset chromaticity compensation formula and a smoothing algorithm according to the initial attributes of the adjacent pixels and the chromaticity difference value includes:

[0040] The chromaticity compensation value is calculated by the following formula:

[0041] C adjusted (x,y)=C(x,y)+b×ΔC(x,y)

[0042]

[0043] C compensate (x,y)=G(x,y)×C adjusted (x,y)

[0044] Among them, C(x,y) represents the initial chromaticity at the pixel coordinate (x,y), ΔC(x,y) represents the chromaticity difference at the pixel coordinate (x,y), and C adjusted(x, y) represents the chromaticity adjustment value, b represents the preset chromaticity adjustment coefficient, σ represents the standard deviation of the preset Gaussian kernel, G(x, y) represents the Gaussian smoothing function, C compensate (x,y) represents the chromaticity compensation value.

[0045] In an optional implementation, adjusting the pixel brightness and the pixel chromaticity according to the brightness compensation value and the chromaticity compensation value to obtain the adjusted brightness and the adjusted chromaticity includes:

[0046] Compare the brightness compensation value with a preset brightness threshold, and if the brightness compensation value is greater than the brightness threshold, output the brightness threshold, and use the brightness threshold as the adjusted brightness;

[0047] If the brightness compensation value is less than the brightness threshold, the brightness compensation value is output, and the brightness compensation value is used as the adjusted brightness;

[0048] Compare the chromaticity compensation value with a preset chromaticity threshold, and if the chromaticity compensation value is greater than the chromaticity threshold, output the chromaticity threshold, and use the chromaticity threshold as the adjusted chromaticity;

[0049] If the chromaticity compensation value is less than the chromaticity threshold, the chromaticity compensation value is output, and the chromaticity compensation value is used as the adjusted chromaticity.

[0050] In an optional implementation, the calculating the brightness change amount and the chromaticity change amount according to the initial attribute, the adjusted brightness, and the adjusted chromaticity, and calculating a new brightness compensation value and a new chromaticity compensation value according to the brightness change amount and the chromaticity change amount for outputting, includes:

[0051] A brightness change is obtained by taking a difference between the initial brightness and the adjusted brightness and taking an absolute value;

[0052] Comparing the brightness change with a preset brightness change threshold, and if the brightness change is less than the brightness change threshold, determining that the brightness compensation is qualified;

[0053] If the brightness change is greater than the brightness change threshold, the brightness compensation is determined to be unqualified, and the brightness compensation coefficient of the corresponding pixel and the new brightness compensation value are extracted from the pre-stored brightness compensation library for compensation calculation to obtain a secondary compensation brightness;

[0054] A chromaticity change amount is obtained by taking a difference between the initial chromaticity and the adjusted chromaticity and taking an absolute value;

[0055] Comparing the chromaticity change amount with a preset chromaticity change threshold, and if the chromaticity change amount is less than the chromaticity change threshold, determining that the chromaticity compensation is qualified;

[0056] If the chromaticity change amount is greater than the chromaticity change threshold, the chromaticity compensation is determined to be unqualified, and the chromaticity compensation coefficient of the corresponding pixel and the new chromaticity compensation value are extracted from the pre-stored chromaticity compensation library for compensation calculation to obtain secondary compensated chromaticity;

[0057] The brightness and chromaticity compensation are repeated and iterated until the brightness compensation and the chromaticity compensation are qualified.

[0058] In a second aspect, the present invention provides a pixel compensation system based on OLED display, comprising:

[0059] A data acquisition module is used to acquire the initial attributes, pixel voltage, and pixel current of each pixel in the screen, wherein the initial attributes include initial coordinates, initial brightness, and initial chromaticity;

[0060] A pixel type determination module, used for calculating the brightness difference and chromaticity difference of adjacent pixels according to the initial attributes, and performing type determination according to the brightness difference and the chromaticity difference to obtain pixel types, wherein the pixel types include edge types and center types;

[0061] A brightness adjustment calculation module, used for calculating a brightness adjustment value according to the pixel voltage and the pixel current;

[0062] A brightness compensation calculation module, used to calculate the signal path length and the brightness attenuation value according to the pixel type, and generate a brightness compensation value in combination with the brightness adjustment value;

[0063] A chromaticity compensation calculation module, used to generate a chromaticity compensation value by using a preset chromaticity compensation formula and a smoothing algorithm according to the initial attributes of adjacent pixels and the chromaticity difference value;

[0064] A preliminary adjustment module, used for adjusting the pixel brightness and the pixel chromaticity according to the brightness compensation value and the chromaticity compensation value to obtain an adjusted brightness and an adjusted chromaticity;

[0065] The iterative adjustment module is used to calculate the brightness change amount and the chromaticity change amount according to the initial attribute, the adjusted brightness and the adjusted chromaticity, and calculate a new brightness compensation value and a new chromaticity compensation value according to the brightness change amount and the chromaticity change amount for output.

[0066] In a third aspect, the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the pixel compensation method based on OLED display described in any one of the above is implemented.

[0067] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned pixel compensation methods based on OLED display.

[0068] Compared with the prior art, the present invention has the following beneficial effects:

[0069] (1) The present invention obtains the initial properties, voltage and current data of pixels, calculates the brightness difference and chromaticity difference between adjacent pixels, and accurately determines the pixel type (edge ​​type or center type), thereby effectively solving the problem of inconsistent display effects between the edge and center types of OLED screens and improving display uniformity.

[0070] (2) The present invention calculates the brightness adjustment value based on the pixel voltage and current, and generates the brightness compensation value in combination with the signal path length and the brightness attenuation value, thereby ensuring the brightness consistency of each area of ​​the screen, and especially significantly improving the brightness non-uniformity in large-size screens.

[0071] (3) The present invention utilizes a preset chromaticity compensation formula and a smoothing algorithm to generate a chromaticity compensation value according to the initial attributes and chromaticity difference of adjacent pixels, thereby effectively eliminating color deviation and improving the consistency and smoothness of color display.

[0072] (4) The present invention further optimizes the display effect and ensures the accuracy and stability of brightness and chromaticity compensation by iteratively calculating the brightness change and chromaticity change and performing secondary compensation in combination with the compensation coefficients in the compensation library.

[0073] In summary, the present invention obtains the position, voltage and current data of the pixel, calculates the brightness difference and chromaticity difference of adjacent pixels to determine the pixel type. Subsequently, the brightness adjustment value is calculated based on the pixel voltage and current, and the brightness compensation value is generated in combination with the signal path length and the brightness attenuation value. At the same time, the chromaticity compensation value is generated according to the position and chromaticity difference of adjacent pixels using the preset chromaticity compensation formula and smoothing algorithm. The pixel brightness and chromaticity are adjusted based on the compensation value to obtain new brightness and chromaticity data. Finally, the brightness and chromaticity changes are calculated based on the initial attributes and the new brightness and chromaticity data to determine the new compensation value. This method solves the problem of inconsistent display effects between the edge and center types of OLED screens, improves the display quality, and ensures the consistency of screen brightness and chromaticity. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 is a schematic flow chart of a pixel compensation method based on OLED display provided by the first embodiment of the present invention;

[0075] Figure 2It is a schematic structural diagram of a pixel compensation system based on OLED display provided by the second embodiment of the present invention. DETAILED DESCRIPTION

[0076] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0077] Reference Figure 1 The first embodiment of the present invention provides a pixel compensation method based on OLED display, comprising the following steps:

[0078] S11, obtaining initial attributes, pixel voltage, and pixel current of each pixel in the screen, wherein the initial attributes include initial coordinates, initial brightness, and initial chromaticity;

[0079] S12, calculating the brightness difference and chromaticity difference of adjacent pixels according to the initial attributes, and performing type judgment according to the brightness difference and the chromaticity difference to obtain pixel types, wherein the pixel types include edge types and center types;

[0080] S13, calculating a brightness adjustment value according to the pixel voltage and the pixel current;

[0081] S14, calculating the signal path length and the brightness attenuation value according to the pixel type, and generating a brightness compensation value in combination with the brightness adjustment value;

[0082] S15, generating a chromaticity compensation value by using a preset chromaticity compensation formula and a smoothing algorithm according to the initial attributes of the adjacent pixels and the chromaticity difference value;

[0083] S16, adjusting the pixel brightness and the pixel chromaticity according to the brightness compensation value and the chromaticity compensation value to obtain an adjusted brightness and an adjusted chromaticity;

[0084] S17, calculating a brightness change amount and a chromaticity change amount according to the initial attribute, the adjusted brightness and the adjusted chromaticity, and calculating a new brightness compensation value and a new chromaticity compensation value according to the brightness change amount and the chromaticity change amount for output.

[0085] In step S11, the initial attributes, pixel voltage, and pixel current of each pixel in the screen are acquired, wherein the initial attributes include initial coordinates, initial brightness, and initial chromaticity.

[0086] Specifically, the initial attributes include initial coordinates, initial brightness, and initial chromaticity, which are directly derived from the information reading of the display hardware layer. Specifically, the initial coordinates are determined by the pre-set pixel matrix inside the display, and each pixel has a unique coordinate identifier in this matrix. The initial brightness is based on the actual measurement of the pixel's luminous intensity, which reflects the brightness of the pixel in different grayscale or color states. The initial chromaticity describes the color attributes of the pixel, which is determined based on the red, green, and blue (RGB) ratio.

[0087] The way to obtain the above information depends on specific hardware interfaces and technical means. For example, for organic light-emitting diode (OLED) screens, the pixel voltage and current can be directly measured through electrical characteristics testing, and then parameters such as brightness and chromaticity can be calculated. At the same time, optical sensors can accurately capture the brightness and chromaticity information of each pixel on the screen.

[0088] In step S12, the brightness difference and chromaticity difference of adjacent pixels are calculated according to the initial attributes, and the type is determined according to the brightness difference and the chromaticity difference to obtain the pixel type, wherein the pixel type includes an edge type and a center type.

[0089] In a specific implementation, the brightness difference and chromaticity difference of adjacent pixels are calculated according to the initial attributes, and type judgment is performed according to the brightness difference and the chromaticity difference to obtain pixel types, wherein the pixel types include edge types and center types, including:

[0090] For pixels corresponding to the most edge rows and columns around the screen, their type is directly determined to be edge type;

[0091] For the pixels corresponding to the four edges except for the above four edges:

[0092] Calculate the brightness difference between adjacent pixels according to the initial coordinates and the initial brightness;

[0093] Calculate the chromaticity difference between adjacent pixels according to the initial coordinates and the initial chromaticity;

[0094] According to the comparison between the brightness difference value and the chromaticity difference value and a preset brightness difference value threshold value and a preset chromaticity difference value threshold value, if the brightness difference value is greater than the brightness difference value threshold value and the chromaticity difference value is greater than the chromaticity difference value threshold value, it is determined that the type of the corresponding pixel belongs to the edge type;

[0095] If the brightness difference is less than the brightness difference threshold or the chrominance difference is less than the chrominance difference threshold, it is determined that the type of the corresponding pixel belongs to the center type;

[0096] The brightness difference is calculated by the following formula:

[0097]

[0098] The chromaticity difference is calculated by the following formula:

[0099]

[0100] Among them, L(x,y) represents the initial brightness at the pixel coordinates (x,y), C(x,y) represents the initial chromaticity at the pixel coordinates (x,y), L(x+i,y+j) represents the initial brightness at the pixel coordinates (x+i,y+j), C(x+i,y+j) represents the initial chromaticity at the pixel coordinates (x+i,y+j), ΔL(x,y) represents the brightness difference at the pixel coordinates (x,y), and ΔC(x,y) represents the chromaticity difference at the pixel coordinates (x,y).

[0101] Specifically, first, for any given pixel coordinates (x, y), its brightness difference is calculated by the following formula:

[0102]

[0103] Here, L(x,y) represents the initial brightness at the coordinate (x,y), and L(x+i,y+j) represents the initial brightness at the adjacent coordinates. This formula means that the absolute value of the brightness difference between each pixel and its surrounding eight pixels (forming a 3x3 matrix) is calculated and accumulated to obtain the brightness difference value ΔL(x,y) of the pixel.

[0104] Similarly, the chromaticity difference is calculated by the following formula:

[0105]

[0106] Among them, C(x,y) represents the initial chromaticity at the coordinate (x,y), and C(x+i,y+j) is the initial chromaticity of the adjacent coordinates. Similarly, the chromaticity difference ΔC(x,y) at the pixel (x,y) is obtained by summing the absolute values ​​of the chromaticity changes in each direction.

[0107] Next, the calculated brightness difference ΔL(x,y) and chromaticity difference ΔC(x,y) are compared with the preset brightness difference threshold and chromaticity difference threshold. If the brightness difference is greater than the set brightness threshold and the chromaticity difference exceeds the corresponding chromaticity threshold, the pixel is considered to be at the edge of the image; otherwise, if the brightness difference is less than the brightness difference threshold or the chromaticity difference is less than the chromaticity difference threshold, the corresponding pixel is considered to be at the center.

[0108] For example, the brightness difference of a pixel (x, y) is 50, and the chromaticity difference is 40, while the preset brightness difference threshold is 45, and the chromaticity difference threshold is 35. Since both the brightness difference and the chromaticity difference exceed their respective thresholds, the pixel is determined to be of edge type.

[0109] In step S13, a brightness adjustment value is calculated according to the pixel voltage and the pixel current.

[0110] In a specific implementation, the calculating the brightness adjustment value according to the pixel voltage and the pixel current includes:

[0111] The brightness adjustment value is calculated using the following formula:

[0112] P(x,y)=V(x,y)×I(x,y)

[0113]

[0114] Where V(x,y) represents the pixel voltage at the pixel coordinate (x,y), I(x,y) represents the pixel current at the pixel coordinate (x,y), P(x,y) represents the pixel power at the pixel coordinate (x,y), and P max Indicates the maximum pre-stored pixel power, L max Indicates the stored maximum brightness, L adjusted (x, y) represents the brightness adjustment value, and γ represents the preset gamma correction coefficient.

[0115] Specifically, first, the power P(x,y) of each pixel is calculated using the formula:

[0116] P(x,y)=V(x,y)×I(x,y)

[0117] Here, V(x,y) represents the pixel voltage at the coordinate (x,y), and I(x,y) represents the pixel current at the coordinate (x,y). This formula directly reflects the basic definition of electrical power, that is, power is equal to the product of voltage and current. Through this formula, the power P(x,y) at each pixel position can be obtained.

[0118] Next, the calculated power P(x, y) is used to determine the brightness adjustment value L adjust (x,y), using the following formula:

[0119]

[0120] Among them, L max Represents the maximum brightness value stored, P max is the preset maximum pixel power, and γ is a preset gamma correction coefficient used to adjust the luminance response curve to match the non-linear characteristics of the human visual system.

[0121] In this process, The part represents the ratio of the current pixel power to the maximum power. By raising it to the power of the gamma correction coefficient γ, the brightness value can be adjusted to adapt to visual perception. Finally, this ratio is multiplied by the maximum brightness value L max , get the final brightness adjustment value L adjust (x,y).

[0122] For example, suppose the voltage L of a certain pixel is adjust (x, y) = 4V, current I(x, y) = 0.2A, then the power of the pixel P(x, y) = 4V × 0.2A = 0.8W. If the preset maximum pixel power P max =5W, maximum brightness L max =255cd / m 2 (candela per square meter), and the gamma correction coefficient γ = 2.2, then the brightness adjustment value can be calculated by the following steps:

[0123]

[0124] That is, under given conditions, the brightness adjustment value of this pixel is approximately 30.855d / m 2 .

[0125] This step can effectively optimize the image quality of the display, especially maintaining consistent visual effects under different ambient lighting conditions, by accurately measuring the voltage and current of each pixel and adjusting the brightness accordingly.

[0126] In step S14, the signal path length and the brightness attenuation value are calculated according to the pixel type, and the brightness compensation value is generated in combination with the brightness adjustment value.

[0127] In a specific implementation, the calculating the signal path length and the brightness attenuation value according to the pixel type and generating the brightness compensation value in combination with the brightness adjustment value includes:

[0128] The signal path length is calculated using the following formula:

[0129] D(x,y)=x×k D

[0130] The brightness attenuation value is calculated using the following formula:

[0131] A(x,y)=L(x,y)×α e(x,y) ×z(x,y)

[0132] The brightness compensation value is calculated by the following formula:

[0133] L compensate(x,y)=L adjust (x,y)+A(x,y)

[0134] Where D(x,y) represents the signal path length from the pixel coordinate (x,y) to the driving circuit, k D represents the transmission path length coefficient corresponding to the unit pixel, α represents the signal attenuation rate per unit length, A(x, y) represents the brightness attenuation value, e(x, y) represents the influence coefficient of the pre-stored circuit layout, L adjust (x, y) represents the brightness adjustment value, L compensate (x, y) represents the brightness compensation value, and z(x, y) represents the pre-stored pixel type influencing factor.

[0135] Specifically, first, the signal path length D(x, y) from each pixel coordinate (x, y) to the driving circuit is calculated using the formula:

[0136] D(x,y)=x×k D

[0137] Here, k D represents the transmission path length coefficient corresponding to the unit pixel, which is used to quantify the distance from the pixel to the driving circuit. For example, if k D = 1 cm / pixel, and the pixel coordinates are (50,30), then the signal path length is D(x,y) = 50 × 1 = 50 cm

[0138] Next, calculate the brightness attenuation value A(x,y) using the following formula:

[0139] A(x,y)=L(x,y)×α e(x,y) ×z(x,y)

[0140] Among them, L(x,y) represents the initial brightness, α represents the signal attenuation rate per unit length, and e(x,y) is the influence coefficient of the pre-stored circuit layout, which is used to reflect the influence of circuit design at different positions on signal transmission. z(x,y) is the pre-stored pixel type influence factor. When the pixel (x,y) belongs to the center type, z(x,y)=1, when the pixel (x,y) belongs to the edge type, z(x,y)=k z , where k z It is based on the pre-stored edge type influence coefficient.

[0141] Finally, the calculated brightness attenuation value A(x, y) and the brightness adjustment value L obtained in the previous step are used to calculate the brightness attenuation value A(x, y). adjust (x, y) to generate the brightness compensation value L compensate (x,y), using the following formula:

[0142] L compensate (x,y)=Ladjust (x,y)+A(x,y)

[0143] By accurately calculating the signal path length and brightness attenuation value of each pixel and combining it with the brightness adjustment value to generate the final brightness compensation value, the problem of uneven brightness caused by signal transmission distance and circuit layout can be effectively corrected. This method not only improves the overall display quality of the image, but also ensures brightness consistency in different areas, thereby providing a better visual experience.

[0144] In step S15, a chromaticity compensation value is generated by using a preset chromaticity compensation formula and a smoothing algorithm according to the initial attributes of the adjacent pixels and the chromaticity difference value.

[0145] In a specific implementation, the generating of the chromaticity compensation value by using a preset chromaticity compensation formula and a smoothing algorithm according to the initial attributes and the chromaticity difference of the adjacent pixels includes:

[0146] The chromaticity compensation value is calculated by the following formula:

[0147] C adjusted (x,y)=C(x,y)+b×ΔC(x,y)

[0148]

[0149] C compensate (x,y)=G(x,y)×C adjusted (x,y)

[0150] Among them, C(x,y) represents the initial chromaticity at the pixel coordinate (x,y), ΔC(x,y) represents the chromaticity difference at the pixel coordinate (x,y), and C adjusted (x, y) represents the chromaticity adjustment value, b represents the preset chromaticity adjustment coefficient, σ represents the standard deviation of the preset Gaussian kernel, G(x, y) represents the Gaussian smoothing function, C compensate (x,y) represents the chromaticity compensation value.

[0151] Specifically, first, the chromaticity adjustment value C at each pixel coordinate (x, y) is calculated adjusted (x,y), the formula used is:

[0152] C adjusted (x,y)=C(x,y)+b ΔC(x,y)

[0153] Wherein, C(x,y) represents the initial chromaticity at the pixel coordinate (x,y), ΔC(x,y) represents the chromaticity difference at the pixel coordinate (x,y), and b is a preset chromaticity adjustment coefficient.

[0154] Next, the chroma adjustment value is smoothed using a Gaussian smoothing function, using the formula:

[0155]

[0156] Among them, σ represents the standard deviation of the preset Gaussian kernel, G(x,y) represents the Gaussian smoothing function,

[0157] Finally, the Gaussian smoothing function and the chromaticity adjustment value are used to generate the final chromaticity compensation value C compensate (x,y), the formula used is:

[0158] C compensate (x,y)=G(x,y)×C adjusted (x,y)

[0159] By accurately calculating the chromaticity adjustment value of each pixel and combining it with a Gaussian smoothing function for smoothing, the color unevenness problem caused by the chromaticity difference between adjacent pixels can be effectively corrected. This method not only improves the overall color quality of the image, but also ensures color consistency in different areas, thereby providing a better visual experience.

[0160] In step S16, the pixel brightness and the pixel chromaticity are adjusted according to the brightness compensation value and the chromaticity compensation value to obtain adjusted brightness and adjusted chromaticity.

[0161] In a specific implementation, the step of adjusting the pixel brightness and the pixel chromaticity according to the brightness compensation value and the chromaticity compensation value to obtain the adjusted brightness and the adjusted chromaticity includes:

[0162] Compare the brightness compensation value with a preset brightness threshold, and if the brightness compensation value is greater than the brightness threshold, output the brightness threshold, and use the brightness threshold as the adjusted brightness;

[0163] If the brightness compensation value is less than the brightness threshold, the brightness compensation value is output, and the brightness compensation value is used as the adjusted brightness;

[0164] Compare the chromaticity compensation value with a preset chromaticity threshold, and if the chromaticity compensation value is greater than the chromaticity threshold, output the chromaticity threshold, and use the chromaticity threshold as the adjusted chromaticity;

[0165] If the chromaticity compensation value is less than the chromaticity threshold, the chromaticity compensation value is output, and the chromaticity compensation value is used as the adjusted chromaticity.

[0166] First, adjust the brightness of each pixel. The specific method is to compare the brightness compensation value with the preset brightness threshold. If the brightness compensation value is greater than the brightness threshold, the brightness threshold is output as the adjusted brightness; otherwise, if the brightness compensation value is less than or equal to the brightness threshold, the brightness compensation value is directly output as the adjusted brightness. This process can be expressed as:

[0167]

[0168] Among them, L new (x,y) indicates adjusting the brightness, L compensate (x, y) represents the brightness compensation value, L threshold Indicates the preset brightness threshold.

[0169] Assume that the brightness compensation value of a pixel is L compensate (x, y) = 250 (assuming the brightness range is from 0 to 255), and the preset brightness threshold L threshold =240, then L new (x,y)=240.

[0170] Similarly, the chromaticity of each pixel is adjusted. The chromaticity compensation value is compared with the preset chromaticity threshold. If the chromaticity compensation value is greater than the chromaticity threshold, the chromaticity threshold is output as the adjusted chromaticity; otherwise, if the chromaticity compensation value is less than or equal to the chromaticity threshold, the chromaticity compensation value is directly output as the adjusted chromaticity. This process can be expressed by the formula:

[0171]

[0172] Here, C new (x,y) represents the adjustment of chromaticity, C compensate (x,y) represents the chromaticity compensation value, C threshold Represents the preset chroma threshold.

[0173] Assume that the chromaticity compensation value C of a pixel compensate (x, y) = 130, the preset chromaticity threshold C threshold =140, then C new (x,y)=130.

[0174] This adjustment mechanism can effectively prevent over-brightness or over-saturation, thereby protecting the image quality from being damaged. By limiting the brightness and chromaticity compensation values, the image's expressiveness in high dynamic range content is ensured while avoiding visual distortion caused by over-compensation.

[0175] In step S17, the brightness change amount and the chromaticity change amount are calculated according to the initial attribute, the adjusted brightness and the adjusted chromaticity, and new brightness compensation values ​​and new chromaticity compensation values ​​are calculated according to the brightness change amount and the chromaticity change amount and outputted.

[0176] In a specific implementation, the calculating the brightness change amount and the chromaticity change amount according to the initial attribute, the adjusted brightness and the adjusted chromaticity, and calculating a new brightness compensation value and a new chromaticity compensation value according to the brightness change amount and the chromaticity change amount for outputting, comprises:

[0177] A brightness change is obtained by taking a difference between the initial brightness and the adjusted brightness and taking an absolute value;

[0178] Comparing the brightness change with a preset brightness change threshold, and if the brightness change is less than the brightness change threshold, determining that the brightness compensation is qualified;

[0179] If the brightness change is greater than the brightness change threshold, the brightness compensation is determined to be unqualified, and the brightness compensation coefficient of the corresponding pixel and the new brightness compensation value are extracted from the pre-stored brightness compensation library for compensation calculation to obtain a secondary compensation brightness;

[0180] A chromaticity change amount is obtained by taking a difference between the initial chromaticity and the adjusted chromaticity and taking an absolute value;

[0181] Comparing the chromaticity change amount with a preset chromaticity change threshold, and if the chromaticity change amount is less than the chromaticity change threshold, determining that the chromaticity compensation is qualified;

[0182] If the chromaticity change amount is greater than the chromaticity change threshold, the chromaticity compensation is determined to be unqualified, and the chromaticity compensation coefficient of the corresponding pixel and the new chromaticity compensation value are extracted from the pre-stored chromaticity compensation library for compensation calculation to obtain secondary compensated chromaticity;

[0183] The brightness and chromaticity compensation are repeated and iterated until the brightness compensation and the chromaticity compensation are qualified.

[0184] Specifically, first, the brightness change of each pixel is calculated, which is obtained by subtracting the initial brightness from the adjusted brightness and taking the absolute value.

[0185] Next, the brightness change is compared with the preset brightness change threshold. If the brightness change is less than the preset brightness change threshold, the brightness compensation of the pixel is determined to be qualified. Otherwise, secondary compensation is required. The calculation formula for secondary compensation is as follows:

[0186] L2=L new (x,y)-(L new (x,y)-L(x,y))×k L

[0187] Among them, k L It is the brightness compensation coefficient of the corresponding pixel extracted from the pre-stored brightness compensation library.

[0188] Similarly, for the calculation of the chromaticity change amount, the initial chromaticity is subtracted from the adjusted chromaticity and the absolute value is taken.

[0189] The chromaticity change amount is compared with the preset chromaticity change threshold. If the chromaticity change amount is less than the preset chromaticity change threshold, the chromaticity compensation of the pixel is determined to be qualified. Otherwise, secondary compensation is required. The calculation formula of secondary compensation is as follows:

[0190] C2=C new (x,y)-(C new (x,y)-C(x,y))×k C

[0191] Among them, k C It is the chromaticity compensation coefficient of the corresponding pixel extracted from the pre-stored chromaticity compensation library.

[0192] The pre-stored brightness compensation library and color compensation library are preset through experimental data, and their core basis is the position coordinates, initial brightness, initial color, and brightness and color characteristics of adjacent pixels of the pixel. The brightness compensation library is preset mainly in combination with the position of the pixel, the length of the signal path, and the brightness attenuation value, and different compensation coefficients are set for the edge and center areas to offset the energy loss in signal transmission. The color compensation library uses the Gaussian smoothing algorithm to eliminate color mutations based on the coordinates of the pixel and the color difference of the adjacent pixels, and provides adjustment coefficients for different color ranges. The parameters in the compensation library are closely related to the position coordinates of the pixel, and can dynamically adapt to the brightness and color distribution characteristics of each area of ​​the screen to ensure the consistency and accuracy of the display effect.

[0193] During the whole process, brightness and color compensation will be performed simultaneously until the brightness and color of all pixels meet the preset change threshold. For each pixel, the change of its brightness and color will be repeatedly checked to see if it is within the acceptable range, and multiple compensation adjustments will be made as needed until the final result meets the requirements.

[0194] By strictly controlling the amount of brightness and chromaticity changes, over-compensation or under-compensation can be effectively avoided, thereby ensuring the consistency and accuracy of image quality. Especially in the display of high dynamic range content, this method can significantly improve the overall expression of the image and provide a more natural and comfortable visual experience.

[0195] In order to facilitate the understanding of the present invention, some preferred embodiments of the present invention are further described below.

[0196] The following describes the working process of the present invention using a relatively common scenario as an example. Figure 1 , a pixel compensation method based on OLED display, comprising the following steps:

[0197] In a specific case, suppose there is a pixel of an OLED screen located at coordinates (50,30) and its initial brightness is 200cd / m 2 , the initial chromaticity is 120 (a certain chromaticity unit), the pixel voltage is 4V, and the current is 0.2A. The following are the specific steps and results of pixel compensation according to the method in the document.

[0198] First, obtain the initial properties, voltage and current data of the pixel: the coordinates are (50,30) and the original brightness is 200cd / m 2 , the original chromaticity is 120, the voltage is 4V, and the current is 0.2A. Based on these data, the brightness adjustment value is calculated to be approximately 30.855cd / m 2 This process takes into account the maximum brightness of 255cd / m 2 , maximum power 2W and gamma correction factor 2.2.

[0199] Next, calculate the signal path length and brightness attenuation value. Assume that the transmission path length coefficient corresponding to the unit pixel is 0.1 meter / pixel, the unit length signal attenuation rate is 0.02 (per meter), the circuit layout influence coefficient is 1.2, and the pixel type influence factor is 1.1. The signal path length is 5 meters and the brightness attenuation value is about 24cd / m 2 Finally, the brightness compensation value is 54.855cd / m 2 .

[0200] Then, the brightness difference and chromaticity difference between adjacent pixels are calculated and the type is determined. Assume that the brightness difference is 50, the chromaticity difference is 40, the preset brightness difference threshold is 45, and the chromaticity difference threshold is 35. Since both the brightness difference and the chromaticity difference exceed their respective thresholds, the pixel is determined to be an edge type.

[0201] Next, the chromaticity adjustment value is smoothed using a Gaussian smoothing function. Assuming that the standard deviation of the Gaussian kernel is 1, the chromaticity adjustment value is calculated to be approximately 121.63. After further smoothing, the chromaticity compensation value is approximately 7.18.

[0202] When adjusting brightness and chromaticity, the brightness compensation value is compared with the preset brightness threshold. Assume that the brightness threshold is 240cd / m 2 , the brightness compensation value is less than the brightness threshold, so the brightness compensation value is output as the adjusted brightness, that is, 54.855cd / m 2For chroma, assuming that the chroma threshold is 120, the chroma compensation value is greater than the chroma threshold, so the output chroma threshold is used as the adjusted chroma, that is, 120.

[0203] Then, the brightness change is calculated as |54.855-200|=145.145 cd / m 2 , assuming the preset brightness change threshold is 30cd / m 2 Since the brightness change is greater than the threshold, it is necessary to extract the brightness compensation coefficient of the corresponding pixel (for example, 0.9) from the brightness compensation library, perform secondary compensation calculation, and obtain a new brightness compensation value. This process will be repeated until the brightness change is less than 30cd / m 2 Assume that after several iterations, the final brightness value stabilizes within a range close to the target brightness (e.g. 240cd / m 2 ).

[0204] Similarly, the calculated chromaticity change amount is |120-120|=0, assuming that the preset chromaticity change threshold is 10. Since the chromaticity change amount is less than the threshold, the chromaticity compensation is qualified and no further adjustment is required.

[0205] Through the above series of calculations and adjustments, the following effects were finally achieved: initial brightness 200cd / m 2 After multiple compensations, the final brightness value is stable within the target brightness range (such as 240cd / m 2 ). The initial chromaticity is 120. After Gaussian smoothing and adjustment, the chromaticity value remains at 120, ensuring color consistency. This precise brightness and chromaticity compensation mechanism effectively solves the problem of inconsistent display effects between the edge and center of the OLED screen, and improves the overall display quality. Through the iterative optimization process, it ensures that the brightness and chromaticity of each pixel are in the best state.

[0206] Reference Figure 2 The second embodiment of the present invention provides a pixel compensation system based on OLED display, comprising:

[0207] A data acquisition module is used to acquire the initial attributes, pixel voltage, and pixel current of each pixel in the screen, wherein the initial attributes include initial coordinates, initial brightness, and initial chromaticity;

[0208] A pixel type determination module, used for calculating the brightness difference and chromaticity difference of adjacent pixels according to the initial attributes, and performing type determination according to the brightness difference and the chromaticity difference to obtain pixel types, wherein the pixel types include edge types and center types;

[0209] A brightness adjustment calculation module, used for calculating a brightness adjustment value according to the pixel voltage and the pixel current;

[0210] A brightness compensation calculation module, used to calculate the signal path length and the brightness attenuation value according to the pixel type and the initial attribute, and generate a brightness compensation value in combination with the brightness adjustment value;

[0211] A chromaticity compensation calculation module, used to generate a chromaticity compensation value by using a preset chromaticity compensation formula and a smoothing algorithm according to the initial attributes of adjacent pixels and the chromaticity difference value;

[0212] A preliminary adjustment module, used for adjusting the pixel brightness and the pixel chromaticity according to the brightness compensation value and the chromaticity compensation value to obtain an adjusted brightness and an adjusted chromaticity;

[0213] The iterative adjustment module is used to calculate the brightness change amount and the chromaticity change amount according to the initial attribute, the adjusted brightness and the adjusted chromaticity, and calculate a new brightness compensation value and a new chromaticity compensation value according to the brightness change amount and the chromaticity change amount for output.

[0214] It should be noted that a pixel compensation device based on OLED display provided in an embodiment of the present invention is used to execute all process steps of a pixel compensation method based on OLED display in the above embodiment, and the working principles and beneficial effects of the two correspond one to one, so they will not be repeated here.

[0215] An embodiment of the present invention further provides an electronic device. The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a pixel compensation program based on an OLED display. When the processor executes the computer program, the steps in the above-mentioned pixel compensation method embodiments based on an OLED display are implemented, such as Figure 1 Alternatively, when the processor executes the computer program, the functions of the modules / units in the above-mentioned device embodiments are realized, such as a pixel compensation module based on OLED display.

[0216] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.

[0217] The electronic device may be a computing device such as a desktop computer, a notebook, a PDA, and a smart tablet. The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the above components are merely examples of electronic devices and do not constitute a limitation on the electronic device. The electronic device may include more or fewer components than the above components, or may combine certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0218] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.

[0219] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the electronic device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0220] Wherein, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0221] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0222] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A pixel compensation method based on OLED display, characterized in that: include: Obtaining the initial attributes, pixel voltage, and pixel current of each pixel in the screen, wherein the initial attributes include initial coordinates, initial brightness, and initial chromaticity; Calculating brightness difference and chromaticity difference of adjacent pixels according to the initial attributes, and performing type judgment according to the brightness difference and the chromaticity difference to obtain pixel types, wherein the pixel types include edge types and center types; Calculating a brightness adjustment value according to the pixel voltage and the pixel current; Calculating a signal path length and a brightness attenuation value according to the pixel type and the initial attribute, and generating a brightness compensation value in combination with the brightness adjustment value; Generating a chromaticity compensation value using a preset chromaticity compensation formula and a smoothing algorithm according to the initial attributes of the adjacent pixels and the chromaticity difference value; Adjust the pixel brightness and the pixel chromaticity according to the brightness compensation value and the chromaticity compensation value to obtain an adjusted brightness and an adjusted chromaticity; The brightness change amount and the chromaticity change amount are calculated according to the initial attribute, the adjusted brightness and the adjusted chromaticity, and new brightness compensation values ​​and new chromaticity compensation values ​​are calculated according to the brightness change amount and the chromaticity change amount for output.

2. The pixel compensation method based on OLED display according to claim 1, characterized in that: The step of calculating the brightness difference and the chromaticity difference of adjacent pixels according to the initial attributes, and performing type judgment according to the brightness difference and the chromaticity difference to obtain pixel types, wherein the pixel types include edge types and center types, includes: For pixels corresponding to the most edge rows and columns around the screen, their type is directly determined to be edge type; For the pixels corresponding to the four edges except for the above four edges: Calculate the brightness difference between adjacent pixels according to the initial coordinates and the initial brightness; Calculate the chromaticity difference between adjacent pixels according to the initial coordinates and the initial chromaticity; According to the comparison between the brightness difference value and the chromaticity difference value and a preset brightness difference value threshold value and a preset chromaticity difference value threshold value, if the brightness difference value is greater than the brightness difference value threshold value and the chromaticity difference value is greater than the chromaticity difference value threshold value, it is determined that the type of the corresponding pixel belongs to the edge type; If the brightness difference is less than the brightness difference threshold or the chrominance difference is less than the chrominance difference threshold, it is determined that the type of the corresponding pixel belongs to the center type; The brightness difference is calculated by the following formula: The chromaticity difference is calculated by the following formula: Among them, L(x,y) represents the initial brightness at the pixel coordinates (x,y), C(x,y) represents the initial chromaticity at the pixel coordinates (x,y), L(x+i,y+j) represents the initial brightness at the pixel coordinates (x+i,y+j), C(x+i,y+j) represents the initial chromaticity at the pixel coordinates (x+i,y+j), ΔL(x,y) represents the brightness difference at the pixel coordinates (x,y), and ΔC(x,y) represents the chromaticity difference at the pixel coordinates (x,y).

3. The pixel compensation method based on OLED display according to claim 1, characterized in that: The calculating the brightness adjustment value according to the pixel voltage and the pixel current includes: The brightness adjustment value is calculated using the following formula: P(x,y)=V(x,y)×I(x,y) Where V(x,y) represents the pixel voltage at the pixel coordinate (x,y), I(x,y) represents the pixel current at the pixel coordinate (x,y), P(x,y) represents the pixel power at the pixel coordinate (x,y), and P max Indicates the maximum pixel power stored, L max Indicates the stored maximum brightness, L adjusted (x, y) represents the brightness adjustment value, and γ represents the preset gamma correction coefficient.

4. The pixel compensation method based on OLED display according to claim 1, characterized in that: The calculating the signal path length and the brightness attenuation value according to the pixel type and the initial attribute, and generating the brightness compensation value in combination with the brightness adjustment value, comprises: The signal path length is calculated using the following formula: D(x,y)=x×k D The brightness attenuation value is calculated using the following formula: A(x,y)=L(x,y)×α e(x,y) ×z(x,y) The brightness compensation value is calculated by the following formula: L compensate (x,y)=L adjust (x,y)+A(x,y) Where L(x,y) represents the initial brightness at the pixel coordinate (x,y), D(x,y) represents the signal path length from the pixel coordinate (x,y) to the driving circuit, and k D represents the transmission path length coefficient corresponding to the unit pixel, α represents the signal attenuation rate per unit length, A(x, y) represents the brightness attenuation value, e(x, y) represents the influence coefficient of the pre-stored circuit layout, L adjust (x, y) represents the brightness adjustment value, L compensate (x, y) represents the brightness compensation value, L(x, y) represents the initial brightness at the pixel coordinate (x, y), and z(x, y) represents the pre-stored pixel type influencing factor.

5. The pixel compensation method based on OLED display according to claim 1, characterized in that: The step of generating a chromaticity compensation value by using a preset chromaticity compensation formula and a smoothing algorithm according to the initial attributes of the adjacent pixels and the chromaticity difference value comprises: The chromaticity compensation value is calculated by the following formula: C adjusted (x,y)=C(x,y)+b×ΔC(x,y) C compensate (x,y)=G(x,y)×C adjusted (x,y) Among them, C(x,y) represents the initial chromaticity at the pixel coordinate (x,y), ΔC(x,y) represents the chromaticity difference at the pixel coordinate (x,y), and C adjusted (x, y) represents the chromaticity adjustment value, b represents the preset chromaticity adjustment coefficient, σ represents the standard deviation of the preset Gaussian kernel, G(x, y) represents the Gaussian smoothing function, C compensate (x,y) represents the chromaticity compensation value.

6. The pixel compensation method based on OLED display according to claim 1, characterized in that: The step of adjusting the pixel brightness and the pixel chromaticity according to the brightness compensation value and the chromaticity compensation value to obtain the adjusted brightness and the adjusted chromaticity includes: Compare the brightness compensation value with a preset brightness threshold, and if the brightness compensation value is greater than the brightness threshold, output the brightness threshold, and use the brightness threshold as the adjusted brightness; If the brightness compensation value is less than the brightness threshold, the brightness compensation value is output, and the brightness compensation value is used as the adjusted brightness; Compare the chromaticity compensation value with a preset chromaticity threshold, and if the chromaticity compensation value is greater than the chromaticity threshold, output the chromaticity threshold, and use the chromaticity threshold as the adjusted chromaticity; If the chromaticity compensation value is less than the chromaticity threshold, the chromaticity compensation value is output, and the chromaticity compensation value is used as the adjusted chromaticity.

7. The pixel compensation method based on OLED display according to claim 1, characterized in that: The step of calculating the brightness change amount and the chromaticity change amount according to the initial attribute, the adjusted brightness, and the adjusted chromaticity, and calculating a new brightness compensation value and a new chromaticity compensation value according to the brightness change amount and the chromaticity change amount for outputting includes: A brightness change is obtained by taking a difference between the initial brightness and the adjusted brightness and taking an absolute value; Comparing the brightness change with a preset brightness change threshold, and if the brightness change is less than the brightness change threshold, determining that the brightness compensation is qualified; If the brightness change is greater than the brightness change threshold, the brightness compensation is determined to be unqualified, and the brightness compensation coefficient of the corresponding pixel and the new brightness compensation value are extracted from the pre-stored brightness compensation library for compensation calculation to obtain a secondary compensation brightness; A chromaticity change amount is obtained by taking a difference between the initial chromaticity and the adjusted chromaticity and taking an absolute value; Comparing the chromaticity change amount with a preset chromaticity change threshold, and if the chromaticity change amount is less than the chromaticity change threshold, determining that the chromaticity compensation is qualified; If the chromaticity change amount is greater than the chromaticity change threshold, the chromaticity compensation is determined to be unqualified, and the chromaticity compensation coefficient of the corresponding pixel and the new chromaticity compensation value are extracted from the pre-stored chromaticity compensation library for compensation calculation to obtain secondary compensated chromaticity; The brightness and chromaticity compensation are repeated and iterated until the brightness compensation and the chromaticity compensation are qualified.

8. A pixel compensation system based on OLED display, characterized in that: include: A data acquisition module is used to acquire the initial attributes, pixel voltage, and pixel current of each pixel in the screen, wherein the initial attributes include initial coordinates, initial brightness, and initial chromaticity; A pixel type determination module, used for calculating the brightness difference and chromaticity difference of adjacent pixels according to the initial attributes, and performing type determination according to the brightness difference and the chromaticity difference to obtain pixel types, wherein the pixel types include edge types and center types; A brightness adjustment calculation module, used for calculating a brightness adjustment value according to the pixel voltage and the pixel current; A brightness compensation calculation module, used to calculate the signal path length and the brightness attenuation value according to the pixel type and the initial attribute, and generate a brightness compensation value in combination with the brightness adjustment value; A chromaticity compensation calculation module, used to generate a chromaticity compensation value by using a preset chromaticity compensation formula and a smoothing algorithm according to the initial attributes of adjacent pixels and the chromaticity difference value; A preliminary adjustment module, used for adjusting the pixel brightness and the pixel chromaticity according to the brightness compensation value and the chromaticity compensation value to obtain an adjusted brightness and an adjusted chromaticity; The iterative adjustment module is used to calculate the brightness change amount and the chromaticity change amount according to the initial attribute, the adjusted brightness and the adjusted chromaticity, and calculate a new brightness compensation value and a new chromaticity compensation value according to the brightness change amount and the chromaticity change amount for output.

9. An electronic device, characterized in that: The device comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the pixel compensation method based on OLED display as claimed in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the pixel compensation method based on OLED display according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Apparatus and method for correcting edge in an image

    CN101102515A

  • Pixel compensation data generation method and device of display panel and display panel

    CN110827745A

  • Gamma lookup table generation method and device, electronic equipment and storage medium

    CN115170681A

  • Brightness compensation method of display module and display device

    CN117059005A

  • Screen adjusting method, display equipment and computer readable storage medium

    CN117912392A

Cited By

  • LED display screen pixel uniformity compensation algorithm and implementation method

    CN121034216A