Picture compensation method, device and system

By obtaining the brightness parameters of each channel of the display panel under different gray levels and calculating the non-fixed gamma parameter, the problem of uneven brightness of the display panel is solved, and more accurate image compensation is achieved.

CN122073100APending Publication Date: 2026-05-22BOE TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BOE TECHNOLOGY GROUP CO LTD
Filing Date
2024-11-22
Publication Date
2026-05-22

AI Technical Summary

Technical Problem

Existing display panels suffer from uneven brightness due to manufacturing process errors. In existing demura technology, the gamma parameter is a fixed value, resulting in low compensation accuracy.

Method used

By obtaining the brightness parameters of each channel of the display panel at different gray levels, and calculating the non-fixed gamma parameter, personalized compensation can be achieved for each channel of each pixel.

Benefits of technology

It improves the accuracy and uniformity of display panel image compensation, enhancing the effect of demura technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122073100A_ABST
    Figure CN122073100A_ABST
Patent Text Reader

Abstract

The invention provides a picture compensation method, device and system, and relates to the technical field of display, and the method comprises the steps: obtaining a first brightness parameter set which comprises the brightness of N channels of at least one pixel when a display panel displays a reference picture under the condition of a first gray scale; a second brightness parameter set is obtained, the second brightness parameter set comprises the brightness of N channels of at least one pixel when the display panel displays the reference picture under the condition of a second gray scale, and the second gray scale is not equal to the first gray scale; according to the first brightness parameter set, the second brightness parameter set, the first gray scale and the second gray scale, a first gamma parameter set is determined, the first gamma parameter set comprises gamma values corresponding to the N channels of the at least one pixel under the condition of the first gray scale, and the first gamma parameter set is used for compensating the gray scale of the at least one pixel. Based on the scheme, more accurate picture compensation for the display panel can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display technology, and more specifically, to methods, apparatus and systems for image compensation. Background Technology

[0002] In display technology, the uniformity of brightness on a display panel is a crucial performance indicator. During the manufacturing process, manufacturing errors can occur, potentially leading to inconsistent brightness across different pixels, resulting in mura (brightness uniformity) issues. Therefore, display compensation is necessary when displaying images. To address this, mura compensation technology is introduced during display panel manufacturing. This technology adjusts the grayscale or voltage of pixels in the mura areas of the display panel, brightening overly dark areas and darkening overly bright areas.

[0003] Therefore, how to maximize the accuracy of image compensation using demura technology is an urgent problem to be solved. Summary of the Invention

[0004] This application provides a method, apparatus, and system for image compensation, which can perform demura operation on each channel of each pixel in the display panel based on a non-fixed gamma parameter, thereby achieving more accurate image compensation for the display panel.

[0005] In a first aspect, a method for image compensation is provided, the method comprising: acquiring a first brightness parameter set, the first brightness parameter set including the brightness corresponding to N channels of at least one pixel when the display panel displays a reference image under a first grayscale condition, wherein N is greater than 1; acquiring a second brightness parameter set, the second brightness parameter set including the brightness corresponding to N channels of the aforementioned at least one pixel when the display panel displays the reference image under a second grayscale condition, wherein the second grayscale is not equal to the first grayscale; determining a first gamma parameter set based on the first brightness parameter set, the second brightness parameter set, the first grayscale, and the second grayscale, the first gamma parameter set including the gamma values ​​corresponding to N channels of the aforementioned at least one pixel under the first grayscale condition, the first gamma parameter set being used to compensate for the grayscale of the aforementioned at least one pixel.

[0006] In conjunction with the first aspect, in some implementations of the first aspect, the second gray level is less than or equal to twice the first gray level.

[0007] In conjunction with the first aspect, in some implementations of the first aspect, the first brightness parameter set includes the first brightness corresponding to the first channel of the first pixel of the display panel, the second brightness parameter set includes the second brightness corresponding to the first channel of the first pixel, and the first gamma value is determined based on the ratio of the second gray level to the first gray level and the ratio of the second brightness to the first brightness, and the first gamma value belongs to the first gamma parameter set.

[0008] In conjunction with the first aspect, in some implementations of the first aspect, the color of the first reference image in the reference image corresponds to the first channel, and the first target brightness is determined. The first target brightness is the average brightness of M pixels within the reference range of the first reference image when the display panel displays the first reference image under the condition of the first gray level, where M is a positive integer. The first target gray level is determined based on the first gray level, the ratio of the first target brightness to the first brightness, and the first gamma value. The first gray level compensation amount is determined based on the first gray level and the first target gray level, and the first gray level compensation amount is used to compensate the gray level of the first channel of the first pixel.

[0009] In conjunction with the first aspect, in some implementations of the first aspect, a third brightness parameter set is obtained, which includes the brightness corresponding to the N channels of the at least one pixel when the display panel displays the reference image under the condition of the third gray level, wherein the third gray level, the second gray level and the first gray level are not equal to each other; based on the second brightness parameter set, the third brightness parameter set, the second gray level and the third gray level, a second gamma parameter set is determined, which includes the gamma values ​​corresponding to the N channels of the at least one pixel under the condition of the second gray level, and the second gamma parameter set is used to compensate for the gray level of the at least one pixel.

[0010] In conjunction with the first aspect, in some implementations of the first aspect, the third gray level is less than or equal to twice the second gray level.

[0011] In conjunction with the first aspect, in some implementations of the first aspect, the third brightness parameter set includes the third brightness of the first channel of the first pixel, and the second gamma value is determined based on the ratio of the third gray level to the second gray level and the ratio of the third brightness to the second brightness. The second gamma value belongs to the second gamma parameter set.

[0012] In conjunction with the first aspect, in some implementations of the first aspect, the second target gray level is determined based on the second gray level, the ratio of the first target brightness to the third brightness, and the second gamma value; the second gray level compensation amount is determined based on the first gray level and the second target gray level, and the second gray level compensation amount is used to compensate the gray level of the first channel of the first pixel.

[0013] In conjunction with the first aspect, in some implementations of the first aspect, when the first target gray level is less than the second gray level, the gray level of the first channel of the first pixel is compensated using the first gray level compensation amount; or, when the first target gray level is greater than or equal to the second gray level and the second target gray level is less than the third gray level, the gray level of the first channel of the first pixel is compensated using the second gray level compensation amount; or, when the second target gray level is greater than or equal to the third gray level, the gray level of the first channel of the first pixel is compensated using the difference between the third gray level and the first gray level.

[0014] Secondly, an image compensation apparatus is provided, comprising a module or unit for performing the method in any possible implementation of the method design described in the first aspect above.

[0015] Thirdly, a screen compensation system is provided, comprising: a stage for placing a display panel, the display panel for displaying a reference image under specified grayscale conditions; an image acquisition device for acquiring the reference image displayed on the display panel; and any possible implementation of the device design in the second aspect above. Attached Figure Description

[0016] Figure 1 This is a flowchart illustrating a screen compensation method 100 proposed in an embodiment of this application;

[0017] Figure 2 This is a flowchart illustrating a method 200 for determining grayscale compensation amount according to an embodiment of this application.

[0018] Figure 3 This is a schematic diagram of the grayscale compensation result proposed in an embodiment of this application;

[0019] Figure 4 This is a flowchart illustrating another image compensation method 400 proposed in an embodiment of this application;

