Gamma correction method and related products based on under-screen camera display

By directly using the correction results of the corrected points in the conventional area in the under-screen area, the problem of the gamma correction time of the under-screen camera display screen is solved, achieving more efficient gamma correction and more uniform low brightness display.

CN115132142BActive Publication Date: 2025-08-19GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210906648.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2025-08-19
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

In the prior art, gamma correction of under-screen camera display requires two adjustments, resulting in twice the time than a conventional display screen, and gamma correction cannot be performed efficiently.

Method used

When the grayscale value of the point to be corrected in the under-screen area is less than the first threshold value, the correction result of the correction point in the conventional area with the same grayscale value as the point to be corrected in the under-screen area is used as the correction result of the correction point to be corrected in the under-screen area to avoid repeated corrections.

Benefits of technology

Reduces the time required for gamma correction of the under-screen camera display, and improves the display uniformity and overall display effect of low-brightness areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115132142B_ABST
    Figure CN115132142B_ABST
Patent Text Reader

Abstract

The present invention provides a gamma correction method and related products for an under-screen camera display. The under-screen camera display includes a regular area and an under-screen area. The gamma correction method includes performing gamma correction on a point to be corrected in the regular area; and when the grayscale value of the point to be corrected in the under-screen area is less than a first threshold, using the correction result of an already corrected point in the regular area having the same grayscale value as the point to be corrected in the under-screen area as the correction result for the point to be corrected in the under-screen area. The present invention can reduce the time required for gamma correction of the under-screen camera display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a gamma correction method based on an under-screen camera display and related products. Background Art

[0002] In the field of display technology, if the brightness of a display is linearly related to the input current, the chromaticity will differ significantly from the target chromaticity. To match the characteristics of the human eye, gamma correction is required to adjust the brightness of the display.

[0003] The under-panel camera (UPC) display consists of two parts: the regular area (not the under-screen area) and the under-screen area. The under-screen area needs to display properly, so gamma correction requires separate adjustments for both areas. Current gamma correction methods for under-panel camera displays use a two-step process: first, gamma correction for the regular area, then for the under-screen area. This approach, compared to conventional displays, is equivalent to performing two adjustments, resulting in gamma correction taking twice as long for under-panel camera displays as it does for conventional displays. Summary of the Invention

[0004] The embodiments of the present application provide a gamma correction method and related products based on an under-screen camera display, which can reduce the time required for gamma correction of the under-screen camera display.

[0005] A first aspect of an embodiment of the present application provides a gamma correction method based on an under-screen camera display, wherein the under-screen camera display includes a regular area and an under-screen area, and the method includes:

[0006] performing gamma correction on the points to be corrected within the conventional area;

[0007] When the grayscale value of the point to be corrected in the under-screen area is less than the first threshold, the correction result of the corrected point in the conventional area with the same grayscale value as the point to be corrected in the under-screen area is used as the correction result of the point to be corrected in the under-screen area.

[0008] A second aspect of an embodiment of the present application provides a gamma correction device based on an under-screen camera display, wherein the under-screen camera display includes a regular area and an under-screen area, and the device includes:

[0009] A first correction unit, configured to perform gamma correction on the points to be corrected in the conventional area;

[0010] The second correction unit is used to use the correction result of the corrected point in the conventional area with the same grayscale value as the point to be corrected in the under-screen area as the correction result of the point to be corrected in the under-screen area when the grayscale value of the point to be corrected in the under-screen area is less than the first threshold.

[0011] The third aspect of an embodiment of the present application provides a terminal device, including a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the step instructions in the first aspect of the embodiment of the present application.

[0012] The fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, and the computer program includes program instructions, which, when executed by a processor, enable the processor to execute the step instructions in the first aspect of the embodiment of the present application.

[0013] The fifth aspect of the embodiments of the present application provides a computer program product, wherein the above-mentioned computer program product includes a computer program, and the computer program includes program instructions, which, when executed by a processor, enable the processor to execute the step instructions in the first aspect of the embodiments of the present application.

[0014] In an embodiment of the present application, a gamma correction method based on an under-screen camera display screen is provided, wherein the under-screen camera display screen includes a regular area and an under-screen area, and gamma correction is performed on the points to be corrected in the regular area; when the grayscale value of the points to be corrected in the under-screen area is less than a first threshold value, the correction result of the already corrected points in the regular area that have the same grayscale value as the points to be corrected in the under-screen area is used as the correction result of the points to be corrected in the under-screen area. In the gamma correction method based on an under-screen camera display screen of an embodiment of the present application, when correcting the points to be corrected in the under-screen area, there is no need to calibrate the points to be corrected in the under-screen area whose grayscale values are less than the first threshold value, and the correction result of the already corrected points in the regular area that have the same grayscale value as the points to be corrected in the under-screen area is directly used as the correction result of the points to be corrected in the under-screen area whose grayscale values are less than the first threshold value, thereby reducing the time required for gamma correction of the under-screen camera display screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0016] Figure 1 This is a schematic diagram comparing the brightness observed by the human eye and the physical brightness provided in an embodiment of the present application;

