Backlight module defect detection method

By acquiring the luminous images of the backlight module at different angles and using the Gaussian mixture model for detection, the problem of low detection efficiency and poor accuracy of the backlight module in the existing technology is solved, and efficient and accurate defect detection is achieved.

CN115100143BActive Publication Date: 2024-10-22TRIUMPH SCI & TECH GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210720848.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-23
Publication Date
2024-10-22
Estimated Expiration
2042-06-23

AI Technical Summary

Technical Problem

In the existing technology, backlight module detection relies on manual judgment, which results in low efficiency, high cost, and missed detections. In addition, the image detection method affects detection accuracy due to material texture, and smoothing filtering may remove some defects, resulting in inaccurate detection results.

Method used

By acquiring the luminous images of the backlight module at different shooting angles, grayscale image processing and Gaussian mixture model fitting are performed to calculate the fuzzy classification results and distribution stability coefficient of pixels, determine defective points, and use multi-angle detection to improve accuracy.

Benefits of technology

It achieves accurate detection of defects in backlight modules, improves detection efficiency and accuracy, saves labor costs, and reduces missed detections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115100143B_ABST
    Figure CN115100143B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of material detection, and specifically to a method for detecting defects in a backlight module; the method is a method for detecting or analyzing materials by collecting visible light images using optical means, specifically using visible light means, and detecting the backlight module, specifically: collecting luminous images of the backlight module at different shooting angles to obtain grayscale images of the luminous images; based on the grayscale images, calculating the fuzzy classification results of each pixel belonging to each category; then calculating the statistical contribution of two pixel points in all point pairs at different spacings to each category; based on the statistical contribution, calculating the distribution stability coefficient of each category; and then obtaining the elimination effect of all pixel points on each category; based on the elimination effect, judging whether the corresponding pixel point is a defective point. The present invention utilizes the physical property of the backlight module that can emit light by itself, obtains the luminous image of the backlight module, detects the defects of the backlight module through the luminous image, and can accurately detect the defects of the backlight module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of material detection, and in particular to a method for detecting defects in a backlight module. Background Art

[0002] The backlight module is one of the key components of the liquid crystal display panel. Since liquid crystal itself does not have the property of luminescence, a light source must be added to the bottom of the panel to achieve a full color display effect. The function of the backlight module is to supply sufficient brightness and evenly distributed light source so that the liquid crystal display panel can display images normally; the quality of the backlight module determines the luminous effect of the liquid crystal display panel, so defect detection of the backlight module is particularly important.

[0003] In the production process of backlight modules, most factories mainly rely on manual inspection of backlight modules. This inspection method judges the quality of backlight modules based on the subjective consciousness of the manual inspection, so there will be differences in the inspection results of different manual inspections. At the same time, this inspection method not only consumes a lot of labor costs and has low efficiency, but also produces visual fatigue and missed inspections due to long-term manual inspections. In addition, there are also factories that use cameras to collect images of the backlight module to evaluate whether the backlight module has defects through images; however, this method will produce bright spots or dark spots with clear textures on the image due to the material of the backlight module, which will have an adverse effect on the detection effect of the defects (white spots, white masses, black spots, black masses) of the backlight module. In the prior art, smoothing filtering is generally used to directly remove these bright spots or dark spots as noise, but smoothing filtering may also remove the defects of some backlight templates, resulting in inaccurate detection results of the backlight module. Summary of the invention

[0004] In order to solve the above technical problems, the purpose of the present invention is to provide a method for detecting defects of a backlight module. The technical solution adopted is as follows:

[0005] Acquire luminous images corresponding to the backlight module at different shooting angles, and pre-process the luminous images to obtain grayscale images;

[0006] Obtain a grayscale histogram corresponding to each grayscale image, and fit the grayscale histogram using a Gaussian mixture model, wherein the Gaussian mixture model has three sub-Gaussian models, each of which represents a category of fuzzy classification; based on the sub-Gaussian models, calculate the fuzzy classification results of each pixel point in the grayscale image belonging to each category;

[0007] Draw a straight line with an arbitrary inclination angle through the midpoint of each grayscale image, and draw several parallel lines of the straight line, set different spacings, select any spacing, and on each parallel line and straight line, form a point pair with two pixels with equal spacings. According to the fuzzy classification results of the pixels in the point pair, calculate the statistical contribution of the two pixels in all the point pairs under the spacing to each category;

[0008] According to the statistical contribution, the frequency of the statistical contribution corresponding to each spacing is calculated, and the distribution stability coefficient of each category is calculated based on the frequency;