[0020] Figure 5 This is a flowchart illustrating another method 500 for determining grayscale compensation amount proposed in an embodiment of this application;

[0021] Figure 6 This is a schematic diagram of another grayscale compensation result proposed in the embodiments of this application;

[0022] Figure 7 This is a schematic diagram of the compensation result based on the image compensation method proposed in the embodiments of this application;

[0023] Figure 8 This is a schematic diagram of a screen compensation device 800 proposed in an embodiment of this application. Detailed Implementation

[0024] The technical solutions in this application will now be described with reference to the accompanying drawings.

[0025] This application will present various aspects, embodiments, or features relating to a system comprising multiple devices, components, modules, etc. It should be understood and appreciated that individual systems may include additional devices, components, modules, etc., and / or may not include all the devices, components, modules, etc. discussed in conjunction with the accompanying drawings. Furthermore, combinations of these approaches are also possible.

[0026] Furthermore, in the embodiments of this application, the words "exemplary," "for example," etc., are used to indicate that they are examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" in the embodiments of this application should not be construed as being better or more advantageous than other embodiments or design schemes. Specifically, the use of the term "exemplary" is intended to present the concept in a concrete manner.

[0027] The business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0028] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0029] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0030] In display technology, the uniformity of brightness on a display panel is a crucial performance indicator. During the manufacturing process, some manufacturing errors can occur, potentially causing inconsistencies in brightness between different pixels, leading to mura (brightness variability) issues. Therefore, display compensation is necessary when displaying images on a display panel.

[0031] To address this, demura technology has been introduced into the production process of display panels. Based on the basic display state of the display panel, demura technology can calculate the display compensation amount. The operation process of demura technology mainly includes the following steps: sampling the display panel displaying the reference image using an area scan camera, and then converting the display image of the display panel into image data. The area scan camera can only sample the display image of the display panel in the brightness space, while, based on the principle of demura technology, it can only compensate the display image of the display panel in the grayscale space. Therefore, it is necessary to convert the image brightness space data obtained by processing the image captured by the area scan camera into image grayscale space data. In the grayscale space, demura can compensate for the grayscale (or gray level, grayscale value, grayscale value, etc.) of the display panel pixels based on the compensation amount calculated using the following formula (1).

[0032]

[0033] Where lv represents the brightness of the display panel when displaying the reference image, and gray represents the desired grayscale of the display panel when displaying the reference image. base Used to represent the preset brightness reference value for the compensated display panel, gray baseThe grayscale reference value is used to represent the grayscale reference value preset for the compensated display panel. The gamma parameter is used to describe the non-linear relationship between the input signal (e.g., grayscale value) and the output signal (e.g., the brightness of the image displayed on the display panel). This non-linear relationship can usually be expressed as: Input signal = Output signal^gamma.

[0034] The value of gamma can be represented as follows: when the gamma value is greater than 1, the output value is less than the input value, the overall brightness of the image will decrease, and the contrast will increase; or, when the gamma value is less than 1, the output value is greater than the input value, the overall brightness of the image will increase, and the contrast will decrease. Based on this, the gamma value configured for display panels is usually between 1.8 and 2.5, of which 2.2 is a commonly used standard value used to compensate for the non-linear perception of brightness by the human eye.

[0035] The compensation data obtained through Formula 1 above can also be called demura data. The demura data can then be burned into the memory of the display panel so that the display panel can retrieve the demura data from the memory when it is working, and superimpose these data with the original display data. That is, by adjusting the grayscale or voltage of the pixels in the demura area of ​​the display panel, the darker areas are made brighter and the brighter areas are made darker, thereby achieving image compensation for the demura area and making the overall image brightness more uniform.

[0036] However, as explained above, while a gamma value of 2.2 is typically used as a standard for display panels, the gamma parameter is not a constant value of 2.2 for the entire pixel panel. It can vary between different pixels, between different channels (or color channels) of a pixel, and under different grayscale conditions. This means that the compensation amount calculated based on a gamma value of 2.2 often does not match reality, resulting in lower accuracy of display panel compensation based on demura technology.

[0037] Therefore, in order to improve the accuracy of image compensation for the display panel, this application proposes a method to perform a demura operation on each channel of at least one pixel in the display panel based on a non-fixed gamma parameter, thereby achieving more accurate image compensation for the display panel.

[0038] Figure 1 This is a flowchart illustrating a screen compensation method 100 proposed in an embodiment of this application.

[0039] In some possible embodiments, the method 100 can be applied to various types of displays, such as liquid crystal displays (LCDs), organic light-emitting diode (OLED) displays, submillimeter light-emitting diode displays, etc.

[0040] refer to Figure 1 As shown, the method 100 may include the following steps:

[0041] S110: Obtain a first brightness parameter set, which includes the brightness of at least N channels of at least one pixel when the display panel displays the reference image under the first grayscale condition, where N is greater than 1.

[0042] S120: Obtain a second brightness parameter set, which includes the brightness of N channels corresponding to at least one pixel when the display panel displays the reference image under the condition of the second gray level, and the second gray level is not equal to the first gray level.

[0043] In some possible embodiments, the grayscale of the above-mentioned display panel can be set in a pre-configured manner, so that the display panel can display the reference image under specific grayscale conditions.

[0044] In some possible embodiments, the aforementioned at least one pixel may be a specific pixel of the display panel, a portion of the pixels of the display panel, or all the pixels of the display panel. It should be understood that when the aforementioned at least one pixel is all the pixels of the display panel, the first brightness parameter set may include the brightness corresponding to the N channels of each pixel when the display panel displays the reference image under the first grayscale condition.

[0045] In some possible embodiments, taking a first brightness parameter set as an example, when the display panel displays a reference image under the condition of a first grayscale, the display image of the display panel can be obtained through an image acquisition device (e.g., an area scan camera). Then, based on digital image processing technology, the brightness corresponding to each pixel is extracted from the image, including the brightness corresponding to at least one of the aforementioned pixels.

[0046] In some possible embodiments, the resolution of the area scan camera described above is greater than the resolution of the display panel.

[0047] Typically, display panels use red, green, and blue (RGB) pixels, each with three channels: R, G, and B. To acquire the brightness of each channel of at least one pixel when displaying a reference image, the display panel can sequentially display red, green, and blue reference images. Therefore, the number of reference images is at least equal to the number of channels in the display panel's pixels. When displaying a red reference image, the image acquisition device captures the displayed image of the display panel, allowing it to extract the brightness corresponding to the R channel of the aforementioned at least one pixel. When displaying a green reference image, the same device captures the same image, extracting the brightness corresponding to the G channel of the same pixel. When displaying a blue reference image, the same device captures the same image, extracting the brightness corresponding to the B channel of the same pixel. Organizing the brightness parameters obtained from these three color reference images yields the first brightness parameter set. The second brightness parameter set is obtained in the same way, differing only in the grayscale displayed on the display panel, and will not be repeated here.