[0017] Figure 2 This is a flow chart of a gamma correction method based on an under-screen camera display provided by an embodiment of the present application;

[0018] Figure 3 1 is a schematic diagram of an under-screen camera display provided by an embodiment of the present application;

[0019] Figure 4 This is a flow chart of another gamma correction method based on an under-screen camera display provided by an embodiment of the present application;

[0020] Figure 5 This is a flow chart of a method for combining two-region gamma correction provided by an embodiment of the present application;

[0021] Figure 6 1 is a schematic structural diagram of a gamma correction device based on an under-screen camera display provided by an embodiment of the present application;

[0022] Figure 7 This is a structural diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0024] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.

[0025] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0026] The terminal devices involved in the embodiments of the present application are terminals with an under-screen camera display. They can be mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), on-board units (OBUs), wearable devices (e.g., watches, bracelets, smart helmets, etc.), smart home devices (e.g., rice cookers, speakers, home management devices, etc.), augmented reality (AR) / virtual reality (VR) devices, etc.

[0027] Gamma correction: In the old days of digital graphics, most monitors were CRT displays. The physical properties of these monitors meant that doubling the input voltage did not result in twice the brightness. The input voltage and brightness had a roughly exponential relationship of 2.2, which is called the gamma value of the monitor. This happens to match human perception of brightness, as humans perceive brightness on an (inverse) logarithmic scale. See Figure 1 , Figure 1 This is a schematic diagram comparing the brightness observed by the human eye and the physical brightness provided in an embodiment of the present application. Figure 1 The brightness displayed by the upper brightness bar is the brightness observed by the human eye, and the brightness displayed by the lower brightness bar is the physical brightness. The brightness displayed by the upper brightness bar appears to change proportionally, and double the brightness value will also cause the human eye to perceive a double brightness change. However, for the physical brightness of light, that is, the number of photons leaving the light source, the lower brightness bar shows the correct brightness. However, due to the difference in how our eyes perceive brightness, the lower brightness bar looks a bit strange. Precisely because the human eye tends to perceive brightness based on the proportional relationship of the upper brightness bar, and the display uses a logarithmic relationship to display output color, the actual physical brightness is mapped in a nonlinear relationship, and the mapping relationship is as follows:

[0028] Vout=A*Vin γ ;

[0029] Here, A is a constant, and both the input Vin and output Vout are non-negative real values. Generally speaking, when A = 1, the input and output values range from 0 to 1. A gamma value γ < 1 is sometimes called encoding gamma, and the power law-based encoding operation is called gamma compression. Conversely, a gamma value γ > 1 is sometimes called decoding gamma, and the power law-based decoding operation is called gamma expansion.

[0030] Before gamma correction, the brightness of liquid crystal displays (LCDs) and organic light-emitting diode (OLED) displays has a linear relationship with input current, and their chromaticity differs significantly from the target chromaticity. (Because the original screen output is not calibrated, the current and brightness have a linear relationship. Under this relationship, the white color obtained by mixing R / G / B may appear reddish or greenish.) To match the characteristics of the human eye, the brightness relationship of the display needs to be corrected. Typically, the brightness is corrected to 2.2, which best matches the human eye, and the chromaticity is corrected to the target color coordinates.

[0031] See also Figure 2 , Figure 2 This is a flow chart of a gamma correction method based on an under-screen camera display provided by an embodiment of the present application. Figure 2 As shown, the method may include the following steps.

[0032] 201. The terminal device performs gamma correction on the points to be corrected in the regular area.

[0033] The gamma correction method of the embodiment of the present application can perform gamma correction on an under-panel camera (UPC) display screen.

[0034] See also Figure 3 , Figure 3 Schematic diagram of an under-screen camera display provided by an embodiment of the present application. Figure 3 As shown, the under-screen camera display can include a regular area (non-under-screen area) and an under-screen area. Unlike through-hole screens and notch screens, the under-screen area of the under-screen camera display needs to display normally. The under-screen area can also be called the under-screen camera area. The under-screen camera can be set up in the under-screen area to ensure the normal operation of the under-screen camera.

[0035] Due to the different designs of the regular area and the under-screen area, the required driving voltages are also different and need to be adjusted separately. Current gamma correction solutions for under-screen camera displays all involve two adjustments: first, gamma correction for the regular area, and then gamma correction for the under-screen area. Compared to conventional displays, this method is equivalent to performing two adjustments, resulting in gamma correction for under-screen camera displays taking twice as long as that for conventional displays.

[0036] In step 201, for the points to be corrected in the conventional area, gamma correction is still performed using the conventional method.

