A method for compensating edge brightness of a display panel, a related device and a storage medium

By compensating the edge area of ​​the display panel and calculating and adjusting the relationship coefficients of the image data, the problem of uneven brightness compensation in the prior art is solved, and the brightness uniformity and display effect are improved.

CN118629371BActive Publication Date: 2024-11-08SHENZHEN SEICHITECH TECHN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411088173.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-08
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

The prior art is difficult to achieve smooth and natural brightness transition in the edge area of ​​the display panel, resulting in uneven brightness compensation and affecting the display effect.

Method used

By acquiring the target image data of the display panel under preset grayscale, dividing it into a central area and an edge area, obtaining the pixel coordinates and brightness data of the edge area, calculating the relationship coefficient, and performing brightness compensation to reduce the distance between the edge and the central area and brightness adjustments to overlapping areas.

Benefits of technology

The smoothness of the brightness transition in the edge area and the central area is achieved, reducing the phenomenon of sudden brightness changes, and improving brightness uniformity and display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629371B_ABST
    Figure CN118629371B_ABST
Patent Text Reader

Abstract

The present application discloses a method, a related device and a storage medium for brightness compensation of a display panel edge, which are used to solve the problem that the edge is prone to uneven display brightness transition after brightness compensation. The present application includes: collecting a target image displayed by a display panel at a preset gray scale, and obtaining image data of the target image; obtaining first coordinate data and first brightness data of a plurality of pixels in the image data that are located in a first edge area or a second edge area and are arranged in sequence from a central area to an edge area; obtaining a relationship coefficient between the first coordinate data and the first brightness data; calculating first brightness compensation data according to the first coordinate data, the first brightness data and the relationship coefficient; performing brightness compensation on pixels located in at least one of the first edge area and the second edge area according to the first brightness compensation data to obtain second brightness data of the pixels; performing brightness compensation on pixels located in the overlapping area according to the second brightness data.
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 method for compensating edge brightness of a display panel, a related device and a storage medium. Background Art

[0002] With the development of display technology, users have higher and higher requirements for the visual experience of display devices, so brightness compensation technology has been widely studied and applied. Brightness compensation technology can significantly improve the image quality of display panels, reduce color deviation, improve the viewing angle and contrast of the screen, and ensure clear and consistent image quality in different ambient light and usage scenarios. The current main technical means include global brightness adjustment, regional brightness correction, etc.

[0003] The brightness change in the center area of ​​the display panel is usually more uniform, but the edge area of ​​the display panel is close to the frame and internal structural parts, which affects the propagation and distribution of light, resulting in different degrees of attenuation or uneven brightness in the edge area compared with the center area. Therefore, the brightness compensation of the edge area requires special processing to ensure a smooth and natural transition.

[0004] The global brightness adjustment method used in the prior art is difficult to take into account the subtle differences in the transition area, resulting in abrupt brightness transitions in the edge area. The regional brightness correction method only involves simple regional division and cannot carefully process the transition pixels between the edge and the center, resulting in uneven brightness transitions after brightness compensation, affecting the overall display effect. Summary of the invention

[0005] The present application provides a method, a related device and a storage medium for compensating brightness at the edge of a display panel, which are used to solve the problem of uneven display brightness transition at the edge after brightness compensation.

[0006] In a first aspect, the present application provides a method for compensating edge brightness of a display panel, wherein the display panel includes a plurality of pixels distributed in an array, and the method includes:

[0007] Capturing a target image displayed by the display panel at a preset gray scale, and acquiring image data of the target image;

[0008] Dividing the target image into a central area and edge areas surrounding the central area according to the image data, the edge areas comprising first edge areas located at opposite sides of the central area in a first direction, second edge areas located at opposite sides of the central area in a second direction, and an overlapping area between the first edge area and the second edge area, the first direction intersecting the second direction;

[0009] Acquire first coordinate data and first brightness data of a plurality of pixels in the image data that are located in the first edge area or the second edge area and are arranged sequentially from the central area to the edge area;

[0010] Acquire a relationship coefficient between the first coordinate data and the first brightness data;

[0011] Calculate first brightness compensation data according to the first coordinate data, the first brightness data and the relationship coefficient;

[0012] Performing brightness compensation on the pixel located in at least one of the first edge area and the second edge area according to the first brightness compensation data to obtain second brightness data of the pixel;

[0013] Brightness compensation is performed on the pixels located in the overlapping area according to the second brightness data.

[0014] Optionally, the acquiring first coordinate data and first brightness data of a plurality of pixels in the image data that are located in the first edge area or the second edge area and are arranged sequentially from the central area to the edge area includes:

[0015] In the first edge area or the second edge area, and within a preset distance from the outer boundary line, determine the first coordinate data and first brightness data of a plurality of pixels arranged in sequence from the center area toward the edge area, and the outer boundary line is the boundary line of the first edge area in the first direction or the second edge area in the second direction at a farther end from the center area.

[0016] Optionally, before acquiring the relationship coefficient between the first coordinate data and the first brightness data, the method further includes:

[0017] Determine whether there is a mura area in the first edge area or the second edge area;

[0018] If yes, first coordinate data and first brightness data of a plurality of pixels arranged in sequence from the central area to the edge area in the mura area are obtained.

[0019] Optionally, obtaining a relationship coefficient between the first coordinate data and the first original brightness data includes:

[0020] The least square method is applied to fit the first coordinate data and the first brightness data of the plurality of pixels in each column or each row, and the relationship coefficient between the first coordinate data and the first brightness data is obtained by solving.