[0048] In some possible embodiments, the first set of luminance parameters and the second set of luminance parameters described above can be represented by a pixel luminance matrix. Taking RGB pixels as an example, as shown in the above embodiments, the first brightness parameter set includes the brightness corresponding to the three color channels of at least one pixel. Therefore, the first brightness parameter set can be represented by three brightness matrices. Each brightness matrix represents the brightness corresponding to one channel of the at least one pixel. For example, matrix lv_a_R includes the brightness corresponding to the R channel of the at least one pixel, matrix lv_a_G includes the brightness corresponding to the G channel of the at least one pixel, and matrix lv_a_B includes the brightness corresponding to the B channel of the at least one pixel. In this case, the first brightness parameter set can be represented as (lv_a_R, lv_a_G, lv_a_B). Similarly, the second brightness parameter set can also be represented by three brightness matrices. For example, matrix lv_b_R includes the brightness corresponding to the R channel of the at least one pixel, matrix lv_b_G includes the brightness corresponding to the G channel of the at least one pixel, and matrix lv_b_B includes the brightness corresponding to the B channel of the at least one pixel. In this case, the second brightness parameter set can be represented as (lv_b_R, lv_b_G, lv_b_B).

[0049] S130: Determine a first gamma parameter set based on the first brightness parameter set, the second brightness parameter set, the first gray level, and the second gray level. The first gamma parameter set includes the gamma values ​​corresponding to the N channels of the at least one pixel in the case of the first gray level. The first gamma parameter set is used to compensate for the gray level of the at least one pixel.

[0050] In some possible embodiments, the display panel displaying the reference image under the second grayscale condition can also be called an auxiliary grayscale image. The auxiliary grayscale image is used to help determine the grayscale corresponding to the above-mentioned at least one pixel. When the pixel is an RGB pixel, the grayscale corresponding to the above-mentioned at least one pixel can be three values, namely the grayscale corresponding to the R channel, the grayscale corresponding to the G channel, and the grayscale corresponding to the B channel of the pixel.

[0051] In some possible embodiments, for ease of description, the following uses the first pixel in the display panel as an example to explain in detail the method for calculating the gamma values ​​corresponding to the N channels of the aforementioned at least one pixel:

[0052] As explained above, the first brightness parameter set may include the first brightness corresponding to the first channel of the first pixel of the display panel, and the second brightness parameter set may include the second brightness corresponding to the first channel of the first pixel. Therefore, the first gamma value can be determined based on the ratio of the second grayscale to the first grayscale and the ratio of the second brightness to the first brightness. This first gamma value belongs to the first gamma parameter set. For other pixels, the corresponding gamma value can be determined using the same method.

[0053] In some possible embodiments, the ratio of the second gray level to the first gray level can also be the quotient between the second gray level and the first gray level; similarly, the ratio of the second brightness to the first brightness can also be the quotient between the ratio of the second brightness to the first brightness.

[0054] In some possible embodiments, the gamma values ​​corresponding to the N channels of the at least one pixel of the display panel can be determined by the following formula (2):

[0055]

[0056] Here, gray is used to substitute the aforementioned second gray level (denoted as gray_b), which further refers to the gray levels corresponding to all channels of the pixel. base The value lv is used to substitute the first grayscale level (denoted as gray_a) mentioned above. lv is used to substitute the brightness of at least one pixel's corresponding channel when the display panel displays a reference image of each color under the second grayscale condition. baseThe brightness of at least one pixel corresponding to a channel when the above-mentioned display panel displays a reference image of each color under the first grayscale condition.

[0057] Taking the first pixel as an RGB pixel and its first channel as the R channel as an example (correspondingly, the second channel of the first pixel can be the G channel, and the third channel of the first pixel can be the B channel), then the first grayscale, the second grayscale, and the brightness of the R channel of the first pixel when the display panel displays the red reference image under the first grayscale condition and the brightness of the R channel of the first pixel when the display panel displays the red reference image under the second grayscale condition can be substituted into the corresponding parameter items in the above formula (2) to determine the gamma value corresponding to the R channel of the first pixel. The other pixels of the display panel can obtain the gamma value corresponding to the corresponding channel in the same way.

[0058] Taking RGB pixels as an example, after solving for the gamma values ​​of all pixels, three gamma parameter matrices can be determined. Each gamma parameter matrix is ​​used to represent the gamma value corresponding to one channel of the above at least one pixel. For example, matrix gamma_R includes the gamma values ​​corresponding to the R channels of the above at least one pixel, matrix gamma_G includes the gamma values ​​corresponding to the G channels of the above at least one pixel, and matrix gamma_B includes the gamma values ​​corresponding to the G channels of the above at least one pixel. At this time, the first gamma parameter set can be represented as (gamma_R, gamma_G, gamma_B).

[0059] In some possible embodiments, the second gray level can be less than or equal to twice the first gray level. For example, when the first gray level is configured as 31, the second gray level can be set to 60, etc., which will not be listed in detail here. This is because, as can be seen from formula (2), the second gray level exists as an auxiliary gray level (or reference gray level) in gamma calculation. If the second gray level is too large, it will cause the denominator of the fractional term in which the second gray level is located to be too large, that is, the value of the entire fraction will approach 0, which will lead to a large and extremely unstable difference between the gamma values ​​corresponding to each channel of each pixel, thereby directly affecting the accuracy of subsequent demura.

[0060] In some possible embodiments, the second grayscale level can be greater than the first grayscale level. Therefore, a lower limit value can be set for the second grayscale level to assist in its selection. For example, a reasonable value could be set such that the lower limit value of the second grayscale level is 1.2 times that of the first grayscale level. Based on this lower limit value of the second grayscale level and the upper limit value of the second grayscale level proposed in the above embodiments, the second grayscale level can be set more reasonably, avoiding the problem of inaccurate grayscale compensation caused by setting the second grayscale level too low, and helping to improve the grayscale compensation effect of the display panel.

[0061] In some possible embodiments, the second grayscale level may be smaller than the first grayscale level. Therefore, a set of upper and lower limits can be set for the second grayscale level, such as an upper limit of 0.8 times the first grayscale level and a lower limit of 0.2 times the first grayscale level. This helps to assist in the reasonable selection of the second grayscale level and improves the grayscale compensation effect of the display panel.

[0062] In some possible embodiments, after determining the first gray level and the gamma value corresponding to each channel of the at least one pixel, the difference in the gamma value of the at least one pixel can be determined. Therefore, when calculating the expected gray level corresponding to the at least one pixel based on the above formula (1), the gamma value is not limited to the usually set 2.2. Instead, the expected gray level of each channel of the at least one pixel is solved based on the gamma value corresponding to each channel of the at least one pixel, thereby determining the gray level compensation amount corresponding to each channel of the at least one pixel, and realizing the difference compensation between the gray levels of the at least one pixel.

[0063] In some possible embodiments, based on the above method 100, grayscale compensation may be performed only on a portion of the channels of at least one pixel of the display panel. For example, when the pixels of the display panel are RGB pixels, then N may be equal to 3 (i.e., grayscale compensation is performed on all channels), or it may be equal to 2 (i.e., grayscale compensation is performed on the channels of two colors), or it may be equal to 1 (i.e., grayscale compensation is performed on the channel of only one color).

[0064] Based on the above technical solution, instead of setting the gamma value used to calculate the grayscale compensation amount to a constant value, such as 2.2, this solution calculates the gamma value corresponding to each channel of at least one pixel in the display panel separately. This allows the grayscale compensation amount to be calculated for each channel of the at least one pixel based on the gamma value corresponding to different channels of different pixels. This enables more targeted and accurate grayscale compensation for the at least one pixel, which helps to increase the accuracy of image compensation for the display panel based on demura technology.