[0037] The point to be corrected can be a pixel at the center of the regular area. One point to be corrected can correspond to a red sub-pixel (R sub-pixel), a green sub-pixel (G sub-pixel), and a blue sub-pixel (B sub-pixel). At least two points to be corrected can be selected for correction. For example, 9-11 brightness points can be selected for correction.

[0038] In one embodiment, in step 201, the terminal device performs gamma correction on the points to be corrected in the regular area, which may include the following steps:

[0039] (11) Setting a brightness level, setting the grayscale value of the point to be corrected within the conventional area under the set brightness level, and adjusting the brightness of the R sub-pixel, G sub-pixel, and B sub-pixel corresponding to the point to be corrected;

[0040] (12) When the brightness of the point to be corrected meets the brightness condition corresponding to the grayscale value and the chromaticity of the point to be corrected meets the target chromaticity condition, the correction result of the point to be corrected is written into a first display look-up table (LUT).

[0041] In the embodiment of the present application, the brightness level is the maximum brightness at which the display screen can operate. The brightness level may include any one of 2 nits, 10 nits, 50 nits, 100 nits, 500 nits, and 1000 nits.

[0042] Different brightness levels can correspond to different scenarios. For example, in strong sunlight outdoors during the day, the display can operate at a brightness level of 1000 nits; indoors, the display can operate at a brightness level of 500 nits; and at night when the lights are turned off, the display can operate at a brightness level of 2 nits, 10 nits, or 50 nits.

[0043] Each brightness level can correspond to the same grayscale range. For example, they can all correspond to a grayscale range of 0-255. For example, dividing 0-2nit into 255 equals 0-255 grayscale at 2nit, dividing 0-100nit into 255 equals 0-255 grayscale at 100nit, 255 grayscale at 2nit equals 2nit, and 255 grayscale at 100nit equals 100nit. For example, the 255 grayscale on a phone with the lights off at night is different from the 255 grayscale under daylight. For example, 16 grayscales at 100nit have the same brightness as 40 grayscales at 50nit, but 16 grayscales at 100nit are different from 16 grayscales at 50nit.

[0044] To ensure the display effect within the regular area at different brightness levels, gamma correction needs to be performed on each of the points to be corrected within the regular area at different brightness levels. For example, the points to be corrected within the regular area at a brightness level of 2 nit can be calibrated from grayscale 0-255, and the points to be corrected within the regular area at a brightness level of 10 nit can be calibrated from grayscale 0-255, and so on, until the points to be corrected within the regular area at a brightness level of 1000 nit are calibrated from grayscale 0-255, thus completing the gamma correction of the points to be corrected within the regular area at different brightness levels. A similar method can be used to perform gamma correction on other points to be corrected within the regular area.

[0045] Under the set brightness level, the grayscale value of the point to be corrected in the regular area is set. Under the first grayscale value under the set brightness level, the brightness of the R sub-pixel, G sub-pixel, and B sub-pixel corresponding to the point to be corrected is adjusted.

[0046] When the brightness of the point to be corrected satisfies the brightness condition corresponding to the first grayscale value and the chromaticity of the point to be corrected satisfies the target chromaticity condition, a correction result of the point to be corrected is written into the first display lookup table. The correction result of the point to be corrected includes: the first grayscale value of the band to be corrected, the voltage value corresponding to the adjusted brightness of the R subpixel at the first grayscale value (i.e., the voltage value of the R subpixel at the first grayscale value), the voltage value corresponding to the adjusted brightness of the G subpixel at the first grayscale value (i.e., the voltage value of the G subpixel at the first grayscale value), and the voltage value corresponding to the adjusted brightness of the B subpixel at the first grayscale value (i.e., the voltage value of the B subpixel at the first grayscale value).

[0047] Subsequently, when the point to be corrected is displayed at a certain grayscale (for example, the first grayscale value) in a certain brightness file, the voltage value corresponding to the adjusted brightness of the R sub-pixel of the point to be corrected at the first grayscale value, the voltage value corresponding to the adjusted brightness of the G sub-pixel at the first grayscale value, and the voltage corresponding to the adjusted brightness of the B sub-pixel at the first grayscale value can be looked up through the first display lookup table, and the voltage value corresponding to the adjusted brightness of the R sub-pixel of the point to be corrected at the first grayscale value is loaded onto the R sub-pixel, the voltage value corresponding to the adjusted brightness of the G sub-pixel of the point to be corrected at the first grayscale value is loaded onto the G sub-pixel, and the voltage value corresponding to the adjusted brightness of the B sub-pixel of the point to be corrected at the first grayscale value is loaded onto the B sub-pixel, thereby realizing the display of the first grayscale value of the point to be corrected in a certain brightness file.