[0009] Randomly select a grayscale image, remove any pixel in the grayscale image, calculate the new distribution stability coefficient of each category of the remaining pixel points, and use the difference between the distribution stability coefficient and the new distribution stability coefficient as the removal effect of the pixel point on each category; obtain the removal effect of all pixels in each grayscale image on each category;

[0010] When the influence of any pixel point on the elimination of each category is less than 0, the pixel point is a defect point; the defect points of each grayscale image are obtained, and the defect points are merged to obtain all the defect points of the backlight module.

[0011] Furthermore, the fuzzy classification result is:

[0012]

[0013] in, is the fuzzy classification result of the i-th pixel belonging to the k-th category, G 混 (g i ) is the gray value g i The probability of appearing on the grayscale image, w k Represents the weight corresponding to the output value of the k-th sub-Gaussian model, G k (g i ) is the gray value g i The output value of the k-th sub-Gaussian model.

[0014] Furthermore, the statistical contribution is:

[0015]

[0016] in, N represents the statistical contribution of two pixel points to the kth category in all point pairs with a spacing of d. d is the total number of point pairs with a spacing of d, Indicates the fuzzy classification result that the pixel α in the j-th point pair belongs to the k-th category; Indicates the fuzzy classification result that the pixel β in the j-th point pair belongs to the k-th category.

[0017] Furthermore, the frequency is: in, is the statistical contribution of two pixel pairs to the kth category among all point pairs with a spacing of d, and D is the maximum value of the spacing.

[0018] Furthermore, the distribution steady-state coefficient is:

[0019]

[0020] Among them, T k is the distribution steady-state coefficient of the kth category, is the frequency of the statistical contribution of the kth category corresponding to the interval d, and D is the maximum value of the interval.

[0021] The embodiments of the present invention have at least the following beneficial effects:

[0022] The present invention relates to the technical field of material detection, and in particular to a method for detecting defects in a backlight module; obtaining luminous images corresponding to a backlight module at different shooting angles to obtain grayscale images of the luminous images; obtaining grayscale histograms of each grayscale image, fitting the grayscale histograms using a Gaussian mixture model, and calculating fuzzy classification results of each pixel point belonging to each category; based on the fuzzy classification results, calculating the statistical contributions of two pixel points in all point pairs at different intervals to each category; calculating the distribution stability coefficient of each category according to the statistical contribution; and then obtaining the elimination influence of all pixel points on each category; and judging whether the corresponding pixel point is a defective point based on the elimination influence.

[0023] The invention utilizes the physical property of the backlight module that can emit light by itself to obtain the luminous image of the backlight module, detects the defects of the backlight module through the luminous image, and can accurately detect the defects of the backlight module; at the same time, the invention eliminates the influence of whether the pixel point reflects the positive or negative influence on the calculation of the corresponding distribution steady-state coefficient of each category, and based on the characteristic that the defect point has a negative influence on the calculation of the corresponding distribution steady-state coefficient of each category, the pixel point corresponding to the negative influence is recorded as the defect point; the defect point can be accurately obtained, the detection efficiency and detection accuracy of the backlight module are improved, and the labor cost is saved. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 The figure is a flow chart of a method for detecting backlight template defects according to an embodiment of the present invention.

[0026] Figure 2 This is the camera deployment diagram. DETAILED DESCRIPTION

[0027] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the scheme proposed according to the present invention, its specific implementation, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures, or characteristics in one or more embodiments may be combined in any suitable form.

[0028] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0029] See also Figure 1 , which shows a method flow chart of a method for detecting backlight module defects provided by an embodiment of the present invention, the method comprising the following steps:

[0030] Step 1: Obtain luminous images corresponding to the backlight module at different shooting angles, and pre-process the luminous images to obtain grayscale images.

[0031] Specifically, different shooting angles are set. The shooting angles in this embodiment are 30°, 45° and 90°, and two cameras are deployed at a shooting angle of 30°, two cameras are deployed at a shooting angle of 45°, and one camera is deployed at a shooting angle of 90°. The camera deployment diagram is shown in FIG. Figure 2 shown.

[0032] Preferably, the luminescent image is subjected to image correction, and then grayscaled using an average method to obtain a grayscale image; wherein the average method and image correction are both existing technologies and will not be described in detail.

[0033] The defect points on the backlight module are generally small defect points, such as white spots and black spots. Of course, there may also be slightly larger and more concentrated defect points such as white clusters and black clusters. Due to the inherent characteristics of the material constituting the backlight module, the defect points on the backlight module cannot be fully detected by relying on only one shooting angle. Therefore, this embodiment sets different shooting angles and uses multiple cameras to obtain the luminous image of the backlight module, which can accurately obtain the defect points of the backlight module.

