Display compensation method, device and display equipment of display panel
By using a brightness compensation method for the light-transmitting display area in a full-screen display, the problem of brightness difference caused by the under-display camera module structure was solved, thus improving the display effect and image quality.
Patent Information
- Application Number
- CN202410146495.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2044-02-01
AI Technical Summary
In full-screen displays, the under-display camera module structure causes a significant brightness difference between the area corresponding to the camera and other display areas on the screen, affecting the image display effect.
Brightness compensation is performed on the first display area, which includes the light-transmitting display area. This includes extracting the first image from the frame image to be displayed, obtaining the brightness of each pixel and filtering and compensating it, and adjusting the brightness using a preset compensation coefficient to improve the display effect.
This makes the display effect of the light-transmitting display area closer to the original image, reduces brightness differences, and improves the display quality of the picture.
Smart Images

Figure CN117953793B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display, in particular to a display compensation method and device of a display panel and a display equipment. BACKGROUND
[0002] With the development of under-screen camera technology, the camera can be arranged under the display screen, so that the area corresponding to the camera can also realize picture display, improve the screen ratio of the display panel, and realize a full-screen without a camera hole in vision. However, when the full-screen displays, due to the influence of the under-screen camera module structure, there is usually a relatively obvious brightness difference between the area corresponding to the camera on the display screen and other display areas, thereby affecting the picture display effect. SUMMARY
[0003] Embodiments of the present application provide a display compensation method, device and display equipment of a display panel to improve the picture display effect of the display panel and improve the display quality.
[0004] To solve the above technical problems, embodiments of the present application disclose the following technical solutions:
[0005] In a first aspect, a display compensation method of a display panel is provided, the display panel comprising a first display area, the first display area being a region comprising a light-transmitting display area corresponding to a camera module, the first display area comprising a plurality of first pixels; the display compensation method comprising:
[0006] extracting a first image corresponding to the first display area from a frame image to be displayed, the first image comprising a plurality of second pixels, the plurality of second pixels corresponding one-to-one to the plurality of first pixels;
[0007] obtaining a first brightness of each second pixel based on a gray scale of each second pixel;
[0008] filtering each first brightness to obtain a second brightness of each second pixel;
[0009] compensating the second brightness of the corresponding second pixel based on a first compensation coefficient corresponding to each first pixel to obtain a second image;
[0010] controlling the first display area to perform picture display based on the second image.
[0011] In combination with the first aspect, the controlling the first display area to perform picture display based on the second image comprises:
[0012] controlling the display panel to display the frame image and measuring a third brightness of each first pixel;
[0013] Based on the grayscale and third brightness of each first pixel, a second compensation coefficient is obtained for each first pixel;
[0014] The second compensation coefficient of each first pixel in the first display area is filtered to obtain the third compensation coefficient of each first pixel;
[0015] A third image is obtained based on the third compensation coefficient for each of the first pixels and the second image;
[0016] Based on the third image, the first display area is controlled to display the image.
[0017] In conjunction with the first aspect, the first display area includes a second display area, which is an annular region surrounding the light-transmitting display area; after the step of obtaining the second compensation coefficient for each first pixel, the display compensation method further includes:
[0018] A second compensation coefficient is adjusted for each of the first pixels in the second display area based on the third brightness of each of the first pixels located outside the second display area.
[0019] In conjunction with the first aspect, the second compensation coefficient for each of the first pixels in the second display area is corrected, including:
[0020] The average value of the third brightness of all first pixels in the first test area and the second test area is obtained. The first test area is located in the light-transmitting display area, and the second test area is located in the area of the first display area other than the light-transmitting display area and the second display area.
[0021] Based on the first average brightness value and the preset gain coefficient, obtain the second average brightness value;
[0022] The second compensation coefficient of each first pixel in the annular region of the second display area that is far from the light-transmitting display area is corrected to the second average brightness value, and the second compensation coefficient of the remaining first pixels in the second display area is corrected to the first average brightness value.
[0023] In conjunction with the first aspect, obtaining the second compensation coefficient for each first pixel based on the grayscale and third brightness of each first pixel includes:
[0024] Based on the third brightness of each first pixel, obtain the average third brightness;
[0025] Based on the grayscale and third brightness of each first pixel, obtain the ratio coefficient;
[0026] Based on the third average brightness, the ratio coefficient of each first pixel, and the third brightness, a second compensation coefficient is obtained for each first pixel.
[0027] In conjunction with the first aspect, based on the third image, controlling the first display area to display an image includes:
[0028] Control the first display area to display the third image, and measure the fourth brightness of each of the first pixels;
[0029] Based on the target average brightness of the light-transmitting display area and each of the fourth brightnesses, the fourth compensation coefficient of each first pixel in the light-transmitting display area is obtained.
[0030] Based on the fourth compensation coefficient of each first pixel in the light-transmitting display area and the second image, obtain the fourth image corresponding to the light-transmitting display area;
[0031] Control the light-transmitting display area to display the fourth image.
[0032] In conjunction with the first aspect, the plurality of first pixels includes a third pixel and a fourth pixel, wherein the third pixel is a normally emitting pixel and the fourth pixel is an abnormally emitting pixel;
[0033] The step of compensating the second brightness of the corresponding second pixel based on the first compensation coefficient corresponding to each first pixel to obtain the second image includes:
[0034] Based on the first compensation coefficient corresponding to each third pixel, the second brightness of the second pixel corresponding to the third pixel is compensated;
[0035] Based on the first compensation coefficient corresponding to each fourth pixel, the second brightness of the second pixel corresponding to the fourth pixel is compensated;
[0036] Obtain the compensated second image.
[0037] In conjunction with the first aspect, the third pixel includes RGB pixels and W pixels;
[0038] Wherein, the first compensation coefficient corresponding to each RGB pixel is Ratio1, the first compensation coefficient corresponding to each W pixel is Ratio2, and the first compensation coefficient corresponding to each fourth pixel is Ratio3, satisfying: 0≤Ratio1≤1, 0≤Ratio2≤1, Ratio3=0.
[0039] Secondly, a display compensation device for a display panel is provided, the display panel including a first display area, the first display area being an area including a light-transmitting display area corresponding to a camera module, the first display area including a plurality of first pixels; the display compensation device includes:
[0040] The image extraction module is used to extract the first image corresponding to the first display area from the frame image to be displayed. The first image includes a plurality of second pixels, and the plurality of second pixels correspond one-to-one with the plurality of first pixels.
[0041] A brightness conversion module is used to obtain the first brightness of each second pixel based on the grayscale of each second pixel;
[0042] A brightness filtering module is used to filter each of the first brightness values to obtain the second brightness value of each of the second pixels;
[0043] A brightness compensation module is used to compensate the second brightness of the corresponding second pixel based on a first compensation coefficient corresponding to each first pixel, thereby obtaining a second image.
[0044] The image display module is used to control the first display area to display an image based on the second image.
[0045] Thirdly, a display device is provided, including a display panel and a processor. A camera module is disposed on the side of the display panel away from the display screen. The processor uses the display compensation method as described in any of the first aspects to control a first display area including a light-transmitting display area corresponding to the camera module to display an image, or uses the display compensation device of the display panel as described in the second aspect.
[0046] One of the above technical solutions has the following advantages or beneficial effects:
[0047] Compared with existing technologies, this application provides a display compensation method for a display panel. The display panel includes a first display area, which is a region including a light-transmitting display area corresponding to a camera module. The first display area includes a plurality of first pixels. The display compensation method includes: extracting a first image corresponding to the first display area from a frame image to be displayed, the first image including a plurality of second pixels, the plurality of second pixels corresponding one-to-one with the plurality of first pixels; obtaining a first brightness of each second pixel based on the grayscale of each second pixel; filtering each first brightness to obtain a second brightness of each second pixel; compensating the second brightness of the corresponding second pixel based on a first compensation coefficient corresponding to each first pixel to obtain a second image; and controlling the first display area to display an image based on the second image. The display compensation method for the display panel provided by this application can perform brightness compensation on the first display area including the light-transmitting display area, thereby making the display effect of the first display area closer to the original image effect, and thus improving the display quality of the image.
[0048] The present application discloses a display compensation device for a display panel, which can perform brightness compensation on a first display area including a light-transmitting display area, thereby making the display effect of the first display area closer to the original image effect and thus improving the display quality of the screen.
[0049] The present application discloses a display panel that can perform brightness compensation on a first display area including a light-transmitting display area, so that the overall display effect is closer to the original image effect, with no obvious brightness difference and good display quality. Attached Figure Description
[0050] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0051] Figure 1 This is a schematic diagram of the display interface of the display device according to an embodiment of this application;
[0052] Figure 2 This is a schematic diagram of the overall process of the display compensation method for the display panel in an embodiment of this application;
[0053] Figure 3 This is a schematic diagram of the compensated image finally displayed on the display panel in the embodiments of this application;
[0054] Figure 4 This is a schematic diagram of the display compensation device for the display panel in an embodiment of this application;
[0055] Figure 5This is a schematic diagram of the structure of an electronic device according to an embodiment of this application.
[0056] Figure label:
[0057] 10-Display panel; 11-Transmitting display area; 12-First display area; 13-Second display area; 20-Processor; 401-Image extraction module; 402-Brightness conversion module; 403-Brightness filtering module; 404-Brightness compensation module; 405-Screen display module; 501-Memory; 5011-Operating system; 5012-Computer program; 5013-Data; 502-Power supply; 503-Communication interface; 504-Input / output interface; 505-Communication bus. Detailed Implementation
[0058] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0059] In the description of this application, it should be understood that the terms "upper," "lower," "front," "rear," "left," "right," "top," "bottom," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more features. In the description of this application, "multiple" means two or more, and "at least one" can mean one, two, or more, unless otherwise explicitly specified.
[0060] Please see Figure 1 , Figure 1This illustration shows the display interface of a display device according to an embodiment of this application. For display devices employing under-display camera technology, the camera module is typically located on the side of the display panel 10 facing away from the display screen. The display area corresponding to the camera module on the display panel 10 is a light-transmitting display area 11. The display panel 10 may include a first display area 12, which is the area including the light-transmitting display area 11. The first display area 12 may include a plurality of first pixels p1. The light-transmitting display area 11 can capture images through the camera module in shooting mode, and display the image normally in display mode. The display panel 10 can be connected to a processor 20, which performs display compensation on the display panel 10.
[0061] In some examples, the light-transmitting display area 11 can be circular, and the resolution of its circumscribed rectangle can be m×m. Therefore, the resolution of the first display area 12 can be 2m×2m. This allows for better processing results. It is understood that the first display area 12 can also use other sizes; there are no specific limitations on this.
[0062] In some examples, multiple first pixels p1 in the first display area 12 may include third pixels p3 and fourth pixels p4. The third pixel p3 is a normally luminous pixel, meaning it can be displayed normally, while the fourth pixel p4 is an abnormally luminous pixel, meaning it may not emit light or has low brightness. These are typically located in the light-transmitting display area 11. The third pixels p3 and fourth pixels p4 can be arranged in alternating columns. Depending on the display module structure of the display panel 10, the third pixel p3 may include RGB pixels (red, green, and blue pixels), or it may include RGB pixels and W pixels (white pixels), or it may include RGB pixels, W pixels, and dummy pixels (invalid pixels). Thus, in shooting mode, all W pixels are activated, and image brightness is adjusted only through the RGB pixels. In display mode, the W pixels can adjust image brightness together with the RGB pixels as needed, while the dummy pixels are invalid and do not require adjustment.
[0063] It is understandable that the display panel 10, apart from the first display area 12, also includes multiple third pixels p3 for normal display of the image.
[0064] It is also understandable that in other examples, in order to ensure that the light-transmitting display area 11 does not affect the shooting of the camera module and can display the image normally when not shooting, the third pixel p3 and the fourth pixel p4 of the light-transmitting display area 11 can be arranged in various other forms, such as a checkerboard pattern, etc. This application embodiment does not specifically limit this.
[0065] Since the camera module is hidden under the display screen, the area corresponding to the camera module can also display images on the screen, thereby increasing the screen-to-body ratio of the display panel 10 and achieving a visually seamless full-screen display. However, due to the presence of the under-display camera module structure, there is usually a noticeable brightness difference between the area corresponding to the camera module and other display areas, which affects the image display effect and user experience.
[0066] In view of this, this application provides a display compensation method for a display panel, applied to a processor 20. By performing brightness compensation on a first display area 12 including a light-transmitting display area 11, the display effect of the first display area 12 is made closer to the original image effect, thereby improving the display quality of the screen and solving at least part of the above-mentioned technical problems.
[0067] Please see Figure 2 , Figure 2 The illustration shows the overall flow of a display compensation method for a display panel according to an embodiment of this application. The display compensation method for the display panel includes the following steps:
[0068] Step 201: Extract the first image im1 corresponding to the first display area 12 from the frame image im0 to be displayed. The first image im1 includes multiple second pixels, and the multiple second pixels correspond one-to-one with multiple first pixels p1.
[0069] Among them, the frame image im0 to be displayed is the image that the current frame of the display panel 10 needs to display. Based on the frame image, the grayscale of each pixel on the display panel 10 to be displayed can be obtained.
[0070] Step 202: Based on the grayscale X of each second pixel, obtain the first brightness L1 of each second pixel.
[0071] In some examples, the grayscale X of each second pixel can be linearly transformed to the luminance space, and a first luminance L1 can be obtained, for example, by L1 = X. γ To obtain the first brightness L1.
[0072] Step 203: Filter each first brightness L1 to obtain the second brightness L2 of each second pixel.
[0073] In some examples, a Gaussian filter can be used to filter each initial brightness level. This allows abnormal pixel values in the light-transmitting display area 11 to be distributed to the normal display area, thus making the displayed image closer to the original image.
[0074] Step 204: Based on the first compensation coefficient Ratio corresponding to each first pixel p1, compensate the second brightness L2 of the corresponding second pixel to obtain the second image im2.
[0075] Specifically, the first compensation coefficient is a preset value. The first compensation coefficient Ratio can be greater than or equal to 0 and less than or equal to 1, for example, it can be set to 0.1. The specific setting should be based on the actual hardware structure and display effect.
[0076] In some examples, taking multiple first pixels p1 including third pixels p3 and fourth pixels p4 as examples, step 204 can be specifically performed through the following steps:
[0077] Step 1: Based on the first compensation coefficient corresponding to each third pixel p3, compensate for the second brightness of the second pixel corresponding to the third pixel p3.
[0078] Step 2: Based on the first compensation coefficient corresponding to each fourth pixel p4, compensate for the second brightness of the second pixel corresponding to the fourth pixel p4.
[0079] Step 3: Obtain the compensated second image im2.
[0080] For example, with Figure 1 Taking the light-transmitting display area 11 as an example, the third pixel p3 and the fourth pixel p4 are set at column intervals. The first compensation coefficient corresponding to each third pixel p3 is represented by Ratio0, and the first compensation coefficient corresponding to each fourth pixel p4 is represented by Ratio3. Then, the first compensation coefficient matrix Mat1 of each first pixel p1 in the light-transmitting display area 11 can be represented in the following form:
[0081]
[0082] In some examples, the third pixel p3 may include RGB pixels and W pixels. The first compensation coefficient for each RGB pixel is Ratio1, the first compensation coefficient for each W pixel is Ratio2, and the first compensation coefficient for each fourth pixel is Ratio3, satisfying: 0 ≤ Ratio1 ≤ 1, 0 ≤ Ratio2 ≤ 1, and Ratio3 = 0.
[0083] It is understandable that the form of the first compensation coefficient matrix Mat1 will change accordingly as the arrangement of the third pixel p3 and the fourth pixel p4 in the light-transmitting display area 11 is different, which will not be elaborated here.
[0084] Step 205: Based on the second image im2, control the first display area 12 to display the image.
[0085] In some embodiments, step 205 may be performed by the following steps:
[0086] Step 1: Control the display panel 10 to display the frame image im0, and measure the third brightness L3 of each first pixel p1.
[0087] Specifically, the brightness data of each pixel on the display panel 10 can be measured, and the third brightness L3 of each first pixel p1 in the first display area 12 can be read from it.
[0088] Step 2: Based on the gray level g and the third brightness L3 of each first pixel p1, obtain the second compensation coefficient Ratio4 for each first pixel p1.
[0089] In some embodiments, firstly, based on the third brightness L3 of each first pixel p1, the average third brightness value avg3 can be obtained. Then, based on the grayscale g and the third brightness L3 of each first pixel p1, a ratio coefficient α can be obtained. Finally, based on the average third brightness value avg3, the ratio coefficient α of each first pixel p1, and the third brightness L3, a second compensation coefficient Ratio4 of each first pixel p1 can be obtained. The second compensation coefficient Ratio4 of each first pixel p1 can be represented by a second compensation coefficient matrix Mat2.
[0090] Specifically, the second compensation coefficient Ratio4 for each first pixel p1 can be obtained using the following formula:
[0091] Ratio4=α×avg3 / L3
[0092] In some examples, please refer to [link / reference]. Figure 1 After the control display panel 10 displays the frame image, it can be identified that a ring-shaped area is arranged around the light-transmitting display area 11, namely the second display area 13, and the first display area 12 includes the second display area 13.
[0093] Therefore, after performing step two and before performing step three, the display compensation method of this application embodiment may further include:
[0094] Based on the third brightness L3 of each first pixel p1 located outside the second display area 13, the second compensation coefficient Ratio4 of each first pixel p1 in the second display area 13 is corrected.
[0095] For example, the second compensation coefficient Ratio4 of each first pixel p1 in the second display area 13 can be corrected by the following steps:
[0096] The first step is to obtain the average first brightness value avg1 of the third brightness L3 of all first pixels p1 within the first test area D and the second test area E. The first test area D is located in the light-transmitting display area 11, and the second test area E is located in the area of the first display area 12 excluding the light-transmitting display area 11 and the second display area 13. Specifically, the average first brightness value avg1 is obtained by summing the third brightness L3 of all first pixels p1 within the first test area D and the second test area E and then dividing by the number of first pixels p1. For example, the size and shape of the first test area D and the second test area E can be the same.
[0097] The second step is to obtain the second average brightness value avg2 based on the first average brightness value avg1 and the preset gain coefficient δ.
[0098] Specifically, the preset gain coefficient δ can be greater than 1.
[0099] The third step is to correct the second compensation coefficient Ratio4 of each first pixel p1 in the annular area of the second display area 13 away from the light-transmitting display area 11 to the second average brightness value avg2, and to correct the second compensation coefficient Ratio4 of the remaining first pixels p1 in the second display area 13 to the first average brightness value avg1.
[0100] Taking a ring width of 8 first pixels p1 in the second display area 13 as an example, the third brightness L3 of the first pixels p1 near the outer edge can be slightly increased. For example, the third brightness L3 of the outermost 1 / 4, that is, the two first pixels p1 near the outer edge, can be slightly increased. The preset gain coefficient δ can be set to 1.04.
[0101] The above method can compensate for the uneven brightness of the bright ring around the light-transmitting display area 11, thereby further improving the display effect.
[0102] Step 3: Filter the second compensation coefficient Ratio4 of each first pixel p1 in the first display area 12 to obtain the third compensation coefficient Ratio5 of each first pixel p1.
[0103] For example, the second compensation coefficient matrix Mat2 can be Gaussian filtered to obtain the third compensation coefficient Mat3. This can make the boundary transition more uniform.
[0104] Step 4: Based on the third compensation coefficient Ratio5 of each first pixel p1 and the second image im2, obtain the third image im3.
[0105] Specifically, the third compensation coefficient Ratio5 of each first pixel p1 is multiplied by the corresponding compensated second brightness of the second pixel in the second image im2 to obtain the third image im3.
[0106] Step 5: Based on the third image im3, control the first display area 12 to display the image.
[0107] In some embodiments, step five can be specifically performed through the following steps:
[0108] The first step is to control the first display area 12 to display the third image im3 and measure the fourth brightness L4 of each first pixel p1.
[0109] The second step is to obtain the fourth compensation coefficient Ratio6 of each first pixel p1 in the light-transmitting display area 11 based on the target average brightness avg_set and each fourth brightness L4.
[0110] Specifically, the target average brightness avg_set is determined based on measured data and the final display effect, and is used to adjust the brightness of the light-transmitting display area 11 together with the first compensation coefficient Ratio.
[0111] For example, the fourth compensation coefficient Ratio6 of each first pixel p1 within the light-transmitting display area 11 can be obtained by the following formula:
[0112] Ratio6 = avg set / L4
[0113] The third step is to obtain the fourth image im4 corresponding to the light-transmitting display area 11 based on the fourth compensation coefficient Ratio6 of each first pixel p1 in the light-transmitting display area 11 and the second image im2.
[0114] Specifically, the fourth compensation coefficient Ratio6 of each first pixel p1 in the light-transmitting display area 11 can be represented by the fourth compensation coefficient matrix Mat4, and the fourth image im4 = im2·Mat4.
[0115] The fourth step is to control the light-transmitting display area 11 to display the fourth image im4.
[0116] Please see Figure 3 , Figure 3 This illustration shows the final compensated image displayed on the display panel in this embodiment. It is understood that in the final compensated image im5 displayed on the display panel 10, the area corresponding to the light-transmitting display area 11 displays the fourth image im4, the area corresponding to the other areas in the first display area 12 besides the light-transmitting display area 11 displays the third image im3, and the areas corresponding to the other areas outside the first display area 12, since no correction or adjustment is required, display the frame image im0.
[0117] In other embodiments, the second image im2 and the frame image im0 after removing the first image im1 can be spliced together according to their corresponding positions to generate a new frame image. Then, the display panel 10 is controlled to display the new frame image. That is, the brightness compensation of the second display area 13 and the light-transmitting display area 11 is no longer performed again. The specific compensation setting can be made according to the actual situation.
[0118] It is understood that the method in this application embodiment can perform brightness compensation on the first display area 12, which includes the light-transmitting display area 11, thereby making the display effect of the first display area 12 closer to the original image effect, and thus improving the display quality of the image. In addition, by repeatedly collecting the actual brightness of the first display area 12, and repeatedly performing brightness compensation on the light-transmitting display area 11 and the second display area 13 with the bright ring to address the problem of uneven brightness, the final displayed image brightness is more uniform, thereby greatly improving the display quality of the under-display camera.
[0119] Accordingly, please refer to Figure 4 , Figure 4 This diagram illustrates the structure of a display compensation device for a display panel according to an embodiment of this application. Specifically, the display compensation device for the display panel in this embodiment includes an image extraction module 401, a brightness conversion module 402, a brightness filtering module 403, a brightness compensation module 404, and a screen display module 405.
[0120] The image extraction module 401 is used to extract a first image corresponding to a first display area from the frame image to be displayed. The first image includes a plurality of second pixels, and the plurality of second pixels correspond one-to-one with the plurality of first pixels.
[0121] The brightness conversion module 402 is used to obtain the first brightness of each second pixel based on the grayscale of each second pixel.
[0122] The brightness filtering module 403 is used to filter each first brightness to obtain the second brightness of each second pixel.
[0123] The brightness compensation module 404 is used to compensate the second brightness of the corresponding second pixel based on the first compensation coefficient corresponding to each first pixel, so as to obtain the second image.
[0124] The screen display module 405 is used to control the first display area to display the screen based on the second image.
[0125] In some embodiments, the screen display module 405 is specifically used for:
[0126] Control the display panel to display frame images and measure the third brightness of each first pixel.
[0127] Based on the grayscale and third brightness of each first pixel, the second compensation coefficient of each first pixel is obtained.
[0128] The second compensation coefficient of each first pixel in the first display area is filtered to obtain the third compensation coefficient of each first pixel.
[0129] The third image is obtained based on the third compensation coefficient of each first pixel and the second image.
[0130] Based on the third image, control the first display area to display the image.
[0131] In some embodiments, the first display area includes a second display area, which is an annular region surrounding the light-transmitting display area. The screen display module 405 is further configured to:
[0132] Based on the third brightness of each first pixel located outside the second display area, the second compensation coefficient of each first pixel in the second display area is corrected.
[0133] In some embodiments, the screen display module 405 is specifically used for:
[0134] The average value of the third brightness of all first pixels in the first test area and the second test area is obtained. The first test area is located in the light-transmitting display area, and the second test area is located in the area of the first display area other than the light-transmitting display area and the second display area.
[0135] The second average brightness value is obtained based on the first average brightness value and the preset gain coefficient.
[0136] The second compensation coefficient of each first pixel in the annular region of the second display area that is far from the light-transmitting display area is corrected to the second average brightness value, and the second compensation coefficient of each remaining first pixel in the second display area is corrected to the first average brightness value.
[0137] In some embodiments, the screen display module 405 is specifically used for:
[0138] The average value of the third brightness is obtained based on the third brightness of each first pixel.
[0139] The ratio coefficient is obtained based on the gray level and third brightness of each first pixel.
[0140] Based on the third average brightness, the ratio coefficient of each first pixel, and the third brightness, the second compensation coefficient of each first pixel is obtained.
[0141] In some embodiments, the screen display module 405 is specifically used for:
[0142] Control the first display area to display the third image, and measure the fourth brightness of each first pixel.
[0143] Based on the target average brightness and each fourth brightness of the light-transmitting display area, the fourth compensation coefficient of each first pixel in the light-transmitting display area is obtained.
[0144] Based on the fourth compensation coefficient of each first pixel in the light-transmitting display area and the second image, the fourth image corresponding to the light-transmitting display area is obtained.
[0145] Control the light-transmitting display area to display the fourth image.
[0146] In some embodiments, the plurality of first pixels includes a third pixel and a fourth pixel, wherein the third pixel is a normally emitting pixel and the fourth pixel is an abnormally emitting pixel.
[0147] The brightness compensation module 404 is specifically used for:
[0148] Based on the first compensation coefficient corresponding to each third pixel, the second brightness of the second pixel corresponding to the third pixel is compensated.
[0149] Based on the first compensation coefficient corresponding to each fourth pixel, the second brightness of the second pixel corresponding to the fourth pixel is compensated.
[0150] Obtain the compensated second image.
[0151] In some embodiments, the third pixel includes RGB pixels and W pixels.
[0152] In this context, the first compensation coefficient for each RGB pixel is Ratio1, the first compensation coefficient for each W pixel is Ratio2, and the first compensation coefficient for each fourth pixel is Ratio3, satisfying: 0≤Ratio1≤1, 0≤Ratio2≤1, and Ratio3=0.
[0153] It is understood that the apparatus in this application embodiment can perform brightness compensation on the first display area including the light-transmitting display area, thereby making the display effect of the first display area closer to the original image effect, and thus improving the display quality of the screen.
[0154] Accordingly, please refer to Figure 5 , Figure 5 This diagram illustrates the structure of an electronic device according to an embodiment of this application. Specifically, the electronic device may include: at least one processor 20, at least one memory 501, a power supply 502, a communication interface 503, an input / output interface 504, and a communication bus 505. The memory 501 stores a computer program, which is loaded and executed by the processor 20 to implement the relevant steps in the display compensation method for the display panel disclosed in any of the foregoing embodiments. Alternatively, the processor 20 may employ a display compensation device for the display panel disclosed in any of the foregoing embodiments.
[0155] In this embodiment, the power supply 502 is used to provide operating voltage for various hardware devices on the electronic device; the communication interface 503 can create a data transmission channel between the electronic device and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 504 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0156] Furthermore, the memory 501, as a carrier for resource storage, can be a read-only memory, random access memory, disk, or optical disk, etc. The resources stored on it include an operating system 5011, computer programs 5012, and data 5013, etc., and the storage method can be temporary storage or permanent storage. The operating system 5011 is used to manage and control various hardware devices on the electronic device and the computer program 5012 to enable the processor 20 to perform operations and processing on the data 5013 in the memory 501. It can be Windows Server, Netware, Unix, Linux, etc. The computer program 5012, in addition to including a computer program capable of performing the display compensation method of the display panel disclosed in any of the foregoing embodiments, may further include a computer program capable of performing other specific tasks. The data 5013 may include data such as application update information, and may also include data such as application developer information.
[0157] Electronic devices can be terminals, which can include, but are not limited to, video walls, smart TVs, smartphones, tablets, laptops, or desktop computers.
[0158] Accordingly, this application also provides a storage medium storing computer-executable instructions. When these instructions are loaded and executed by a processor, they implement the display compensation method for the display panel disclosed in any of the foregoing embodiments. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.
[0159] The above provides a detailed description of a display compensation method, apparatus, and display device for a display panel provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the technical solutions and core ideas of this application. 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. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A display compensation method for a display panel, characterized in that, The display panel includes a first display area, which is a region including a light-transmitting display area corresponding to the camera module, and the first display area includes a plurality of first pixels; the first display area includes a second display area, which is a ring-shaped region surrounding the light-transmitting display area; the display compensation method includes: Extract the first image corresponding to the first display area from the frame image to be displayed. The first image includes a plurality of second pixels, and the plurality of second pixels correspond one-to-one with the plurality of first pixels. Based on the grayscale of each second pixel, obtain the first brightness of each second pixel; Filter each of the first brightness values to obtain the second brightness value of each of the second pixels; Based on the first compensation coefficient corresponding to each first pixel, the second brightness of the corresponding second pixel is compensated to obtain the second image; Based on the second image, control the first display area to display the image; The step of controlling the first display area to display an image based on the second image includes: Control the display panel to display the frame image, and measure the third brightness of each of the first pixels; Based on the grayscale and third brightness of each first pixel, a second compensation coefficient is obtained for each first pixel; Based on the third brightness of each of the first pixels located outside the second display area, the second compensation coefficient of each of the first pixels in the second display area is corrected; The process of correcting the second compensation coefficient for each of the first pixels in the second display area includes: The average value of the third brightness of all first pixels in the first test area and the second test area is obtained. The first test area is located in the light-transmitting display area, and the second test area is located in the area of the first display area other than the light-transmitting display area and the second display area. Based on the first average brightness value and the preset gain coefficient, obtain the second average brightness value; The second compensation coefficient of each first pixel in the annular region of the second display area that is far from the light-transmitting display area is corrected to the second average brightness value, and the second compensation coefficient of the remaining first pixels in the second display area is corrected to the first average brightness value.
2. The display compensation method for a display panel according to claim 1, characterized in that, The step of controlling the first display area to display an image based on the second image further includes: The second compensation coefficient of each first pixel in the first display area is filtered to obtain the third compensation coefficient of each first pixel; A third image is obtained based on the third compensation coefficient for each of the first pixels and the second image; Based on the third image, the first display area is controlled to display the image.
3. The display compensation method for a display panel according to claim 1, characterized in that, The step of obtaining the second compensation coefficient for each first pixel based on the grayscale and third brightness of each first pixel includes: Based on the third brightness of each first pixel, obtain the average third brightness; Based on the grayscale and third brightness of each first pixel, obtain the ratio coefficient; Based on the third average brightness, the ratio coefficient of each first pixel, and the third brightness, a second compensation coefficient is obtained for each first pixel.
4. The display compensation method for a display panel according to claim 2, characterized in that, Based on the third image, controlling the first display area to display an image includes: Control the first display area to display the third image, and measure the fourth brightness of each of the first pixels; Based on the target average brightness of the light-transmitting display area and each of the fourth brightnesses, the fourth compensation coefficient of each first pixel in the light-transmitting display area is obtained. Based on the fourth compensation coefficient of each first pixel in the light-transmitting display area and the second image, obtain the fourth image corresponding to the light-transmitting display area; Control the light-transmitting display area to display the fourth image.
5. The display compensation method for a display panel according to claim 1, characterized in that, The plurality of first pixels includes a third pixel and a fourth pixel, wherein the third pixel is a normally emitting pixel and the fourth pixel is an abnormally emitting pixel; The step of compensating the second brightness of the corresponding second pixel based on the first compensation coefficient corresponding to each first pixel to obtain the second image includes: Based on the first compensation coefficient corresponding to each third pixel, the second brightness of the second pixel corresponding to the third pixel is compensated; Based on the first compensation coefficient corresponding to each fourth pixel, the second brightness of the second pixel corresponding to the fourth pixel is compensated; Obtain the compensated second image.
6. The display compensation method for a display panel according to claim 5, characterized in that, The third pixel includes RGB pixels and W pixels; Wherein, the first compensation coefficient corresponding to each RGB pixel is Ratio1, the first compensation coefficient corresponding to each W pixel is Ratio2, and the first compensation coefficient corresponding to each fourth pixel is Ratio3, satisfying: 0≤Ratio1≤1, 0≤Ratio2≤1, Ratio3=0.
7. A display compensation device for a display panel, characterized in that, The display panel includes a first display area, which is a region including a light-transmitting display area corresponding to the camera module, and the first display area includes a plurality of first pixels; the first display area includes a second display area, which is an annular region surrounding the light-transmitting display area; the display compensation device includes: The image extraction module is used to extract the first image corresponding to the first display area from the frame image to be displayed. The first image includes a plurality of second pixels, and the plurality of second pixels correspond one-to-one with the plurality of first pixels. A brightness conversion module is used to obtain the first brightness of each second pixel based on the grayscale of each second pixel; A brightness filtering module is used to filter each of the first brightness values to obtain the second brightness value of each of the second pixels; A brightness compensation module is used to compensate the second brightness of the corresponding second pixel based on a first compensation coefficient corresponding to each first pixel, thereby obtaining a second image. The screen display module is used to control the first display area to display the screen based on the second image; Specifically, the screen display module is used for: Control the display panel to display the frame image, and measure the third brightness of each of the first pixels; Based on the grayscale and third brightness of each first pixel, a second compensation coefficient is obtained for each first pixel; Based on the third brightness of each of the first pixels located outside the second display area, the second compensation coefficient of each of the first pixels in the second display area is corrected; Specifically, the screen display module is used for: The average value of the third brightness of all first pixels in the first test area and the second test area is obtained. The first test area is located in the light-transmitting display area, and the second test area is located in the area of the first display area other than the light-transmitting display area and the second display area. Based on the first average brightness value and the preset gain coefficient, obtain the second average brightness value; The second compensation coefficient of each first pixel in the annular region of the second display area that is far from the light-transmitting display area is corrected to the second average brightness value, and the second compensation coefficient of the remaining first pixels in the second display area is corrected to the first average brightness value.
8. A display device, characterized in that, The device includes a display panel and a processor. A camera module is disposed on the side of the display panel away from the display screen. The processor uses the display compensation method as described in any one of claims 1-6 to control a first display area including the light-transmitting display area corresponding to the camera module to display an image, or uses the display compensation device of the display panel as described in claim 7.
Citation Information
Patent Citations
Brightness compensation method, device and equipment for display panel
CN111816113A
Method of driving a display panel
CN112447129A