[0048] The grayscale value under the set brightness level is measured by a gamma detection and calibration device (e.g., a luminance meter or a device capable of measuring luminance) to determine whether the sum of the actual luminance value and the measured luminance value is within an error range. If so, it is considered that the luminance condition corresponding to the grayscale value is satisfied; otherwise, it is considered that the luminance condition corresponding to the grayscale value is not satisfied. The gamma detection and calibration device (e.g., a colorimeter or a device capable of measuring chromaticity coordinates) is measured to determine whether the sum of the actual chromaticity value and the measured chromaticity value is within an error range. If so, it is considered that the target chromaticity condition is satisfied; otherwise, it is considered that the target chromaticity condition is not satisfied.

[0049] The step of writing the correction result of the point to be corrected into the first display lookup table may include:

[0050] The voltage values of the R sub-pixel, the G sub-pixel, and the B sub-pixel corresponding to the grayscale values at the set brightness level in the calibration result are converted into register values and burned into registers of a display driver integrated circuit (DDIC).

[0051] In another embodiment, in step 201, the terminal device performs gamma correction on the points to be corrected in the regular area, which may include the following steps:

[0052] (21) When the points to be corrected in the conventional area include a tie point, adjusting the brightness of the R sub-pixel, the G sub-pixel, and the B sub-pixel corresponding to the tie point;

[0053] (22) When the brightness of the binding point satisfies a target brightness condition and the chromaticity of the binding point satisfies a target chromaticity condition, writing a correction result of the binding point into the first display lookup table; the correction result of the binding point includes: a grayscale value of the binding point, a voltage value corresponding to the adjusted brightness of the R sub-pixel at the grayscale value, a voltage value corresponding to the adjusted brightness of the G sub-pixel at the grayscale value, and a voltage value corresponding to the adjusted brightness of the B sub-pixel at the grayscale value;

[0054] (23) When the points to be corrected within the conventional area include interpolation points, interpolation calculation is performed according to the correction results of at least two binding points in the first display lookup table to obtain the correction results of the interpolation points, and the correction results of the interpolation points are written into the first display lookup table.

[0055] In the embodiment of the present application, the binding point is the point at which the instrument is calibrated, and the interpolation point is the point at which calibration is performed through interpolation calculation. For example, the voltage at the interpolation point can be calculated according to the following formula.

[0056] y=(x2-x)*(y2-y1) / (x2-x1)+y2;

[0057] Where y represents the voltage value, x represents the grayscale value, y1 and y2 are the voltage values of the two binding points, and x1 and x2 are the grayscale values of the two binding points. The above formula can be used to calculate the difference between the voltage values of the R, G, and B sub-pixels at the interpolation point.

[0058] The specific implementation of steps (21) to (22) can refer to the above steps (11) and (12), which will not be repeated here.

[0059] 202. When the grayscale value of the point to be corrected in the under-screen area is less than the first threshold, the terminal device uses the correction result of the corrected point in the conventional area with the same grayscale value as the point to be corrected in the under-screen area as the correction result of the point to be corrected in the under-screen area.

[0060] In embodiments of the present application, since gamma detection and calibration devices (e.g., colorimeters or devices capable of measuring chromaticity coordinates) have reduced sensitivity to low brightness, correction of low grayscale and low brightness is difficult. In embodiments of the present application, if the grayscale value of the point to be corrected is less than a first threshold, the correction result of an already corrected point in the conventional area that has the same grayscale value as the point to be corrected in the under-screen area can be used as the correction result for the point to be corrected in the under-screen area.

[0061] Among them, the first threshold can be selected based on the effects of two schemes (Scheme 1, separate adjustment, Scheme 2, the under-screen area directly calls the data of the non-under-screen area). For example, for a grayscale value within the grayscale range of 0-255 for a certain brightness level (for example, grayscale 32), two schemes are used respectively (Scheme 1, separate adjustment, Scheme 2, the under-screen area directly calls the data of the non-under-screen area), and the objective effects of the two are judged. The brightness and chromaticity differences between the under-screen area and the non-under-screen area are objectively compared between Scheme 1 and Scheme 2. The scheme with the smaller difference at this grayscale value is selected to find the critical value (i.e., the first threshold). Research has found that current under-screen camera technology has a characteristic that scheme 1 is better above a certain grayscale (first threshold), and scheme 2 is better below this grayscale. This trend exists and there is no reversal.

[0062] Optionally, different sub-pixels in the under-screen area have different routing lengths.

[0063] In the current under-screen camera area, one thin-film transistor (TFT) corresponds to one pixel. Due to the varying wiring lengths of the different sub-pixels in the under-screen camera area, the under-screen camera area is prone to poor uniformity in low grayscale and low brightness. Gamma correction generally measures the average brightness and chromaticity of the probe area. If this is uneven, such as the upper third of the probe area being brighter, the middle being darker, and the lower third being brighter, the voltage across the entire under-screen area will be adjusted upward or downward to ensure that the average brightness and chromaticity meet the standards. The brightness changes exponentially with voltage, which increases the difference between bright and dark areas of the under-screen area, exacerbating the unevenness.

