A method, system, device and storage medium for brightness compensation of display screen
By performing segmented correction and adjustment of the brightness processing images of the display screen under different gray levels, the problem of difficulty in accurately controlling the brightness of the edge area of the display screen in the prior art is solved, and more uniform brightness compensation is achieved and display quality is improved.
Patent Information
- Application Number
- CN202411473434.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-10-22
AI Technical Summary
Existing display brightness compensation technology is difficult to accurately control the brightness of edge areas, resulting in uneven brightness and affecting the display quality.
By acquiring the brightness processing images of the display screen under different gray levels, accurately identifying the edge area, performing segmented correction and adjustment of the brightness data of the edge area, and finally accurately compensate the display screen based on the corrected brightness data.
It effectively improves the uneven brightness phenomenon in the edge area, improves the display quality of the display screen, and improves the problem of over-compensation and under-compensation in the transition area of the black frame after brightness compensation.
Smart Images

Figure CN118982974B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of display screen brightness compensation, and in particular to a display screen brightness compensation method, system, device and storage medium. Background Art
[0002] In display technology, due to the influence of many factors such as manufacturing process, material properties and circuit design, the brightness of the edge area of the display is often significantly different from that of the central area. Specifically, when the display shows images of different grayscales, the edge area is prone to appear darker or brighter, especially at low and high grayscales. This uneven brightness not only affects the overall quality of the image, but may also cause color distortion and reduced contrast.
[0003] Most existing brightness compensation technologies perform global adjustments on the entire display screen, which makes it difficult to accurately control the brightness of the edge area. After brightness compensation, the edge of the display screen is prone to under-compensation or over-compensation and uneven brightness transition, which makes the brightness of the edge area of the display screen uneven, resulting in poor display quality. Summary of the invention
[0004] The present application provides a method, system, device and storage medium for brightness compensation of a display screen. By acquiring brightness processing images of the display screen at different grayscales and accurately identifying edge areas, the brightness data of the edge areas are segmented and corrected and adjusted. Finally, the display screen is accurately compensated according to the corrected brightness data, thereby effectively improving the brightness unevenness of the edge areas and improving the display quality of the display screen.
[0005] In a first aspect, the present application provides a display screen brightness compensation method, the method comprising:
[0006] Capturing the target image displayed on the display screen at a preset gray scale by using a camera;
[0007] Dividing the target image into a central area and a marginal area surrounding the central area;
[0008] Determine a standard brightness range corresponding to the edge area, and calculate an edge brightness relationship coefficient corresponding to the edge area through the standard brightness range;
[0009] Performing segmented correction and adjustment on the original brightness data of the edge area by using the edge brightness relationship coefficient to obtain corrected brightness data;
[0010] Calculate target corrected brightness data of a boundary overlap area according to the corrected brightness data and the original brightness data, wherein the boundary overlap area is an area where the edge area overlaps;
[0011] The display screen is subjected to brightness compensation according to the target corrected brightness data and the corrected brightness data.
[0012] Optionally, determining a standard brightness range corresponding to the edge area, and calculating an edge brightness relationship coefficient corresponding to the edge area through the standard brightness range includes:
[0013] After setting a ROI region on the target image, a labeled image is generated, wherein the ROI region is a region within a black frame on the target image;
[0014] Preprocessing the annotated image to obtain a preprocessed image;
[0015] Determine a standard brightness range of an edge region in the preprocessed image, and obtain original brightness data and corresponding corrected brightness data of any pixel point in the edge region;
[0016] The standard brightness mean of each row or column in the edge area is calculated, and the edge brightness relationship coefficient corresponding to the edge area is calculated according to the standard brightness mean and the row coordinate or column coordinate corresponding to the standard brightness mean.
[0017] Optionally, performing segmented correction and adjustment on the original brightness data of the edge area by using the edge brightness relationship coefficient to obtain corrected brightness data includes:
[0018] Identifying a black frame transition area and a mura area in the edge area;
[0019] The original brightness data of each row or column in the edge black frame transition area and the mura area are segmented and adjusted by the edge brightness relationship coefficient and the segmented correction strategy to obtain the corrected brightness data of each row or column. The segmented correction strategy includes using an adjustment factor to adjust the brightness data of the black frame transition area and the mura area.
[0020] Optionally, calculating target corrected brightness data of the boundary overlap area according to the corrected brightness data and the original brightness data includes:
[0021] Acquire an adjacent edge region overlapping the boundary region;
[0022] Determine the edge black frame transition area and the mura area to be corrected in sections in the adjacent edge area;
[0023] The target corrected brightness data of the edge black frame transition area and the mura area to be corrected in sections are calculated according to the corrected brightness data and the original brightness data.
[0024] Optionally, performing brightness compensation on the display screen according to the target corrected brightness data and the corrected brightness data includes:
[0025] Calculating respectively according to the brightness compensation algorithm and the target corrected brightness data and the corrected brightness data to obtain first brightness compensation data and second brightness compensation data;
[0026] Performing brightness compensation on the boundary overlap area according to the first brightness compensation data;
[0027] Brightness compensation is performed on the edge area according to the second brightness compensation data.
[0028] Optionally, performing segmented correction and adjustment on the original brightness data of the edge area by using the edge brightness relationship coefficient to obtain corrected brightness data includes:
[0029] Acquire original brightness data of the edge area;
[0030] The original brightness data of the edge area is corrected and adjusted in sections using the edge brightness relationship coefficient to obtain the corrected brightness data.
[0031] Optionally, dividing the target image into a central area and a marginal area surrounding the central area includes:
[0032] The target image is divided into a central area and a first edge area, a second edge area, a third edge area and a fourth edge area surrounding the central area.
[0033] A second aspect of the present application provides a display screen brightness compensation system, the system comprising:
[0034] A collection unit, used for collecting a target image displayed on the display screen at a preset gray scale through a camera;
[0035] A division unit, used for dividing the target image into a central area and a marginal area surrounding the central area;
[0036] A first calculation unit is used to determine a standard brightness range corresponding to the edge area and calculate an edge brightness relationship coefficient corresponding to the edge area through the standard brightness range;
[0037] An acquisition unit, configured to perform segmented correction and adjustment on the original brightness data of the edge area by using the edge brightness relationship coefficient to acquire corrected brightness data;
[0038] A second calculation unit, configured to calculate target corrected brightness data of a boundary overlap area according to the corrected brightness data and the original brightness data, wherein the boundary overlap area is an area where the edge area overlaps;
[0039] The brightness compensation unit is used to perform brightness compensation on the display screen according to the target correction brightness data and the corrected brightness data.
[0040] A third aspect of the present application provides a display screen brightness compensation device, the device comprising:
[0041] processor, memory, input-output unit, and bus;
[0042] The processor is connected to the storage, the input and output unit, and the bus;
[0043] The storage stores a program, and the processor calls the program to execute the first aspect and any optional method in the first aspect.
[0044] 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.
[0045] It can be seen from the above technical solutions that this application has the following advantages:
[0046] (1) By acquiring the brightness processing images of the display screen at different grayscales and accurately identifying the edge area, the brightness data of the edge area is segmented and adjusted, and finally the display screen is accurately compensated according to the corrected brightness data, thereby effectively improving the brightness unevenness of the edge area and improving the display quality of the display screen.
[0047] (2) According to the display conditions of the edge area, the brightness data of the black frame transition area and mura area at the edge of the display screen is corrected in segments, which can effectively improve the problem of over-compensation and under-compensation in the black frame transition area after brightness compensation. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] 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.
[0049] Figure 1 A schematic flow chart of an embodiment of a brightness compensation method for a display screen of the present application;
[0050] Figure 2 A schematic flow chart of another embodiment of the brightness compensation method for a display screen of the present application;
[0051] Figure 3 A schematic flow chart of another embodiment of the brightness compensation method for a display screen of the present application;
[0052] Figure 4 A schematic flow chart of another embodiment of the brightness compensation method for a display screen of the present application;
[0053] Figure 5 A schematic flow chart of another embodiment of the brightness compensation method for a display screen of the present application;
[0054] Figure 6 A schematic diagram of a flow chart of an embodiment of a brightness compensation system for a display screen of the present application;
[0055] Figure 7 A schematic diagram of a flow chart of an embodiment of a brightness compensation device for a display screen of the present application;
[0056] Figure 8 A target image with a ROI envelope frame set;
[0057] Fig. 9 Schematic diagram of the black frame transition area and mura area in the left edge and upper edge area of the target image. DETAILED DESCRIPTION
[0058] The present application provides a method, system, device and storage medium for brightness compensation of a display screen. By acquiring brightness processing images of the display screen at different grayscales and accurately identifying edge areas, the brightness data of the edge areas are segmented and corrected and adjusted. Finally, the display screen is accurately compensated according to the corrected brightness data, thereby effectively improving the brightness unevenness of the edge areas and improving the display quality of the display screen.
[0059] It should be noted that the brightness compensation method for a display screen provided in this application can be applied to a terminal or a server. For example, the terminal can be a tablet computer, a portable computer terminal, or a fixed terminal such as a desktop computer. For the convenience of explanation, this application uses a terminal as an example for explanation.
[0060] See also Figure 1 , Figure 1 An embodiment of a brightness compensation method for a display screen provided in the present application includes:
[0061] 101. Capturing a target image displayed on the display screen at a preset gray scale through a camera;
[0062] In the embodiment of the present application, capturing the target image displayed on the display screen at a preset gray scale by a camera is the basis of the entire display screen edge brightness compensation scheme, and its purpose is to obtain the actual brightness distribution of the display screen at the preset gray scale for subsequent analysis and processing. It should be noted that the preset gray scale is a gray scale value in the range of 0-255, and a target image of any gray scale is obtained within this gray scale range. Specifically, select an industrial camera with high resolution and high sensitivity, and perform necessary calibration on the industrial camera, including adjusting parameters such as white balance and exposure time, to ensure that the captured image can accurately reflect the actual brightness of the display screen, and then adjust the display screen to a preset grayscale value, which can be any value in the range of 0 to 255. It is selected according to actual needs and is not specifically limited here. During the shooting process, ensure that the display screen is in a stable working state without abnormal phenomena such as flickering or jitter, and ensure that the light in the shooting environment is stable to avoid external light from interfering with the shooting results. Then use the camera to shoot the picture displayed on the display screen at the current grayscale, remove noise, enhance contrast, and other processing on the captured image to obtain the target image. After obtaining the target image, execute step 102.
[0063] 102. Divide the target image into a central area and a marginal area surrounding the central area;
[0064] In the embodiment of the present application, the purpose of dividing the target image into a central area and an edge area surrounding the central area is to perform targeted analysis and processing on different areas of the display screen, especially to perform brightness compensation on the edge area.
[0065] Specifically, the specific division of the center area and edge area of the display screen is determined according to the actual size and shape of the display screen. Usually, the center area is the part of the display screen with relatively uniform and stable brightness, while the edge area is the part surrounding the center area that may have uneven brightness. Usually, the image can be divided into strip areas of equal width or height according to pixel coordinates, or divided into different areas according to image brightness, contrast and other characteristics. The specific area division method is not specifically limited here and can be set according to actual conditions. By dividing the target image into the center area and the edge area, basic data can be provided for the subsequent edge brightness compensation processing, so that the problem of uneven brightness at the edge of the display screen can be targeted, which helps to improve the overall display quality of the display screen.
[0066] 103. Determine a standard brightness range corresponding to the edge area, and calculate an edge brightness relationship coefficient corresponding to the edge area through the standard brightness range;
[0067] In an embodiment of the present application, the purpose of determining the standard brightness range corresponding to the edge area and calculating the edge brightness relationship coefficient corresponding to the edge area through the standard brightness range is to clarify the brightness standard of the edge area under ideal conditions, and generate the edge brightness relationship coefficient based on the difference between the actual brightness and the standard brightness. The edge relationship brightness coefficient represents the relationship between the actual brightness and the standard brightness.
[0068] Specifically, it is necessary to establish a standard brightness range, which is a relatively ideal brightness range for the edge area. This brightness range represents the brightness level of the edge area under the best display state. After the standard brightness range is established, the brightness data is extracted from the divided edge area. The extracted brightness data reflects the actual brightness of the edge area under the current display state. Then, the edge relationship coefficient is calculated based on the brightness data of each row / column in the standard brightness area. The edge brightness relationship coefficient quantifies the ratio or difference between the actual brightness of the edge area and the standard brightness.
[0069] The edge brightness relationship coefficient can be obtained by the following method:
[0070] First, set the screen ROI area for the target image. The ROI area does not include the black frame of the screen. Then, coordinate transformation, geometric correction, Gaussian filtering and other image preprocessing are performed on the target image with the ROI area. After avoiding the adverse effects of camera lens distortion, noise and background area on the compensation effect, the standard brightness range of the four edge areas of T, B, L and R in the display screen is obtained, which are represented by ST, SB, SL and SR respectively. Please refer to Figure 8 .
[0071] Among them, since there are four edge areas in total, the upper left corner of the ROI area of the target image is taken as the origin as the reference direction, and the coordinates of the four vertices of the ROI area are set to (x1, y1), (x1, y2), (x2, y1) and (x2, y2). The size of the standard brightness ranges ST, SB, SL and SR of the four edge areas is (x2-x1)*a, (x2-x1)*b, (y2-y1)*c and (y2-y1)*d, and the brightness data of any corresponding pixel point are P(ST)( pixel(i, j)), P(SB)( pixel(i, j), P(SL)( pixel(i, j)) and P(SR)( pixel(i, j)). The original brightness data corresponding to the four edge areas T, B, L and R are P(T)( pixel(i, j)), P(B)( pixel(i, j), P(L)( pixel(i, j)) and P(R)( pixel(i, j)), and the corresponding corrected brightness data is P(T)'( pixel(i,j)), P(B)'(pixel(i,j), P(L)'(pixel(i,j)) and P(R)'(pixel(i,j)).
[0072] The average standard brightness of each row corresponding to the standard brightness range ST to which the upper edge area T of the target image belongs is calculated, which can be expressed by formula 1:
[0073] (Formula 1)
[0074] Similarly, referring to the above process, the standard brightness mean value of each row corresponding to the standard brightness range SB to which the edge area B belongs can be calculated: ; The average value of the standard brightness of each column corresponding to the standard brightness range SL to which the edge area L belongs: ; The mean value of the standard brightness of each column corresponding to the standard brightness range SR to which the edge area R belongs: .
[0075] Then, the edge brightness relationship coefficient is solved by using the standard brightness mean and row coordinate position of each row in the standard brightness range ST of the upper edge area T of the target image to perform a linear equation system and , its mathematical expression is:
[0076] (Formula 2)
[0077] Similarly, referring to the above process, the standard brightness mean and row coordinate position of each row in the standard brightness range SB to which the edge area B belongs can be calculated to solve the edge brightness relationship coefficient and , the edge brightness relationship coefficient is solved by the standard brightness mean and column coordinate position of each column in the standard brightness range SL to which the edge area L belongs and , the edge brightness relationship coefficient is solved by the standard brightness mean and column coordinate position of each column in the standard brightness range SR to which the edge area R belongs and .
[0078] The edge brightness relationship coefficient corresponding to the edge area can be calculated by formula 1 and formula 2. After the edge brightness relationship coefficient is obtained, step 104 is executed.
[0079] 104. Performing segmented correction and adjustment on the original brightness data of the edge area by using the edge brightness relationship coefficient to obtain corrected brightness data;
[0080] In an embodiment of the present application, the original brightness data of the edge area is segmentedly corrected and adjusted by the edge brightness relationship coefficient to obtain the corrected brightness data. The goal is to use the edge brightness relationship coefficient calculated previously to adjust the original brightness data of the edge area, so as to obtain corrected data that is closer to the ideal brightness.
[0081] Specifically, the edge brightness relationship coefficient reflects the difference between the actual brightness of the edge area and the standard brightness, and is the basis for subsequent correction and adjustment. First, the original brightness data is extracted from the edge area. This part of the original data represents the brightness of the edge area before correction. Then, based on the edge brightness relationship coefficient and the original brightness data, a segmented correction strategy is formulated. That is, the brightness data of the edge area is divided into several segments, and each segment is corrected to different degrees according to its brightness level and the degree of difference from the standard brightness.
[0082] The original brightness data is corrected and adjusted according to the segmented correction strategy. For each segment of brightness data, the corrected brightness value is calculated according to the edge brightness relationship coefficient.
[0083] Among them, it should be noted that after the target image is processed, there will still be some black frame transition areas in the edge area. The original brightness data of the black frame transition area will cause the brightness compensation method to be ineffective at the corners of the screen, resulting in over-compensation. Therefore, when correcting the edge area, the original brightness data of the edge black frame transition area also needs to be corrected and adjusted.
[0084] Now take the left edge area L of the target image as an example, see Fig. 9First, assume that the width of the black frame transition area of the edge area L is W1 (blue dotted line part), and the width of the other areas that need to be corrected are W2 (red dotted line part) and W3 (green dotted line part). When correcting the edge area, the black frame transition area must be corrected. Other segments of the edge area can be corrected in segments according to actual conditions. The optional segmented correction area combination can be W1 and W2, W1 and W3, W1~W3, which is not specifically limited here. Then, the edge brightness relationship coefficient and the original brightness data of each column of the edge black frame transition area and the mura area are used to perform segmented correction to obtain the corrected brightness data of each column. The corresponding calculation formula is:
[0085] (Formula 3)
[0086] in, , , It is the adjustment factor corresponding to the edge black frame transition area and mura area. , , Generally the default value is 0. The adjustment factor is used to solve the over-compensation and under-compensation problems, and the brightness uniformity between the black frame transition area and the mura area.
[0087] Similarly, for the edge black frame transition area and mura area belonging to the screen edge areas T, B, and R, the original brightness data of each area can be segmentedly corrected according to the above process to obtain the corrected brightness data P(T)'(pixel(i, j)), P(B)'( pixel(i, j) for each row and the corrected brightness data P(R)'( pixel(i, j)) for each column.
[0088] 105. Calculate target corrected brightness data of a boundary overlap area according to the corrected brightness data and the original brightness data, wherein the boundary overlap area is an area where the edge area overlaps;
[0089] In the embodiment of the present application, the boundary overlapping area refers to the portion where the edge area physically overlaps with the central area or other edge areas during the brightness compensation process of the display screen edge. Since the boundary overlapping area is located at the junction of multiple brightness correction areas, its brightness correction must ensure a natural and smooth brightness transition.
[0090] Specifically, we first need to analyze the brightness difference on both sides of the overlapping area, including the brightness difference between the edge area and the center area, and the brightness difference between different edge areas. In order to ensure a natural and smooth brightness transition, we need to gradually adjust the brightness value in the overlapping area so that it can smoothly transition from one area to the other.
[0091] Specifically, for brightness uniformity and overall display effect in the border overlap area, please refer to Figure 1 , the following processing method is now provided for the original brightness data of the four corner overlap areas LT, LB, TR and BR in the edge area:
[0092] Taking the overlapping area LT as an example, the brightness data of the upper edge area T and the lower edge area L adjacent to the overlapping area LT may have the following three situations:
[0093] (1) Only the edge black frame transition area and mura area corresponding to the upper edge area T are corrected in sections, and the corrected brightness data of each row [P(T)'(pixel(0, y)): P(T)'(pixel(H3, y)] is obtained. Therefore, the final corrected brightness data of the overlapping area LT is calculated by formula 4 as follows:
[0094]
[0095] (Formula 4)
[0096] (2) Only the edge black frame transition area and mura area corresponding to the lower edge area L were corrected in sections, and the corrected brightness data of each column [P(T) ( pixel(x,0) ): P(T) ( pixel(x, w3)], so the final corrected brightness data of the overlapping area LT is:
[0097]
[0098] (Formula 5)
[0099] (3) The edge black frame transition area and mura area corresponding to the upper and lower edge areas L are corrected in sections, and the corrected brightness data of each row is obtained [P(T) ( pixel(0, y) ): P(T) (pixel(H3,y)] and the corrected brightness data of each column [P(T) ( pixel(x,0) ): P(T) ( pixel(x, w3)], so the final corrected brightness data of the overlapping area LT is:
[0100]
[0101] (Formula 6)
[0102] According to the above steps, the original brightness data of the edge black frame transition area and the mura area corresponding to the edge of the screen can be segmented and corrected to obtain the target corrected brightness data.
[0103] 106. Perform brightness compensation on the display screen according to the target corrected brightness data and the corrected brightness data.
[0104] In an embodiment of the present application, calculations are performed respectively according to a brightness compensation algorithm and target corrected brightness data and corrected brightness data to obtain first brightness compensation data and second brightness compensation data, and then brightness compensation is performed on the boundary overlapping area according to the calculated first brightness compensation data, and brightness compensation is performed on the edge area according to the second brightness compensation data, so that the brightness of the edge area of the display screen meets the requirements.
[0105] Reference Figure 2 According to some embodiments of the present invention, determining the standard brightness range corresponding to the edge area in step 103, and calculating the edge brightness relationship coefficient corresponding to the edge area through the standard brightness range may specifically include, but is not limited to, the following:
[0106] 201. Generate a labeled image after setting a ROI region on the target image, wherein the ROI region is a region within a black frame on the target image;
[0107] 202. Preprocess the annotated image to obtain a preprocessed image;
[0108] 203. Determine a standard brightness range of an edge region in the preprocessed image, and obtain original brightness data and corresponding corrected brightness data of any pixel point in the edge region;
[0109] 204. Calculate the standard brightness mean of each row or column in the edge area, and calculate the edge brightness relationship coefficient corresponding to the edge area according to the standard brightness mean and the row coordinate or column coordinate corresponding to the standard brightness mean.
[0110] In an embodiment of the present application, a labeled image is generated after setting a ROI area on the target image. The ROI area is the area in the target image that does not contain the black frame of the screen. After the ROI area is set, the image with the ROI area set is used to generate a labeled image. Then, the labeled image is preprocessed. Preprocessing refers to image preprocessing such as coordinate transformation, geometric correction, and Gaussian filtering on the labeled image, so as to avoid the adverse effects of camera lens distortion, noise, and background areas on the compensation effect. After preprocessing the labeled image, a preprocessed image is obtained. After obtaining the preprocessed image, the standard brightness range of the edge area can be determined. For the acquisition of the standard brightness range, refer to the description in the previous steps, which will not be repeated here. In the edge area, select any pixel point, and then obtain the original brightness data of the pixel point, that is, its actual brightness value in the preprocessed image, and then calculate the corresponding corrected brightness data of the pixel point, that is, the brightness value after processing or adjustment.
[0111] Furthermore, in the edge area, the average brightness of each row or column of pixels is calculated.
[0112] This mean represents the average brightness level of the pixels in that row or column. Based on the calculated standard brightness mean and the corresponding row coordinates or column coordinates, a brightness-position relationship curve can be fitted. By analyzing this relationship curve, the edge brightness relationship coefficient corresponding to the edge area can be obtained. The edge relationship brightness coefficient is calculated based on the brightness data of each row / column in the standard brightness area range, and can be used as the basis for subsequent brightness adjustments.
[0113] Reference Figure 3 According to some embodiments of the present invention, the step 104 of performing segmented correction and adjustment on the original brightness data of the edge area by using the edge brightness relationship coefficient to obtain the corrected brightness data may specifically include, but is not limited to, the following:
[0114] 301. Identify a black frame transition area and a mura area in the edge area;
[0115] 302. Perform segmented correction and adjustment on the original brightness data of each row or column in the edge black frame transition area and the mura area through the edge brightness relationship coefficient and the segmented correction strategy to obtain corrected brightness data of each row or column, wherein the segmented correction strategy includes adjusting the brightness data of the black frame transition area and the mura area using an adjustment factor.
[0116] In an embodiment of the present application, the black frame transition area refers to the brightness gradient area generated by the black frame mark at the edge of the ROI area. Identifying this area can be achieved by detecting significant changes in the brightness value, that is, there will be obvious differences in the brightness values inside and outside the black frame. The black frame transition area can be automatically identified by image processing technology, such as edge detection algorithm. Mura area refers to areas of uneven brightness that appear on the display screen. These areas may be caused by manufacturing process or material problems. Identifying mura areas can be achieved by analyzing the brightness distribution in the image. Usually, the brightness values of these areas will be significantly different from other normal areas.
[0117] Image processing techniques, such as threshold segmentation or clustering algorithms, can be used to automatically identify mura areas.
[0118] When performing brightness correction, the edge brightness relationship coefficient can be used to adjust the brightness data of the black frame transition area and the mura area to make it more consistent with the ideal brightness distribution. Among them, the segmented correction strategy refers to dividing the edge area or mura area into multiple segments, and each segment uses a different adjustment factor for brightness correction.
[0119] The use of segmented correction strategies can more finely control the brightness correction process to adapt to the correction needs of different areas or under different brightness conditions.
[0120] For the original brightness data of each row or column, the corresponding adjustment factor is applied for correction according to the segmented correction strategy and the identification results of the black frame transition area and the mura area. The corrected brightness data should be closer to the ideal brightness distribution, thereby improving the brightness uniformity and overall display effect of the display.
[0121] Reference Figure 4 According to some embodiments of the present invention, the target corrected brightness data of the boundary overlap area calculated according to the corrected brightness data and the original brightness data in step 105 may specifically include, but is not limited to, the following:
[0122] 401. Acquire an adjacent edge region overlapping the boundary region;
[0123] 402. Determine the edge black frame transition area and the mura area to be corrected in sections in the adjacent edge area;
[0124] 403. Calculate target corrected brightness data of the edge black frame transition area and the mura area to be segmented corrected according to the corrected brightness data and the original brightness data.
[0125] In the embodiment of the present application, the border overlap area refers to the part where two or more areas on the display screen meet. The brightness or color of these areas may be inconsistent due to the brightness settings of different areas or manufacturing process differences. The adjacent edge area refers to the edge area adjacent to the border overlap area. These areas may be affected by the inconsistent brightness of the border overlap area. The method for obtaining the adjacent edge area can be determined by image analysis technology, such as region growing, connected domain analysis, etc., to determine the edge area adjacent to the border overlap area.
[0126] After determining the adjacent edge area, further analyze the adjacent edge area, perform brightness analysis on the adjacent edge area, identify the edge black frame transition area, that is, the area where the brightness gradually transitions from the black frame to the inside of the display screen, and identify the mura area, that is, the area with uneven brightness. After identifying the edge black frame transition area and mura area on the adjacent edge area, determine the edge black frame transition area and mura area that need to be corrected in sections according to the results of the brightness analysis. The purpose of the section correction is to better adapt to the brightness characteristics of different areas to achieve more accurate brightness compensation. Then, the corrected brightness data is combined with the original brightness data, and the corrected brightness data is compared with the original brightness data to determine the brightness adjustment that needs to be made. Then, based on the comparison results, the target corrected brightness data of the edge black frame transition area and mura area to be corrected in sections is calculated.
[0127] Reference Figure 5 According to some embodiments of the present invention, the step 104 of performing segmented correction and adjustment on the original brightness data of the edge area by using the edge brightness relationship coefficient to obtain the corrected brightness data may specifically include, but is not limited to, the following:
[0128] 501. Obtain original brightness data of the edge area;
[0129] 502. Perform segmented correction and adjustment on the original brightness data of the edge area using the edge brightness relationship coefficient to obtain the corrected brightness data.
[0130] In an embodiment of the present application, before correcting the original brightness data of the edge area, the original brightness data of the edge area is first obtained, and then the original brightness data of the edge area is corrected and adjusted in sections according to the edge brightness relationship coefficient to obtain the corrected brightness data.
[0131] See also Figure 6 , Figure 6 An embodiment of a display screen brightness compensation system provided by the present application, the system comprising:
[0132] The acquisition unit 601 is used to acquire a target image displayed on the display screen at a preset gray scale through a camera;
[0133] A division unit 602 is used to divide the target image into a central area and a peripheral area surrounding the central area;
[0134] A first calculation unit 603 is used to determine a standard brightness range corresponding to the edge area and calculate an edge brightness relationship coefficient corresponding to the edge area through the standard brightness range;
[0135] An acquisition unit 604 is used to perform segmented correction and adjustment on the original brightness data of the edge area by using the edge brightness relationship coefficient to obtain corrected brightness data;
[0136] A second calculation unit 605 is used to calculate target corrected brightness data of a boundary overlap area according to the corrected brightness data and the original brightness data, wherein the boundary overlap area is an area where the edge area overlaps;
[0137] The brightness compensation unit 606 is used to perform brightness compensation on the display screen according to the target correction brightness data and the corrected brightness data.
[0138] See also Figure 7 The present application also provides a display screen brightness compensation device, the device comprising:
[0139] Processor 701, storage 702, input and output unit 703, bus 704;
[0140] The processor 701 is connected to the storage 702, the input and output unit 703 and the bus 704;
[0141] The storage 702 stores a program, and the processor 701 calls the program to execute any of the above display screen brightness compensation methods.
[0142] 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 display brightness compensation.
[0143] 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.
[0144] 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.
[0145] 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.
[0146] 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.
[0147] 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 execute 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 display screen brightness compensation method, characterized in that: The method comprises: Capturing the target image displayed on the display screen at a preset gray scale by using a camera; Dividing the target image into a central area and a marginal area surrounding the central area; Determine a standard brightness range corresponding to the edge area, and calculate an edge brightness relationship coefficient corresponding to the edge area through the standard brightness range; Identify the black frame transition area and the mura area in the edge area, and perform combined segmented correction and adjustment on the original brightness data of each row or column in the black frame transition area and the mura area and other segments of the edge area through the edge brightness relationship coefficient and the segmented correction strategy to obtain corrected brightness data of each row or column; the segmented correction strategy includes using an adjustment factor to adjust the brightness data of the black frame transition area and the mura area, and the combined segmented correction and adjustment is to combine and adjust the black frame transition area and the mura area with other segments of the edge area; Calculate target corrected brightness data of a boundary overlap area according to the corrected brightness data and the original brightness data, wherein the boundary overlap area is an area where the edge area overlaps; The display screen is subjected to brightness compensation according to the target corrected brightness data and the corrected brightness data.
2. The display screen brightness compensation method according to claim 1, characterized in that: Determining a standard brightness range corresponding to the edge area, and calculating an edge brightness relationship coefficient corresponding to the edge area through the standard brightness range, including: After setting a ROI region on the target image, a labeled image is generated, wherein the ROI region does not include a black frame range on the target image; Preprocessing the annotated image to obtain a preprocessed image; Determine a standard brightness range of the edge area in the preprocessed image, original brightness data of any pixel point within the standard brightness range of the edge area and corresponding corrected brightness data; The standard brightness mean of each row or column in the edge area is calculated, and the edge brightness relationship coefficient corresponding to the edge area is calculated according to the standard brightness mean and the row coordinate or column coordinate corresponding to the standard brightness mean.
3. The display screen brightness compensation method according to claim 1, characterized in that: Calculating target corrected brightness data of the boundary overlap area according to the corrected brightness data and the original brightness data includes: Acquire an adjacent edge region overlapping the boundary region; Determine the edge black frame transition area and the mura area to be corrected in sections in the adjacent edge area; The target corrected brightness data of the edge black frame transition area and the mura area to be corrected in sections are calculated according to the corrected brightness data and the original brightness data.
4. The display screen brightness compensation method according to claim 1, characterized in that: Performing brightness compensation on the display screen according to the target corrected brightness data and the corrected brightness data includes: Calculating respectively according to the brightness compensation algorithm and the target corrected brightness data and the corrected brightness data to obtain first brightness compensation data and second brightness compensation data; Performing brightness compensation on the boundary overlap area according to the first brightness compensation data; Brightness compensation is performed on the edge area according to the second brightness compensation data.
5. The display screen brightness compensation method according to claim 1, characterized in that: The original brightness data of the edge area is corrected and adjusted in sections by using the edge brightness relationship coefficient to obtain corrected brightness data, including: Acquire original brightness data of the edge area; The original brightness data of the edge area is corrected and adjusted in sections using the edge brightness relationship coefficient to obtain the corrected brightness data.
6. The display screen brightness compensation method according to claim 1, characterized in that: Dividing the target image into a central area and a marginal area surrounding the central area, including: The target image is divided into a central area and a first edge area, a second edge area, a third edge area and a fourth edge area surrounding the central area.
7. A display screen brightness compensation system, characterized in that: The system comprises: A collection unit, used for collecting a target image displayed on the display screen at a preset gray scale through a camera; A division unit, used for dividing the target image into a central area and a marginal area surrounding the central area; A first calculation unit is used to determine a standard brightness range corresponding to the edge area and calculate an edge brightness relationship coefficient corresponding to the edge area through the standard brightness range; An acquisition unit is used to identify the black frame transition area and the mura area in the edge area, and to perform combined segmented correction and adjustment on the original brightness data of each row or column in the edge black frame transition area and the mura area and other segments of the edge area through the edge brightness relationship coefficient and the segmented correction strategy to obtain corrected brightness data of each row or column; the segmented correction strategy includes using an adjustment factor to adjust the brightness data of the black frame transition area and the mura area, and the combined segmented correction and adjustment is to combine and adjust the black frame transition area and the mura area with other segments of the edge area; A second calculation unit, configured to calculate target corrected brightness data of a boundary overlap area according to the corrected brightness data and the original brightness data, wherein the boundary overlap area is an area where the edge area overlaps; The brightness compensation unit is used to perform brightness compensation on the display screen according to the target correction brightness data and the corrected brightness data.
8. A display screen brightness compensation device, characterized in that: The device comprises: processor, memory, input-output unit, and bus; The processor is connected to the storage, the input and output unit, and the bus; The storage 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.
Citation Information
Patent Citations
Display panel edge brightness compensation method, related device and storage medium
CN118629371A