Under-screen camera display screen brightness compensation method and device
By establishing a brightness attenuation model and statistically analyzing stress values in real time, the problem of uneven brightness in under-display camera displays was solved, achieving brightness consistency and optimizing the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-02
- Publication Date
- 2026-05-15
AI Technical Summary
In existing technologies, the brightness attenuation of the effective area of the under-display camera screen is inconsistent with that of the camera area, resulting in uneven brightness and affecting the user experience.
By establishing a brightness attenuation model between the effective area of the display screen and the under-display camera area, the pressure value of pixels in each area is statistically analyzed in real time to determine the brightness compensation target. Based on the model, brightness compensation is performed on the image data to improve brightness consistency.
It achieves consistent brightness on the under-display camera screen, optimizes the user experience, avoids uneven brightness, and extends the screen's lifespan.
Smart Images

Figure CN122050302A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of display technology, and in particular to a method and apparatus for brightness compensation of an under-display camera display. Background Technology
[0002] Under-display camera (CUP) technology completely hides the front-facing camera beneath the screen, eliminating notches, waterdrop notches, or punch-hole designs and creating a full-screen visual effect, enhancing the device's sleek and futuristic appearance. CUP technology saves internal space, optimizes the device's structure, and improves hardware compatibility. It also avoids the visual obstruction caused by traditional notch designs, enhancing the user's immersive experience. CUP technology will facilitate the widespread adoption of full-screen devices and drive innovation in smart device interaction.
[0003] Organic light-emitting diode (OLED) displays offer advantages such as thinness and active light emission. When photography is needed, the pixels in the camera area can be controlled to remain transparent, preventing light emission and enabling image capture. OLED displays are currently the best choice for under-display camera displays. To improve image quality, the light transmittance of the camera's photosensitive area needs to be increased, typically by reducing the pixel area of the CUP region. Due to the reduced pixel area, the CUP region must increase its driving current to maintain consistent brightness with the active area (AA) of the display. This results in a higher brightness decay rate in the CUP region compared to the AA region. Consequently, after a period of use, uneven brightness and color between the CUP and AA regions can occur, severely impacting the user experience and limiting the further widespread adoption of under-display camera technology. Summary of the Invention
[0004] This invention provides a method and apparatus for brightness compensation of an under-display camera screen, which solves the defect in the prior art where the brightness of the two areas is inconsistent due to the different degrees of brightness attenuation between the AA area and the CUP area, thereby improving the brightness consistency of the under-display camera screen and optimizing the user experience.
[0005] This invention provides a method for brightness compensation of an under-display camera screen, comprising:
[0006] Establish brightness attenuation models for the effective area of the display screen and the under-screen camera area, respectively;
[0007] When image data is input to the display screen, the pressure value of each pixel in the two regions is calculated, the pressure values of the pixels in the two regions are statistically analyzed, and the target brightness is determined based on the statistical results.
[0008] The brightness corresponding to the pressure value of each pixel in the two regions is obtained according to the brightness attenuation model, and the brightness gain of each pixel in the two regions is determined according to the brightness of each pixel in the two regions and the target brightness.
[0009] The image data is brightness compensated based on the brightness gain of each pixel in the two regions, and the display screen is driven based on the compensated image data.
[0010] According to the present invention, a brightness compensation method for an under-display camera screen is provided, comprising establishing brightness attenuation models for the effective area of the display screen and the under-display camera area, respectively, including:
[0011] Select one or more samples from the same batch of samples produced as the display screen, and continuously illuminate the selected samples with a fixed grayscale image.
[0012] The brightness of the two regions is measured at preset intervals, and the relative brightness of the grayscale of the illuminated images in the two regions within the preset intervals is accumulated to obtain the pressure value of the two regions.
[0013] The pressure value and brightness of each region are fitted, and the fitting result is used as the brightness attenuation model for each region.
[0014] According to the present invention, a brightness compensation method for an under-display camera screen is provided, wherein the relative brightness corresponding to the grayscale of the illuminated image in two regions is obtained through the following steps:
[0015] The maximum grayscale and the maximum relative brightness accumulated in a single operation of the display screen are obtained based on the bit width of the display data.
[0016] Determine the ratio of the grayscale of the illuminated area to the maximum display grayscale in each of the two areas;
[0017] After performing a Gamma conversion on the ratio corresponding to the display screen, multiply it by the maximum relative brightness to obtain the relative brightness corresponding to the grayscale of the illuminated image in the two regions.
[0018] According to the present invention, a brightness compensation method for an under-display camera screen is provided, wherein when image data is input to the screen, the pressure value of each pixel in two regions is calculated, including:
[0019] When image data is input to the display screen, the pressure values of each pixel in the two regions within the most recent preset time period are accumulated to obtain the pressure value of each pixel in the two regions. The most recent preset time period includes the current moment.
[0020] According to the present invention, a brightness compensation method for an under-display camera screen is provided, which involves statistically analyzing the pressure values of pixels in two regions and determining the target brightness based on the statistical results, including:
[0021] Calculate the minimum pressure value of the pixels in each of the two regions;
[0022] Based on the brightness attenuation model, obtain the brightness corresponding to the minimum pressure value of the pixels in the two regions;
[0023] The larger of the brightness values corresponding to the minimum pressure values of pixels in the two regions is taken as the target brightness.
[0024] According to the present invention, a brightness compensation method for an under-display camera screen is provided, which involves statistically analyzing the pressure values of pixels in two regions and determining the target brightness based on the statistical results, including:
[0025] Calculate the maximum pressure value of the pixels in each of the two regions;
[0026] Based on the brightness attenuation model, obtain the brightness corresponding to the maximum pressure value of the pixel in the two regions;
[0027] The smaller of the brightness values corresponding to the maximum pressure values of pixels in the two regions is taken as the target brightness.
[0028] According to the present invention, a brightness compensation method for an under-display camera screen is provided, which performs brightness compensation on the image data based on the brightness gain of each pixel in the two regions, including:
[0029] The brightness gain of each pixel in the two regions is inversely converted using Gamma to obtain the grayscale gain.
[0030] Calculate the product of the gray level displayed by each pixel in the two regions and the gray level gain to obtain the compensated gray level value;
[0031] The compensated grayscale values of each pixel in the two regions are used as the output image data of the display screen.
[0032] The present invention also provides an under-display camera display brightness compensation device, comprising:
[0033] A module is established to create brightness attenuation models for the effective area of the display screen and the under-screen camera area, respectively.
[0034] The calculation module is used to calculate the pressure value of each pixel in two regions when image data is input to the display screen, to perform statistics on the pressure values of the pixels in the two regions, and to determine the target brightness based on the statistical results.
[0035] The determination module is used to obtain the brightness corresponding to the pressure value of each pixel in the two regions according to the brightness attenuation model, and to determine the brightness gain of each pixel in the two regions according to the brightness of each pixel in the two regions and the target brightness.
[0036] The compensation module is used to perform brightness compensation on the image data based on the brightness gain of each pixel in the two regions, and drive the display screen based on the compensated image data.
[0037] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the under-display camera display brightness compensation method as described above.
[0038] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the under-display camera display brightness compensation method as described above.
[0039] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the under-display camera display brightness compensation method as described above.
[0040] The present invention provides a method and apparatus for brightness compensation of under-display camera display screens. By pre-establishing brightness-pressure value attenuation models for the effective area of the display screen and the under-display camera area respectively, the pressure values of pixels in each area are statistically analyzed in real time and the compensation target is determined. The brightness of the effective area and the under-display camera area is compensated according to the model, thereby improving the brightness consistency of the under-display camera display screen and optimizing the user experience. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0042] Figure 1 This is a flowchart illustrating the under-display camera display brightness compensation method provided by the present invention.
[0043] Figure 2 This is a schematic diagram of the pixel arrangement of an under-display camera screen in existing technology;
[0044] Figure 3 This is a schematic diagram illustrating the principle and phenomenon of uneven brightness in under-display camera displays in existing technologies.
[0045] Figure 4 This is a schematic diagram of the overall process of the under-display camera display brightness compensation method provided by the present invention;
[0046] Figure 5This is a schematic diagram of the brightness attenuation model of the AA region and the CUP region in the under-display camera display brightness compensation method provided by the present invention;
[0047] Figure 6 This is a schematic diagram of the brightness gain value calculation method in the under-display camera display brightness compensation method provided by the present invention;
[0048] Figure 7 This is a schematic diagram of the brightness attenuation measurement data and model fitting of the AA area and CUP area in the under-display camera display brightness compensation method provided by the present invention;
[0049] Figure 8 This is one of the system structure diagrams of the under-display camera display brightness compensation method provided by the present invention;
[0050] Figure 9 This is the second schematic diagram of the system structure of the under-display camera display brightness compensation method provided by the present invention;
[0051] Figure 10 This is one of the schematic diagrams for calculating the target value of compensation brightness in the under-display camera display brightness compensation method provided by the present invention;
[0052] Figure 11 This is the second schematic diagram of calculating the target value of the compensation brightness in the under-display camera display brightness compensation method provided by the present invention;
[0053] Figure 12 This is a schematic diagram illustrating the compensation effect of the under-display camera display brightness compensation method provided by the present invention;
[0054] Figure 13 This is a schematic diagram of the under-display camera display brightness compensation device provided by the present invention. Detailed Implementation
[0055] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0056] The following is combined with Figure 1 A method for brightness compensation of an under-display camera screen according to the present invention includes:
[0057] Step 101: Establish brightness attenuation models for the effective area of the display screen and the under-screen camera area, respectively;
[0058] Step 102: When image data is input to the display screen, calculate the pressure value of each pixel in the two regions, statistically analyze the pressure values of the pixels in the two regions, and determine the target brightness based on the statistical results;
[0059] Step 103: Obtain the brightness corresponding to the pressure value of each pixel in the two regions according to the brightness attenuation model, and determine the brightness gain of each pixel in the two regions according to the brightness of each pixel in the two regions and the target brightness;
[0060] Step 104: Perform brightness compensation on the image data based on the brightness gain of each pixel in the two regions, and drive the display screen based on the compensated image data.
[0061] To improve the light transmittance of the CPU area, under-display camera displays have redesigned the pixel arrangement and driving circuitry in the CPU area. For example... Figure 2 As shown, compared to the AA area, the CUP area has a smaller pixel area by a certain proportion, increasing the blank area that is not displayed, so that light can pass through the screen to reach the camera.
[0062] The CUP region has a smaller pixel area used for light emission. To achieve the same overall brightness as the AA region, a larger driving current is needed. OLED light-emitting materials age over time, reducing efficiency, and excessively high driving current accelerates this aging process. Therefore, the CUP region ages faster and its brightness decays more quickly than the AA region. Figure 3 As shown, after a period of use, the under-display camera screen exhibits uneven brightness between the AA area and the CUP area due to inconsistent brightness decay, which severely impacts the user experience.
[0063] The overall flowchart of this embodiment is as follows: Figure 4 As shown. First, establish brightness attenuation models for regions AA and CUP, i.e., the relationship between brightness (L) and stress value (Stress), as follows. Figure 5 As shown.
[0064] When image data is input to the display screen, the pressure value of each pixel in the AA and CUP regions is calculated. Based on the pressure value of each pixel, the target brightness for compensation can be determined.
[0065] After determining the target value for brightness compensation, the compensation gain can be determined based on the pressure value of each pixel and the attenuation model. For example... Figure 6 As shown, if the pressure value of a certain pixel is S and its corresponding brightness is L, then the brightness gain of that pixel is G=L. Target / L, its grayscale gain needs to undergo inverse Gamma conversion, such as g=(L Target / L) 1 / 2.2 .
[0066] After calculating the gain for brightness or grayscale, the gain is applied to the input image data to complete brightness compensation.
[0067] This embodiment pre-establishes brightness-pressure value attenuation models for the effective area of the display screen and the under-display camera area, respectively, and statistically analyzes the pressure values of pixels in each area in real time to determine the compensation target. Based on the model, it compensates for the brightness of the effective area and the under-display camera area, thereby improving the brightness consistency of the under-display camera display and optimizing the user experience.
[0068] Based on the above embodiments, this embodiment establishes brightness attenuation models for the effective area of the display screen and the under-display camera area, including:
[0069] Select one or more samples from the same batch of samples produced as the display screen, and continuously illuminate the selected samples with a fixed grayscale image.
[0070] The brightness of the two regions is measured at preset intervals, and the relative brightness of the grayscale of the illuminated images in the two regions within the preset intervals is accumulated to obtain the pressure value of the two regions.
[0071] The pressure value and brightness of each region are fitted, and the fitting result is used as the brightness attenuation model for each region.
[0072] To facilitate the calculation of pressure values, the sample was continuously illuminated with a fixed grayscale image, that is, the AA area and the CUP area were illuminated with the same image, and the brightness of the AA area and the CUP area was measured and recorded at regular intervals.
[0073] The brightness is the normalized value of the actual measured brightness relative to the initial maximum brightness. The pressure value reflects the degree of brightness decay of the OLED, which is related to the display brightness (or driving current) and time. It can be defined as the cumulative brightness of a single pixel over time. Therefore, the greater the pressure value, the greater the brightness decay.
[0074] Based on the above embodiments, the relative brightness corresponding to the grayscale of the two regions illuminated in this embodiment is obtained through the following steps:
[0075] The maximum grayscale and the maximum relative brightness accumulated in a single operation of the display screen are obtained based on the bit width of the display data.
[0076] Determine the ratio of the grayscale of the illuminated area to the maximum display grayscale in each of the two areas;
[0077] After performing a Gamma conversion on the ratio corresponding to the display screen, multiply it by the maximum relative brightness to obtain the relative brightness corresponding to the grayscale of the illuminated image in the two regions.
[0078] For example, if the display data bit width is 8 bits, and 128 gray levels are continuously displayed for 1 hour, assuming a Gamma value of 2.2, and in practical applications the measured value of the display screen is used as the standard, and the relative brightness bit width is also set to 8 bits, then the maximum display gray level is 2. 8 -1=255, the maximum relative brightness accumulated in a single step is 255, and the relative brightness corresponding to 128 gray levels is (128 / 255). 2.2 ×255=56. Recording and accumulating every 5 seconds, the number of records per hour is 60×60 / 5=720. Under these conditions, the pressure value is 56×720=40320. To ensure the accuracy of the model, a suitable sample needs to be taken from each batch of products for testing.
[0079] When the illuminated fixed image is 255 grayscale, its corresponding relative brightness is (255 / 255). 2.2 ×255=255. The pressure value is incremented every 5 seconds, so the number of increments per hour is 60×60 / 5=720. Under these conditions, the pressure value is 255×720=283600. That is, with the screen continuously lit at 255, the pressure value of area AA and area CUP increases by 283600 every hour. The brightness of areas AA and CUP is measured at 1-hour intervals.
[0080] Based on the above data, pressure-brightness curves can be plotted for regions AA and CUP, respectively. The two curves are then fitted; the fitting function can be selected from methods such as exponential fitting or polynomial fitting, depending on the model of the luminescent material. The resulting fitted curves represent the brightness attenuation models for regions AA and CUP, respectively. Figure 7 This is a set of models built based on the data measured using the methods described above.
[0081] Based on the above embodiments, this embodiment calculates the pressure value of each pixel in two regions when image data is input to the display screen, including:
[0082] When image data is input to the display screen, the pressure values of each pixel in the two regions within the most recent preset time period are accumulated to obtain the pressure value of each pixel in the two regions. The most recent preset time period includes the current moment.
[0083] When input data is received, the system accumulates the pressure value of each pixel in the AA and CUP areas. Based on the pressure value of each pixel, the target brightness for compensation can be determined.
[0084] like Figure 8As shown, in Scheme 1, the data accumulation unit and the compensation unit are located in the application processor (AP). The image processing unit transmits data to the data accumulation unit. The data storage unit 1 stores the pressure value accumulated by each pixel at the most recent N-1 time. The data accumulation unit reads the pressure value accumulated by each pixel at the N-1 time from the data storage unit 1, adds the current pressure value, and then stores the current pressure value back in the data storage unit 1. N is a preset time duration.
[0085] For example, if a pixel records a cumulative pressure value of 40392000, and the currently illuminated image is 128 gray levels, then the data accumulation unit reads the cumulative pressure value of 40392000 from the storage unit and calculates the relative brightness corresponding to the current gray level as (128 / 255). 2.2 ×255=56, sum the two to get 40392000+56=40392056, obtain the current pressure value, and write the current pressure value back into storage unit 1 as the new accumulated pressure value.
[0086] The brightness compensation unit determines the compensation target value based on the current pressure value of the pixel and reads the brightness-pressure value model from the data memory 2. The brightness compensation unit calculates the compensation gain based on the brightness compensation target value and the current brightness and applies it to the image data output by the image processing unit to complete the compensation. The data is then output to the display driver IC (DIC), which drives the display screen based on the compensated data.
[0087] like Figure 9 As shown, in Scheme 2, both the data accumulation unit and the compensation unit are located in the DIC. The AP only transmits image data to the DIC, and the other processes are the same as in Scheme 1.
[0088] Based on the above embodiments, this embodiment statistically analyzes the pressure values of pixels in two regions and determines the target brightness based on the statistical results, including:
[0089] Calculate the minimum pressure value of the pixels in each of the two regions;
[0090] Based on the brightness attenuation model, obtain the brightness corresponding to the minimum pressure value of the pixels in the two regions;
[0091] The larger of the brightness values corresponding to the minimum pressure values of pixels in the two regions is taken as the target brightness.
[0092] Since a smaller pixel pressure value results in less brightness decay and a greater achievable maximum brightness, this embodiment uses an upward compensation method to calculate the minimum pressure value S of each pixel in the AA and CUP areas. AA_min With S CUP_min The corresponding brightness levels are L.AA_max With L CUP_max The maximum value of the two values is taken as the target brightness value L. Target ,like Figure 10 As shown. The advantage of this solution is that it can maintain the display at its maximum brightness for the duration of use.
[0093] Based on the above embodiments, this embodiment statistically analyzes the pressure values of pixels in two regions and determines the target brightness based on the statistical results, including:
[0094] Calculate the maximum pressure value of the pixels in each of the two regions;
[0095] Based on the brightness attenuation model, obtain the brightness corresponding to the maximum pressure value of the pixel in the two regions;
[0096] The smaller of the brightness values corresponding to the maximum pressure values of pixels in the two regions is taken as the target brightness.
[0097] This embodiment uses a downward compensation method to calculate the maximum pressure value S of each pixel in the AA and CUP areas respectively. AA_max With S CUP_max The corresponding brightness levels are L. AA_min With L CUP_min The minimum value of the two is taken as the target brightness value L. Target ,like Figure 11 As shown in the diagram. The advantage of this approach is that it avoids increasing the pixel drive current to improve brightness, which helps to slow down brightness decay.
[0098] Based on the above embodiments, this embodiment performs brightness compensation on the image data according to the brightness gain of each pixel in the two regions, including:
[0099] The brightness gain of each pixel in the two regions is inversely converted using Gamma to obtain the grayscale gain.
[0100] Calculate the product of the gray level displayed by each pixel in the two regions and the gray level gain to obtain the compensated gray level value;
[0101] The compensated grayscale values of each pixel in the two regions are used as the output image data of the display screen.
[0102] For example, in Scheme 1, an upward compensation method is used. At a certain moment, the brightness compensation unit reads the brightness-pressure value model of area AA and area CUP from memory 2. By analyzing the minimum pressure value of each pixel in area AA and area CUP, the relative brightness corresponding to the minimum pressure value is found to be 0.9, which is the target value for compensation. Based on the pressure value transmitted by the previous data accumulation unit, the relative brightness of the current pixel calculated according to the pressure value-brightness model is 0.8. Therefore, the brightness gain of this pixel is G=L. Target / L=0.9 / 0.8=1.1250, its grayscale gain needs to undergo inverse Gamma conversion, i.e., g=1.1250. 1 / 2.2 =1.055. If the pixel displays 200 gray levels, the final calculated compensation gray level value is 211, and the brightness compensation module uses the calculated 211 gray level as the output image data for that pixel.
[0103] like Figure 12 As shown, before compensation, the AA area and the CUP area have different brightness decay rates, resulting in uneven brightness between the two areas after a period of use. The brightness compensation scheme in this embodiment can maintain consistent brightness between the AA area and the CUP area at any time, ensuring uniform overall brightness of the under-display camera screen. Simultaneously, since the brightness of the AA area and the CUP area inevitably decays over time, the overall compensation brightness target value of the entire screen will also decrease, thus further extending the screen's lifespan while maintaining screen uniformity.
[0104] The under-display camera display brightness compensation device provided by the present invention is described below. The under-display camera display brightness compensation device described below can be referred to in correspondence with the under-display camera display brightness compensation method described above.
[0105] like Figure 13 As shown, the device includes a setup module 13001, a calculation module 13002, a determination module 13003, and a compensation module 13004, wherein:
[0106] Module 13001 is used to establish brightness attenuation models for the effective area of the display screen and the under-screen camera area, respectively.
[0107] The calculation module 13002 is used to calculate the pressure value of each pixel in two regions when image data is input to the display screen, to perform statistics on the pressure values of the pixels in the two regions, and to determine the target brightness based on the statistical results;
[0108] The determination module 13003 is used to obtain the brightness corresponding to the pressure value of each pixel in the two regions according to the brightness attenuation model, and to determine the brightness gain of each pixel in the two regions according to the brightness of each pixel in the two regions and the target brightness;
[0109] The compensation module 13004 is used to perform brightness compensation on the image data according to the brightness gain of each pixel in the two regions, and drive the display screen according to the compensated image data.
[0110] This embodiment pre-establishes brightness-pressure value attenuation models for the effective area of the display screen and the under-display camera area, respectively, and statistically analyzes the pressure values of pixels in each area in real time to determine the compensation target. Based on the model, it compensates for the brightness of the effective area and the under-display camera area, thereby improving the brightness consistency of the under-display camera display and optimizing the user experience.
[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for brightness compensation of an under-display camera display, characterized in that, include: Establish brightness attenuation models for the effective area of the display screen and the under-screen camera area, respectively; When image data is input to the display screen, the pressure value of each pixel in the two regions is calculated, the pressure values of the pixels in the two regions are statistically analyzed, and the target brightness is determined based on the statistical results. The brightness corresponding to the pressure value of each pixel in the two regions is obtained according to the brightness attenuation model, and the brightness gain of each pixel in the two regions is determined according to the brightness of each pixel in the two regions and the target brightness. The image data is brightness compensated based on the brightness gain of each pixel in the two regions, and the display screen is driven based on the compensated image data.
2. The under-display camera display brightness compensation method according to claim 1, characterized in that, Brightness attenuation models are established for the effective area of the display screen and the under-display camera area, respectively, including: Select one or more samples from the same batch of samples produced as the display screen, and continuously illuminate the selected samples with a fixed grayscale image. The brightness of the two regions is measured at preset intervals, and the relative brightness of the grayscale of the illuminated images in the two regions within the preset intervals is accumulated to obtain the pressure value of the two regions. The pressure value and brightness of each region are fitted, and the fitting result is used as the brightness attenuation model for each region.
3. The under-display camera display brightness compensation method according to claim 2, characterized in that, The relative brightness corresponding to the grayscale values of the two illuminated areas is obtained through the following steps: The maximum grayscale and the maximum relative brightness accumulated in a single step of the display screen are obtained based on the bit width of the display data. Determine the ratio of the grayscale of the illuminated area to the maximum display grayscale in each of the two areas; After performing a Gamma conversion on the ratio corresponding to the display screen, multiply it by the maximum relative brightness to obtain the relative brightness corresponding to the grayscale of the illuminated image in the two regions.
4. The under-display camera display brightness compensation method according to claim 1, characterized in that, When image data is input to the display screen, the pressure value of each pixel in the two regions is calculated, including: When image data is input to the display screen, the pressure values of each pixel in the two regions within the most recent preset time period are accumulated to obtain the pressure value of each pixel in the two regions. The most recent preset time period includes the current moment.
5. The under-display camera display brightness compensation method according to claim 1, characterized in that, The pressure values of pixels in the two regions are statistically analyzed, and the target brightness is determined based on the statistical results, including: Calculate the minimum pressure value of the pixels in each of the two regions; Based on the brightness attenuation model, obtain the brightness corresponding to the minimum pressure value of the pixels in the two regions; The larger of the brightness values corresponding to the minimum pressure values of pixels in the two regions is taken as the target brightness.
6. The under-display camera display brightness compensation method according to claim 1, characterized in that, The pressure values of pixels in the two regions are statistically analyzed, and the target brightness is determined based on the statistical results, including: Calculate the maximum pressure value of the pixels in each of the two regions; Based on the brightness attenuation model, obtain the brightness corresponding to the maximum pressure value of the pixel in the two regions; The smaller of the brightness values corresponding to the maximum pressure values of pixels in the two regions is taken as the target brightness.
7. The under-display camera display brightness compensation method according to claim 1, characterized in that, Brightness compensation is performed on the image data based on the brightness gain of each pixel in the two regions, including: The brightness gain of each pixel in the two regions is inversely converted using Gamma to obtain the grayscale gain. Calculate the product of the gray level displayed by each pixel in the two regions and the gray level gain to obtain the compensated gray level value; The compensated grayscale values of each pixel in the two regions are used as the output image data of the display screen.
8. A brightness compensation device for an under-display camera display, characterized in that, include: A module is established to create brightness attenuation models for the effective area of the display screen and the under-screen camera area, respectively. The calculation module is used to calculate the pressure value of each pixel in two regions when image data is input to the display screen, to perform statistics on the pressure values of the pixels in the two regions, and to determine the target brightness based on the statistical results. The determination module is used to obtain the brightness corresponding to the pressure value of each pixel in the two regions according to the brightness attenuation model, and to determine the brightness gain of each pixel in the two regions according to the brightness of each pixel in the two regions and the target brightness. The compensation module is used to perform brightness compensation on the image data based on the brightness gain of each pixel in the two regions, and drive the display screen based on the compensated image data.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the under-display camera display brightness compensation method as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the under-display camera display brightness compensation method as described in any one of claims 1 to 7.