[0021] Optionally, after performing brightness compensation on the pixels located in at least one of the first edge area and the second edge area according to the first brightness compensation data to obtain second brightness data of the pixels, the method further includes:

[0022] Determine at least one row or at least one column of target pixels closest to the central area in the first edge area or the second edge area;

[0023] updating the relationship coefficient according to the first brightness data and the second brightness data of the at least one row or at least one column of target pixels;

[0024] The third brightness data of the at least one row or at least one column of target pixels is calculated according to the second brightness data and the updated relationship coefficient, and the third brightness data is used to perform brightness compensation on the at least one row or at least one column of target pixels.

[0025] Optionally, updating the relationship coefficient according to the first brightness data and the second brightness data of the at least one row or at least one column of target pixels includes:

[0026] According to the preset correction factor and offset factor, the correction ratio of the at least one row or at least one column of target pixels is calculated by a target formula, and the relationship coefficient is updated according to the correction ratio;

[0027] The target formula is:

[0028] Ratio = g1 / g2 * Mult + Add;

[0029] Among them, Ratio is the correction ratio, g1 is the first brightness data, g2 is the second brightness data, Mult is the correction factor, and Add is the offset factor.

[0030] Optionally, the edge region further includes a third edge region located between the first edge region and the central region, and a fourth edge region located between the second edge region and the central region.

[0031] A second aspect of the present application provides a device for compensating edge brightness of a display panel, wherein the display panel includes a plurality of pixels distributed in an array, and the device includes:

[0032] An acquisition unit, used for acquiring image data of a target image displayed by the display panel at a preset gray scale through a camera;

[0033] a dividing unit, configured to divide the target image into a central area and edge areas surrounding the central area according to the image data, the edge areas comprising first edge areas located on opposite sides of the central area in a first direction, second edge areas located on opposite sides of the central area in a second direction, and an overlapping area between the first edge areas and the second edge areas, the first direction intersecting the second direction;

[0034] A first acquisition unit is used to acquire first coordinate data and first brightness data of a plurality of pixels in the image data that are located in the first edge area or the second edge area and are arranged sequentially from the central area to the edge area;

[0035] A second acquisition unit, used for acquiring a relationship coefficient between the first coordinate data and the first brightness data;

[0036] a calculation unit, configured to calculate first brightness compensation data according to the first coordinate data, the first brightness data and the relationship coefficient;

[0037] a first compensation unit, configured to perform brightness compensation on the pixel located in at least one of the first edge area and the second edge area according to the first brightness compensation data, so as to obtain second brightness data of the pixel;

[0038] The second compensation unit is used to perform brightness compensation on the pixels located in the overlapping area according to the second brightness data.

[0039] Optionally, the first acquiring unit is specifically used for:

[0040] In the first edge area or the second edge area, and within a preset distance from the outer boundary line, determine the first coordinate data and first brightness data of a plurality of pixels arranged in sequence from the center area toward the edge area, and the outer boundary line is the boundary line of the first edge area in the first direction or the second edge area in the second direction at a farther end from the center area.

[0041] Optionally, the first acquiring unit is further used for:

[0042] Determine whether there is a mura area in the first edge area or the second edge area;

[0043] If yes, first coordinate data and first brightness data of a plurality of pixels arranged in sequence from the central area to the edge area in the mura area are obtained.

[0044] Optionally, the second acquiring unit is specifically configured to:

[0045] The least square method is applied to fit the first coordinate data and the first brightness data of the plurality of pixels in each column or each row, and the relationship coefficient between the first coordinate data and the first brightness data is obtained by solving.

[0046] Optionally, the system further includes: a third compensation unit, configured to:

[0047] Determine at least one row or at least one column of target pixels closest to the central area in the first edge area or the second edge area;

[0048] updating the relationship coefficient according to the first brightness data and the second brightness data of the at least one row or at least one column of target pixels;

[0049] The third brightness data of the at least one row or at least one column of target pixels is calculated according to the second brightness data and the updated relationship coefficient, and the third brightness data is used to perform brightness compensation on the at least one row or at least one column of target pixels.

[0050] Optionally, the third compensation unit is further configured to:

[0051] According to the preset correction factor and offset factor, the correction ratio of the at least one row or at least one column of target pixels is calculated by a target formula, and the relationship coefficient is updated according to the correction ratio;

[0052] The target formula is:

[0053] Ratio = g1 / g2 * Mult + Add;

[0054] Among them, Ratio is the correction ratio, g1 is the first brightness data, g2 is the second brightness data, Mult is the correction factor, and Add is the offset factor.

[0055] Optionally, the edge region further includes a third edge region located between the first edge region and the central region, and a fourth edge region located between the second edge region and the central region.

[0056] A third aspect of the present application provides a device, the device comprising:

[0057] Processor, memory, input-output unit, and bus;

[0058] The processor is connected to the memory, the input and output unit, and the bus;

[0059] The memory stores a program, and the processor calls the program to execute the first aspect and any optional method in the first aspect.

[0060] A fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed on a computer, the program executes the first aspect and any optional method in the first aspect.

[0061] It can be seen from the above technical solutions that this application has the following advantages:

[0062] First, the target image is divided into a central area and an edge area surrounding the central area, wherein the edge area includes a transitional first edge area, a second edge area, and an overlapping area. By obtaining the relationship coefficient between the coordinate positions of multiple pixels in the first edge area or the second edge area and their brightness, the first brightness compensation data of the pixel is calculated using the relationship coefficient, and the corresponding pixel is brightness compensated according to the first brightness compensation data, and the pixels in the overlapping area are also brightness compensated, so as to reduce the brightness difference between the edge and the central area and optimize the brightness distribution. In this way, the Demura compensation effect of the edge area and the central area is displayed more smoothly, and brightness mutation is not easy to occur, so that the brightness uniformity can be better achieved, and the display effect of the display panel is effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solution in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. 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 paying any creative work.

