Method for enhancing Mura display of display panel, sharpening method, panel and system
By acquiring multiple original images with different grayscale ranges, performing high-pass filtering and scaling factor adjustment, and combining global variable coefficients and RGB sub-pixel sharpening processing, the problem of misjudgment and missed detection of display panel levels was solved, thus improving the display effect and accuracy of the display panel.
Patent Information
- Application Number
- CN202511242578.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-29
- Publication Date
- 2025-12-19
AI Technical Summary
In existing technologies, manually classifying display panel grades can easily lead to misjudgments and missed detections, especially due to subjective feelings and fatigue caused by Mura. Furthermore, calculating the compensation value for each pixel individually would result in excessive data volume, limiting production capacity.
By acquiring multiple original images with different grayscale ranges, high-pass filtering and scaling factor adjustment are performed. Combined with global variable coefficients, the Mura area of the display panel is enhanced, edge information is highlighted, and grayscale values are controlled within a reasonable range. A timing control chip is used to perform RGB sub-pixel sharpening processing and sharpening intensity balancing algorithms to ensure image quality.
It improves the accuracy of display panel classification, reduces the probability of misjudgment due to unclear or missing Mura, enhances the visibility of uneven display areas, and improves the overall display effect of the display panel.
Smart Images

Figure CN121169749A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of image processing technology, and in particular relates to a method, sharpening method, panel and system for enhancing the display of Mura on a display panel. Background Technology
[0002] In display panels, mura manifests as uneven display, such as clumps, stripes, or dark or bright spots in grayscale images. The causes of mura are complex. It could be due to deviations in optical properties caused by uneven heating or pressure during the manufacturing process of liquid crystal molecules, unevenness in the backlight module, or unevenness in optical materials such as polarizers and light guides.
[0003] Currently, to eliminate mura in display panels, the compensation value for each pixel is calculated by linear interpolation of the mura compensation values corresponding to several feature gray levels. However, the mura compensation value obtained by linear interpolation often fails to fully address the defects of each pixel. If linear interpolation is not used, and compensation values are calculated individually for each pixel, the data volume would be enormous, which is unacceptable for production capacity. Therefore, factories ultimately classify display panels manually. However, on the one hand, the human eye may misjudge the display panel grade due to subjective perception and fatigue; on the other hand, some mura is difficult to observe, leading to omissions and misjudgments. Summary of the Invention
[0004] This application provides a method, sharpening method, panel, and system for enhancing the display of Mura on a display panel, which can solve the problem of misjudgment and missed detection that can easily occur when manually classifying display panels.
[0005] In a first aspect, embodiments of this application provide a method for enhancing the display of Mura on a display panel, using an electronic device, the method comprising:
[0006] At least one first original grayscale image is acquired; any first original grayscale image is an image obtained by the camera when the target display panel displays a set grayscale; different first original grayscale images correspond to different set grayscales; and different set grayscales are in different grayscale ranges.
[0007] High-pass filtering is applied to the grayscale values of pixels in the first original grayscale image to obtain the first grayscale image;
[0008] The grayscale values of pixels in the first grayscale image are adjusted based on a scaling factor to obtain a second grayscale image; the scaling factor is inversely proportional to the grayscale values of pixels in the first grayscale image.
[0009] The second grayscale image is superimposed on the first original grayscale image to obtain the first enhanced image; the grayscale value of each pixel in the first enhanced image is less than the upper limit of grayscale.
[0010] In one possible implementation of the first aspect, acquiring at least one first original grayscale image includes:
[0011] Control the target display panel to display at least one of the set gray levels;
[0012] Each time the target display panel displays a set grayscale, the camera is controlled to capture an image of the effective display area of the target display panel to obtain at least one first original grayscale image.
[0013] In one possible implementation of the first aspect, the scaling factor α is expressed as a function formula:
[0014]
[0015] Where x is the gray level value corresponding to any pixel in the first gray level image.
[0016] In one possible implementation of the first aspect, after obtaining the first grayscale image, the method further includes:
[0017] The sharpening intensity of the first grayscale image is changed by using global variable coefficients;
[0018] The step of adjusting the grayscale values of pixels in the first grayscale image based on a scaling factor to obtain the second grayscale image includes:
[0019] The grayscale values of pixels in the first grayscale image are obtained by adjusting the scaling factor to change the sharpening intensity.
[0020] Secondly, embodiments of this application provide an image sharpening method applied to a timing control chip, the method comprising:
[0021] Acquire the second original grayscale image composed of the grayscale values of the red sub-pixels, the third original grayscale image composed of the grayscale values of the green sub-pixels, and the fourth original grayscale image composed of the grayscale values of the blue sub-pixels in the next frame.
[0022] High-pass filtering is applied to the grayscale values of red sub-pixels in the second original grayscale image, the grayscale values of green sub-pixels in the third original grayscale image, and the grayscale values of blue sub-pixels in the fourth original grayscale image to obtain the third grayscale image, the fourth grayscale image, and the fifth grayscale image.
[0023] The grayscale values of the red sub-pixels in the third grayscale image, the green sub-pixels in the fourth grayscale image, and the blue sub-pixels in the fifth grayscale image are adjusted based on a scaling factor to obtain the sixth, seventh, and eighth grayscale images. The scaling factor is inversely proportional to the grayscale values of the red sub-pixels in the third grayscale image, the green sub-pixels in the fourth grayscale image, and the blue sub-pixels in the fifth grayscale image.
[0024] The sixth grayscale image is superimposed on the second original grayscale image, the seventh grayscale image is superimposed on the third original grayscale image, and the eighth grayscale image is superimposed on the fourth original grayscale image, respectively, to obtain a second enhanced image, a third enhanced image, and a fourth enhanced image; the grayscale value of each sub-pixel in the second enhanced image, the third enhanced image, and the fourth enhanced image is less than the upper limit of grayscale;
[0025] The grayscale values of the red sub-pixels of the second enhanced image, the green sub-pixels of the third enhanced image, and the blue sub-pixels of the fourth enhanced image in the same pixel are processed by a sharpening intensity balance algorithm to obtain the image to be displayed in the next frame.
[0026] In one possible implementation of the second aspect, the step of processing the grayscale values of the red sub-pixels of the second enhanced image, the green sub-pixels of the third enhanced image, and the blue sub-pixels of the fourth enhanced image within the same pixel using a sharpening intensity balance algorithm to obtain the image to be displayed in the next frame includes:
[0027] According to a preset ratio, the grayscale values of the red sub-pixels of the second enhanced image, the green sub-pixels of the third enhanced image, and the blue sub-pixels of the fourth enhanced image in the same pixel are distributed to other sub-pixels to obtain the image to be displayed in the next frame.
[0028] In one possible implementation of the second aspect, after obtaining the third grayscale image, the fourth grayscale image, and the fifth grayscale image, the method further includes:
[0029] The sharpening intensity of the third grayscale image, the fourth grayscale image, and the fifth grayscale image is changed by using global variable coefficients.
[0030] The step of adjusting the grayscale values of the red sub-pixels in the third grayscale image, the green sub-pixels in the fourth grayscale image, and the blue sub-pixels in the fifth grayscale image based on scaling factors to obtain the sixth, seventh, and eighth grayscale images includes:
[0031] Based on the scaling factor, the grayscale values of the red sub-pixels in the third grayscale image after changing the sharpening intensity, the grayscale values of the green sub-pixels in the fourth grayscale image after changing the sharpening intensity, and the grayscale values of the blue sub-pixels in the fifth grayscale image after changing the sharpening intensity are adjusted respectively to obtain the sixth grayscale image, the seventh grayscale image, and the eighth grayscale image.
[0032] In one possible implementation of the second aspect, the formula for the sharpening intensity balancing algorithm is:
[0033]
[0034] Where K(m,n) is the grayscale value of a pixel in the image to be displayed, K R K represents the R-pixel grayscale value of the image to be displayed after processing with the sharpening intensity balance algorithm. G K represents the grayscale value of the G sub-pixel of the image to be displayed after processing with the sharpening intensity balance algorithm. B Z represents the grayscale value of the B sub-pixel of the image to be displayed after processing with the sharpening intensity balance algorithm. R Z represents the grayscale value of the R sub-pixel in the sixth grayscale image. G Z represents the grayscale value of the G sub-pixel in the seventh grayscale image. B This represents the grayscale value of the B sub-pixel in the eighth grayscale image.
[0035] Thirdly, embodiments of this application provide a display panel, wherein a timing control chip is disposed on the display panel, and the timing control chip is used to perform the method as described in any one of the second aspects.
[0036] Fourthly, embodiments of this application provide a system for enhancing the display panel's display of Mura, comprising:
[0037] A camera is used to capture images of the effective display area of the target display panel when the set grayscale is displayed on the target display panel;
[0038] An electronic device for performing a method of displaying Mura on an enhanced display panel as described in any of the first aspects.
[0039] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method as described in any one of the first or second aspects.
[0040] In a sixth aspect, embodiments of this application provide a computer program product that, when run on a display panel, causes the display panel to perform the method described in any one of the first or second aspects above.
[0041] The beneficial effects of this embodiment compared to the prior art are as follows: This embodiment can specifically enhance the display imbalance areas in different grayscale ranges of the display panel. On the one hand, the first grayscale image obtained after high-pass filtering can effectively reflect the edge information of the display imbalance area, highlighting the difference between the imbalance area and the surrounding area. On the other hand, the inverse adjustment of the scaling factor can focus on magnifying the display imbalance areas that are difficult to observe, while avoiding grayscale values exceeding the limit. The visibility of the display imbalance area in the final enhanced image is improved, which helps to reduce the probability of misjudgment caused by the indistinctness or omission of the display imbalance area during manual classification, and improves the accuracy of display panel classification. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a schematic diagram illustrating the principle of compensating for mura in a display panel using existing spot-reducing technology.
[0044] Figure 2 This is a schematic diagram of the system architecture for an enhanced display panel displaying Mura according to an embodiment of this application;
[0045] Figure 3 This is a schematic flowchart of a method for displaying Mura on an enhanced display panel according to an embodiment of this application;
[0046] Figure 4 This is a schematic diagram of the sharpening algorithm provided in an embodiment of this application;
[0047] Figure 5 This is a schematic diagram illustrating the determination of scaling factors by interpolation according to an embodiment of this application;
[0048] Figure 6 This is a schematic flowchart of an image sharpening method provided in an embodiment of this application;
[0049] Figure 7 This is a schematic diagram illustrating how three RGB sub-pixels are superimposed to form one pixel, according to an embodiment of this application.
[0050] Figure 8 This is a schematic diagram illustrating color distortion in an enhanced image provided in an embodiment of this application;
[0051] Figure 9 This is an image processed using a sharpening intensity balance algorithm, provided in one embodiment of this application;
[0052] Figure 10 This is a schematic diagram of the structure of an enhanced display panel displaying Mura according to an embodiment of this application;
[0053] Figure 11 This is a schematic diagram of the structure of an image sharpening device provided in an embodiment of this application.
[0054] Figure label:
[0055] 310 - First acquisition module, 320 - First filtering module, 330 - First scaling module, 340 - First overlay module, 410 - Second acquisition module, 420 - Second filtering module, 430 - Second scaling module, 440 - Second overlay module, 450 - Sharpening module. Detailed Implementation
[0056] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0057] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0058] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0059] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0060] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0061] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0062] Example 1:
[0063] See Figure 1 To address mura issues in display panels, the location of the mura and the required grayscale value (mura compensation value) can be determined first. Combining the original image and the mura compensation value ensures consistent brightness across the display panel. When determining the mura compensation value, linear interpolation is used to calculate the compensation value for each pixel based on the mura compensation values obtained from several characteristic grayscale levels. The mura compensation value is stored in Flash memory, and the TCON IC (timing control chip) reads the mura compensation value and applies it to the corresponding pixels to obtain the final display image. The display panel is then manually graded. However, human judgment can be flawed due to subjective perception and fatigue, and some muras are difficult to observe, leading to oversights and misjudgments. Therefore, magnifying the display unevenness (mura) in the display panel would facilitate manual judgment of the display panel's grade.
[0064] Figure 2 The diagram illustrates a system architecture for enhancing the display panel displaying Mura according to an embodiment of this application. The system includes a CCD camera and an electronic device. The CCD camera is used to capture a grayscale image when the display panel displays a set grayscale. The electronic device amplifies the Mura edge of the image through an image sharpening module and finally outputs a first enhanced image.
[0065] Example 2:
[0066] Figure 3 This illustration shows a schematic flowchart of a method for displaying Mura on an enhanced display panel according to an embodiment of this application. It is provided as an example and not as a limitation, and the method can be applied to electronic devices such as lighting machines, mobile phones, laptops, tablets, and desktop computers. The method includes steps S110-S140.
[0067] S110: Acquire at least one first original grayscale image; any first original grayscale image is an image obtained when the camera captures a target display panel displaying a set grayscale, different first original grayscale images correspond to different set grayscales, and different set grayscales are in different grayscale ranges.
[0068] Specifically, a CCD camera (such as an industrial-grade high-resolution CCD camera) is used to photograph the target display panel (such as a TFT-LCD liquid crystal display panel). Three different grayscale ranges are set, such as a low grayscale range (e.g., 10-50), a medium grayscale range (e.g., 80-120), and a high grayscale range (e.g., 180-220). The target display panel is then controlled to display typical grayscale values (e.g., 20, 100, 200) within the above ranges, respectively. Three first original grayscale images are captured, denoted as X1(m,n), X2(m,n), and X3(m,n), where (m,n) represents the coordinates of a pixel in the image.
[0069] Mura exhibits different characteristics at different gray levels (e.g., some dark spots are more noticeable at low gray levels, while some bright spots are more noticeable at high gray levels). By acquiring original images of different gray level ranges, the Mura features of the target display panel under multiple gray level conditions can be fully captured, avoiding the problem of missing Mura features at a single gray level.
[0070] S120: Perform high-pass filtering on the grayscale values of pixels in the first original grayscale image to obtain the first grayscale image.
[0071] Specifically, Figure 4 A schematic diagram of the sharpening algorithm provided in this application embodiment is shown. Taking a first original grayscale image X(m,n) acquired in S110 as an example, a high-pass filtering algorithm based on a 3×3 grid is adopted: For a target pixel (m,n) in the first original grayscale image (the target pixel is any pixel in the first original grayscale image), the grayscale values of its 8 surrounding adjacent pixels (i.e., pixels other than (m,n) from (m-1,n-1) to (m+1,n+1)) are taken, and the average grayscale value of these 8 pixels is calculated. Combine the grayscale value of the target pixel with By subtracting the values, we obtain the grayscale value Y(m,n) of the target pixel after high-pass filtering. Perform the above operation on all pixels in the first original grayscale image to obtain the first grayscale image Y(m,n).
[0072] The characteristic of a mura is abrupt changes in grayscale at the edges. Spatially, this means a large gradient in grayscale change; in the frequency domain, it means high frequency. High-pass filtering can effectively extract high-frequency components in the image (i.e., edge information of the mura), highlighting the grayscale difference between the mura and the surrounding area, laying the foundation for subsequent mura enhancement.
[0073] S130: Adjust the gray scale value of the pixels in the first gray scale image based on a scaling factor to obtain a second gray scale image; the scaling factor is inversely proportional to the gray scale value of the pixels in the first gray scale image.
[0074] Define a scaling factor α, which is inversely proportional to the gray scale value x of the pixels in the first gray scale image Y(m,n) (i.e., the value of Y(m,n)). The value rule of α is: when x = 0, α = 1; when x = 128, when 0 < x < 128, α is calculated by linear interpolation; when x > 128, α = 0. In this way, the value function of α can be obtained from the following formula, such as Figure 5 ,
[0075]
[0076] where x is the gray scale value corresponding to Y(m,n). For places where the gray scale difference is greater than 128, it can be considered that it is easily detectable by the human eye, so there is no need to amplify it, and it is directly multiplied by the coefficient 0. In this way, in S140, the first original gray scale image will be added with 0 value, thus retaining the original data.
[0077] Multiply the gray scale value x of each pixel in the first gray scale image Y(m,n) by the corresponding α to obtain a second gray scale image Z(m,n), that is, Z(m,n) = α × Y(m,n).
[0078] For Mura with small gray scale differences (x is small and difficult to be observed by the human eye), amplify their differences through a large α value; for Mura with large gray scale differences (x is large and already easily detectable by the human eye), avoid excessive amplification through a small α value (even α = 0), which can not only enhance the visibility of unobvious Mura but also reduce the problem that the gray scale value exceeds the upper limit (255) due to excessive amplification.
[0079] S140: Superimpose the second gray scale image on the first original gray scale image to obtain a first enhanced image; the gray scale value of each pixel in the first enhanced image is less than the gray scale upper limit.
[0080] Specifically, add the gray scale value of each pixel in the second gray scale image Z(m,n) to the gray scale value of the corresponding pixel in the first original gray scale image X(m,n), that is, (F(m,n) = X(m,n) + Z(m,n). Since the value of α in S130 has been processed by linear interpolation and truncation (α = 0 when x > 128), the added gray scale value F(m,n) is less than the gray scale upper limit 255. Perform the above operation on all the first original gray scale images obtained in S110 to obtain the corresponding first enhanced images. <0000The enhanced Mura edge information (Z(m,n)) is superimposed onto the first original image (X(m,n)) to directly enhance the grayscale difference between the Mura region and the surrounding region, making the Mura features more prominent. At the same time, by controlling the grayscale value after addition to not exceed the upper limit, the effectiveness and observability of the first enhanced image are improved.
[0082] This embodiment can specifically enhance display imbalance areas (i.e., the areas where Mura is located) in different grayscale ranges of the display panel: On the one hand, the first grayscale image obtained after high-pass filtering can effectively reflect the edge information of the display imbalance area, highlighting the difference between the imbalance area and the surrounding area; on the other hand, the inverse adjustment of the scaling factor can focus on magnifying the display imbalance area that is difficult to observe, while avoiding grayscale values exceeding the limit. The visibility of the display imbalance area in the final enhanced image is improved, which helps to reduce the probability of misjudgment caused by the lack of obvious or missed display imbalance areas during manual classification, and improves the accuracy of display panel classification.
[0083] As an optional implementation, after S120, the method for displaying Mura on the enhanced display panel further includes S150.
[0084] S150: Change the sharpening intensity of the first grayscale image through global variable coefficients;
[0085] Correspondingly, S130 includes: adjusting the grayscale values of pixels in the first grayscale image after changing the sharpening intensity based on the scaling factor to obtain a second grayscale image.
[0086] Specifically, this embodiment introduces a global variable coefficient β to adjust the filtered first grayscale image Y(m,n). β can be set in a register, and changing β can alter the sharpening intensity of the entire first grayscale image. β is a level adjustment parameter, allowing selection of the desired sharpening intensity. For example, for flagship products, β can be set greater than 1 to enhance the display panel quality; for low-end models, β can be set less than 1.
[0087] Finally, the resulting image F(m,n) is formed by adding the original image X(m,n) to the processed image Y(m,n), as shown in the following formula:
[0088] F(m,n)=X(m,n)+α×β×Y(m,n)
[0089] In this way, F(m,n) is handed over to subsequent manual evaluation. Since the Mura phenomenon is more obvious, the accuracy is improved and the location and type of Mura can be better determined.
[0090] Example 3:
[0091] Figure 6 A schematic flowchart of the image sharpening method disclosed in an embodiment of this application is shown. This method can be applied to a timing control chip in a display panel. The method includes steps S210-S250.
[0092] 210: Obtain the second original grayscale image composed of the grayscale values of the red sub-pixels, the third original grayscale image composed of the grayscale values of the green sub-pixels, and the fourth original grayscale image composed of the grayscale values of the blue sub-pixels in the next frame.
[0093] The timing control chip (TCONIC) obtains the raw data of the next frame image from an image data source (such as an external image transmission module). This data contains pixel information composed of red (R), green (G), and blue (B) sub-pixels in proportion. The timing control chip performs separation processing on the raw data to extract a second raw grayscale image (denoted as X) containing only the grayscale values of the red sub-pixels. R (m,n)), and a third original grayscale image containing only green sub-pixel grayscale values (denoted as X). G (m,n)), and a fourth original grayscale image containing only the grayscale values of blue sub-pixels (denoted as X). B (m,n)), where (m,n) represents the coordinates of the sub-pixel in the image.
[0094] Because the image displayed on the display panel is formed by superimposing three RGB sub-pixels according to a certain intensity ratio to form a pixel, such as Figure 7 A single image is formed by combining multiple pixels; for example, an FHD (Full High-Definition) image consists of 1920*1080 pixels. Therefore, the colors of a truly displayed image are determined by the combined RGB sub-pixels, and the edge features (such as grayscale transitions) of different color sub-pixels may differ. By separating the original grayscale images of the three sub-pixels, sharpening can be performed individually for each color, effectively enhancing the edge details of each color channel.
[0095] S220: High-pass filtering is performed on the grayscale values of the red sub-pixels in the second original grayscale image, the grayscale values of the green sub-pixels in the third original grayscale image, and the grayscale values of the blue sub-pixels in the fourth original grayscale image to obtain the third grayscale image, the fourth grayscale image, and the fifth grayscale image.
[0096] For the second original grayscale image X R For (m,n), a 3×3 nine-grid high-pass filtering algorithm is used: taking the target red sub-pixel (m,n) as the center, the grayscale values of its 8 surrounding red sub-pixels are taken, and the average value is calculated. The filtered grayscale value of this pixel is Obtain the third grayscale image Y R(m, n).
[0097] Similarly, for the third original grayscale image X G (m, n), the fourth original grayscale image X B (m, n), the same operation is performed to obtain the fourth grayscale image Y G (m, n) (green sub-pixel filtering result) and the fifth grayscale image Y B (m, n) (blue sub-pixel filtering result).
[0098] High-pass filtering can extract the high-frequency edge information (i.e., the grayscale mutation region) of each color sub-pixel, and these edge information are the key components of image details. By filtering the RGB three channels separately, the detailed features of each color can be accurately captured, laying a foundation for subsequent sharpening enhancement.
[0099] S230: Based on the scaling factor, adjust the grayscale values of the red sub-pixels in the third grayscale image, the green sub-pixels in the fourth grayscale image, and the blue sub-pixels in the fifth grayscale image respectively to obtain the sixth grayscale image, the seventh grayscale image, and the eighth grayscale image; the scaling factor is inversely proportional to the grayscale values of the red sub-pixels in the third grayscale image, the green sub-pixels in the fourth grayscale image, and the blue sub-pixels in the fifth grayscale image.
[0100] Define the scaling factor α, α is inversely proportional to the grayscale value x of the sub-pixels in the third grayscale image, the fourth grayscale image, and the fifth grayscale image (i.e., Y R (m, n), Y G (m, n), Y B (m, n) value), and the value rule is: when x = 0, α = 1; when x = 128, α = 1 / 8; when 0 < x < 128, α is calculated by linear interpolation (α = -7 / 1024x + 1); when x > 128, α = 0. [[ID=For edges with small grayscale differences (small x, indistinct details), a larger α value is used to amplify the difference; for edges with large grayscale differences (large x, already clearly visible), a smaller α value (or α = 0) is used to avoid over-enhancement. This adjustment can highlight subtle details while preventing grayscale values from exceeding the limit (255) due to over-enhancement, thus ensuring image stability.
[0103] S240: Superimpose the sixth grayscale image with the second original grayscale image, the seventh grayscale image with the third original grayscale image, and the eighth grayscale image with the fourth original grayscale image to obtain the second enhanced image, the third enhanced image, and the fourth enhanced image; the grayscale value of each sub-pixel in the second enhanced image, the third enhanced image, and the fourth enhanced image is less than the grayscale upper limit.
[0104] The sixth grayscale image Z R (m,n) and the second original grayscale image X R The pixels corresponding to (m,n) are superimposed to obtain the second enhanced image F. R (m,n)=X R (m,n)+Z R (m,n); Similarly, the third enhanced image F is obtained. G (m,n)=X G (m,n)+Z G (m,n), fourth enhanced image F B (m,n)=X B (m,n)+Z B (m,n). Due to the control of the value of α, the grayscale value of each sub-pixel in the above enhanced image is less than the grayscale upper limit of 255.
[0105] By overlaying the adjusted edge information onto the original sub-pixel image, the detail of each color channel can be directly enhanced; at the same time, by controlling the grayscale value to not exceed the upper limit, it is ensured that the image will not be overexposed or distorted during display, thus guaranteeing the effectiveness of the display.
[0106] S250: The grayscale values of the red sub-pixels of the second enhanced image, the green sub-pixels of the third enhanced image, and the blue sub-pixels of the fourth enhanced image in the same pixel are processed by a sharpening intensity balance algorithm to obtain the image to be displayed in the next frame.
[0107] Since this embodiment separates the RGB sub-pixels for individual sharpening, this process introduces new problems, which can easily cause color distortion in the image.
[0108] For example, when the B sub-pixel is sharpened alone, its sharpening level is 0 because it has no grayscale difference with the surrounding pixels. However, the R and G sub-pixels have grayscale differences with the surrounding pixels, but the grayscale differences are different, so the sharpening level is also different. Therefore, color distortion will occur after they are superimposed.
[0109] Figure 8 This example visually illustrates the reasons for color distortion in enhanced images, using a simplified model for discussion. Figure 8 In this example, there are four RGB pixel blocks. Subtracting the average grayscale value of the eight pixels surrounding the target pixel mentioned earlier doesn't provide sufficient data. Therefore, this embodiment uses a simplified algorithm, subtracting only the average grayscale value of the two surrounding pixels (one on the left and one on the right; if there are no left / right pixels, it's counted as one pixel) as a high-pass filter to discuss image distortion. Image distortion occurs at the boundary between pixels 2 and 3; without a sharpening intensity balancing algorithm, a noticeable color cast is visible.
[0110] Figure 9 The image shown is processed using the sharpening intensity balance algorithm, which significantly reduces color cast. It should be noted that this example is only used to illustrate why the sharpening intensity balance algorithm does not cause color distortion, and it only uses the difference between the left and right pixels as a high-pass filter. Other embodiments can use a 3x3 grid centered on the target pixel as the smallest unit, filtering by subtracting the average grayscale value of the target pixel from the average grayscale value of the surrounding 8 pixels.
[0111] Specifically, for the same pixel F R The red sub-pixel of (m,n), F G The green sub-pixel of (m,n), F B The blue sub-pixel of (m,n) is processed using a sharpening intensity balancing algorithm. An intensity balancing algorithm can be used, which adjusts the grayscale values of the three sub-pixels using a preset balancing matrix (e.g., proportionally distributing the sharpening intensity of each color channel). For example, if the red sub-pixel is over-sharpened while the green and blue are insufficient, the red sharpening intensity is appropriately reduced and some is allocated to the green and blue sub-pixels, ultimately obtaining the image to be displayed in the next frame.
[0112] Sharpening the RGB channels individually can lead to inconsistent enhancement levels for each color, resulting in color distortion (such as color cast). By balancing the sharpening intensity, the sharpening effects of the three sub-pixels can be kept coordinated, ensuring the naturalness and consistency of the image colors.
[0113] This embodiment separates the RGB sub-pixels and applies high-pass filtering, scaling adjustment, and overlay enhancement to each, specifically highlighting the detailed features of each color channel. Simultaneously, a sharpening intensity balance algorithm reduces color distortion that might result from processing each color channel individually. Ultimately, the resulting image exhibits improved edge detail and color consistency, enhancing the image display and improving the user's visual experience.
[0114] As an optional implementation, S250 includes: S251.
[0115] S251: According to a preset ratio, the grayscale values of the red sub-pixels of the second enhanced image, the green sub-pixels of the third enhanced image, and the blue sub-pixels of the fourth enhanced image in the same pixel are distributed to other sub-pixels to obtain the image to be displayed in the next frame.
[0116] Specifically, this embodiment designs a sharpening intensity balancing matrix and performs sharpening intensity balancing algorithm processing according to the following formula:
[0117]
[0118] Where K(m,n) is the grayscale value of a pixel in the image to be displayed, K R K represents the grayscale value of the R sub-pixel of the image to be displayed after processing with the sharpening intensity balance algorithm. G K represents the grayscale value of the G sub-pixel of the image to be displayed after processing with the sharpening intensity balance algorithm. B Z represents the grayscale value of the B sub-pixel of the image to be displayed after processing with the sharpening intensity balance algorithm. R Z represents the grayscale value of the R sub-pixel in the sixth grayscale image. G Z represents the grayscale value of the G sub-pixel in the seventh grayscale image. B This represents the grayscale value of the B sub-pixel in the eighth grayscale image.
[0119] As an optional implementation, S220 is followed by S260.
[0120] S260: Change the sharpening intensity of the third, fourth, and fifth grayscale images by using global variable coefficients.
[0121] Correspondingly, S230 includes: adjusting the grayscale values of the red sub-pixels in the third grayscale image after changing the sharpening intensity, the grayscale values of the green sub-pixels in the fourth grayscale image after changing the sharpening intensity, and the grayscale values of the blue sub-pixels in the fifth grayscale image after changing the sharpening intensity based on the scaling factor, to obtain the sixth grayscale image, the seventh grayscale image, and the eighth grayscale image.
[0122] After obtaining the third grayscale image (Y)R (m,n), the result of filtering the red sub-pixels), and the fourth grayscale image (Y). G (m,n), green sub-pixel filtering result), fifth grayscale image (Y B After (m,n), the blue sub-pixel filtering result), a global variable coefficient β is introduced (this coefficient is stored in the register of the timing control chip and can be set according to requirements, for example, the value range is 0.3-3.0). Y R (m,n), Y G (m,n), Y B Multiplying (m,n) by β respectively yields the grayscale image after changing the sharpening intensity: Y' R (m,n)=β×Y R (m,n), Y' G (m,n)=β×Y G (m,n), Y' B (m,n)=β×Y B (m,n). For example, when it is necessary to enhance the overall sharpening effect, β can be set to 2.0, which will amplify the filtering results of all three channels by 2 times; when it is necessary to reduce the sharpening effect, β can be set to 0.5, which will reduce the filtering results to 1 / 2 of the original.
[0123] Correspondingly, this embodiment uses the following formula to perform sharpening intensity balancing algorithm processing:
[0124]
[0125] K′(m,n) is the grayscale value of a pixel in the image to be displayed after β adjustment. R K' G K' B Z' represents the grayscale values of the R, G, and B sub-pixels of the image to be displayed after processing with the sharpening intensity balance matrix. R Z' G Z' B The R, G, and B sub-pixel grayscale values of the image pixels are obtained by multiplying the scaling factors α and β.
[0126] The global variable coefficient β can uniformly adjust the basic sharpening intensity of the RGB three channels to meet the display needs of different scenarios (such as some images requiring stronger detail highlighting, and some images requiring a softer display effect). By adjusting β, the overall sharpening level can be changed without modifying the underlying filtering algorithm, improving the flexibility and adaptability of the algorithm.
[0127] By using the global variable coefficient β, the overall sharpening intensity of the RGB three channels can be flexibly adjusted, allowing the algorithm to adapt to different image content and display requirements. Combined with the adaptive adjustment of the scaling factor α, it can specifically enhance weak edges and suppress over-sharpening on the basis of global intensity adjustment. The combination of the two makes the sharpening effect more in line with actual application scenarios, improves the clarity of image details, reduces the possibility of grayscale value exceeding limits and color distortion, and optimizes the overall display quality of the image.
[0128] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0129] Example 4:
[0130] Corresponding to the method for displaying Mura on the enhanced display panel described in Embodiment 2 above, Figure 10 A structural block diagram of an apparatus for displaying Mura on an enhanced display panel according to an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.
[0131] Reference Figure 10 The device includes:
[0132] The first acquisition module 310 is used to acquire at least one first original grayscale image; any first original grayscale image is an image obtained when the camera captures a target display panel displaying a set grayscale, and different first original grayscale images correspond to different set grayscales, and different set grayscales are in different grayscale ranges.
[0133] The first filtering module 320 is used to perform high-pass filtering on the grayscale values of pixels in the first original grayscale image to obtain the first grayscale image.
[0134] The first scaling module 330 is used to adjust the grayscale values of pixels in the first grayscale image based on a scaling factor to obtain a second grayscale image; the scaling factor is inversely proportional to the grayscale values of pixels in the first grayscale image.
[0135] The first overlay module 340 is used to overlay the second grayscale image with the first original grayscale image to obtain a first enhanced image; the grayscale value of each pixel in the first enhanced image is less than the grayscale upper limit.
[0136] Example 5:
[0137] Corresponding to the image sharpening method in Example 3 above, Figure 11 A structural block diagram of a display panel provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiment of this application are shown.
[0138] Reference Figure 11 The display panel includes:
[0139] The second acquisition module 410 is used to acquire a second original grayscale image composed of the grayscale values of red sub-pixels, a third original grayscale image composed of the grayscale values of green sub-pixels, and a fourth original grayscale image composed of the grayscale values of blue sub-pixels in the next frame.
[0140] The second filtering module 420 is used to perform high-pass filtering on the grayscale values of the red sub-pixels in the second original grayscale image, the grayscale values of the green sub-pixels in the third original grayscale image, and the grayscale values of the blue sub-pixels in the fourth original grayscale image, respectively, to obtain the third grayscale image, the fourth grayscale image, and the fifth grayscale image.
[0141] The second scaling module 430 is used to adjust the grayscale values of the red sub-pixels in the third grayscale image, the green sub-pixels in the fourth grayscale image, and the blue sub-pixels in the fifth grayscale image based on the scaling factor, to obtain the sixth grayscale image, the seventh grayscale image, and the eighth grayscale image; the scaling factor is inversely proportional to the grayscale values of the red sub-pixels in the third grayscale image, the green sub-pixels in the fourth grayscale image, and the blue sub-pixels in the fifth grayscale image.
[0142] The second overlay module 440 is used to overlay the sixth grayscale image with the second original grayscale image, the seventh grayscale image with the third original grayscale image, and the eighth grayscale image with the fourth original grayscale image, respectively, to obtain the second enhanced image, the third enhanced image, and the fourth enhanced image; the grayscale value of each sub-pixel in the second enhanced image, the third enhanced image, and the fourth enhanced image is less than the grayscale upper limit.
[0143] The sharpening module 450 is used to process the grayscale values of the red sub-pixels of the second enhanced image, the green sub-pixels of the third enhanced image, and the blue sub-pixels of the fourth enhanced image in the same pixel using a sharpening intensity balance algorithm to obtain the image to be displayed in the next frame.
[0144] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0145] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0146] Example 6:
[0147] This application also provides a display panel, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor. When the processor executes the computer program, it implements the steps in Embodiment 3 above.
[0148] Example 7:
[0149] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in Embodiment 2 or Embodiment 3 described above.
[0150] Example 8:
[0151] This application provides a computer program product that, when run on a display panel, enables the display panel to perform the steps described in Embodiment 2 or Embodiment 3.
[0152] If the integrated unit is implemented as 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, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a display panel, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0153] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0154] Computer program code for performing the operations of the embodiments of this application can be written in one or more programming languages or a combination thereof. These programming languages include object-oriented programming languages such as Python, Java, Smalltalk, and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0155] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0156] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0157] In the embodiments provided in this application, it should be understood that the disclosed devices / display panels and methods can be implemented in other ways. For example, the device / display panel embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings or direct couplings or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0158] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0159] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for enhancing the display of Mura on a display panel, characterized in that, The method, which utilizes an electronic device, includes: At least one first original grayscale image is acquired; any first original grayscale image is an image obtained by the camera when the target display panel displays a set grayscale; different first original grayscale images correspond to different set grayscales; and different set grayscales are in different grayscale ranges. High-pass filtering is applied to the grayscale values of pixels in the first original grayscale image to obtain the first grayscale image; The grayscale values of pixels in the first grayscale image are adjusted based on a scaling factor to obtain a second grayscale image; the scaling factor is inversely proportional to the grayscale values of pixels in the first grayscale image. The second grayscale image is superimposed on the first original grayscale image to obtain the first enhanced image; the grayscale value of each pixel in the first enhanced image is less than the upper limit of grayscale.
2. The method for enhancing the display panel to display Mura as described in claim 1, characterized in that, The acquisition of at least one first original grayscale image includes: Control the target display panel to display at least one of the set gray levels; Each time the target display panel displays a set grayscale, the camera is controlled to capture an image of the effective display area of the target display panel to obtain at least one first original grayscale image.
3. The method for enhancing the display panel to display Mura as described in claim 1, characterized in that, The formula for the scaling factor α is as follows: Where x is the gray level value corresponding to any pixel in the first gray level image.
4. The method for displaying Mura on an enhanced display panel as described in any one of claims 1-3, characterized in that, After obtaining the first grayscale image, the process also includes: The sharpening intensity of the first grayscale image is changed by using global variable coefficients; The step of adjusting the grayscale values of pixels in the first grayscale image based on a scaling factor to obtain the second grayscale image includes: The grayscale values of pixels in the first grayscale image are obtained by adjusting the scaling factor to change the sharpening intensity.
5. An image sharpening method, characterized in that, Applied to timing control chips, the method includes: Acquire the second original grayscale image composed of the grayscale values of the red sub-pixels, the third original grayscale image composed of the grayscale values of the green sub-pixels, and the fourth original grayscale image composed of the grayscale values of the blue sub-pixels in the next frame. High-pass filtering is applied to the grayscale values of red sub-pixels in the second original grayscale image, the grayscale values of green sub-pixels in the third original grayscale image, and the grayscale values of blue sub-pixels in the fourth original grayscale image to obtain the third grayscale image, the fourth grayscale image, and the fifth grayscale image. The grayscale values of the red sub-pixels in the third grayscale image, the green sub-pixels in the fourth grayscale image, and the blue sub-pixels in the fifth grayscale image are adjusted based on a scaling factor to obtain the sixth, seventh, and eighth grayscale images. The scaling factor is inversely proportional to the grayscale values of the red sub-pixels in the third grayscale image, the green sub-pixels in the fourth grayscale image, and the blue sub-pixels in the fifth grayscale image. The sixth grayscale image is superimposed on the second original grayscale image, the seventh grayscale image is superimposed on the third original grayscale image, and the eighth grayscale image is superimposed on the fourth original grayscale image, respectively, to obtain a second enhanced image, a third enhanced image, and a fourth enhanced image; the grayscale value of each sub-pixel in the second enhanced image, the third enhanced image, and the fourth enhanced image is less than the upper limit of grayscale; The grayscale values of the red sub-pixels of the second enhanced image, the green sub-pixels of the third enhanced image, and the blue sub-pixels of the fourth enhanced image in the same pixel are processed by a sharpening intensity balance algorithm to obtain the image to be displayed in the next frame.
6. The image sharpening method as described in claim 5, characterized in that, The step of processing the grayscale values of the red sub-pixels of the second enhanced image, the green sub-pixels of the third enhanced image, and the blue sub-pixels of the fourth enhanced image within the same pixel using a sharpening intensity balance algorithm to obtain the image to be displayed in the next frame includes: According to a preset ratio, the grayscale values of the red sub-pixels of the second enhanced image, the green sub-pixels of the third enhanced image, and the blue sub-pixels of the fourth enhanced image in the same pixel are distributed to other sub-pixels to obtain the image to be displayed in the next frame.
7. The image sharpening method as described in claim 5, characterized in that, After obtaining the third grayscale image, the fourth grayscale image, and the fifth grayscale image, the process further includes: The sharpening intensity of the third grayscale image, the fourth grayscale image, and the fifth grayscale image is changed by using global variable coefficients. The step of adjusting the grayscale values of the red sub-pixels in the third grayscale image, the green sub-pixels in the fourth grayscale image, and the blue sub-pixels in the fifth grayscale image based on scaling factors to obtain the sixth, seventh, and eighth grayscale images includes: Based on the scaling factor, the grayscale values of the red sub-pixels in the third grayscale image after changing the sharpening intensity, the grayscale values of the green sub-pixels in the fourth grayscale image after changing the sharpening intensity, and the grayscale values of the blue sub-pixels in the fifth grayscale image after changing the sharpening intensity are adjusted respectively to obtain the sixth grayscale image, the seventh grayscale image, and the eighth grayscale image.
8. The image sharpening method according to any one of claims 5-7, characterized in that, The formula for the sharpening intensity balancing algorithm is: Where K(m,n) is the grayscale value of a pixel in the image to be displayed, K R K represents the R-pixel grayscale value of the image to be displayed after processing with the sharpening intensity balance algorithm. G K represents the grayscale value of the G sub-pixel of the image to be displayed after processing with the sharpening intensity balance algorithm. B Z represents the grayscale value of the B sub-pixel of the image to be displayed after processing with the sharpening intensity balance algorithm. R Z represents the grayscale value of the R sub-pixel in the sixth grayscale image. G Z represents the grayscale value of the G sub-pixel in the seventh grayscale image. B This represents the grayscale value of the B sub-pixel in the eighth grayscale image.
9. A display panel, wherein a timing control chip is disposed on the display panel, characterized in that, The timing control chip is used to perform the method as described in any one of claims 5 to 8.
10. A system for enhancing the display panel display of Mura, characterized in that, include: A camera is used to capture images of the effective display area of the target display panel when the set grayscale is displayed on the target display panel; An electronic device for performing the method of displaying Mura on an enhanced display panel as described in any one of claims 1-4.
Citation Information
Patent Citations
Image enhancement method and system
CN102214357A
Image processing method for detail enhancement and noise reduction
CN104272346A
Self-adaptive image sharpening method and system
CN114627030A
Panel surface defect detection method, system and equipment and storage medium
CN118134895A