[0065] In some possible embodiments, for ease of description, the following describes in detail the method for determining the grayscale compensation amount corresponding to the first pixel after obtaining the aforementioned first gamma parameter set, using the first pixel in the display panel as an example:

[0066] Figure 2 This is a flowchart illustrating a method 200 for determining grayscale compensation amount proposed in an embodiment of this application.

[0067] As explained above, when the pixels of the display panel include multiple channels, the reference images displayed by the display panel also correspond to multiple images with colors corresponding to the channels. Assuming the first pixel includes a first channel, the color of the first reference image in the reference images corresponds to that first channel. Figure 2 As shown, the method 200 includes the following steps:

[0068] S210: Determine a first target brightness, which is the average brightness of M pixels within the reference range of the first reference image when the display panel displays the first reference image under the condition of the first grayscale, where M is a positive integer.

[0069] In some possible embodiments, the first target brightness described above can be obtained by a color analyzer.

[0070] In some possible embodiments, the geometric parameters of the reference range described above can correspond to the geometric parameters of the color analyzer lens. For example, if the color analyzer lens is circular, then the reference range can also be circular, and both have the same diameter.

[0071] In some possible embodiments, the center of the reference range may coincide with the center of the display panel, or the center of the reference range may be located at a preset distance from the center of the display panel.

[0072] It should be understood that, based on the working principle of the display panel, the brightness of pixels located at the center of the display panel is more accurate than that of pixels at other locations, while the brightness of pixels located at the edges of the display panel is prone to distortion. Therefore, under normal circumstances, the center of the above reference range is set at or near the center of the display panel.

[0073] S220: Determine the first target gray level based on the first gray level, the ratio of the first target brightness to the first brightness, and the first gamma value.

[0074] In some possible embodiments, the ratio of the first target brightness to the first brightness may also be the quotient between the first target brightness and the first brightness.

[0075] In some possible embodiments, the target grayscale corresponding to the N channels of the at least one pixel of the display panel can be determined by the following formula (3):

[0076]

[0077] Among them, gray base Used to substitute a reference gray level, which in this embodiment can be the first gray level mentioned above, lv. base Used to input the reference brightness, in this embodiment, it can be the brightness of the corresponding channel of at least one pixel when the display panel displays a reference image of each color under the first grayscale condition (obtained through the first brightness parameter set), lv target The target brightness is used to represent the reference image of each color when the display panel displays the first gray level. gamma is used to represent the gamma value corresponding to each channel of the at least one pixel of the display panel (obtained through the first gamma parameter set). gray_t is used to represent the target gray level corresponding to the channel of the pixel involved in the calculation.

[0078] Taking the first pixel as an RGB pixel and the first channel as an R channel as an example, the first grayscale, the target brightness of the display panel when displaying the red reference image under the condition of the first grayscale, the brightness of the R channel of the first pixel, and the previously determined gamma value corresponding to the R channel of the first pixel can be substituted into the above formula (3) to determine the target grayscale corresponding to the R channel of the first pixel. The other pixels of the display panel can obtain the target grayscale corresponding to the corresponding channel in the same way.

[0079] Taking RGB pixels as an example, after solving for the target grayscale of all pixels, three target grayscale matrices can be determined. Each target grayscale matrix is ​​used to represent the target grayscale corresponding to one channel of the above at least one pixel. For example, matrix gray_t_R includes the target grayscale corresponding to the R channel of the above at least one pixel, matrix gray_t_G includes the target grayscale corresponding to the G channel of the above at least one pixel, and matrix gray_t_B includes the target grayscale corresponding to the G channel of the above at least one pixel. At this time, the integration of these three target grayscale matrices can be represented as (gray_t_R, gray_t_G, gray_t_B).

[0080] S230: Determine the first gray level compensation amount based on the first gray level and the first target gray level.

[0081] The first grayscale compensation amount is used to compensate for the grayscale of the first channel of the first pixel.

[0082] In some possible embodiments, after obtaining the first grayscale compensation amount of the first pixel, the following operations can also be performed:

[0083] S235: Compensate the gray level of the first channel of the first pixel according to the first gray level compensation amount.

[0084] In some possible embodiments, taking RGB pixels as an example for the display panel, after determining the target grayscale corresponding to each channel of the above-mentioned at least one pixel, the grayscale compensation amount corresponding to each channel of the above-mentioned at least one pixel can be determined by the following formula (4):

[0085]

[0086] Here, delta_gray_R represents the grayscale compensation amount for the R channel of a pixel, delta_gray_G represents the grayscale compensation amount for the G channel of a pixel, delta_gray_B represents the grayscale compensation amount for the B channel of a pixel, gray_t_R is used to substitute the target grayscale corresponding to the R channel of the pixel, gray_t_G is used to substitute the target grayscale corresponding to the G channel of the pixel, gray_t_B is used to substitute the target grayscale corresponding to the B channel of the pixel, gray_a_R is used to substitute the grayscale corresponding to the R channel of the pixel under the first grayscale condition, gray_a_G is used to substitute the grayscale corresponding to the G channel of the pixel under the first grayscale condition, and gray_a_B is used to substitute the grayscale corresponding to the B channel of the pixel under the first grayscale condition. Typically, the values ​​of gray_a_R, gray_a_G, and gray_a_B are equal, which is 1 / 3 of the first grayscale value.

[0087] It should be understood that when the channel configuration of the panel pixels is composed of other colors or other numbers (such as RYB, RGGB, RGBW, etc. pixel channels), the grayscale compensation amount of each channel of the above-mentioned at least one pixel can be solved in a similar way, which will not be specifically listed here.

[0088] In some possible embodiments, taking the first channel of the first pixel as the R channel as an example, after obtaining the first gray level compensation amount of the first pixel according to the above formula (4), the gray level of the R channel of the first pixel can be directly compensated based on the first gray level compensation amount.

[0089] Based on the above technical solution, in the process of solving the grayscale compensation amount of the first channel of the first pixel, the first gamma value of the first channel of the first pixel is solved separately. In the subsequent calculation process, the first target grayscale corresponding to the first channel of the first pixel is also solved based on the first gamma value. Therefore, the first grayscale compensation amount determined based on the first target grayscale will be more accurate. Thus, the grayscale compensation of the first channel of the first pixel based on the first grayscale compensation will be more accurate.

[0090] It should be understood that for other pixels of the display panel, the grayscale compensation amount of each channel in each pixel can also be determined by referring to the above method 200.

[0091] Figure 3 This is a schematic diagram of the grayscale compensation result proposed in an embodiment of this application.

[0092] exist Figure 3 In the example shown, assuming the first gray level is 32, the second gray level is 64, and the object being compensated is the first channel of the first pixel, the example shows a pixel being compensated for. Figure 3 The horizontal axis of the coordinate system shown represents the grayscale value, and the vertical axis represents the normalized brightness value.

[0093] refer to Figure 3 As shown, the coordinate system includes four sampling points, where the dot markers represent the actual brightness (i.e., 0.12lv) of the first channel of the first pixel under the first gray level and the actual brightness (i.e., 0.56lv) of the first channel of the first pixel under the second gray level. Since this example only uses the first and second gray levels as examples for sampling, in actual applications, the gray level used for sampling the actual brightness polarity of the first channel of the first pixel can be other values. Therefore, in the coordinate system, based on the brightness of the first pixel under the first and second gray levels and the above formula (1), the normalized brightness curve of the first channel of the first pixel under different gray levels can be fitted, that is, the gray level-brightness curve of the first channel of the first pixel can be fitted.