[0064] Figure 1 A schematic flow chart of an embodiment of a method for display panel edge brightness compensation provided in the present application;

[0065] Figure 2 A schematic diagram of a target image and an edge area in the method for edge brightness compensation of a display panel provided in the present application;

[0066] Figure 3 A schematic flow chart of another embodiment of the method for display panel edge brightness compensation provided by the present application;

[0067] Figure 4 A schematic diagram of pixels corresponding to a first edge region in the display panel edge brightness compensation method provided in the present application;

[0068] Figure 5 A schematic diagram of the structure of an embodiment of a device for compensating brightness at the edge of a display panel provided in the present application;

[0069] Figure 6 This is a schematic structural diagram of another embodiment of the device for display panel edge brightness compensation provided in the present application. DETAILED DESCRIPTION

[0070] The present application provides a method, a related device and a storage medium for compensating brightness at the edge of a display panel, which are used to solve the problem of uneven display brightness transition at the edge after brightness compensation.

[0071] It should be noted that the method provided in this application can be applied to a terminal or a server. For example, the terminal can be a smart phone or a computer, a tablet computer, a smart TV, a smart watch, a portable computer terminal, or a fixed terminal such as a desktop computer. For the convenience of explanation, this application uses the terminal as the execution subject for example.

[0072] See also Figure 1 , Figure 1 In one embodiment provided by the present application, the method comprises:

[0073] 101. Capturing a target image displayed by a display panel at a preset gray scale, and acquiring image data of the target image;

[0074] First, the terminal controls the display panel to display the corresponding grayscale image under the preset grayscale condition (0-255), then uses the industrial camera to capture the image displayed on the current display panel to obtain the target image, and obtains the image data of the target image. The display panel includes multiple pixels distributed in an array, and the image data of the target image provides the original data for the subsequent analysis of the brightness distribution of the display panel. The image data of the target image contains all the visual information of the display panel under specific grayscale conditions, including pixel brightness and contrast.

[0075] It should be noted that since industrial cameras may be affected by factors such as lens distortion, noise, and background areas during image acquisition, a series of preprocessing operations must be performed on the captured target image. These preprocessing operations include coordinate transformation, geometric correction, and Gaussian filtering, etc., which aim to eliminate non-target factors in the image and provide clear and accurate image data for subsequent brightness analysis and compensation.

[0076] 102. Divide the target image into a central area and an edge area surrounding the central area according to the image data, wherein the edge area includes a first edge area located on two opposite sides of the central area in a first direction, a second edge area located on two opposite sides of the central area in a second direction, and an overlapping area between the first edge area and the second edge area, and the first direction intersects the second direction;

[0077] After completing the acquisition and preprocessing of the target image, the terminal defines a central area and an edge area surrounding the central area in the target image. Specifically, the terminal can determine the edge area according to the outer boundary line of the target image and a first preset width, and the first preset width can be determined according to the physical characteristics of the display panel and the expected compensation effect, which is not specifically limited here.

[0078] The edge area of ​​the target image includes the physical border of the display panel. The physical border may reflect or absorb light, resulting in the brightness of the edge area being significantly inconsistent with the main area of ​​the panel, and appearing darker. The first edge area and the second edge area are buffer transition areas between the edge area and the center area, and require special processing to achieve a smooth transition. Therefore, the terminal needs to further define the first edge area and the second edge area in the identified edge area to ensure the accuracy of brightness compensation. The first edge area and the second edge area need to include the darker part of the target image. The first edge area and the second edge area are usually manifested as gradient areas where the brightness gradually changes from the edge to the center. Due to this brightness change, the pixels in the first edge area and the second edge area have a significant impact on the overall brightness uniformity of the display panel, which is a point that requires special attention in brightness compensation. The definition of the first edge area and the second edge area allows for more detailed control of brightness changes, achieving a smooth brightness transition from the edge to the center, and avoiding sudden brightness changes or discontinuities.

[0079] Based on this, the edge area specifically includes a first edge area located on opposite sides of the central area in a first direction, a second edge area located on opposite sides of the central area in a second direction, and an overlapping area between the first edge area and the second edge area, and the first direction and the second direction intersect.

[0080] It should be noted that the sizes of the first edge region and the second edge region are not specifically limited here. In some embodiments, the sum of the areas of the first edge region, the second edge region, and the overlapping region is equal to the area of ​​the edge region; in other embodiments, the sum of the areas of the first edge region, the second edge region, and the overlapping region is smaller than the area of ​​the edge region, that is, the edge region may also include a third edge region between the first edge region and the central region, and a fourth edge region between the second edge region and the central region, to achieve more accurate brightness compensation.

[0081] See also Figure 2 , Figure 2Schematic diagram of the target image collected in this embodiment, where E represents the central area, and the first direction is the vertical direction and the second direction is the horizontal direction for illustration: A and B represent the first edge areas located on the opposite sides of the central area E in the vertical direction, C and D represent the second edge areas located on the opposite sides of the central area E in the horizontal direction, and ac, ad, bc, and bd represent the overlapping areas between the first edge areas A and B and the second edge areas C and D. In other embodiments, when the edge area further includes a third edge area located between the first edge area and the central area, and a fourth edge area located between the second edge area and the central area, F1 and F2 represent the first edge areas located on the opposite sides of the central area E in the vertical direction, and F3 and F4 represent the second edge areas located on the opposite sides of the central area E in the horizontal direction.