[0034] Step 2, obtain the grayscale histogram corresponding to each grayscale image, and use a Gaussian mixture model to fit the grayscale histogram, wherein the Gaussian mixture model has three sub-Gaussian models, each of which represents a category of fuzzy classification; based on the sub-Gaussian model, calculate the fuzzy classification results of each pixel in the grayscale image belonging to each category.

[0035] Specifically, according to the gray value of each pixel in the gray image, the gray histogram of the gray image is obtained. The gray histogram represents the probability of each gray value appearing on the entire gray image. All gray values ​​in the gray image and the probabilities corresponding to each gray value are used as sample data. The sample data is fitted using the EM algorithm to obtain a Gaussian mixture model. The number of sub-Gaussian models in the Gaussian mixture model is set to 3. Each sub-Gaussian model represents a category of fuzzy classification, and the categories include dark spots, normal spots, and bright spots. This embodiment uses a Gaussian mixture model to describe the probability of each gray value appearing on the entire gray image. This probability is the cumulative sum of the calculation results of all sub-Gaussian models multiplied by their corresponding weights. The sub-Gaussian models are sorted from small to large according to the mean value, and are recorded as serial numbers 1, 2, and 3 respectively. Then the first sub-Gaussian model represents a dark spot, the second sub-Gaussian model represents a normal spot, and the third sub-Gaussian model represents a bright spot.

[0036] Input any gray value into the Gaussian mixture model, and the output of the Gaussian mixture model is:

[0037]

[0038] Among them, g i For the input i The gray value of the pixel, G 混 (g i ) is the gray value g i The probability of appearing on the grayscale image, w k Represents the weight corresponding to the output value of the k-th sub-Gaussian model, G k (g i ) is the gray value g i The output value of the k-th sub-Gaussian model.

[0039] For any gray value in the grayscale image, there will be 3 corresponding w k *G k (g i ), this embodiment uses w k *G k (g i ) Calculate the fuzzy classification results of each pixel in the grayscale image belonging to each category.

[0040] The fuzzy classification results are:

[0041]

[0042] in, is the fuzzy classification result of the i-th pixel belonging to the k-th category, G 混 (g i ) is the gray value g i The probability of appearing on the grayscale image, w k Represents the weight corresponding to the output value of the k-th sub-Gaussian model, G k (g i ) is the gray value g i The output value of the k-th sub-Gaussian model.

[0043] As shown in the above formula, Represents the membership of the i-th pixel to the k-th category; when k=1, Indicates the membership degree of the i-th pixel to a dark spot; when k = 2, Indicates the membership degree of the i-th pixel point to a normal point; when k=3. represents the degree of membership of the i-th pixel as a bright spot; and

[0044] When acquiring the luminous image of the backlight module at different shooting angles, there will be a large number of bright and dark noise points due to the material, as well as defects such as white dots, black dots, white clumps, and black clumps on the luminous image; that is, bright and dark noise points may also be defect points, and it is impossible to accurately judge whether the bright and dark noise points on the luminous image are defect points; therefore, all bright and dark noise points are regarded as defect points and are fuzzily classified.

[0045] Step 3: Draw a straight line with an arbitrary inclination angle through the midpoint of each grayscale image, and draw several parallel lines of the straight line, set different spacings, select any spacing, and on each parallel line and straight line, form a point pair with two pixels with equal spacing. According to the fuzzy classification results of the pixels in the point pair, calculate the statistical contribution of the two pixels in all the point pairs under this spacing to each category.

[0046] Specifically, the tilt angle in this embodiment is 45°, and the implementer can adjust the tilt angle. The size of a pixel is recorded as a*a, and the vertical distance between the parallel line and the straight line is The vertical distance between two adjacent parallel lines is also All parallel and straight lines cover all pixels in the grayscale image.

[0047] Preferably, in order to improve the accuracy of subsequent calculations to eliminate the influence, this embodiment divides the grayscale image into 16 detection domains, and the size of each detection domain is 1 / 16 of the grayscale image. Then, different spacings are set, and the value range of the spacing is [1, D], where D is the Euclidean distance of the diagonal of the detection domain. An arbitrary spacing is selected, and the statistical contribution of the two pixel points in all point pairs under the spacing to each category is calculated.

[0048] The statistical contributions are:

[0049]