[0064] In the embodiment of the present application, when the grayscale value of the point to be corrected in the under-screen area is less than the first threshold, the correction result of the corrected point with the same grayscale in the conventional area is used to improve the uniformity of the low brightness of the entire display screen and enhance the overall display effect.

[0065] The gamma correction method based on the under-screen camera display screen in the embodiment of the present application, when correcting the points to be corrected in the under-screen area, does not need to calibrate the points to be corrected in the under-screen area whose grayscale values are less than the first threshold. The correction results of the corrected points in the conventional area with the same grayscale values as the points to be corrected in the under-screen area are directly used as the correction results of the points to be corrected in the under-screen area whose grayscale values are less than the first threshold. This can reduce the time required for gamma correction of the under-screen camera display screen.

[0066] The first thresholds corresponding to different brightness levels may be the same or different.

[0067] Optionally, the first threshold is determined based on the brightness level of the point to be calibrated, and different brightness levels correspond to different first thresholds.

[0068] In the embodiments of the present application, generally speaking, the larger the brightness level, the smaller the corresponding first threshold. For example, for brightness levels of 2 nit and 500 nit, the first threshold corresponding to the brightness level of 2 nit may be 128 grayscale, while the first threshold corresponding to the brightness level of 500 nit may be 32 grayscale. Different threshold grayscales (i.e., first thresholds) are independently set for different brightness levels to ensure the accuracy and effectiveness of gamma correction.

[0069] Optionally, the first threshold is determined based on the brightness level and the operating frequency of the display. The first thresholds corresponding to different operating frequencies can be the same or different. For example, the first thresholds for each calibrated brightness level at each operating frequency (60 / 120 Hz) can be the same or different.

[0070] Optionally, the first threshold is determined based on the operating frequency of the display screen, and different operating frequencies correspond to different first thresholds.

[0071] In the embodiments of the present application, generally speaking, the greater the operating frequency, the smaller the corresponding first threshold. For example, when calibrating brightness level A, if the operating frequency is 60Hz, the first threshold is t1, and if the operating frequency is 120Hz, the first threshold is t2, and t1 is greater than t2. In the same brightness level, different threshold grayscales (i.e., first thresholds) are independently set for different operating frequencies to ensure the accuracy and effectiveness of gamma correction.

[0072] See also Figure 4 , Figure 4 This is a flow chart of another gamma correction method based on an under-screen camera display provided by an embodiment of the present application. Figure 4 As shown, the method may include the following steps.

[0073] 401. The terminal device performs gamma correction on the points to be corrected in the regular area.

[0074] 402. When the grayscale value of the point to be corrected in the under-screen area is less than the first threshold, the terminal device uses the correction result of the corrected point in the conventional area with the same grayscale value as the point to be corrected in the under-screen area as the correction result of the point to be corrected in the under-screen area.

[0075] The specific implementation of step 401 to step 402 can be found in Figure 2 Steps 201 to 202 are shown and will not be described again here.

[0076] The gamma correction method based on the under-screen camera display screen in the embodiment of the present application, when correcting the points to be corrected in the under-screen area, does not need to calibrate the points to be corrected in the under-screen area whose grayscale values are less than the first threshold. The correction results of the corrected points in the conventional area with the same grayscale values as the points to be corrected in the under-screen area are directly used as the correction results of the points to be corrected in the under-screen area whose grayscale values are less than the first threshold. This can reduce the time required for gamma correction of the under-screen camera display screen.

[0077] 403. When the grayscale value of the point to be corrected in the under-screen area is greater than the first threshold, the terminal device performs gamma correction on the point to be corrected in the under-screen area.

[0078] In the embodiment of the present application, for the points to be corrected in the under-screen area whose grayscale values are greater than the first threshold, gamma correction is still performed using a conventional method.

[0079] In step 403, for the points to be corrected in the under-screen area whose grayscale values are greater than the first threshold, gamma correction is still performed using a conventional method.

[0080] The point to be corrected can be a pixel at the center of the regular area. One point to be corrected can correspond to one red sub-pixel, one green sub-pixel, and one blue sub-pixel. At least two points to be corrected can be selected for correction. For example, 9-11 brightness points can be selected for correction.

[0081] In one embodiment, in step 401, the terminal device performs gamma correction on the points to be corrected in the under-screen area, which may include the following steps:

[0082] (31) Setting the brightness level, setting the grayscale value of the point to be corrected in the area below the screen under the set brightness level, and adjusting the brightness of the R sub-pixel, G sub-pixel, and B sub-pixel corresponding to the point to be corrected;

[0083] (32) When the brightness of the point to be corrected meets the brightness condition corresponding to the grayscale value and the chromaticity of the point to be corrected meets the target chromaticity condition, the correction result of the point to be corrected is written into the second display lookup table.