[0082] 103. Acquire first coordinate data and first brightness data of a plurality of pixels in the image data that are located in the first edge area or the second edge area and are arranged sequentially from the central area to the edge area;

[0083] Pixels in the first edge area or the second edge area are prone to attenuation or unevenness, so the terminal needs to obtain the first coordinate data and first brightness data of multiple pixels in the image data that are located in the first edge area or the second edge area and arranged in sequence from the center area to the edge area. The first coordinate data is an accurate representation of the positions of these pixels, and the first brightness data reflects the actual brightness levels of these pixels.

[0084] See also Figure 2 , taking the upper left corner of the target image as the origin as the reference direction, setting the first brightness data of any pixel point in the first edge area or the second edge area in the respective corresponding areas to PA i,j (pixel (i,j) ), PB i,j (pixel (i,j) ), PC i,j (pixel l(i,j) ) and PD i,j (pixel (i,j) ), the first coordinate data is PA i,j (xi, yj), PB i,j (xi, yj), PC i,j (xi, yj), PD i,j (xi, yj).

[0085] 104. Obtain a relationship coefficient between the first coordinate data and the first brightness data;

[0086] The terminal analyzes the association between the first coordinate data and the first brightness data of the plurality of pixels in the first edge region or the second edge region, and specifically, a mathematical model may be established to describe the association between the two. The model may generally be expressed as one or more relationship coefficients, which are not specifically limited here. The relationship coefficient is used to quantify the dependence between the brightness and the coordinate position. By obtaining the relationship coefficient between the first coordinate data and the first brightness data, the regularity of the brightness distribution of the pixels in the first edge region or the second edge region may be quantified, thereby more accurately predicting and correcting the brightness value of the pixels.

[0087] 105. Calculate first brightness compensation data according to the first coordinate data, the first brightness data and the relationship coefficient;

[0088] In order to improve the brightness uniformity of the display panel, it is necessary to first perform brightness correction on the pixels in the first edge area or the second edge area, and then perform brightness compensation. Specifically, the relationship coefficient calculated in step 104 describes the law of how the brightness of the pixels in the first edge area or the second edge area changes with the coordinate position. The terminal combines the relationship coefficient, the first coordinate data and the first brightness data to calculate the corrected brightness of each pixel, and then calculates the first brightness compensation data based on the corrected brightness combined with the brightness compensation algorithm. The first brightness compensation data can compensate for the difference between the original brightness of the pixels in the first edge area or the second edge area and the ideal uniform brightness. Pixels at different positions in the first edge area or the second edge area may require different degrees of brightness adjustment. The first brightness compensation data is calculated by the relationship coefficient, and personalized correction and brightness compensation can be provided for each pixel.

[0089] 106. Perform brightness compensation on pixels located in at least one of the first edge region and the second edge region according to the first brightness compensation data to obtain second brightness data of the pixels;

[0090] The terminal performs brightness compensation on pixels located in at least one of the first edge area and the second edge area according to the first brightness compensation data, that is, the terminal can only compensate the pixels located in the first edge area and the second edge area according to the first brightness compensation data. Figure 2 The brightness compensation can be performed on the first edge areas A and B in the Figure 2 The second edge areas C and D in the image are brightness compensated, and the Figure 2 The first edge area and the second edge area A, B, C, and D in the image are all subjected to brightness compensation, and the specific details are not limited here. After compensation, the brightness of the pixels in the darker part of the first edge area or the second edge area will be corrected and compensated to the brightness close to the center area, the brightness uniformity of the pixels will be improved, and the brightness distribution of the first edge area or the second edge area will be smoother and more natural.

[0091] After brightness compensation, the terminal determines second brightness data of the corresponding pixel according to the compensated pixel brightness.

[0092] 107. Perform brightness compensation on pixels located in the overlapping area according to the second brightness data.

[0093] In this example, see Figure 2 Considering the overlapping areas ac, ad, bc and bd between the first edge area and the second edge area A, B, C and D, the brightness data of the pixels in these four overlapping areas may be repeatedly adjusted and compensated. Therefore, special processing is required for the overlapping areas. The brightness of the pixels in the overlapping areas is compensated according to the second brightness data. Taking the overlapping area ac as an example, it can be divided into two cases for discussion:

[0094] 1. Assuming that only the first edge region A or only the second edge region C is subjected to brightness compensation operation, the second brightness data adjacent to the first edge region A or the second edge region C and the overlapping region ac can be directly mirrored to serve as brightness compensation data of the overlapping region ac.

[0095] 2. Assuming that the brightness compensation operation is performed on both the first edge region A and the second edge region C, the second brightness data adjacent to the overlapping region ac is selected from the first edge region A and the second edge region C respectively, and a mirror operation is performed to obtain PA LT (pixel (LT) ) and PA TL (pixel (TL) ), the corresponding brightness compensation data in the final overlapping area ac is .

[0096] By performing brightness compensation on the first edge area, the second edge area and the overlapping area, the brightness distribution of the entire image can be optimized, ensuring that the brightness distribution of the entire display panel is uniform and the brightness transition between the edge area and the central area is natural.