[0094] exist Figure 3 The square markers in the coordinate system represent the target brightness (i.e., 0.22lv) of the first channel of the first pixel under the first gray level condition, as determined by S210 above, and the target brightness (i.e., 1.0lv) of the first channel of the first pixel under the second gray level condition, as determined by S210 above.

[0095] Taking the actual brightness of the first channel of the first pixel under the condition of the first gray level as an example, the brightness value is 0.12lv, corresponding to a gray level value of 32. However, under the condition of this first gray level, the target brightness of the first channel of the first pixel is actually 0.22lv. Therefore, based on... Figure 3 As shown in the grayscale-luminance curve, to achieve a luminance of 0.22 lv for the first channel of the first pixel, the corresponding grayscale value needs to be adjusted to the grayscale value indicated by the triangle mark in the figure, which is 42. Therefore, under the condition of the first grayscale, the grayscale compensation amount for the first channel of the first pixel is 42 - 30 = 10. So the grayscale compensation amount for the corresponding channel of this pixel is 10.

[0096] It should be understood that determining the first grayscale compensation amount and compensating the grayscale of the first channel of the first pixel based on the first grayscale compensation amount can be understood as a demura operation (or a single demura technique). However, considering that some display panels have poor basic image quality, in order to better compensate for the image quality of display panels with poor basic image quality, two or more demura operations as described in the aforementioned embodiments can be performed continuously on the display panel. Furthermore, in the process of the subsequent demura operation, it is also necessary to combine the grayscale compensation amount and related parameters determined in the previous demura operation to achieve more accurate image compensation for the display panel. This method can also be called a multi-segment demura technique (or multi-segment demura operation).

[0097] In some possible embodiments, when performing image compensation on the display panel, if it is determined that a multi-segment demura operation needs to be performed on the display panel, the number of segments of the demura operation needs to be set, and then the multi-segment demura operation is performed on the display panel based on the number of segments.

[0098] Figure 4 This is a flowchart illustrating another image compensation method 400 proposed in this application embodiment.

[0099] Figure 4 The process shown can continue from S130 mentioned in the previous embodiment. After executing S130, the pixels are not directly compensated for the determined grayscale compensation amount. Instead, the process jumps directly to the following process:

[0100] S410: Obtain a third brightness parameter set, which includes the brightness of N channels corresponding to at least one pixel when the display panel displays the reference image under the condition of the third gray level, wherein the third gray level, the second gray level and the first gray level are not equal to each other.

[0101] In some possible embodiments, the third gray level can be less than or equal to twice the second gray level. For example, when the first gray level is configured as 31, the second gray level can be set to 60, and correspondingly, the third gray level can be set to 110, etc. There are many other similar data combinations, which will not be listed in detail here. It should be understood that the third gray level is an auxiliary gray level selected for the second demura segment.

[0102] In some possible embodiments, a lower limit value can be set for the third grayscale level to assist in its selection. For example, the lower limit value of the third grayscale level can be set to a reasonable value such as 1.2 times that of the second grayscale level. This allows for a more reasonable setting of the third grayscale level, avoiding the problem of inaccurate grayscale compensation based on two-segment demura operations due to a low third grayscale level setting, and helps improve the grayscale compensation effect on the display panel.

[0103] In some possible embodiments, the third grayscale level may be smaller than the second grayscale level. Therefore, a set of upper and lower limits can be set for the third grayscale level, such as an upper limit of 0.8 times the second grayscale level and a lower limit of 0.2 times the second grayscale level. This helps to assist in the reasonable selection of the third grayscale level and improves the grayscale compensation effect of the display panel.

[0104] It should be understood that the method of obtaining the third brightness parameter set is similar to the method of obtaining the first brightness parameter set or the second brightness parameter set in the foregoing embodiments. For detailed operation, please refer to the content of the foregoing corresponding embodiments.

[0105] S420: Determine a second gamma parameter set based on the second brightness parameter set, the third brightness parameter set, the second gray level, and the third gray level. The second gamma parameter set includes the gamma values ​​corresponding to the N channels of the aforementioned at least one pixel under the condition of the second gray level.

[0106] In some possible embodiments, for ease of description, the following describes in detail the method for calculating the gamma values ​​corresponding to the N channels of the aforementioned at least one pixel under the condition of the second grayscale, using the first pixel in the display panel as an example:

[0107] As explained above, the third brightness parameter set can include the third brightness corresponding to the first channel of the first pixel of the display panel, and the second brightness parameter set includes the second brightness corresponding to the first channel of the first pixel. Therefore, the second gamma value can be determined based on the ratio of the third grayscale to the second grayscale, and the ratio of the third brightness to the second brightness. This second gamma value belongs to the second gamma parameter set. For other pixels, the corresponding gamma value can be determined using the same method.

[0108] In some possible embodiments, the ratio of the third gray level to the second gray level can also be the quotient between the third gray level and the second gray level; similarly, the ratio of the third brightness to the second brightness can also be the quotient between the ratio of the third brightness to the second brightness. It should be understood that the gamma value corresponding to each channel of at least one pixel of the display panel under the condition of the second gray level can also be determined by the above formula (2).

[0109] Taking the first pixel as an RGB pixel and its first channel as the R channel as an example, the brightness of the first pixel's R channel when the display panel displays a red reference image under the second grayscale condition and the brightness of the first pixel's R channel when the display panel displays a red reference image under the third grayscale condition can be substituted into the corresponding parameter items in the above formula (2) to determine the gamma value corresponding to the first pixel's R channel. The other pixels of the display panel can obtain the gamma value corresponding to their respective channels in the same way.

[0110] Taking RGB pixels as an example, after solving for the gamma values ​​of all pixels, three gamma parameter matrices can be determined. Similar to the previous embodiment, the second gamma parameter set can be represented as (gamma_R2, gamma_G2, gamma_B2).

[0111] In some possible embodiments, when the number of demura segments for determining the grayscale compensation amount of the display panel is set to two, the following operations can be performed:

[0112] S430: Compensate the gray level of at least one pixel based on the first gray level, the second gray level, and the second gamma parameter set.

[0113] In some possible embodiments, when the number of demura segments is greater than two, when performing the second demura segment, S430 may not be executed. Instead, a method similar to the aforementioned S410 and S420 may be adopted to determine the fourth brightness parameter set and the third gamma parameter set. This process continues until the last demura operation. Then, based on the first gray level, the auxiliary gray level selected in the previous demura operation, and the gamma parameter set determined in this demura operation, the gray level of at least one pixel is compensated.

[0114] In some possible embodiments, for ease of description, the following will still take the first pixel in the display panel as an example to explain in detail the method for determining the grayscale compensation amount corresponding to the first pixel after obtaining the above-mentioned second gamma parameter set:

[0115] Figure 5This is a flowchart illustrating another method 500 for determining grayscale compensation amount proposed in this application embodiment.

[0116] It should be understood that Figure 5 The process shown can continue from S230 mentioned in the foregoing embodiments, and the method 500 can further include the following steps:

[0117] S510: Determine the second target gray level based on the second gray level, the ratio of the first target brightness to the third brightness, and the second gamma value.

[0118] In some possible embodiments, the ratio of the first target brightness to the third brightness may also be the quotient between the first target brightness and the third brightness.

[0119] In some possible embodiments, during the demura operation in this section (e.g., the second section), the target grayscale corresponding to the N channels of the at least one pixel of the display panel can also be determined by the above formula (3).

[0120] Taking the first pixel as an RGB pixel and the first channel as an R channel as an example, the second gray level, the target brightness of the display panel when displaying the red reference image under the condition of the first gray level, the brightness of the R channel of the first pixel, and the gamma value corresponding to the R channel of the first pixel determined earlier can be substituted into the above formula (3) to determine the target gray level corresponding to the R channel of the first pixel.

[0121] In this embodiment, gray in formula (3) base The lv value in formula (3) is used to substitute the second gray level mentioned above. base The luminance of the R channel of the first pixel (obtained through the aforementioned second luminance parameter set) is used to represent the brightness of the red reference image displayed on the display panel under the second grayscale condition. target The gamma parameter is used to input the target brightness of the red reference image displayed on the display panel under the first grayscale condition. The gamma value is used to input the gamma value corresponding to the R channel of the first pixel of the display panel (obtained through the second gamma parameter set). Based on this parameter input, the second target grayscale corresponding to the R channel of the first pixel can be determined. It should be understood that the target grayscale corresponding to the corresponding channel of other pixels on the display panel can be obtained in the same way.

[0122] Taking RGB pixels as an example, after solving the target grayscale for all pixels, this embodiment can also determine three target grayscale matrices. At this time, the integration of these three target grayscale matrices can be represented as (gray_t_R2, gray_t_G2, gray_t_B2).

[0123] S520: Determine the second gray level compensation amount based on the first gray level and the second target gray level.

[0124] The second grayscale compensation amount is used to compensate for the grayscale of the first channel of the first pixel.

[0125] In some possible embodiments, taking RGB pixels as an example for the display panel, after determining the target grayscale corresponding to each channel of the above-mentioned at least one pixel, the grayscale compensation amount corresponding to each channel of the above-mentioned at least one pixel in the second demura operation can be determined by the following formula (5):

[0126]

[0127] Wherein, delta_gray_R2 is used to represent the grayscale compensation amount of the pixel's R channel in the second demura operation, delta_gray_G2 is used to represent the grayscale compensation amount of the pixel's G channel in the second demura operation, delta_gray_B2 is used to represent the grayscale compensation amount of the pixel's B channel in the second demura operation, gray_t_R2 is used to substitute the target grayscale corresponding to the pixel's R channel in the second demura operation, gray_t_G2 is used to substitute the target grayscale corresponding to the pixel's G channel in the second demura operation, gray_t_B2 is used to substitute the target grayscale corresponding to the pixel's B channel in the second demura operation, gray_a_R is used to substitute the grayscale corresponding to the pixel's R channel under the first grayscale condition, gray_a_G is used to substitute the grayscale corresponding to the pixel's G channel under the first grayscale condition, and gray_a_B is used to substitute the grayscale corresponding to the pixel's B channel under the first grayscale condition.

[0128] It should be understood that when the channel configuration of the panel pixels is composed of other colors or other numbers (such as RYB, RGGB, RGBW, etc. pixel channels), the grayscale compensation amount of each channel of the above-mentioned at least one pixel in the second demura operation can be solved in a similar way as described above, which will not be specifically listed here.

[0129] In some possible embodiments, taking the first channel of the first pixel as an example, when the number of segments in the demura operation is set to two, after obtaining the second grayscale compensation amount of the first pixel according to the above formula (5), the following operation can be performed:

[0130] S525: Compensate the gray level of the first channel of the first pixel according to the first gray level compensation amount and the second gray level compensation amount.

[0131] In some possible embodiments, if the first target gray level is less than the second gray level, the gray level of the first channel of the first pixel is compensated using the first gray level compensation amount; or, if the first target gray level is greater than or equal to the second gray level and the second target gray level is less than the third gray level, the gray level of the first channel of the first pixel is compensated using the second gray level compensation amount; or, if the second target gray level is greater than or equal to the third gray level, the gray level of the first channel of the first pixel is compensated using the difference between the third gray level and the first gray level.

[0132] In summary, taking RGB pixels as an example, after the calculations in the two demura operations mentioned above, the final compensation amount for each channel of each pixel in the display panel can be expressed by the following formula (6):

[0133]

[0134] Wherein, delta_gray_R_fin represents the grayscale compensation amount corresponding to the R channel of the pixel after two demura operations, delta_gray_G_fin represents the grayscale compensation amount corresponding to the G channel of the pixel after two demura operations, delta_gray_B_fin represents the grayscale compensation amount corresponding to the B channel of the pixel after two demura operations, and gray_c represents the third grayscale mentioned above. The other parameters have been mentioned in the previous embodiments and will not be repeated here. When the number of demura segments proposed in this application embodiment is greater than 2, the above formula (6) can also be applied to the calculation of the grayscale compensation amount after the second demura operation.

[0135] As can be seen from the foregoing embodiments, gray_b is the auxiliary gray level selected in the first demura operation to determine the gray level compensation amount during the entire image compensation process. If the gray level compensation amount determined in the first demura operation is greater than the auxiliary gray level, then compensating the pixel based on this gray level compensation amount may result in overcompensation. Therefore, the gray level compensation amount determined in the first demura operation still has room for further correction. Thus, it is necessary to select another gray level value as the auxiliary gray level for calculating the gray level compensation amount. That is, in the second demura operation, gray_c is used as the auxiliary gray level to calculate the gray level compensation amount, thereby correcting the gray level compensation amount calculated in the first demura operation and using the gray level compensation amount calculated in the second demura operation to perform gray level compensation on the corresponding channel of the corresponding pixel, thereby improving the accuracy of gray level compensation.

[0136] So, when the grayscale compensation amount calculated in the second demura operation is greater than or equal to gray_c, since the number of segments of the demura operation has been set to 2, in order to minimize the negative impact of overcompensation on the display panel, the difference between gray_c and the first grayscale can be used as the compensation amount, and this compensation amount is used to compensate the first grayscale. In other words, the third grayscale is regarded as the second target grayscale.

[0137] Furthermore, if the grayscale compensation amount determined in the first demura segment is less than or equal to the auxiliary grayscale, it means that the grayscale compensation amount determined in this demura segment is sufficient to compensate the pixel channel relatively accurately, and there will be no overcompensation problem. Therefore, the grayscale compensation amount calculated in the first demura segment is used to perform grayscale compensation on the corresponding channel of the corresponding pixel.

[0138] In some possible embodiments, the less than relationship in the parameter conditions of the above formula (6) can also be replaced with a less than or equal to relationship.

[0139] Based on the above technical solution, the grayscale compensation amount for each channel of at least one pixel on the display panel is determined through multi-segment demura operations. In each subsequent demura segment, a different auxiliary grayscale level than that used in the previous demura segment, along with the auxiliary grayscale level used in the previous demura segment, are applied to the determination of the gamma parameter set in the subsequent demura segment. The gamma parameter set determined in the subsequent demura segment is then used to determine the grayscale compensation amount for each channel of the aforementioned at least one pixel. By calculating the grayscale compensation amount in multi-segment demura, better image compensation can be performed on display panels with poor basic image quality, thus avoiding overcompensation of the display panel.