[0050] in, N represents the statistical contribution of two pixel points to the kth category in all point pairs with a spacing of d. d is the total number of point pairs with a spacing of d, Indicates the fuzzy classification result that the pixel α in the j-th point pair belongs to the k-th category; Indicates the fuzzy classification result that the pixel β in the j-th point pair belongs to the k-th category.

[0051] The pixel point α in the above description is one of the pixel points in the point pair, and the pixel point β is the other pixel point in the point pair.

[0052] Furthermore, the statistical contributions of the two-pixel points in all point pairs at each spacing to each category are obtained.

[0053] It should be noted that for one of the categories in the detection domain, the category should be all the pixels in the detection domain, but each pixel has a fuzzy classification result belonging to each category; this indicates that all the pixels in the detection domain are both real and imaginary for a category, that is, the pixels with a larger fuzzy classification result for the category are closer to "real" for the category, and the pixels with a smaller fuzzy classification result for the category are closer to "imaginary" for the category. Pixels close to "real" have a large statistical contribution to the category, and pixels close to "imaginary" have a small statistical contribution to the category.

[0054] In this embodiment, if there is no defect in the backlight module, each category on the grayscale image corresponding to the backlight module is evenly distributed on the entire grayscale image, and each category has a distribution steady state, that is, dark spots have a distribution steady state, normal spots have a distribution steady state, and bright spots have a distribution steady state; the distribution steady state of the kth category in the detection domain should be measured by the spacing between two adjacent pixels in any direction of the detection domain being close to equal, wherein the two adjacent pixels belong to the kth category. Therefore, a straight line with an arbitrary inclination angle is made through the midpoint of the grayscale image, and several parallel lines of the straight line are made. These lines (the straight line and several parallel lines) will pass through all the pixels on the grayscale image. Then, on the same line, there will be a spacing between every two adjacent pixels. If all the obtained spacings are equal, the distribution of the category is the most balanced, and whether the spacing between the two pixels is worth being counted is related to the "virtual reality" of the two pixels, that is, it is related to the fuzzy classification results of the two pixels for the category. Therefore, the fuzzy classification results are used to calculate the statistical contribution of the two pixels to each category.

[0055] Step 4: Calculate the frequency of the statistical contribution corresponding to each spacing according to the statistical contribution, and calculate the distribution stability coefficient of each category in the grayscale image based on the frequency.

[0056] Specifically, the frequencies are: in, is the statistical contribution of two pixel pairs to the kth category among all point pairs with a spacing of d, and D is the maximum value of the spacing.

[0057] The distribution steady-state coefficient in the above is:

[0058]

[0059] Among them, T k is the distribution steady-state coefficient of the kth category, is the frequency of the statistical contribution of the kth category corresponding to the interval d, and D is the maximum value of the interval.

[0060] The value range of the distribution stability coefficient is 0-1. The closer the distribution stability coefficient is to 1, the more stable the distribution of the category is. On the contrary, it means that the distribution of the category is more unstable.

[0061] Step 5, randomly select a grayscale image, remove any pixel in the grayscale image, calculate the new distribution stability coefficient of each category of the remaining pixel points, and use the difference between the distribution stability coefficient and the new distribution stability coefficient as the removal effect of the pixel point on each category; obtain the removal effect of all pixels in each grayscale image on each category.

[0062] The elimination effect can reflect whether the pixel has a positive or negative impact on the calculation of the corresponding distribution steady-state coefficient of the category. If the elimination effect is greater than 0, it means that after the pixel is eliminated, the new distribution stability coefficient of the category is less than the distribution stability coefficient, and the distribution stability coefficient has decreased, indicating that the pixel has a positive impact on the calculation of the corresponding distribution steady-state coefficient of the category. Otherwise, it means that the pixel has a negative impact on the calculation of the corresponding distribution stability coefficient of the category.

[0063] Step 6: When the influence of any pixel point on the elimination of each category is less than 0, the pixel point is a defect point; the defect points of each grayscale image are obtained, and the defect points are merged to obtain all the defect points of the backlight module.

[0064] It has been clearly stated in step 5 that the elimination effect can reflect whether the pixel point has a positive or negative effect on the calculation of the steady-state coefficient of the corresponding distribution of the category. If the elimination effect of the pixel point corresponding to each category is less than 0, then the pixel point has a negative effect on the calculation of the steady-state coefficient of the corresponding distribution of each category. Only defective points will have a negative effect, because defective points will break the balanced distribution of each category in the grayscale image. Therefore, when the elimination effect of any pixel point on each category is less than 0, the pixel point is a defective point.