[0097] In this embodiment, the target image is first divided into a central area and an edge area surrounding the central area, wherein the edge area includes a transitional first edge area, a second edge area, and an overlapping area. By obtaining the relationship coefficient between the coordinate positions of multiple pixels in the first edge area or the second edge area and their brightness, the first brightness compensation data of the pixel is calculated using the relationship coefficient, and the corresponding pixel is brightness compensated according to the first brightness compensation data, and the pixels in the overlapping area are also brightness compensated, so that the brightness difference between the edge and the central area can be reduced and the brightness distribution can be optimized. As a result, the Demura compensation effect of the edge area and the central area is displayed more smoothly, and brightness mutation is not likely to occur, which can better achieve brightness uniformity and effectively improve the display effect of the display panel.

[0098] The following is a detailed description of the display panel edge brightness compensation method provided by the present application. Figure 3 , Figure 3 In another embodiment provided by the present application, the method includes:

[0099] 301. Capturing a target image displayed by a display panel at a preset gray scale, and acquiring image data of the target image;

[0100] 302. Divide the target image into a central area and an edge area surrounding the central area according to the image data, wherein the edge area includes a first edge area located on two opposite sides of the central area in a first direction, a second edge area located on two opposite sides of the central area in a second direction, and an overlapping area between the first edge area and the second edge area, and the first direction intersects the second direction;

[0101] In this embodiment, steps 301 to 302 are similar to steps 101 to 102 of the aforementioned embodiment and are not described again here.

[0102] 303. In the first edge region or the second edge region, and within a preset distance from an outer boundary line, determine first coordinate data and first brightness data of a plurality of pixels arranged in sequence from the central region to the edge region, wherein the outer boundary line is a boundary line of the first edge region in the first direction or a boundary line of the second edge region in the second direction farther from the central region;

[0103] In this embodiment, in order to eliminate the influence of the black border formed by the display panel frame and structure on the edge area, the outer boundary line and the preset distance of the edge area need to be considered when obtaining pixels of the first edge area or the second edge area. The outer boundary line is the boundary line of the first edge area in the first direction or the second edge area in the second direction that is farther from the center area. The value of the preset distance can be specifically set according to the range of the edge black frame of different display panels. The preset distance should be greater than the number of pixels occupied by the edge black frame.

[0104] For details, please refer to Figure 2 , and the first direction is the vertical direction and the second direction is the horizontal direction as an example for explanation:

[0105] For the two first edge regions A and B, at least two pixels are randomly acquired in each column within a preset distance from the outer boundary line to ensure that the brightness data in the horizontal direction can be fully sampled.

[0106] like Figure 4 As shown, Figure 4Schematic diagram of pixels corresponding to the range of the first edge region A in the target image. Taking the first edge region A as an example, the first edge region A includes M*N pixels and the outer boundary line G1 of the first edge region A. When there is a certain preset distance L (L≥10) from the outer boundary line G1, any m (m≥2) pixels in each column are obtained. The preset distance L is a positive integer greater than or equal to 10, for example, the value of L can be 10, 11, 12..., and m is a positive integer greater than or equal to 2, for example, the value of m can be 2, 6, 10...

[0107] For the two second edge regions C and D, at least two pixels are randomly acquired in each row within a range of a preset distance from the outer boundary line, thereby ensuring that the brightness data in the vertical direction can also be fully sampled.

[0108] Finally, the terminal obtains the first coordinate data and first brightness data of the above pixels for subsequent analysis and calculation. In practical applications, the acquisition of the above pixels may also need to consider factors such as pixel distribution density and specific characteristics of the display panel to achieve the best brightness correction and compensation effect.

[0109] In some other specific embodiments, the terminal may also autonomously select m pixels close to the center area or close to the edge area according to the mura complexity of the first edge area or the second edge area. Specifically, the terminal performs the following steps:

[0110] A1. Determine whether there is a mura area in the first edge area or the second edge area;

[0111] A2. If yes, obtain first coordinate data and first brightness data of a plurality of pixels arranged in sequence from the central area to the edge area in the mura area.

[0112] Mura refers to the uneven brightness or color phenomenon that appears on the display panel, usually manifested as stripes or patches. The terminal analyzes the target image to identify whether there is a mura phenomenon, which can be achieved through image processing algorithms, such as using image segmentation, edge detection or specific pattern recognition technology to identify the target area where the mura situation appears on the display panel. If the terminal determines that there is a target area where the mura situation appears in the first edge area or the second edge area, the first coordinate data and the first brightness data of all pixels in the target area are automatically obtained. For example, when there is bright stripe mura in the first edge area, the selected pixels should include pixels in the bright stripe mura area (target area) to retain the true mura situation of the edge area. This means that in addition to randomly selected pixels, these pixels with mura will also be included in the subsequent brightness correction and compensation calculations, so as to achieve accurate compensation within a specified range based on the actual mura situation of the first edge area or the second edge area. In addition, it also supports users to independently define the target area to select edge pixels according to actual needs.

[0113] 304. Fit the first coordinate data and the first brightness data of a plurality of pixels in each column or each row using the least square method to obtain a relationship coefficient between the first coordinate data and the first brightness data;

[0114] The terminal analyzes the correlation between the first coordinate data and the first brightness data of the pixels in the first edge area or the second edge area, and specifically applies the least squares method to fit the first coordinate data and the first brightness data of the pixels obtained in each column or each row, and solves to obtain the relationship coefficient between the first coordinate data and the first brightness data.