[0084] The specific implementation of steps (31) to (32) can refer to the relevant description of steps (11) to (12) above, which will not be repeated here.

[0085] Optionally, in step 403, the terminal device performs gamma correction on the points to be corrected in the under-screen area, which may include the following steps:

[0086] (41) When the points to be corrected in the under-screen area include a tie point, adjusting the brightness of the R sub-pixel, G sub-pixel, and B sub-pixel corresponding to the tie point;

[0087] (42) When the brightness of the binding point satisfies the target brightness condition and the chromaticity of the binding point satisfies the target chromaticity condition, writing the correction result of the binding point into the second display lookup table; the correction result of the binding point includes: the grayscale value of the binding point, the voltage value corresponding to the adjusted brightness of the R sub-pixel at the grayscale value, the voltage value corresponding to the adjusted brightness of the G sub-pixel at the grayscale value, and the voltage value corresponding to the adjusted brightness of the B sub-pixel at the grayscale value;

[0088] (43) When the points to be corrected in the under-screen area include interpolation points, interpolation calculation is performed according to the correction results of at least two binding points in the second display lookup table to obtain the correction results of the interpolation points, and the correction results of the interpolation points are written into the second display lookup table.

[0089] The specific implementation of steps (41) to (43) can refer to the relevant description of steps (21) to (23) above, which will not be repeated here.

[0090] Among them, when the grayscale value of the point to be corrected in the under-screen area is greater than the first threshold, the terminal device performs gamma correction on the point to be corrected in the under-screen area, or the terminal device uses the correction result of the corrected point in the conventional area with the same grayscale value as the point to be corrected in the under-screen area as the correction result of the point to be corrected in the under-screen area.

[0091] The first display lookup table and the second display lookup table may be the same display lookup table or different display lookup tables.

[0092] In this embodiment of the present application, when the grayscale value of the point to be corrected in the under-screen area is less than a first threshold, the correction results of the previously corrected points of the same grayscale in the conventional area are used to improve the uniformity of low-light levels across the entire display, enhancing the overall display quality. When the grayscale value of the point to be corrected in the under-screen area is greater than the first threshold, conventional gamma correction is performed. A segmented adjustment scheme for the under-screen area ensures that brightness and chromaticity differences are eliminated at high brightness levels while minimizing unevenness at low brightness levels, improving the overall quality.

[0093] The following is a solution that combines two-area gamma correction. The normal method is used for gamma correction in the conventional area, and the under-screen area is segmented. Each gamma correction brightness point is divided into two segments. For example, for each brightness level, n grayscale values (G0, G1, G2...Gn) need to be corrected. The threshold grayscale Gx is set. Gx can be adjusted up or down according to the actual effect. The Gx of each corrected brightness point at each frequency (60 / 120HZ) can be the same or different. The gamma correction above Gx is processed separately, and the gamma below Gx is not corrected separately, which is consistent with the corresponding conventional area. For the specific flow chart, please refer to Figure 5 , Figure 5 This is a flow chart of a method for combining two-region gamma correction provided in an embodiment of the present application. Figure 5 DVB refers to brightness level. LUT refers to the display look-up table (LUT). LUT burning refers to converting the RGB voltage values into register values after calibration and burning them into the LUT. The LUT can be stored in the DDIC register.

[0094] Currently, one thin-film transistor (TFT) corresponds to one pixel in the under-screen camera area. Due to the varying trace lengths of the sub-pixels within the under-screen camera area, this area is prone to poor uniformity in low grayscale and low brightness. Using a two-step gamma correction method (first gamma correction for the regular area, then for the under-screen area) would exacerbate this unevenness. However, a segmented adjustment approach can eliminate brightness and color variations at high brightness levels while also minimizing unevenness at low brightness levels, improving the overall image quality. This can reduce calibration time by approximately one-third, increasing production capacity and reducing costs.

[0095] The under-screen area of the embodiment of the present application adopts segmented gamma adjustment, and the threshold grayscale can be set independently for each brightness level to ensure the accuracy and effect of gamma correction.

[0096] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to implement the above functions, the terminal device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment provided in this document, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0097] The embodiment of the present application can divide the terminal device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.

[0098] See also Figure 6 , Figure 6 : This is a structural schematic diagram of a gamma correction device based on an under-screen camera display provided in an embodiment of the present application. The gamma correction device 600 based on an under-screen camera display is applied to a terminal device. The gamma correction device 600 based on an under-screen camera display may include a first correction unit 601 and a second correction unit 602, wherein:

[0099] A first correction unit 601 is configured to perform gamma correction on the points to be corrected in the regular area;

[0100] The second correction unit 602 is used to use the correction result of the corrected point in the conventional area with the same grayscale value as the point to be corrected in the under-screen area as the correction result of the point to be corrected in the under-screen area when the grayscale value of the point to be corrected in the under-screen area is less than the first threshold.

