Defect compensation method of display panel, electronic device and storage medium
Patent Information
- Application Number
- CN202510422806.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2026-10-16
AI Technical Summary
[0002]Mura的本意是“不均匀”或“瑕疵”,在显示行业中特指显示器亮度不均匀导致的各种痕迹现象,其通常表现为屏幕上的暗斑、亮斑或条纹,这些缺陷会削弱观看体验,甚至可能影响设备功能
[0017] In the defect compensation method for display panels provided in this application, a color camera is used to capture the target image displayed on the display panel to obtain a target image, thereby achieving a more comprehensive acquisition of the image displayed on the display panel. This provides a richer information source for subsequent defect compensation of the display panel. Simultaneously, the target image is converted to a grayscale image through color space conversion, and the display panel is classified for display defects using the grayscale image to obtain the defect category of the display panel. Finally, compensation data for defect compensation of the display panel is obtained based on the defect category and written to the display panel to achieve rapid adjustment of the brightness of the display panel. This improves the display effect of the display panel while increasing the accuracy of Mura compensation.
Smart Images

Figure CN122929929A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display panel technology, and in particular to a method for defect compensation of a display panel, an electronic device, and a storage medium. Background Technology
[0002] The term "mura" originally means "unevenness" or "imperfection." In the display industry, it specifically refers to various imperfections caused by uneven brightness in a monitor. These typically manifest as dark spots, bright spots, or stripes on the screen. These defects can degrade the viewing experience and may even affect device functionality. Therefore, display panels undergo Demura, or Mura compensation, before leaving the factory to improve image quality. Summary of the Invention
[0003] This application provides a defect compensation method, electronic device, and storage medium for a display panel, which can not only capture the image displayed on the display panel more comprehensively, but also quickly adjust the brightness of the display panel, and improve the accuracy of Mura compensation.
[0004] To address the aforementioned problems, in a first aspect, this application provides a defect compensation method for a display panel, comprising:
[0005] A color camera is used to capture the target image on the display panel to obtain the target image;
[0006] Perform color space conversion on the target image to obtain the corresponding grayscale image;
[0007] The display panel is classified for display defects using grayscale images to obtain the defect categories of the display panel;
[0008] Based on the defect category, compensation data for defect compensation of the display panel is obtained and written to the display panel.
[0009] Secondly, this application also provides a display defect classification device for a display panel, comprising:
[0010] The acquisition unit is used to acquire the target image of the display panel using a color camera;
[0011] The conversion unit is used to perform color space conversion on the target image to obtain the corresponding grayscale image.
[0012] The classification unit is used to classify display defects of the display panel using grayscale images to obtain the defect category of the display panel;
[0013] The writing unit is used to obtain compensation data for defect compensation of the display panel based on the defect category, and write it to the display panel.
[0014] Thirdly, embodiments of this application also provide an electronic device, including a memory storing multiple instructions; a processor loads instructions from the memory to execute the defect compensation method for the display panel provided in the first aspect.
[0015] Fourthly, embodiments of this application also provide a computer-readable storage medium storing multiple instructions adapted for loading by a processor to execute the defect compensation method for the display panel provided in the first aspect.
[0016] Fifthly, embodiments of this application also provide a computer program product, including a computer program or instructions, wherein the computer program or instructions are executed by a processor to provide a display defect classification method for a display panel provided in the first aspect.
[0017] In the defect compensation method for display panels provided in this application, a color camera is used to capture the target image displayed on the display panel to obtain a target image, thereby achieving a more comprehensive acquisition of the image displayed on the display panel. This provides a richer information source for subsequent defect compensation of the display panel. Simultaneously, the target image is converted to a grayscale image through color space conversion, and the display panel is classified for display defects using the grayscale image to obtain the defect category of the display panel. Finally, compensation data for defect compensation of the display panel is obtained based on the defect category and written to the display panel to achieve rapid adjustment of the brightness of the display panel. This improves the display effect of the display panel while increasing the accuracy of Mura compensation. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 A first architecture diagram of the defect compensation method for the display panel provided in this application;
[0020] Figure 2 A second architecture diagram of the defect compensation method for the display panel provided in this application;
[0021] Figure 3 A flowchart illustrating the defect compensation method for the display panel provided in this application;
[0022] Figure 4 A schematic block diagram of the defect compensation device for the display panel provided in this application;
[0023] Figure 5A schematic block diagram of the electronic device provided in this application. Detailed Implementation
[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0025] When used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0026] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0027] It should also be further 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.
[0028] Furthermore, in this application, unless otherwise explicitly specified or limited in the embodiments, the terms "installation," "connection," "joining," and "fixing" appearing in the embodiments should be interpreted broadly. For example, a connection can be a fixed connection, a detachable connection, or an integral part; it can also be a mechanical connection, an electrical connection, etc. Of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication between two components, or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific implementation.
[0029] In this application, the display panel can be of the AMOLED (Active-matrix organic light-emitting diode) type or OLED (Organic light-emitting diode) type, which can be manufactured as a display screen for smartphones, screens for smart wearable devices, displays for tablets or laptops, etc.
[0030] In related technologies, such as Figure 1 As shown, to improve the efficiency of defect compensation for display panels, this application employs AutoDemura, or automatic Mura compensation technology. This technology uses optical equipment (such as a monochrome camera) to capture the display panel's image, performs Mura recognition on the display panel, and then performs Mura compensation. Finally, the display panel is evaluated to determine if the repair is complete. If the repair fails (i.e., the evaluation result is NG), it is necessary to re-capture the image using optical equipment (such as a monochrome camera) to re-perform Mura compensation. If the repair is successful (i.e., the evaluation result is OK), then the defect compensation of the display panel can be considered complete.
[0031] However, monochrome cameras lack color sensitivity, recording only grayscale information and failing to distinguish chromatic differences (e.g., cyan and pink may appear to have the same brightness value in a grayscale image). Therefore, monochrome cameras typically capture the single-color channel image displayed on the display panel, i.e., the R / G / B monochrome image displayed on the display panel. Auto Demura's reliance on monochrome cameras for defect compensation of display panels suffers from a high rate of misclassification. If color defects exist (such as stripes or color gamut shift), accurate identification using single-channel grayscale data is difficult.
[0032] Meanwhile, due to the limitations of monochrome cameras in low grayscale resolution, such as in the distortion range, if it is necessary to capture the lowest brightness white image displayed on the display panel, the monochrome camera needs to capture the red, green and blue images displayed on the display panel separately, and then perform image fusion to obtain the required white image. Since the brightness of the red image is usually one-tenth of the brightness of the white image (e.g., 2 nit level), the monochrome camera may have a poor capture effect on the red image displayed on the display panel, which makes it difficult for the monochrome camera to accurately capture the mura pattern of the display panel below L32 (32 gray levels).
[0033] Therefore, this application provides a method, apparatus, electronic device, and storage medium for defect compensation of a display panel. The method uses a color camera to capture the target image displayed on the display panel, achieving a more comprehensive acquisition of the displayed image. This provides a richer information source for subsequent defect compensation of the display panel, avoiding image acquisition failures. Simultaneously, the target image undergoes color space conversion to obtain a grayscale image, and the grayscale image is used to classify display defects of the display panel to obtain defect categories. Finally, compensation data for defect compensation of the display panel is obtained based on the defect categories and written to the display panel, enabling rapid adjustment of the display panel's brightness. This improves the display effect while increasing the accuracy of Mura compensation. The display defects of the display panel may include brightness defects.
[0034] The defect compensation method for display panels provided in this application embodiment can be applied to terminal devices. This method is executed through application software installed in the terminal device and employs… Figure 2 The architecture implementation is shown.
[0035] Terminal device 10 can be a desktop computer, laptop computer, tablet computer, mobile phone, etc.
[0036] exist Figure 2 The architecture shown includes a terminal device 10 (such as a main control computer), a color camera 20 (such as an area array colorimeter), a display panel 30, and an image generator 40 (Pattern Generator, PG). The terminal device 10 can communicate with the color camera 20 via a USB serial port and send instructions to the color camera 20 to obtain image information captured by the color camera 20 of the screen displayed on the display panel 30. At the same time, the terminal device 10 communicates with the image generator 40 via a network port. The image generator 40 can generate corresponding image signals according to the lighting instructions sent by the terminal device 10 to control the display panel 30 to generate corresponding display images. In addition, the image generator 40 can communicate with the display panel 30 via MIPI (Mobile Industry Processor Interface) to receive compensation data sent by the terminal device 10 and write the compensation data into the display panel 30.
[0037] The defect compensation method for the display panel provided in this application will be described in detail below.
[0038] It should be noted that the application scenarios described in the following embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0039] like Figure 3 As shown, the method includes the following steps S110 to S140.
[0040] S110. Use a color camera to capture the target image on the display panel to obtain the target image.
[0041] Specifically, during operation, the brightness distribution of a display panel may be uneven, resulting in display defects. The color camera provided in this application, when capturing images displayed on the panel, has a unique advantage over monochrome cameras due to its different sensitivity to the mura colors of the display panel. It can collect more comprehensive data, providing a richer information source for subsequent defect compensation. For example, it can effectively capture color defects such as localized cyan, uneven color, and colored stripes. The target image captured by the color camera can be a monochrome image displayed on the display panel, a white image displayed on the display panel, a color image displayed on the display panel, or an image displayed by the display panel at any luminous intensity. The specific color of the target image and the luminous intensity of the display panel can be selected according to the actual application; this application does not impose specific limitations.
[0042] S120. Perform color space conversion on the target image to obtain the corresponding grayscale image.
[0043] Specifically, after acquiring the target image of the display panel using a color camera, this application also needs to perform color space conversion on the target image to obtain the corresponding grayscale image. This is mainly because different color spaces have different characteristics, and converting the target image into a grayscale image can simplify the subsequent display defect analysis process and improve the accuracy of the display defect analysis.
[0044] For example, in the image displayed on the display panel, there may be a mixture of multiple colors. In the original color space, it may be complicated to judge the display defects. However, after converting the color space to grayscale, the brightness information in the image can be more intuitively displayed.
[0045] S130. Use grayscale images to classify display defects in the display panel to obtain the defect categories of the display panel.
[0046] Specifically, in the process of classifying display defects in a display panel using grayscale images, this application analyzes features such as the brightness distribution and grayscale value changes of pixels in the grayscale image to classify display defects and determine which category the display defect belongs to. For example, if the grayscale value of a pixel in a certain area of a grayscale image is significantly lower than that of the surrounding area, it may indicate that the area has a brightness deficiency; if the grayscale value of a certain area changes too drastically, it may indicate that the area has uneven brightness.
[0047] S140. Based on the defect category, obtain compensation data for defect compensation of the display panel and write it to the display panel.
[0048] Specifically, after determining the defect category of the display panel, compensation data for defect compensation can be obtained and written into the display panel. This compensation data can be burned into the display panel in the form of code. The compensation data can be pre-designed according to different defect categories. After being written into the display panel, the brightness of the display panel can be adjusted, thereby improving problems such as uneven brightness and enhancing display quality. The compensation data can include multiple compensation parameters, each corresponding to a compensation screen for the display panel at a given luminous intensity.
[0049] For example, for a localized dark area, compensation data can be used to increase the brightness output value of the pixels in that area; for uneven brightness, corresponding compensation data can be used to adjust the brightness of different areas according to the degree and pattern of unevenness, thereby making the brightness of the entire display panel more uniform.
[0050] In some embodiments, in step S110, the display panel can be controlled to display a target image based on a preset image generator; the target image is the display image of the display panel at a preset brightness; and the color camera is controlled to capture the target image to obtain the target image.
[0051] Specifically, when using a color camera to capture the target image of the display panel, this application can control the display panel to display the target image through an image generator. By capturing the target image using the color camera, a target image can be obtained. This target image can be an RGB image, containing information such as the color and brightness of the display panel at a specific brightness level, and can provide basic data for subsequent color space conversion and display defect classification.
[0052] In controlling the display panel to display the target image, the image generator can control the display panel to display a specific image. Specifically, it can control the display panel to display the image at a preset brightness level. The preset brightness level can be no greater than a preset brightness threshold, which can be set based on the brightness value of the corresponding monochrome image of the target image. This solves the problem of a monochrome camera being unable to capture a specific display image. This application allows the display panel to display the target image under suitable brightness conditions by setting a preset brightness and a brightness threshold. For example, for cases where mura morphology analysis at low brightness is important, the preset brightness can be set to a lower value so that the color camera can capture data that more closely approximates the low grayscale mura morphology.
[0053] For example, in the L32 grayscale test, the image generator can output a 2nit white image, and the color camera can capture a YUV422 format image at a rate of 120fps through the MIPID-PHY interface, and restore the original RGB data after de-mosaic processing.
[0054] Furthermore, during the display process, the display defects of the display panel may appear differently under different brightness conditions. If the brightness is too high, it may mask some display defects; if the brightness is too low, it may result in unclear image information. This application, by controlling the preset brightness within a range not exceeding a preset brightness threshold, enables the display panel to display the target image under a brightness condition that both reveals display defects and ensures image quality.
[0055] Meanwhile, when capturing a target image, a color camera can create an image based on information such as the brightness and color of the target image. For example, the color camera's sensor detects the light in different color channels of the target image and converts them into corresponding electrical signals. After processing within the camera, the final target image is formed.
[0056] In some embodiments, in step S120, the target image can be converted to a three-dimensional color space to obtain an intermediate image; the intermediate image can be converted from the three-dimensional color space to the LAB color space to obtain a grayscale image.
[0057] Specifically, the target image is an RGB image. In the process of color space conversion of the target image, this application can perform three-dimensional color space conversion on the target image in advance, namely XYZ color space conversion, so as to more comprehensively and accurately describe the color information in the image. XYZ color space can provide a neutral, device-independent reference frame, which can solve the limitations of directly converting RGB images into LAB images.
[0058] For example, in the common RGB color space, each pixel in an image can be represented by the values of three color channels: red, green, and blue. Converting the target image to this three-dimensional color space allows for the reorganization and description of the color information in the image, resulting in an intermediate image. Compared to the original target image, the intermediate image provides a more detailed representation of color information within the framework of the three-dimensional color space.
[0059] Simultaneously, after converting the target image into an intermediate image, this application also requires LAB color space conversion of the intermediate image to obtain a grayscale image for classifying display defects in the display panel. The LAB color space is a color space that closely approximates human visual perception. In the LAB color space, the L channel represents luminance information, while the A and B channels represent the opposing color components of the color information. After converting the intermediate image to the LAB color space, this application actually obtains a grayscale image, which can better separate the luminance information in the image. Moreover, in the intermediate image, the color and luminance information, originally mixed in the three-dimensional color space, can be more clearly distinguished in the LAB color space.
[0060] In addition, after the intermediate image undergoes LAB color space conversion, brightness information can be directly extracted from the L channel. This brightness information can accurately reflect the brightness of the corresponding pixels in the original target image, thus providing a more accurate brightness information basis for subsequent display defect classification based on grayscale images.
[0061] In some embodiments, before performing three-dimensional color space conversion on the target image, a gamma transformation can be performed on the target image to obtain the gamma-transformed target image.
[0062] Specifically, after acquiring the target image using a color camera, the pixel brightness values in the target image may not meet the requirements of subsequent processing for brightness relationships. Therefore, before performing three-dimensional color space conversion on the target image, a gamma transform is required to adjust the distribution of pixel brightness values in the image, making it more consistent with the actual display characteristics of the display panel and the needs of subsequent processing. Gamma transform is a common operation in the display technology field used to adjust image brightness and contrast. When a display panel displays an image, the output brightness and the input signal value do not have a simple linear relationship, but rather a non-linear gamma relationship.
[0063] For example, in a target image captured by a color camera, some low-brightness areas may have pixel brightness values that are too low. During subsequent color space conversion and display defect classification, these areas may be misclassified due to their low brightness. After undergoing gamma transformation, the pixel brightness values of these low-brightness areas in the target image can be appropriately increased, allowing subsequent processing to more accurately reflect the true brightness of these areas. Simultaneously, gamma transformation can adjust the overall contrast of the image, making the brightness levels more distinct. This, in turn, enables accurate identification and analysis of brightness information in the image during subsequent color space conversion and display defect classification operations.
[0064] In some embodiments, in step S130, the grayscale image can be divided into grids, and the average grayscale value of each grid can be calculated to obtain the grayscale data of each grid; based on the grayscale data of each grid, gradient feature analysis is performed on the grayscale image to classify display defects of the display panel and obtain the defect category.
[0065] Specifically, in the process of gradient feature analysis of a grayscale image, this application can divide the grayscale image into grids and calculate the grayscale average of each grid to obtain the grayscale data of each grid. Here, the grayscale data can be understood as the grayscale average of each grid, and dividing the grayscale image into grids specifically involves dividing the grayscale image into multiple small grid regions.
[0066] For example, it can be divided into a 9*15 grid, that is, 9 rows and 15 columns. This can be understood as dividing a large image map into multiple small square areas. Then, the grayscale mean value representing the overall brightness of each small grid area can be calculated.
[0067] Furthermore, after obtaining the grayscale data for each grid, the variation in grayscale values, or gradient, can be determined by comparing the average grayscale values of adjacent grids. If the average grayscale values of adjacent grids differ significantly, it indicates a large brightness variation between these two grids, which may be a manifestation of a display defect. Subsequently, by analyzing the gradient of the average grayscale values of all grids in the entire grayscale image, the type of defect in the display panel can be determined, such as a sudden brightness change in a local area or an uneven brightness gradient across the entire panel.
[0068] In some embodiments, in order to more accurately classify display defects of the display panel, the grayscale image needs to be contrast-enhanced before gridding, which can make the Mura of the display panel more obvious and widen the difference in the severity of Mura.
[0069] Specifically, the contrast enhancement of grayscale images can be achieved using the CLAHE algorithm. CLAHE (Contrast Limited Adaptive Histogram Equalization) is an algorithm for image enhancement that aims to improve the contrast of an image while avoiding over-enhancing noise or details.
[0070] Specifically, in the process of contrast enhancement of a grayscale image using the CLAHE algorithm, the grayscale image can be divided into non-overlapping small blocks of the same size. Then, a histogram is calculated for each small block. Next, according to the clip limit parameter, the number of pixels with excessively high gray levels in the histogram is limited, and the excess pixels are redistributed. Then, the histogram of each small block is equalized to make the pixel distribution more uniform. Finally, the equalization results of each small block are merged by bilinear interpolation to obtain the contrast-enhanced grayscale image.
[0071] In some embodiments, gradient feature analysis is performed on the grayscale image based on the grayscale data of each grid, including: in the horizontal direction, calculating the grayscale difference between two adjacent grids based on the grayscale data to obtain the gradient value between two adjacent grids in each row; in the vertical direction, sorting the gradient values of each column, specifically from largest to smallest, and using a preset first number of gradient values as the vertical feature of the display panel. The first number can be 10% of the total number of gradient values, but is not limited to this.
[0072] It is understood that this application may first calculate the gradient value based on the vertical direction, and then sort the gradient values based on the horizontal direction to obtain a preset second number of gradient values. The second number of gradient values can be used as the horizontal feature of the display panel. The second number can be 10% of the total number of gradient values, but is not limited to this.
[0073] In some embodiments, gradient feature analysis of the grayscale image is performed based on the grayscale data of each grid, including: calculating the grayscale difference between two adjacent grids based on the grayscale data of each grid to obtain the gradient value between two adjacent grids; and determining the brightness and darkness characteristics of each area of the display panel according to the preset target gradient value and the gradient value between two adjacent grids.
[0074] In some embodiments, gradient feature analysis is performed on the grayscale image based on the grayscale data of each grid, including: calculating the gradient difference of each grid based on the grayscale data and target gradient value of each grid; determining whether the gradient difference of each grid is within a preset gradient threshold range; if it is, it is normal; if it is not, it is determined whether the area where the corresponding grid is located is too bright or too dark. Specifically, when calculating the gradient difference of each grid based on the grayscale data and target gradient value of each grid, the grayscale value in the grayscale data of each grid can be subtracted from the target gradient value to obtain the gradient difference of each grid. Then, it is calculated whether the gradient difference of each grid is less than the preset gradient threshold range to determine the brightness characteristics of each area of the display panel.
[0075] Furthermore, when classifying display defects in display panels, this application can also directly use grayscale images captured by a monochrome camera for defect classification. This mainly involves situations where there is magnetic stenosis (Mura) at specific gray levels in monochrome, but it is not visible in white images. Specifically, it can use the adjacent frequency amplitude method to classify specific frequencies, thereby achieving display defect classification of the display panel. Among them, magnetic stenosis refers to the phenomenon of uneven brightness or color in display panels (such as LCD or OLED) caused by material or process problems, which is particularly obvious at specific gray levels.
[0076] Specifically, in the process of classifying grayscale images acquired by a black-and-white camera using the method of neighboring frequency amplitudes, this application can transform the image from the spatial domain to the frequency domain through Fourier transform or wavelet transform, and analyze its spectral distribution, thereby enabling the classification of display defects in the display panel. For example, high-frequency mura may manifest as fine texture inhomogeneity, while low-frequency mura may manifest as large-area brightness inhomogeneity.
[0077] In some embodiments, the target image is the image of the display panel under a target luminous intensity, and the compensation data includes multiple compensation parameters, each compensation parameter corresponding to a luminous intensity;
[0078] In step S140, in response to the defect category of the display panel under the target luminous intensity, compensation data for defect compensation of the display panel can be obtained; wherein, the compensation data for defect compensation of the display panel includes at least compensation parameters corresponding to the target luminous intensity; at least the compensation parameters corresponding to the target luminous intensity are written into the display panel to perform defect compensation of the display panel under different luminous intensities.
[0079] In this application, the target image is the image displayed on the display panel under a target luminous intensity. The compensation data includes multiple compensation parameters, each corresponding to a luminous intensity. The defect category can be understood as the display defect category of the image displayed by the display panel under a certain luminous intensity after defect classification. The defect categories of the display panel under different luminous intensities can be the same or different. Luminous intensity can be characterized using nits, which represent the luminous intensity per unit area and are a physical quantity used to describe the intensity of light emission (or reflection) on the surface of a light-emitting body (or reflector).
[0080] In this embodiment, during the process of responding to the defect category of the display panel under the target luminous intensity, compensation data for defect compensation of the display panel can be obtained after responding to the defect category of the display panel under the target luminous intensity, that is, the compensation parameters of the display panel under each luminous intensity.
[0081] Specifically, after responding to the defect category of the display panel under the target luminous intensity, this application can assume that the display panel has the defect category under each luminous intensity. Then, it can obtain the compensation parameters of the display panel under each luminous intensity based on the defect category, and write multiple compensation parameters into the display panel to perform defect compensation for the display panel under different luminous intensities.
[0082] Meanwhile, in order to improve the accuracy of defect compensation for the display panel, this application can obtain compensation parameters for each luminous intensity after responding to the defect category of the display panel under the target luminous intensity, and write multiple compensation parameters into the display panel to perform defect compensation for the display panel under different luminous intensities.
[0083] Each compensation parameter can correspond one-to-one with a defect category and a light intensity. That is, if the display panel has a certain type of display defect under a certain light intensity, there is a corresponding compensation parameter. By writing the compensation parameter into the display panel, the display panel under that light intensity can be compensated for the defect.
[0084] It should be noted that, in the process of writing multiple compensation parameters into the display panel to compensate for defects in the display panel under different luminous intensities, as mentioned in this application, the multiple compensation parameters can be formed by classifying the display panel using monochrome channel images and images captured by a color camera, or by classifying the display panel using monochrome channel images, or by classifying the display panel using images captured by a color camera. The selection can be made according to the actual application, and this application does not make any specific limitations.
[0085] In some embodiments, at least one luminous intensity includes a first luminous intensity; during the process of writing at least a compensation parameter corresponding to the target luminous intensity into the display panel to perform defect compensation for the display panel under different luminous intensities, the compensation parameter corresponding to the defect category of the display panel under the first luminous intensity can be obtained based on the defect category obtained from the single-color channel image displayed by the display panel under the first luminous intensity; at least the compensation parameter corresponding to the target luminous intensity and the compensation parameter corresponding to the defect category of the display panel under the first luminous intensity are written into the display panel to perform defect compensation for the display panel under different luminous intensities.
[0086] In some embodiments, at least one luminous intensity includes a first luminous intensity, and the defect compensation method for the display panel further includes: acquiring a single-color channel image displayed by the display panel under the first luminous intensity to obtain at least one grayscale image corresponding to the display panel under the first luminous intensity; classifying display defects of the display panel under the first luminous intensity based on the grayscale image to obtain the defect category of the display panel under the first luminous intensity.
[0087] In some embodiments, the at least one grayscale image corresponding to the first luminous intensity of the display panel includes at least one of a first grayscale image, a second grayscale image, and a third grayscale image; the single-color channel image displayed by the display panel includes a red image, a green image, and a blue image corresponding to the first grayscale image, the second grayscale image, and the third grayscale image, respectively.
[0088] In acquiring the single-color channel image displayed by the display panel under the first luminous intensity, and obtaining at least one grayscale image corresponding to the display panel under the first luminous intensity, a black and white camera can be used to capture the red image, green image and blue image displayed by the display panel respectively, to obtain the first grayscale image, the second grayscale image and the third grayscale image.
[0089] In some embodiments, the grayscale image corresponding to the display panel under the first luminous intensity is a first grayscale image, a second grayscale image, or a third grayscale image; the single-color channel image displayed by the display panel under the first luminous intensity includes a red image, a green image, and a blue image corresponding to the first grayscale image, the second grayscale image, and the third grayscale image, respectively.
[0090] Based on grayscale images, display defects of the display panel under the first luminous intensity are classified to obtain the defect category of the display panel under the first luminous intensity. The first grayscale image, the second grayscale image, and the third grayscale image are fused to generate a target image. Based on the target image, display defects of the display panel are classified to obtain the defect category of the display panel under the first luminous intensity.
[0091] In some embodiments, when performing image fusion on the first grayscale image, the second grayscale image, and the third grayscale image to generate a target image, the first grayscale image, the second grayscale image, and the third grayscale image can be firstly expanded in dimension to obtain a first expanded image, a second expanded image, and a third expanded image, respectively; then, the first expanded image, the second expanded image, and the third expanded image can be channel-merged to obtain the target image.
[0092] In some embodiments, the first grayscale image, the second grayscale image, and the third grayscale image are dimensionally expanded to obtain a first expanded image, a second expanded image, and a third expanded image, respectively. This includes: expanding the width and height of each pixel in the first grayscale image and the third grayscale image to twice the original pixel value to obtain the first expanded image and the third expanded image; and expanding the height of each pixel in the second grayscale image to twice the original pixel value to obtain the second expanded image.
[0093] In some embodiments, in step S140, the compensation brightness and compensation coefficient for defect compensation of the display panel can be determined according to the defect category; compensation data is generated according to the compensation brightness and compensation coefficient, and the compensation data is written to the display panel.
[0094] Specifically, in the process of obtaining compensation data for defect compensation of the display panel based on the defect category and writing it into the display panel, this application can pre-determine the compensation brightness and compensation coefficient for defect compensation of the display panel according to the defect category. For example, if it is determined that a certain area of the display panel is too dark, the required increase in compensation brightness value is determined according to the degree of darkness, and the compensation coefficient is determined according to the characteristics of the display panel, the range of brightness adjustment, and other factors. Then, compensation data is generated based on the compensation brightness and compensation coefficient, and the compensation data is written into the display panel.
[0095] In this embodiment, the compensation data is specifically generated for the previously determined defect categories. After the compensation data is written to the display panel, the display parameters of the display panel can be adjusted to compensate for the brightness. For example, for a darker area, the compensation data can adjust parameters such as the voltage or current of the pixels in that area, so that the brightness of that area is increased to a suitable level, thereby improving the overall display effect of the display panel.
[0096] Among them, at least one luminous intensity also includes a second luminous intensity. In step S140, the compensation brightness and compensation coefficient for defect compensation of the display panel can be determined according to the defect category of the display panel under the second luminous intensity. The compensation parameters required for the display panel under the second luminous intensity are generated according to the compensation brightness and compensation coefficient.
[0097] In some embodiments, the display panel includes a plurality of pixel units, and at least one luminous intensity includes a third luminous intensity. The defect category corresponding to the display panel under the third luminous intensity includes at least one sub-category, and each pixel unit corresponds to a sub-category. The compensation parameter of the display panel under the third luminous intensity includes at least one compensation value corresponding to the sub-category.
[0098] In this embodiment, the defect compensation of the display panel can specifically be performed on the pixel units in the display panel.
[0099] In the process of classifying defects in a display panel under a third luminous intensity, this application can classify defects in each pixel unit of the display panel to obtain the defect of each pixel unit, i.e., the sub-category. The defect category of the display panel under the third luminous intensity can be determined by the defects of each pixel unit. At the same time, each defect of the pixel unit corresponds to a compensation value, which can form the compensation parameter of the display panel under the third luminous intensity. By writing the compensation value of each pixel unit under the third luminous intensity into the display panel, defect compensation can be performed on the display panel under the third luminous intensity.
[0100] In some embodiments, at least one subcategory includes a first subcategory and a second subcategory, wherein the compensation value corresponding to the first subcategory is different from the compensation value corresponding to the second subcategory.
[0101] In this application, the defect category of the display panel under a certain light intensity can be composed of multiple subcategories, such as a first subcategory and a second subcategory. Each subcategory corresponds to a compensation value, and the compensation values between the subcategories are different. This enables the corresponding compensation for different defects existing in each pixel unit in the display panel, so as to achieve uniform compensation for the pixel unit under a certain light intensity.
[0102] Furthermore, in some embodiments, in acquiring compensation data of the display panel under at least one luminous intensity, the compensation value corresponding to each pixel unit under the third luminous intensity can be determined according to the sub-category corresponding to each pixel unit; and compensation parameters corresponding to the defect category of the display panel under the third luminous intensity can be generated according to the compensation value corresponding to each pixel unit under the third luminous intensity.
[0103] In this application, during the process of classifying display defects in a display panel, the image displayed on the display panel can be divided into multiple sub-images, each sub-image corresponding to a pixel unit. Each sub-image can then be classified separately to classify the display defects of each pixel unit, thereby obtaining the sub-category corresponding to each pixel unit. Subsequently, the compensation value for each pixel unit can be determined, and the compensation coefficient required for the display panel under the third luminous intensity can be generated based on the compensation value corresponding to each pixel unit.
[0104] In some embodiments, before step S110, the target image may be color balanced based on the color response characteristics of the color camera to obtain a color balanced target image.
[0105] In this embodiment, before performing color space conversion on the target image, specifically before performing three-dimensional color space conversion on the target image, color balance adjustment can be performed on the target image based on the color response characteristics of the color camera to obtain a color-balanced target image. This enhances the accuracy of the target image in representing the target image displayed on the display panel and also helps to improve the accuracy of subsequent color space conversion, thereby improving the accuracy of display defect classification.
[0106] Specifically, this application can adjust the gain of the red, green, and blue channels of the target image to achieve color balance adjustment, thereby making the proportions of each color channel in the target image closer to the real scene before color space conversion. The color balance adjustment of the target image based on the color response characteristics of a color camera can be achieved using the following formula:
[0107]
[0108] Among them, G adjusted G is the adjusted value for the green channel. original R is the original value of the green channel. average and B average These are the adjusted values for the green channel, R. original and B original These are the values for the original red and blue channels, respectively.
[0109] In some embodiments, the target image is a white image. Based on this, in step S110, the exposure time and sensitivity of the color camera can also be adjusted according to the display mode of the display panel. Specifically, when the display panel is in a high-contrast display mode, the sensitivity of the color camera is reduced and the exposure time is increased; when the display panel is in a low-contrast display mode, the sensitivity of the color camera is increased and the exposure time is reduced.
[0110] Specifically, in the process of using a color camera to capture the target image displayed on the display panel, this application can also adjust the exposure time and sensitivity of the color camera according to the display mode of the display panel, thereby capturing a target image that is more suitable for display defect analysis, which can effectively improve the subsequent defect compensation of the display panel.
[0111] Specifically, when the display panel is in high-contrast display mode, the sensitivity of the color camera can be reduced and the exposure time increased to avoid overexposure and to obtain richer brightness level information. Specifically, the sensitivity of the color camera can be adjusted to a preset first value, which can be less than a preset sensitivity threshold, while the exposure time can be adjusted to a preset second value, which can be greater than a preset exposure time threshold. Conversely, when the display panel is in low-contrast display mode, the sensitivity of the color camera is increased and the exposure time decreased to improve image clarity and color saturation. Specifically, the sensitivity of the color camera can be adjusted to a preset third value, which can be greater than a preset sensitivity threshold, while the exposure time can be adjusted to a preset fourth value, which can be less than a preset exposure time threshold.
[0112] In some embodiments, at least one luminous intensity further includes a fourth luminous intensity. The defect compensation method for the display panel includes: responding to a first defect category of the display panel under the fourth luminous intensity, determining compensation parameters corresponding to the first defect category from a preset defect compensation relationship table; writing the compensation parameters corresponding to the first defect category into the display panel to compensate for defects in the display panel's image under the fourth luminous intensity; responding to the first compensation result of the display panel under the fourth luminous intensity, classifying the display panel for display defects to obtain a first defect category of the display panel under the fourth luminous intensity; generating compensation parameters corresponding to a second defect category, and writing the compensation parameters corresponding to the second defect category into the display panel to compensate for defects in the display panel's image under the fourth luminous intensity.
[0113] In this application, the defects in the display panel can be brightness defects. The first defect category can be understood as the brightness defect category of the image displayed by the display panel at the fourth luminous intensity after a first defect classification. The second defect category can be understood as the brightness defect category of the display panel after a second display defect classification based on the first defect category. The second defect category can also be understood as adding a subcategory to the first defect category. The subcategory can be understood as a situation where a certain display area of the display panel is too bright, too dark, or has uneven brightness.
[0114] Specifically, the defect compensation relationship table mentioned in this application can be understood as a mapping relationship table between defect categories and compensation data. Specifically, it can be understood that each sub-category corresponds to a compensation value, which can be configured to perform brightness compensation on a certain display area of the display panel.
[0115] The display area can be understood as one or more pixel units of the display panel, and the pixel unit can be understood as one pixel of the display panel.
[0116] Meanwhile, the first compensation result mentioned in this application can be understood as the information that the display panel failed to repair display defects after performing a brightness compensation. It can be characterized by the instruction to reclassify display defects generated after manual inspection, or by the result after inspection by inspection equipment. The specific implementation method can be selected according to the actual application, and this application does not make specific limitations.
[0117] In some embodiments, after writing compensation parameters corresponding to the first defect category into the display panel to compensate for defects in the display panel at the fourth luminous intensity, the method further includes: generating information indicating successful defect compensation for the display panel at the fourth luminous intensity in response to the second compensation result of the display panel at the fourth luminous intensity.
[0118] In this application, the second compensation result can be understood as information indicating that the display panel has successfully repaired display defects after performing a brightness compensation. Before compensating for display defects in a display panel at a fourth luminous intensity, this application can pre-determine the defect categories present in the display panel at each luminous intensity, and then construct a defect compensation relationship table based on these categories.
[0119] Furthermore, the display panel under the fourth luminous intensity can be defect-classified based on the existing defect categories. A first defect category is determined from these categories. Then, a compensation coefficient corresponding to the first defect category is determined from a defect compensation relationship table and written into the display panel for defect compensation. Afterward, a panel inspection can be performed to determine if the repair was successful. If the first compensation result is displayed, the number of defect categories needs to be increased again, and the parameters for defect classification need to be adjusted to re-classify the display panel under the fourth luminous intensity. The second defect category of the display panel under the fourth luminous intensity is obtained. Then, a corresponding compensation coefficient can be generated based on the second defect category and written into the display panel to compensate for the defects of the display panel under the fourth luminous intensity. After that, the panel is judged again. If the first compensation result is displayed again, the above steps are repeated until the repair is successful. If the second compensation result is displayed, the next display panel can be repaired based on the adjusted parameters of the display panel for display defect classification. This not only enables mass production repair of display panels, but also significantly improves the efficiency of subsequent display panel repair, greatly improving the efficiency of mass production repair of display panels.
[0120] It should be noted that the images displayed on the display panels corresponding to the first and second defect categories can be acquired by at least one of a black-and-white industrial camera or a color camera, which can be selected according to the actual application, and this application does not make any specific limitation.
[0121] Furthermore, in this application, both the compensation coefficient corresponding to the first defect category and the compensation coefficient corresponding to the second defect category can be composed of a compensation coefficient and a compensation brightness. Regarding the repair effect on the display panel, the compensation coefficient corresponding to the second defect category exhibits a better repair effect than the compensation coefficient corresponding to the first defect category.
[0122] The compensation coefficients corresponding to the first defect category and the second defect category can each correspond to two display panels. However, one of the display panels has a larger display defect, so the compensation coefficient corresponding to the second defect category needs to be used for defect compensation.
[0123] The compensation coefficients corresponding to the first defect category and the second defect category are written into the corresponding display panels, which can then be used to adjust the display parameters of the display panels to compensate for the brightness.
[0124] For example, for a darker area corresponding to the first defect category, the compensation coefficient for the first defect category can adjust parameters such as voltage or current in a certain area of the display panel to increase the brightness of that area to a suitable level and improve the overall display effect of the display panel. For a brighter area corresponding to the second defect category, the compensation coefficient for the second defect category can also adjust parameters such as voltage or current in a certain area of the display panel to increase the brightness of that area to a suitable level and improve the overall display effect of the display panel. The values of the adjusted parameters are different in the two cases.
[0125] In addition, after the compensation coefficients corresponding to the first defect category and the second defect category are written into the display panel, the display parameters of the display panel can be adjusted in the following way:
[0126] Gray_out=Gray_in+k*Offset*Gain;
[0127] Wherein, Gray_out is the grayscale value output by the display panel after defect compensation, Gray_in is the grayscale value output by the display panel before defect compensation, k*Offset*Gain is the compensation data, Offset is the compensation brightness, Gain is the compensation coefficient, and k is a constant.
[0128] In some embodiments, the display panel includes a plurality of pixel units, and both the first defect category and the second defect category include at least one subcategory. Each pixel unit corresponds to one subcategory, and there is at least one subcategory that is different between the first defect category and the second defect category.
[0129] In this embodiment, the first defect category can be understood as the brightness defect category of the image displayed by the display panel under the fourth luminous intensity after one defect classification. The second defect category can be understood as the brightness defect category of the display panel after another display defect classification based on the first defect category. That is, the second defect category can be understood as adding a subcategory to the first defect category. Thus, there is at least one different subcategory between the first defect category and the second defect category. At the same time, the number of subcategories in the second defect category is less than the number of subcategories in the first defect category.
[0130] In some embodiments, the defect compensation method for the display panel further includes: updating the defect compensation relationship table based on the fourth luminous intensity, the second defect category, and the compensation parameters corresponding to the second defect category.
[0131] Specifically, this application updates the defect compensation relationship table by using a fourth luminous intensity, a second defect category, and compensation parameters corresponding to the second defect category. This allows for the rapid determination of the compensation data required for the display panel during the subsequent repair process of display defects, thereby improving the repair efficiency of display defects while making the brightness of the display panel more uniform.
[0132] In addition, it should be noted that the first defect category and the second defect category mentioned in this application can actually be understood as a defect category in this application. The first defect category and the second defect category may be the same or different, and they can be selected according to the actual application. This application does not make any specific restrictions.
[0133] It should also be noted that the first luminous intensity, the second luminous intensity, the third luminous intensity, and the fourth luminous intensity may be the same or different, and they may be selected according to the actual application. This application does not make any specific restrictions.
[0134] In the defect compensation method for display panels provided in this application, a color camera is used to capture the target image displayed on the display panel to obtain a target image, thereby achieving a more comprehensive acquisition of the image displayed on the display panel. This provides a richer information source for subsequent defect compensation of the display panel. Simultaneously, the target image is converted to a grayscale image through color space conversion, and the display panel is classified for display defects using the grayscale image to obtain the defect category of the display panel. Finally, compensation data for defect compensation of the display panel is obtained based on the defect category and written to the display panel to achieve rapid adjustment of the brightness of the display panel. This improves the display effect of the display panel while increasing the accuracy of Mura compensation.
[0135] This application also provides a defect compensation device 200 for a display panel, which is used to perform any embodiment of the aforementioned defect compensation method for a display panel.
[0136] Please see Figure 4 , Figure 4 This is a schematic block diagram of the defect compensation device 200 for the display panel provided in this application. Figure 4 As shown, the defect compensation device 200 for the display panel includes: a data acquisition unit 210, a conversion unit 220, a classification unit 230, and a writing unit 240.
[0137] The acquisition unit 210 is used to acquire the target image of the display panel using a color camera to obtain the target image; the conversion unit 220 is used to convert the target image into a color space to obtain a grayscale image corresponding to the target image; the classification unit 230 is used to classify the display panel for display defects using the grayscale image to obtain the defect category of the display panel; and the writing unit 240 is used to obtain compensation data for defect compensation of the display panel based on the defect category and write it to the display panel.
[0138] The functional units such as the collection unit 210, the conversion unit 220, the classification unit 230, and the writing unit 240 can be used to execute steps S110-S140 of the aforementioned method embodiments. For specific implementation details of these functional units, please refer to the content of the corresponding method step embodiments, which will not be repeated here.
[0139] The display panel defect compensation device 200 provided in this application embodiment acquires the target image displayed on the display panel using a color camera to obtain a target image, thereby achieving a more comprehensive acquisition of the image displayed on the display panel. This facilitates the provision of a richer information source for subsequent display panel defect compensation. Simultaneously, the target image undergoes color space conversion to obtain a grayscale image, and the grayscale image is used to classify display defects of the display panel to obtain the defect category of the display panel. Finally, compensation data for defect compensation of the display panel is obtained based on the defect category and written to the display panel to achieve rapid adjustment of the brightness of the display panel. This improves the display effect of the display panel while increasing the accuracy of Mura compensation.
[0140] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned display panel defect compensation device 200 and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.
[0141] The aforementioned defect compensation device 200 for the display panel can be implemented as a computer program, which can, for example... Figure 5 It runs on the electronic device shown.
[0142] Please see Figure 5 , Figure 5 This is a schematic block diagram of an electronic device provided in this application. The electronic device 300 can be a terminal, wherein the terminal can be a cloud-based terminal device, a vehicle-mounted terminal device, a smartphone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device, etc.
[0143] See Figure 5The electronic device 300 includes a processor 302, a memory, and a network interface 305 connected via a system bus 301. The memory may include a non-volatile storage medium 303 and internal memory 304.
[0144] The non-volatile storage medium 303 may store an operating system 3031 and a computer program 3032. The computer program 3032 includes program instructions that, when executed, cause the processor 302 to perform a defect compensation method for a display panel.
[0145] The processor 302 provides computing and control capabilities to support the operation of the entire electronic device 300.
[0146] The internal memory 304 provides an environment for the operation of the computer program 3032 in the non-volatile storage medium 303. When the computer program 3032 is executed by the processor 302, the processor 302 can perform a defect compensation method for the display panel.
[0147] This network interface 305 is used for network communication with other devices. Those skilled in the art will understand that... Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device 300 to which the present application is applied. The specific electronic device 300 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0148] The processor 302 is used to run the computer program 3032 stored in the memory to perform the following steps: using a color camera to capture the target image of the display panel to obtain the target image; performing color space conversion on the target image to obtain the grayscale image corresponding to the target image; using the grayscale image to classify the display defects of the display panel to obtain the defect category of the display panel; and based on the defect category, obtaining compensation data for defect compensation of the display panel and writing it to the display panel.
[0149] It should be understood that in the embodiments of this application, the processor 302 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0150] According to one aspect of this application, a computer program product or computer program is also provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the following steps: acquiring a target image of a display panel using a color camera; performing color space conversion on the target image to obtain a grayscale image corresponding to the target image; classifying display defects of the display panel using the grayscale image to obtain defect categories of the display panel; and based on the defect categories, obtaining compensation data for defect compensation of the display panel and writing it to the display panel.
[0151] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0152] Therefore, this application also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When executed by a processor, the program instructions cause the processor to perform the following steps: acquiring a target image of the display panel using a color camera; performing color space conversion on the target image to obtain a grayscale image corresponding to the target image; classifying display defects of the display panel using the grayscale image to obtain a defect category of the display panel; and based on the defect category, obtaining compensation data for defect compensation of the display panel and writing it to the display panel.
[0153] The storage medium can be any computer-readable storage medium that can store program code, such as a USB flash drive, external hard drive, read-only memory (ROM), magnetic disk, or optical disk.
[0154] 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, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. 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 implementations should not be considered beyond the scope of this application.
[0155] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0156] The steps in the methods of this application embodiment can be adjusted, merged, or deleted according to actual needs. The units in the apparatus of this application embodiment can be merged, divided, or deleted according to actual needs. Furthermore, the functional units in the various embodiments of this application 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.
[0157] 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 storage medium. Based on this understanding, the technical solution of this application, in essence, 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. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods provided in the various embodiments of this application.
[0158] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for defect compensation in a display panel, characterized in that, include: A color camera is used to capture the target image on the display panel to obtain the target image; The target image is converted to a different color space to obtain a grayscale image corresponding to the target image. The grayscale image is used to classify the display defects of the display panel to obtain the defect category of the display panel; Based on the defect category, compensation data for defect compensation of the display panel is obtained and written to the display panel.
2. The defect compensation method for a display panel according to claim 1, characterized in that, The process of using a color camera to capture the target image on the display panel to obtain the target image includes: Based on a preset image generator, the display panel is controlled to display the target image; the target image is the display image of the display panel at a preset brightness. The color camera is controlled to capture images of the target to obtain the target image.
3. The defect compensation method for a display panel according to claim 1, characterized in that, The step of performing color space conversion on the target image to obtain a grayscale image corresponding to the target image includes: The target image is converted to a three-dimensional color space to obtain an intermediate image; The intermediate image is converted from the three-dimensional color space to the LAB color space to obtain the grayscale image.
4. The defect compensation method for a display panel according to claim 3, characterized in that, Before converting the target image to a three-dimensional color space, the method further includes: Perform a gamma transform on the target image to obtain the gamma-transformed target image.
5. The defect compensation method for a display panel according to any one of claims 1 to 4, characterized in that, The step of classifying display defects of the display panel using the grayscale image to obtain the defect categories of the display panel includes: The grayscale image is divided into grids, and the average grayscale value of each grid is calculated to obtain the grayscale data of each grid. Based on the grayscale data of each grid, gradient feature analysis is performed on the grayscale image to classify display defects of the display panel and obtain the defect category.
6. The defect compensation method for a display panel according to any one of claims 1 to 4, characterized in that, The step of obtaining compensation data for defect compensation of the display panel based on the defect category and writing it into the display panel includes: Based on the defect category, determine the compensation brightness and compensation coefficient for defect compensation of the display panel; Compensation data is generated based on the compensation brightness and the compensation coefficient, and the compensation data is written to the display panel.
7. The defect compensation method for a display panel according to any one of claims 1 to 4, characterized in that, Before performing color space conversion on the target image to obtain the corresponding grayscale image, the method further includes: Based on the color response characteristics of the color camera, color balance adjustment is performed on the target image to obtain a color-balanced target image; or / and, The target image is a white image, and the step of using a color camera to capture the target image on the display panel to obtain the target image also includes: The exposure time and ISO of the color camera are adjusted according to the display mode of the display panel.
8. The defect compensation method for a display panel according to any one of claims 1 to 4, characterized in that, The target image is the image displayed on the display panel under a target luminous intensity, and the compensation data includes multiple compensation parameters, each of which corresponds to a luminous intensity. The step of obtaining compensation data for defect compensation of the display panel based on the defect category and writing it into the display panel includes: In response to the defect category of the display panel under the target luminous intensity, compensation data for defect compensation of the display panel is obtained; wherein, the compensation data for defect compensation of the display panel includes at least a compensation parameter corresponding to the target luminous intensity; At least the compensation parameters corresponding to the target luminous intensity are written into the display panel to compensate for defects in the display panel under different luminous intensities.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the defect compensation method for the display panel according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the defect compensation method for the display panel according to any one of claims 1 to 8.