[0115] See also Figure 4 , the first edge area A is also used as an example for explanation. For example, the first column can select pixels PA (1,L+3) (pixel (1,L+3) ) and PA (1,L+3) (x1,y (L+3) )、PA (1,L+6) (pixel (1,(L+6) ) and PA (1,L+6) (x1,y (L+6) )、PA (1,L+12) (pixel (1,L+12) ) and PA (1,L+12) (x1,y (L+12) )、PA (1,L+20) (pixel (1,L+20) ) and PA (1,L+20) (x1,y (L+20) ), the Nth column selects the pixel PA (N,L+3) (pixel (N,L+3)) and PA (N,L+3) (x N ,y L+3 )、PA (N,L+6) (pixel (N,L+6) ) and PA (N,L+6) (x N ,y L+6 )、PA (N,L+12) (pixel (N,L+12) ) and PA (N,L+12) (x N ,y L+12 )、PA (N,L+20) (pixel (N,L+20) ) and PA (N,L+20) (x N ,y L+20 ).

[0116] According to the selected pixel, the relationship coefficient between the coordinate position and its current brightness can be obtained by solving the m brightness data and coordinate data obtained in the Nth column based on the least squares method. and , N is a positive integer greater than or equal to 2, for example: N is one of 2, 5, 10, 20, 30, 40, 50, ... 100, 200, 1000, etc., m is a positive integer greater than or equal to 2, for example: m is one of 2, 5, 10, 20, 30, 40, 50, ... 100, 200, 1000, etc., m is a positive integer greater than or equal to 2, and its mathematical expression is in the form of:

[0117] Formula 1

[0118] The corresponding matrix expression is:

[0119] Formula 2

[0120] Let X = , Y= , then B= =X T XY.

[0121] Similarly, for regions B, C, and D, the relationship coefficients between the first coordinate data and the first brightness data of the pixels to which they belong can be calculated by referring to the above process. and .

[0122] 305. Obtain first brightness compensation data by calculation according to the first coordinate data, the first brightness data and the relationship coefficient;

[0123] The terminal calculates the coefficient according to the first coordinate data, the first brightness data and the above formula 2 of the pixel in the first edge area or the second edge area. By performing calculations, the corrected brightness of these pixels can be obtained, and then combined with the brightness of the central area, the final first brightness compensation data can be calculated.

[0124] Assuming that the first edge area of ​​the screen is F1 and the size of F1 is 20*3820, then the corrected brightness corresponding to the first column of pixels in the first edge area F1 is The calculation formula can be:

[0125] Formula 4

[0126] Similarly, if the second edge area of ​​the screen is F3 and the size of F3 is 3820*20, then the corrected brightness corresponding to the third row of pixels in the second edge area F3 is The calculation formula can be:

[0127] Formula 5

[0128] Similarly, the first brightness data of the pixels in the first edge area and the second edge area F2 and F4 are also calculated by referring to the above process. and Calculation is performed to obtain a corrected brightness, and first brightness compensation data is calculated according to the corrected brightness.

[0129] 306. Perform brightness compensation on pixels located in at least one of the first edge region and the second edge region according to the first brightness compensation data to obtain second brightness data of the pixels;

[0130] In this embodiment, step 306 is similar to step 106 in the above embodiment and will not be described again here.

[0131] 307. Determine at least one row or at least one column of target pixels closest to the central area in the first edge area or the second edge area;

[0132] 308. Update the relationship coefficient according to the first brightness data and the second brightness data of at least one row or at least one column of target pixels;

[0133] 309. Obtain third brightness data of at least one row or at least one column of target pixels according to the second brightness data and the updated relationship coefficient, and use the third brightness data to perform brightness compensation on at least one row or at least one column of target pixels;

[0134] In this embodiment, after the first brightness compensation is performed on the pixels of at least one of the first edge area and the second edge area in step 306, it may happen that some pixels in the first edge area or the second edge area close to the center area of ​​the target image have a large difference in brightness from the pixels in the center area of ​​the target image, that is, some pixels in the first edge area or the second edge area close to the center area of ​​the target image may be corrected to a darker pixel brightness close to the edge of the target image. In this case, it is necessary to perform a second brightness compensation on the pixels in the first edge area or the second edge area close to the center of the target image.

[0135] In order to ensure the brightness smoothness and overall display effect of the first edge area or the second edge area and the central area, it is necessary to obtain at least one row or at least one column of target pixels close to the central area in the first edge area or the second edge area, and then adjust the corresponding relationship coefficients a and b here according to the first brightness data before compensation and the second brightness data after compensation at the target pixel.

[0136] Specifically, the terminal calculates the correction ratio of at least one row or at least one column of target pixels through a target formula according to a preset correction factor and an offset factor, and updates the relationship coefficient according to the correction ratio;

[0137] The target formula is:

[0138] Ratio = g1 / g2 * Mult + Add;

[0139] Among them, Ratio is the correction ratio, g1 is the first brightness data, g2 is the second brightness data, Mult is the correction factor, and Add is the offset factor. For example, Mult can be set to 1 and Add can be set to 0. Mult and Add can also be set according to different correction requirements, which are not limited here.

[0140] The terminal then calculates the correction ratio coefficient , The principle of adjustment is:

[0141] ' = Ratio * ;

[0142] ' = Ratio * ;

[0143] In some specific embodiments, the target pixel may be a row or a column of pixels closest to the central area in the first edge area or the second edge area.

[0144] The terminal performs brightness compensation calculation again according to the second brightness data of the target pixel and the updated relationship coefficient to obtain the third brightness data at the target pixel, and uses the third brightness data to perform brightness compensation on the above-mentioned at least one row or at least one column of target pixels, ensuring that the third brightness data of the target pixel after the second compensation has a certain correlation with the original first brightness data there, thereby ensuring that the brightness of the transition area and the central area is smoother.

[0145] 310. Perform brightness compensation on pixels located in the overlapping area according to the second brightness data.

[0146] In this embodiment, step 310 is similar to step 107 of the aforementioned embodiment and will not be described again here.

[0147] In this embodiment, the target image is first divided into a central area and an edge area around the central area, and the edge area includes a transitional first edge area, a second edge area, and an overlapping area. By obtaining a plurality of pixels in the first edge area or the second edge area, and the first coordinate data and the first brightness data of the pixels where the mura situation occurs, and solving the relationship coefficient between the position and the brightness based on the least squares method, the first brightness compensation data of the pixel is calculated using the relationship coefficient, and the corresponding pixel is brightness compensated according to the first brightness compensation data, and the pixels in the overlapping area are also brightness compensated. In addition, the present embodiment further determines the target pixel near the central area of ​​the target image in the first edge area or the second edge area, and performs secondary brightness compensation on the target pixel to reduce the brightness mutation problem that may be caused by primary brightness compensation. Through brightness correction and compensation, the brightness difference between the edge and the central area can be reduced, and the brightness distribution can be optimized. As a result, the Demura compensation effect of the edge area and the central area is displayed more smoothly, and the actual mura situation of the edge area can be fitted for accurate brightness compensation, and brightness mutation phenomenon is not easy to occur, which can better achieve brightness uniformity and effectively improve the display effect of the display panel.

[0148] The following is a detailed description of the device for display panel edge brightness compensation provided by the present application. Figure 5 , Figure 5 An embodiment of a device for compensating edge brightness of a display panel provided in the present application includes:

[0149] The acquisition unit 501 is used to acquire image data of a target image displayed on the display panel at a preset gray scale through a camera;

[0150] a dividing unit 502, configured to divide the target image into a central area and edge areas surrounding the central area according to the image data, wherein the edge areas include first edge areas located on opposite sides of the central area in a first direction, second edge areas located on opposite sides of the central area in a second direction, and an overlapping area between the first edge area and the second edge area, wherein the first direction intersects the second direction;

[0151] A first acquisition unit 503 is used to acquire first coordinate data and first brightness data of a plurality of pixels located in the first edge area or the second edge area and arranged sequentially from the central area to the edge area in the image data;

[0152] A second acquisition unit 504 is used to acquire a relationship coefficient between the first coordinate data and the first brightness data;

[0153] A calculation unit 505, configured to calculate first brightness compensation data according to the first coordinate data, the first brightness data and the relationship coefficient;

[0154] A first compensation unit 506, configured to perform brightness compensation on pixels located in at least one of the first edge region and the second edge region according to the first brightness compensation data to obtain second brightness data of the pixels;

[0155] The second compensation unit 507 is used to perform brightness compensation on the pixels located in the overlapping area according to the second brightness data.

[0156] Optionally, the first acquiring unit 503 is specifically configured to:

[0157] In the first edge area or the second edge area, and within a preset distance from the outer boundary line, the first coordinate data and the first brightness data of multiple pixels arranged in sequence from the center area to the edge area are determined, and the outer boundary line is the boundary line of the first edge area in the first direction or the second edge area in the second direction farther from the center area.

[0158] Optionally, the first acquiring unit 503 is further configured to:

[0159] Determine whether there is a mura area in the first edge area or the second edge area;

[0160] If yes, first coordinate data and first brightness data of a plurality of pixels arranged in sequence from the central area to the edge area in the mura area are obtained.

[0161] Optionally, the second acquiring unit 504 is specifically configured to:

[0162] The least square method is applied to fit the first coordinate data and the first brightness data of a plurality of pixels in each column or each row, and the relationship coefficient between the first coordinate data and the first brightness data is obtained by solving.

[0163] Optionally, the system further includes: a third compensation unit 508, configured to:

[0164] Determine at least one row or at least one column of target pixels closest to the central area in the first edge area or the second edge area;

[0165] updating the relationship coefficient according to the first brightness data and the second brightness data of at least one row or at least one column of target pixels;

[0166] The third brightness data of at least one row or at least one column of target pixels is calculated according to the second brightness data and the updated relationship coefficient, and the third brightness data is used to perform brightness compensation on at least one row or at least one column of target pixels.

[0167] Optionally, the third compensation unit 508 is further configured to:

[0168] According to the preset correction factor and offset factor, a correction ratio of at least one row or at least one column of target pixels is calculated by a target formula, and the relationship coefficient is updated according to the correction ratio;

[0169] The target formula is:

[0170] Ratio = g1 / g2 * Mult + Add;

[0171] Among them, Ratio is the correction ratio, g1 is the first brightness data, g2 is the second brightness data, Mult is the correction factor, and Add is the offset factor.

[0172] Optionally, the edge region further includes a third edge region located between the first edge region and the central region, and a fourth edge region located between the second edge region and the central region.

[0173] In the device of this embodiment, the functions of each unit are the same as those described above. Figure 1 or Figure 3 The steps in the method embodiment shown correspond to each other and will not be repeated here.

[0174] This application also provides, see Figure 6 , Figure 6 Another embodiment of the device for display panel edge brightness compensation provided by the present application includes:

[0175] Processor 601, memory 602, input and output unit 603, bus 604;

[0176] The processor 601 is connected to the memory 602, the input and output unit 603 and the bus 604;

[0177] The memory 602 stores a program, and the processor 601 calls the program to execute any of the above display panel edge brightness compensation methods.

[0178] The present application also relates to a computer-readable storage medium, on which a program is stored. When the program is run on a computer, the computer executes any of the above methods.

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

[0180] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

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

[0182] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0183] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, 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. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk, etc. Various media that can store program codes.