[0101] Optionally, the first correction unit 601 is further configured to perform gamma correction on the point to be corrected in the under-screen area when the grayscale value of the point to be corrected in the under-screen area is greater than the first threshold.

[0102] Optionally, the first correction unit 601 performs gamma correction on the points to be corrected in the regular area, including:

[0103] A brightness level is set, and under the set brightness level, a grayscale value of the point to be corrected within a conventional area is set, and the brightness of the R sub-pixel, G sub-pixel, and B sub-pixel corresponding to the point to be corrected is adjusted; when the brightness of the point to be corrected meets the brightness condition corresponding to the grayscale value and the chromaticity of the point to be corrected meets the target chromaticity condition, the correction result of the point to be corrected is written into a first display look-up table (LUT).

[0104] Optionally, the first correction unit 601 performs gamma correction on the points to be corrected in the conventional area, including: when the points to be corrected in the conventional area include binding points, adjusting the brightness of the R sub-pixel, G sub-pixel, and B sub-pixel corresponding to the binding points; when the brightness of the binding point meets the target brightness condition and the chromaticity of the binding point meets the target chromaticity condition, writing the correction result of the binding point into the first display lookup table; the correction result of the binding point includes: the grayscale value of the binding point, the voltage value corresponding to the adjusted brightness of the R sub-pixel at the grayscale value, the voltage value corresponding to the adjusted brightness of the G sub-pixel at the grayscale value, and the voltage value corresponding to the adjusted brightness of the B sub-pixel at the grayscale value; when the points to be corrected in the conventional area include interpolation points, performing interpolation calculation according to the correction results of at least two binding points in the first display lookup table to obtain the correction result of the interpolation point, and writing the correction result of the interpolation point into the first display lookup table.

[0105] Optionally, the first correction unit 601 performs gamma correction on the point to be corrected in the under-screen area, including: setting a brightness level, setting a grayscale value of the point to be corrected in the under-screen area under the set brightness level, and adjusting the brightness of the R sub-pixel, G sub-pixel, and B sub-pixel corresponding to the point to be corrected; when the brightness of the point to be corrected meets the brightness condition corresponding to the grayscale value, and the chromaticity of the point to be corrected meets the target chromaticity condition, writing the correction result of the point to be corrected into the second display lookup table.

[0106] Optionally, the first correction unit 601 performs gamma correction on the points to be corrected in the under-screen area, including: when the points to be corrected in the under-screen area include binding points, adjusting the brightness of the R sub-pixel, G sub-pixel, and B sub-pixel corresponding to the binding points; when the brightness of the binding point meets the target brightness condition and the chromaticity of the binding point meets the target chromaticity condition, writing the correction result of the binding point into the second display lookup table; the correction result of the binding point includes: the grayscale value of the binding point, the voltage value corresponding to the adjusted brightness of the R sub-pixel at the grayscale value, the voltage value corresponding to the adjusted brightness of the G sub-pixel at the grayscale value, and the voltage value corresponding to the adjusted brightness of the B sub-pixel at the grayscale value; when the points to be corrected in the under-screen area include interpolation points, performing interpolation calculation according to the correction results of at least two binding points in the second display lookup table to obtain the correction result of the interpolation point, and writing the correction result of the interpolation point into the second display lookup table.

[0107] Optionally, different sub-pixels in the under-screen area have different routing lengths.

[0108] Optionally, the first threshold is determined based on the brightness level of the point to be calibrated, and different brightness levels correspond to different first thresholds.

[0109] Optionally, the first threshold is determined based on the operating frequency of the display screen, and different operating frequencies correspond to different first thresholds.

[0110] In this embodiment of the present application, the first correction unit 601 and the second correction unit 602 may be processors in a terminal device.

[0111] Figure 6 The specific implementation of the gamma correction device 600 based on the under-screen camera display can be found in Figures 2 to 5 The method embodiment shown is not described in detail here.

[0112] In an embodiment of the present application, when correcting the points to be corrected in the under-screen area, there is no need to calibrate the points to be corrected in the under-screen area whose grayscale values are less than the first threshold value. The correction results of the corrected points in the conventional area with the same grayscale values as the points to be corrected in the under-screen area are directly used as the correction results of the points to be corrected in the under-screen area whose grayscale values are less than the first threshold value. This can reduce the time required for gamma correction of the under-screen camera display screen.

[0113] See also Figure 7 , Figure 7 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Figure 7 As shown, the terminal device 700 includes a processor 701 and a memory 702. The processor 701 and the memory 702 can be connected to each other via a communication bus 703. The communication bus 703 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The communication bus 703 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 The memory 702 is used to store computer programs, which include program instructions. The processor 701 is configured to call program instructions. The program includes instructions for executing Figures 2 to 5 Some or all of the steps in the method shown.