[0140] It should be understood that for other pixels on the display panel, the grayscale compensation amount for each channel in each pixel can also be determined by referring to the above-mentioned two-stage demura operation.

[0141] Figure 6 This is a schematic diagram of another grayscale compensation result proposed in the embodiments of this application.

[0142] exist Figure 6 In the example shown, assuming the first gray level is 32, the second gray level is 64, and the third gray level is 128 (not shown in the figure), the object being compensated is the first channel of the first pixel. Figure 6 The horizontal axis of the coordinate system shown represents the grayscale value, and the vertical axis represents the normalized brightness value.

[0143] refer to Figure 6As shown in the diagram, the coordinate system displays five sampling points. The dots represent the actual brightness of the first channel of the first pixel at the first gray level (0.02 lv), the actual brightness of the first channel of the first pixel at the second gray level (0.04 lv), and the actual brightness of the first channel of the first pixel at the third gray level (0.76 lv). This example only uses the first, second, and third gray levels for sampling. In practical applications, the gray level used for sampling the actual brightness polarity of the first channel of the first pixel can be other values. Therefore, in the coordinate system, based on the brightness of the first pixel at the first gray level and the second gray level and the above formula (1), the normalized brightness curve of the first channel of the first pixel under different gray levels can be fitted, that is, the gray level-brightness curve 1 of the first channel of the first pixel can be fitted. Similarly, based on the brightness of the first pixel at the second gray level and the third gray level and the above formula (1), the normalized brightness curve of the first channel of the first pixel under different gray levels can be fitted, that is, the gray level-brightness curve 2 of the first channel of the first pixel can be fitted.

[0144] exist Figure 6 The square markers in the coordinate system represent the target brightness (i.e., 0.1lv) of the first channel of the first pixel under the first gray level condition, as determined by S210 above, and the target brightness (i.e., 0.46lv) of the first channel of the first pixel under the second gray level condition, as determined by S210 above. The target brightness of the first channel of the first pixel under the third gray level condition, as determined by S210 above, is not shown in this example.

[0145] Taking the actual brightness of the first channel of the first pixel under the condition of the first gray level as an example, the brightness value is 0.02lv, corresponding to a gray level value of 32. However, under the actual condition of this first gray level, the target brightness of the first channel of the first pixel is 0.1lv. Therefore, based on... Figure 6 As shown in the grayscale-luminance curve 1, to achieve a luminance of 0.1lv for the first channel of the first pixel, the corresponding grayscale value needs to be adjusted to the target grayscale 1, i.e., 100. Under the condition of the first grayscale, the compensated grayscale of the first channel of the first pixel is 100. This target grayscale 1 is greater than the auxiliary grayscale selected in the first demura operation (i.e., the second grayscale, i.e., 64). Therefore, the target grayscale 2 determined in the second demura operation, i.e., 78, needs to be selected. 78 is less than the auxiliary grayscale selected in the second demura operation (i.e., the third grayscale, i.e., 128). Therefore, the grayscale compensation amount 2 for the corresponding channel of this pixel is 46 (i.e., 78-32=46).

[0146] Figure 7 This is a schematic diagram of the compensation result based on the image compensation method proposed in the embodiments of this application.

[0147] In this example, the display panel is based on RGB pixels, and the initial grayscale (i.e., the first grayscale mentioned in the embodiments of this application) of the display panel is 32.

[0148] The display panel shows red, green, and blue reference images based on an initial grayscale. Simultaneously, an image acquisition device captures images of the corresponding scenes displayed on the panel. The image processing device then performs digital image processing on the three captured images to obtain the corresponding grayscale maps. Figure 7 The three diagrams in the first row of the table show that, based on the image results, the brightness of the display panel is uneven, and there is a relatively obvious mura problem.

[0149] In response, this experiment employed two demura compensation schemes proposed in the embodiments of this application for the display panel. The first scheme, based on a single-segment demura compensation method proposed in the embodiments of this application, compensated the display panel for image quality (referred to as Method 1). The second scheme, based on a two-segment demura compensation method proposed in the embodiments of this application, compensated the display panel for image quality (referred to as Method 2).

[0150] refer to Figure 7 As shown in the second row of the table, the image results demonstrate that Method 1 significantly improves the image compensation effect on the display panel, especially for the B-channel of the display panel pixels. This is better than compensation methods based on fixed gamma parameters, and the overall image no longer exhibits noticeable mura. This is because Method 1, the image compensation method proposed in this embodiment, calculates the corresponding gamma value for each channel of each pixel, rather than simply setting the gamma value for all channels of all pixels to a constant value. This allows for differentiated grayscale compensation for different color channels of each pixel, resulting in a significant improvement in the compensation effect of the B-channel of the display panel pixels. However, when the display panel displays a red or green reference image, there is slight brightness distortion at the edges of the image, but overall, there is no noticeable mura problem.

[0151] refer to Figure 7As shown in the image results in the third row of the table, after compensating the display panel based on method 2, compared with the compensation result of method 1, the small brightness distortion at the edge of the display panel when displaying the red or green reference image is also compensated to the target brightness, which further improves the image compensation effect, basically solves the mura problem corresponding to different color channels of the display panel, and ensures the brightness uniformity of the display panel as much as possible.

[0152] In addition, embodiments of this application also provide an apparatus for implementing any of the above methods. For example, an apparatus for image compensation is provided, which includes a unit (or means) for implementing any of the above image compensation methods.

[0153] Figure 8 This is a schematic diagram of a screen compensation device 800 proposed in an embodiment of this application.

[0154] refer to Figure 8 As shown, the device 800 may include:

[0155] The acquisition unit 810 is used to acquire a first brightness parameter set, which includes the brightness of N channels corresponding to at least one pixel when the display panel displays the reference image under the condition of the first gray level, where N is greater than 1; and to acquire a second brightness parameter set, which includes the brightness of N channels corresponding to the at least one pixel when the display panel displays the reference image under the condition of the second gray level, where the second gray level is not equal to the first gray level.

[0156] The determining unit 820 is used to determine a first gamma parameter set based on a first brightness parameter set, a second brightness parameter set, a first gray level, and a second gray level. The first gamma parameter set includes the gamma values ​​corresponding to the N channels of the at least one pixel under the condition of the first gray level. The first gamma parameter set is used to compensate for the gray level of the at least one pixel.

[0157] In some possible embodiments, the second gray level is less than or equal to twice the first gray level.

[0158] In some possible embodiments, the first brightness parameter set includes the first brightness corresponding to the first channel of the first pixel of the display panel, the second brightness parameter set includes the second brightness corresponding to the first channel of the first pixel, and the determining unit 820 is specifically used to: determine the first gamma value according to the ratio of the second gray level to the first gray level and the ratio of the second brightness to the first brightness, wherein the first gamma value belongs to the first gamma parameter set.