Claims

1. A method for compensating edge brightness of a display panel, characterized in that: The display panel includes a plurality of pixels distributed in an array, and the method includes: Capturing a target image displayed by the display panel at a preset gray scale, and acquiring image data of the target image; Dividing the target image into a central area and edge areas surrounding the central area according to the image data, the edge areas comprising first edge areas located at opposite sides of the central area in a first direction, second edge areas located at opposite sides of the central area in a second direction, and an overlapping area between the first edge area and the second edge area, the first direction intersecting the second direction; Acquire first coordinate data and first brightness data of a plurality of pixels in the image data that are located in the first edge area or the second edge area and are arranged sequentially from the central area to the edge area; Acquire a relationship coefficient between the first coordinate data and the first brightness data; Calculate first brightness compensation data according to the first coordinate data, the first brightness data and the relationship coefficient; Performing brightness compensation on the pixel located in at least one of the first edge area and the second edge area according to the first brightness compensation data to obtain second brightness data of the pixel; Performing brightness compensation on the pixels located in the overlapping area according to the second brightness data; After performing brightness compensation on the pixels located in at least one of the first edge area and the second edge area according to the first brightness compensation data to obtain second brightness data of the pixels, the method further includes: Determine at least one row or at least one column of target pixels closest to the central area in the first edge area or the second edge area; updating the relationship coefficient according to the first brightness data and the second brightness data of the at least one row or at least one column of target pixels; The third brightness data of the at least one row or at least one column of target pixels is calculated according to the second brightness data and the updated relationship coefficient, and the third brightness data is used to perform brightness compensation on the at least one row or at least one column of target pixels.