[0065] Preferably, different shooting angles can be used to more accurately obtain the defect points of the backlight module. The method for obtaining all defect points of the backlight module in this embodiment is: take all defect points corresponding to the first grayscale image as set 1; take all defect points corresponding to the second grayscale image as set 2; take all defect points corresponding to the third grayscale image as set 3; take all defect points corresponding to the fourth grayscale image as set 4, and take all defect points corresponding to the fifth grayscale image as set 5. Take the union of set 1, set 2, set 3, set 4 and set 5 to obtain all defect points of the backlight module.

[0066] Furthermore, all defect points are classified by color to obtain the color types corresponding to the defect points. Specifically, the product of the fuzzy classification results of the defect points corresponding to each category and the corresponding elimination influence is calculated, that is, in, is the fuzzy classification result of defect point t corresponding to the kth category, For the removal effect of defect point t corresponding to the kth category, select The value of k is obtained, k=1, indicating that the color type of the defect point t is black, and k=3, indicating that the color type of the defect point t is white.

[0067] It should be noted that due to the characteristics of the backlight template defect types, that is, the backlight template defect types are black dots, white dots, black clusters, and white clusters, there are no defective dots among the normal dots.

[0068] So far, the color categories of all defect points have been detected, but the aggregation of defect points has not been judged. If the aggregation of defect points is large, it means that there are cluster defects in the backlight template, that is, there are black or white clusters in the backlight template; therefore, it is necessary to calculate the aggregation of each defect point with respect to other defect points, arbitrarily select a defect point with a color category of white, calculate the Euclidean distance between the n adjacent defect points with a color category of white around the defect point and the defect point, and calculate the mean of all Euclidean distances, where the value of n is 15, and the implementer adjusts the value of n according to the actual situation; then judge the size of the mean and the threshold. When the mean is less than the threshold, there is a cluster defect here, that is, the defect type of the backlight module here is a white cluster; when the mean is greater than the threshold, there is no cluster defect here, that is, the defect type of the backlight module here is a white spot. Similarly, the defect types of black spots and black clusters of the backlight module are obtained. In this embodiment, the threshold is set to 10, and the implementer can adjust the threshold according to the actual situation.

[0069] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for detecting defects in a backlight module, characterized in that: The method comprises the following steps: Acquire luminous images corresponding to the backlight module at different shooting angles, and pre-process the luminous images to obtain grayscale images; Obtain a grayscale histogram corresponding to each grayscale image, and fit the grayscale histogram using a Gaussian mixture model, wherein the Gaussian mixture model has three sub-Gaussian models, each of which represents a category of fuzzy classification; based on the sub-Gaussian models, calculate the fuzzy classification results of each pixel point in each grayscale image belonging to each category; Draw a straight line with an arbitrary inclination angle through the midpoint of each grayscale image, and draw several parallel lines of the straight line, set different spacings, select any spacing, and on each parallel line and straight line, form a point pair with two pixels of equal spacing. According to the fuzzy classification results of the pixels in the point pair, calculate the statistical contribution of the two pixels in all the point pairs under the spacing to each category; According to the statistical contribution, the frequency of the statistical contribution corresponding to each spacing is calculated, and the distribution stability coefficient of each category is calculated based on the frequency; Randomly select a grayscale image, remove any pixel in the grayscale image, calculate the new distribution stability coefficient of each category of the remaining pixel points, and use the difference between the distribution stability coefficient and the new distribution stability coefficient as the removal effect of the pixel point on each category; obtain the removal effect of all pixels in each grayscale image on each category; When the influence of any pixel point on the elimination of each category is less than 0, the pixel point is a defect point; the defect points of each grayscale image are obtained, and the defect points are merged to obtain all the defect points of the backlight module; The fuzzy classification results are: ; in, is the fuzzy classification result of the i-th pixel belonging to the k-th category, Gray value The probability of appearing on the grayscale image, Indicates The weight corresponding to the output value of the sub-Gaussian model, Gray value In the Output value of the sub-Gaussian model; The statistical contributions are: ; in, Indicates the spacing is The two pixel pairs among all the point pairs The statistical contribution of each category, The spacing is The total number of point pairs, Indicates Point-centered pixels Belong to Fuzzy classification results of categories Indicates Point-centered pixels Belong to Fuzzy classification results of categories; The frequencies are: ,in, The spacing is The two pixel pairs among all the point pairs The statistical contribution of each category, is the maximum value of the spacing; The distribution stability coefficient is: ; in, is the distribution stability coefficient of the kth category, is the frequency of the statistical contribution of the kth category with a spacing of d, The maximum value of the spacing.