[0159] In some possible embodiments, the color of the first reference image in the above-mentioned reference image corresponds to the first channel, and the determining unit 820 is further configured to: determine a first target brightness, wherein the first target brightness is the average brightness of M pixels within the reference range of the first reference image when the display panel displays the first reference image under the condition of the first gray level, where M is a positive integer; determine a first target gray level based on the first gray level, the ratio of the first target brightness to the first brightness, and the first gamma value; and determine a first gray level compensation amount based on the first gray level and the first target gray level, wherein the first gray level compensation amount is used to compensate the gray level of the first channel of the first pixel.

[0160] In some possible embodiments, the above-described device 800 further includes a compensation unit 830, used to compensate the gray level of the first channel of the first pixel according to the first gray level compensation amount.

[0161] In some possible embodiments, the acquisition unit 810 is further configured to: acquire a third brightness parameter set, the third brightness parameter set including the brightness corresponding to the N channels of the at least one pixel when the display panel displays the reference image under the condition of a third gray level, wherein the third gray level, the second gray level, and the first gray level are not equal to each other. The determination unit is further configured to: determine a second gamma parameter set based on the second brightness parameter set, the third brightness parameter set, the second gray level, and the third gray level, the second gamma parameter set including the gamma values ​​corresponding to the N channels of the at least one pixel under the condition of the second gray level, the second gamma parameter set being used to compensate for the gray level of the at least one pixel.

[0162] In some possible embodiments, the third gray level is less than or equal to twice the second gray level.

[0163] In some possible embodiments, the third brightness parameter set includes the third brightness of the first channel of the first pixel, and the determining unit 820 is specifically used to: determine a second gamma value based on the ratio of the third gray level to the second gray level and the ratio of the third brightness to the second brightness, wherein the second gamma value belongs to the second gamma parameter set.

[0164] In some possible embodiments, the determining unit 820 is further configured to: determine a second target gray level based on the second gray level, the ratio of the first target brightness to the third brightness, and the second gamma value; and determine a second gray level compensation amount based on the first gray level and the second target gray level, the second gray level compensation amount being used to compensate the gray level of the first channel of the first pixel.

[0165] In some possible embodiments, the compensation unit 830 is further configured to: compensate the gray level of the first channel of the first pixel using a first gray level compensation amount when the first target gray level is less than the second gray level; or, compensate the gray level of the first channel of the first pixel using a second gray level compensation amount when the first target gray level is greater than or equal to the second gray level.

[0166] This application also provides a screen compensation device, which includes a processor and a memory, wherein the memory is used to store instructions, and the processor executes the instructions stored in the memory to cause the device to perform the methods or steps performed in the above embodiments.

[0167] This application also provides a screen compensation system, the system comprising:

[0168] A platform is used to place a display panel, which is used to display a reference image under specified grayscale conditions.

[0169] Image acquisition device, used to acquire reference images displayed on the display panel;

[0170] Any of the image compensation devices proposed in the embodiments of this application.

[0171] In some possible embodiments, the image acquisition device described above may be an area scan camera, the resolution of which is greater than the resolution of the display panel.

[0172] This application also provides a computer program product, which includes computer program code that, when run on a computer, causes the computer to perform the methods described in the above embodiments.

[0173] This application also provides a computer-readable medium storing program code that, when run on a computer, causes the computer to perform the methods described in the above embodiments.

[0174] This application also provides a chip, which includes a circuit for performing the methods described in the above embodiments.

[0175] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0176] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0177] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0178] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0179] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0180] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0181] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for image compensation, characterized in that, The method includes: Obtain a first brightness parameter set, which includes the brightness of at least N channels of at least one pixel when the display panel displays the reference image under the first gray level condition, where N is greater than 1. Obtain a second brightness parameter set, which includes the brightness of the N channels of at least one pixel when the display panel displays the reference image under the condition of the second gray level, wherein the second gray level is not equal to the first gray level; A first gamma parameter set is determined based on the first brightness parameter set, the second brightness parameter set, the first gray level, and the second gray level. The first gamma parameter set includes the gamma values ​​corresponding to the N channels of the at least one pixel under the condition of the first gray level. The first gamma parameter set is used to compensate for the gray level of the at least one pixel.

2. The method according to claim 1, characterized in that, The second gray level is less than or equal to twice the first gray level.

3. The method according to claim 1 or 2, characterized in that, The first brightness parameter set includes a first brightness corresponding to a first channel of a first pixel on the display panel, and the second brightness parameter set includes a second brightness corresponding to the first channel of the first pixel. Determining the first gamma parameter set based on the first brightness parameter set, the second brightness parameter set, the first grayscale, and the second grayscale includes: A first gamma value is determined based on the ratio of the second gray level to the first gray level and the ratio of the second brightness to the first brightness, wherein the first gamma value belongs to the first gamma parameter set.

4. The method according to claim 3, characterized in that, The color of the first reference image in the reference image corresponds to the first channel, and the method further includes: A first target brightness is determined, wherein the first target brightness is the average brightness of M pixels within the reference range of the first reference image when the first reference image is displayed on the display panel under the condition of the first gray level, and M is a positive integer; The first target gray level is determined based on the first gray level, the ratio of the first target brightness to the first brightness, and the first gamma value; Based on the first gray level and the first target gray level, a first gray level compensation amount is determined, which is used to compensate the gray level of the first channel of the first pixel.

5. The method according to claim 4, characterized in that, The method further includes: Obtain a third brightness parameter set, which includes the brightness of the N channels of at least one pixel when the display panel displays the reference image under the condition of a third gray level, wherein the third gray level, the second gray level and the first gray level are not equal to each other; A second gamma parameter set is determined based on the second brightness parameter set, the third brightness parameter set, the second gray level, and the third gray level. The second gamma parameter set includes the gamma values ​​corresponding to the N channels of the at least one pixel under the condition of the second gray level. The second gamma parameter set is used to compensate for the gray level of the at least one pixel.

6. The method according to claim 5, characterized in that, The third gray level is less than or equal to twice the second gray level.

7. The method according to claim 5 or 6, characterized in that, The third brightness parameter set includes the third brightness of the first channel of the first pixel, and determining the second gamma parameter set based on the second brightness parameter set, the third brightness parameter set, the second grayscale, and the third grayscale includes: A second gamma value is determined based on the ratio of the third gray level to the second gray level and the ratio of the third brightness to the second brightness. The second gamma value belongs to the second gamma parameter set.

8. The method according to claim 7, characterized in that, The method further includes: The second target gray level is determined based on the second gray level, the ratio of the first target brightness to the third brightness, and the second gamma value; Based on the first gray level and the second target gray level, a second gray level compensation amount is determined, which is used to compensate the gray level of the first channel of the first pixel.

9. The method according to claim 8, characterized in that, The method further includes: If the first target gray level is less than the second gray level, the first gray level compensation amount is used to compensate the gray level of the first channel of the first pixel; or... If the first target gray level is greater than or equal to the second gray level, and the second target gray level is less than the third gray level, then the gray level of the first channel of the first pixel is compensated using the second gray level compensation amount; or... When the second target gray level is greater than or equal to the third gray level, the difference between the third gray level and the first gray level is used to compensate the gray level of the first channel of the first pixel.

10. A device for image compensation, characterized in that, Includes modules or units for performing the method as described in any one of claims 1 to 9.

11. A system for image compensation, characterized in that, include: A platform for placing a display panel, which is used to display a reference image under specified grayscale conditions; An image acquisition device for acquiring the reference image displayed on the display panel; The image compensation apparatus as described in claim 10.