2. The method according to claim 1, characterized in that The acquiring of first coordinate data and first brightness data of a plurality of pixels in the image data that are located in the first edge area or the second edge area and are arranged sequentially from the central area to the edge area includes: In the first edge area or the second edge area, and within a preset distance from the outer boundary line, determine the first coordinate data and first brightness data of a plurality of pixels arranged in sequence from the center area toward the edge area, and the outer boundary line is the boundary line of the first edge area in the first direction or the second edge area in the second direction at a farther end from the center area.

3. The method according to claim 2, characterized in that Before acquiring the relationship coefficient between the first coordinate data and the first brightness data, the method further includes: Determine whether there is a mura area in the first edge area or the second edge area; If yes, first coordinate data and first brightness data of a plurality of pixels arranged in sequence from the central area to the edge area in the mura area are obtained.

4. The method according to claim 2, characterized in that: Acquiring a relationship coefficient between the first coordinate data and the first brightness data, including: The least square method is applied to fit the first coordinate data and the first brightness data of the plurality of pixels in each column or each row, and the relationship coefficient between the first coordinate data and the first brightness data is obtained by solving.

5. The method according to claim 1, characterized in that The updating of the relationship coefficient according to the first brightness data and the second brightness data of the at least one row or at least one column of target pixels comprises: According to the preset correction factor and offset factor, the correction ratio of the at least one row or at least one column of target pixels is calculated by a target formula, and the relationship coefficient is updated according to the correction ratio; The target formula is: Ratio = g1 / g2 * Mult + Add; Among them, Ratio is the correction ratio, g1 is the first brightness data, g2 is the second brightness data, Mult is the correction factor, and Add is the offset factor.

6. The method according to claim 1, characterized in that The edge region further includes a third edge region located between the first edge region and the central region, and a fourth edge region located between the second edge region and the central region.

7. A device for compensating the brightness of a display panel edge, characterized in that: The display panel includes a plurality of pixels distributed in an array, and the device includes: An acquisition unit, used for acquiring image data of a target image displayed by the display panel at a preset gray scale through a camera; a dividing unit, configured to divide the target image into a central area and edge areas surrounding the central area according to the image data, the edge areas comprising first edge areas located on opposite sides of the central area in a first direction, second edge areas located on opposite sides of the central area in a second direction, and an overlapping area between the first edge areas and the second edge areas, the first direction intersecting the second direction; A first acquisition unit is used to acquire first coordinate data and first brightness data of a plurality of pixels in the image data that are located in the first edge area or the second edge area and are arranged sequentially from the central area to the edge area; A second acquisition unit, used for acquiring a relationship coefficient between the first coordinate data and the first brightness data; a calculation unit, configured to calculate first brightness compensation data according to the first coordinate data, the first brightness data and the relationship coefficient; a first compensation unit, configured to perform brightness compensation on the pixel located in at least one of the first edge area and the second edge area according to the first brightness compensation data, so as to obtain second brightness data of the pixel; A second compensation unit, configured to perform brightness compensation on the pixels located in the overlapping area according to the second brightness data; The device further comprises: a third compensation unit, configured to: Determine at least one row or at least one column of target pixels closest to the central area in the first edge area or the second edge area; updating the relationship coefficient according to the first brightness data and the second brightness data of the at least one row or at least one column of target pixels; The third brightness data of the at least one row or at least one column of target pixels is calculated according to the second brightness data and the updated relationship coefficient, and the third brightness data is used to perform brightness compensation on the at least one row or at least one column of target pixels.

8. A device for compensating the edge brightness of a display panel, characterized in that: The device comprises: Processor, memory, input-output unit, and bus; The processor is connected to the memory, the input and output unit, and the bus; The memory stores a program, and the processor calls the program to execute the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program, and when the program is executed on a computer, the method according to any one of claims 1 to 6 is performed.