[0114] The memory 702 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory may also be integrated with the processor.

[0115] The terminal device 700 may further include a display module 704. The display module 704 may include a display screen. The display screen includes a sub-screen area and a regular area. A camera module is provided in the sub-screen area.

[0116] In an embodiment of the present application, when correcting the points to be corrected in the under-screen area, there is no need to calibrate the points to be corrected in the under-screen area whose grayscale values are less than the first threshold value. The correction results of the corrected points in the conventional area with the same grayscale values as the points to be corrected in the under-screen area are directly used as the correction results of the points to be corrected in the under-screen area whose grayscale values are less than the first threshold value. This can reduce the time required for gamma correction of the under-screen camera display screen.

[0117] An embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the gamma correction methods based on the under-screen camera display as described in the above method embodiments.

[0118] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0119] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0120] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0121] The units described as separate components may or may not be physically separate, and 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0122] In addition, the functional units in the various embodiments of the application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software program modules.

[0123] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: various media that can store program codes, such as a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0124] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, which may include: a flash drive, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc.

[0125] The above is a detailed introduction to the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A gamma correction method based on an under-screen camera display, characterized in that: The under-screen camera display screen includes a regular area and an under-screen area, and the method includes: performing gamma correction on the points to be corrected within the conventional area; When the grayscale value of the point to be corrected in the under-screen area is less than a first threshold, a correction result of a previously corrected point in the conventional area having the same grayscale value as the point to be corrected in the under-screen area is used as the correction result of the point to be corrected in the under-screen area, wherein the first threshold is determined based on at least one of the brightness level of the point to be corrected and the operating frequency of the display screen; When the grayscale value of the point to be corrected in the under-screen area is greater than the first threshold, gamma correction is performed on the point to be corrected in the under-screen area.

2. The method according to claim 1, characterized in that The performing gamma correction on the points to be corrected in the conventional area includes: When the points to be corrected in the conventional area include a tie point, adjusting the brightness of the R sub-pixel, the G sub-pixel, and the B sub-pixel corresponding to the tie point; When the brightness of the binding point satisfies a target brightness condition and the chromaticity of the binding point satisfies a target chromaticity condition, writing a correction result of the binding point into a first display lookup table; the correction result of the binding point includes: a grayscale value of the binding point, a voltage value corresponding to the adjusted brightness of the R sub-pixel at the grayscale value, a voltage value corresponding to the adjusted brightness of the G sub-pixel at the grayscale value, and a voltage value corresponding to the adjusted brightness of the B sub-pixel at the grayscale value; When the points to be corrected in the conventional area include interpolation points, interpolation calculation is performed according to the correction results of at least two binding points in the first display lookup table to obtain the correction results of the interpolation points, and the correction results of the interpolation points are written into the first display lookup table.

3. The method according to claim 1, characterized in that The performing gamma correction on the points to be corrected in the under-screen area includes: When the points to be corrected in the under-screen area include a tie point, adjusting the brightness of the R sub-pixel, the G sub-pixel, and the B sub-pixel corresponding to the tie point; When the brightness of the binding point satisfies a target brightness condition and the chromaticity of the binding point satisfies a target chromaticity condition, writing a correction result of the binding point into a second display lookup table; the correction result of the binding point includes: a grayscale value of the binding point, a voltage value corresponding to the adjusted brightness of the R sub-pixel at the grayscale value, a voltage value corresponding to the adjusted brightness of the G sub-pixel at the grayscale value, and a voltage value corresponding to the adjusted brightness of the B sub-pixel at the grayscale value; When the points to be corrected in the under-screen area include interpolation points, interpolation calculation is performed according to the correction results of at least two binding points in the second display lookup table to obtain the correction results of the interpolation points, and the correction results of the interpolation points are written into the second display lookup table.

4. The method according to claim 2 or 3, characterized in that The wiring lengths of different sub-pixels in the under-screen area are different.

5. A gamma correction device based on an under-screen camera display, characterized in that: The under-screen camera display screen includes a regular area and an under-screen area, and the device includes: A first correction unit, configured to perform gamma correction on the points to be corrected in the conventional area; a second correction unit configured to use, when a grayscale value of the to-be-corrected point in the under-screen area is less than a first threshold, a correction result of a previously corrected point in the conventional area having the same grayscale value as the to-be-corrected point in the under-screen area as a correction result of the to-be-corrected point in the under-screen area, wherein the first threshold is determined based on at least one of a brightness level of the to-be-corrected point and an operating frequency of the display screen; The first correction unit is further configured to perform gamma correction on the point to be corrected in the under-screen area when the grayscale value of the point to be corrected in the under-screen area is greater than the first threshold.

6. A terminal device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Gamma debugging method and device of display panel, equipment and storage medium

    CN113539165A

  • Panel display gamma correction method and device

    CN114582281A