Defect feature threshold acquisition device, image detection system and method using the same
By using a grouper and a defect characteristic threshold obtainer in the image inspection system to determine the defect characteristic values of the optical film and synthesize the characteristic curve, it solves the problem of traditional human experience judgment that is time-consuming and has a high misjudgment rate, and achieves fast and accurate defect detection judgment and reduce the misjudgment rate.
Patent Information
- Application Number
- CN202210171792.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-08-20
- Filing Date
- 2022-02-24
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-02-24
AI Technical Summary
In the traditional method, artificial experience to determine the defect inspection threshold is time-consuming and inefficient, resulting in low defect judgment accuracy and high misjudgment rate. It is difficult to quickly determine the appropriate threshold to improve the accuracy of defect judgment and reduce the misjudgment rate of good products.
Design a defect characteristic threshold obtaining device, including a grouper and a defect characteristic threshold obtainer. By judging whether a plurality of defect characteristic values can be distinguished into a first group and a second group, a synthetic characteristic curve is synthesized and a synthetic characteristic threshold is obtained. Used to analyze the initial image of the optical film, retain the detected defect points greater than the threshold and delete the points less than the threshold, and output the optical film output image.
Quickly obtain defect characteristic thresholds through computer calculations, reduce labor costs, improve defect judgment accuracy, reduce false alarm rates and missed detection rates, and improve the accuracy of judgment of optical film defects.
Smart Images

Figure CN114527134B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a defect feature threshold acquisition device, and an image detection system and method using the same. Background Art
[0002] As we enter the era of 4K and 8K displays, the requirements for defect detection of optical films or optical films have also increased. The traditional approach is to set the defect inspection threshold based on human experience. However, the manual determination of the threshold is time-consuming and inefficient, and it takes constant trial and error to determine a usable threshold.
[0003] Therefore, how to quickly determine an appropriate threshold value to increase the accuracy of defect determination and reduce the misjudgment rate of good products has become one of the goals of the industry in this technical field. Summary of the invention
[0004] The present invention relates to a defect feature threshold acquisition device, an image detection system and a method using the same, which can improve the above-mentioned conventional problems.
[0005] According to one embodiment of the present invention, a defect feature threshold value acquisition device is provided. The defect feature threshold value acquisition device includes a grouper and a defect feature threshold value acquirer. The grouper is used to determine whether a plurality of defect feature values can be distinguished into a first group and a second group. The defect feature threshold value acquirer is used to: when these defect feature values can be distinguished into a first group and a second group, synthesize these defect feature values of the first group and these defect feature values of the second group into a synthetic feature curve; and, obtain a defect feature threshold value of the synthetic feature curve.
[0006] According to another embodiment of the present invention, an image detection system is provided. The image detection system includes a defect feature threshold acquisition device and an image detection device. The defect feature threshold acquisition device includes a clustering device and a defect feature threshold acquisition device. The clustering device is used to determine whether a plurality of defect feature values can be distinguished into a first group and a second group. The defect feature threshold acquisition device is used to: when these defect feature values can be distinguished into a first group and a second group, synthesize these defect feature values of the first group and these defect feature values of the second group into a synthetic feature curve; and, obtain a defect feature threshold of the synthetic feature curve. The image detection device includes a camera and a processor. The camera is used to capture an initial image of an optical film. The processor is used to: analyze the initial image of the optical film, obtain a plurality of detection defect points of the initial image of the optical film, wherein each detection defect point has a detection feature value; and, retain these detection defect points corresponding to these detection feature values greater than the defect feature threshold value and delete these detection defect points corresponding to these detection feature values less than the defect feature threshold value, and output an optical film output image accordingly.
[0007] According to another embodiment of the present invention, a defect feature threshold value acquisition method is provided. The defect feature threshold value acquisition method comprises the following steps: determining whether a plurality of defect feature values can be distinguished into a first group and a second group; when these defect feature values can be distinguished into the first group and the second group, synthesizing these defect feature values of the first group and these defect feature values of the second group into a synthetic feature curve; and obtaining a defect feature threshold value of the synthetic feature curve.
[0008] According to another embodiment of the present invention, an image detection method is provided. The image detection method includes the following steps: determining whether a plurality of defect feature values can be distinguished into a first group and a second group; when these defect feature values can be distinguished into a first group and a second group, synthesizing these defect feature values of the first group and these defect feature values of the second group into a synthetic feature curve; obtaining a defect feature threshold of the synthetic feature curve; outputting the defect feature threshold; capturing an initial image of an optical film; analyzing the initial image of the optical film to obtain a plurality of detection defect points of the initial image of the optical film, wherein each detection defect point has a detection feature value; and retaining these detection defect points corresponding to these detection feature values greater than the defect feature threshold and deleting these detection defect points corresponding to these detection feature values less than the defect feature threshold, and outputting an optical film output image accordingly.
[0009] In order to better understand the above and other aspects of the present invention, embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 FIG. 4 is a functional block diagram of an image detection system according to an embodiment of the present invention.
[0011] Figures 2A to 2C Schematic diagram of several defect characteristic values according to an embodiment of the present invention.
[0012] Figure 3A The figure is a flow chart of a method for obtaining a defect characteristic threshold according to an embodiment of the present invention.
[0013] Figure 3B The flowchart is a method for determining whether a plurality of defect characteristic values can be divided into two groups according to an embodiment of the present invention.
[0014] Figure 4 FIG. 4 is a schematic diagram showing that a plurality of defect characteristic thresholds are divided into two groups according to an embodiment of the present invention.
[0015] Figure 5 for Figure 4 The synthetic characteristic curve of these defect characteristic values.
[0016] Fig. 6A for Figure 1Schematic diagram of an image detection device capturing an initial image of an optical film.
[0017] Figure 6B for Fig. 6A Schematic diagram of the initial image of the optical film captured by the camera.
[0018] Figure 6C for Figure 1 Schematic diagram of the output image of the optical film output by the image detection device.
[0019] Fig.6D for Fig. 6A Schematic diagram of an optical film.
[0020] Wherein, the reference numerals are:
[0021] 10: Image detection system
[0022] 100: Defect feature threshold acquisition device
[0023] 110: Clustering device
[0024] 120: Defect feature threshold acquirer
[0025] 200: Image detection device
[0026] 210: Camera
[0027] 220: Processor
[0028] 230: Illuminator
[0029] 300: Comparison device
[0030] D1: The first normal distribution group
[0031] D2: Second normal distribution group
[0032] DP1~DP4: Detection of defect points
[0033] DF1: Defect characteristic value
[0034] FT: Defect Feature Threshold
[0035] P1: Optical film
[0036] P11~P14: Optical film
[0037] SC: Synthetic Characteristic Curve
[0038] SC1,SC2: Normal distribution curve
[0039] G1: Group 1
[0040] G2: The second group
[0041] GV1: Grayscale and
[0042] GV2: Lower Grayscale and
[0043] L1: Illumination light
[0044] MP1: Optical film initial image
[0045] MP2: Optical film output image
[0046] N1: The first sample number
[0047] N2: The second sample number
[0048] R1: Missed detection rate
[0049] R11, R12, R21: quantity
[0050] R2: False reporting rate
[0051] S110~S140: Steps
[0052] TP1,TP2: Actual defect points
[0053] u1: first mean
[0054] u2: second mean
[0055] σ1: first standard deviation
[0056] σ2: Second standard deviation DETAILED DESCRIPTION
[0057] Please refer to Figure 1 , which is a functional block diagram of an image detection system 10 according to an embodiment of the present invention. The image detection system 10 includes a defect feature threshold acquisition device 100, an image detection device 200 and a comparison device 300. The defect feature threshold acquisition device 100 includes a clustering device 110 and a defect feature threshold acquirer 120. The image detection device 200 includes a camera 210, a processor 220 and a light emitter 230. At least one of the defect feature threshold acquisition device 100, the image detection device 200 and the comparison device 300 can constitute an automatic optical inspection system (Automated Optical Inspection, AOI).
[0058] The clusterer 110 of the defect feature threshold acquisition device 100 is used to determine whether a plurality of defect feature values DF1 can be distinguished into a first group G1 and a second group G2. The defect feature threshold acquisition device 120 is used to: when these defect feature values DF1 can be distinguished into a first group G1 and a second group G2, synthesize a plurality of defect feature values DF1 of the first group G1 and a plurality of defect feature values DF1 of the second group G2 into a synthetic feature curve SC; and obtain the defect feature threshold FT of the synthetic feature curve SC. Compared with the conventional method of obtaining the defect feature threshold FT by human experience, the embodiment of the present invention obtains the defect feature threshold FT by computer calculation, which can reduce labor costs, reduce the probability of human misjudgment, and increase the accuracy of defect judgment. In addition, the embodiment of the present invention does not limit the number of defect feature values DF1, which can be equal to or more than 2, and the actual number depends on the number of defects.
[0059] In one embodiment, at least one of the clustering device 110 and the defect feature threshold value acquirer 120 is, for example, a circuit structure formed by a semiconductor process. In one embodiment, the clustering device 110 and the defect feature threshold value acquirer 120 may be integrated into a single component, or at least one of them may be integrated into a processor (not shown) or a controller (not shown).
[0060] The defect feature value DF1 is, for example, a detection point that may be determined as a defect according to the result of optical film image analysis (eg, performed by the image detection device 200). The following first introduces the definitions of several defect feature values according to the embodiment of the present invention.
[0061] Please refer to Figures 2A to 2C , which draws a schematic diagram of several defect characteristic values DF1 of an embodiment of the present invention. Figure 2A As shown, when the grayscale value of a detection point of the optical film is along the width of the optical film (eg, Fig. 6A When the size of the X-axis direction (in the X-axis direction) exceeding the upper threshold is greater than a preset size, the detection point can be determined as a defect point, and the size of the defect point is defined as the defect feature value DF1. Figure 2B As shown in FIG. 1 , when the difference (called “peak value”) between the strongest grayscale value of a detection point of the optical film and the farthest background value exceeds a preset peak value, the detection point can be determined as a defect point, and the peak value of the defect point is defined as the defect characteristic value DF1. Figure 2CAs shown, when the concentration sum of the upper grayscale sum GV1 (the area where the grayscale value exceeds the upper threshold) and the lower grayscale sum GV2 (the area where the grayscale value exceeds the lower threshold) of a detection point of the optical film (i.e., GV1+GV2) exceeds a preset concentration sum, the detection point can be determined as a defect point, and the concentration sum of the defect point is defined as the defect characteristic value DF1. The embodiment of the present invention does not limit the values of the aforementioned preset size, preset peak value, and preset concentration sum, which can be determined according to the actual situation. In addition, the defect types of the embodiment of the present invention are not limited to the aforementioned three definitions, and can also be other types of definitions.
[0062] In one embodiment, optical film defects can be divided into repetitive defects and non-repetitive defects. Repetitive defects are, for example, defects caused by a roller and defects caused by touch (such as friction); for example, repetitive defects include scratches, dents, marks, straight lines, white spots, spots, etc. Non-repetitive defects are, for example, defects of the optical film itself (not related to the roller and touch), for example, caused by particle contamination on the optical film, and not reproduced on the optical film at predetermined intervals (i.e., irregular appearance); for example, non-repetitive defects include black spots, white spots, scratches, orange peel, bubbles, flakes, black / brown areas on the film surface or in the film, etc.
[0063] The following Figure 3A The method for obtaining the defect feature threshold is described below.
[0064] Please refer to Figure 3A , which is a flow chart of a method for obtaining a defect feature threshold according to an embodiment of the present invention.
[0065] In step S110, the grouper 110 determines whether the plurality of defect feature values DF1 can be divided into a first group G1 and a second group G2. The defect feature value DF1 is, for example, one of the three defect feature values mentioned above, but may also be other types of defect feature values. In this embodiment, the defect feature value DF1 is Figure 2B If the defect feature values DF1 can be distinguished into the first group G1 and the second group G2, the process proceeds to step S120; if the defect feature values DF1 cannot be distinguished into the first group G1 and the second group G2, the process proceeds to step S140.
[0066] The clustering device 110 can use several methods to determine whether the plurality of defect feature values DF1 can be divided into the first group G1 and the second group G2. The embodiment of the present invention does not limit the method / technology used. The following introduces one of the methods. Please refer to Figure 3B , which is a flow chart of determining whether a plurality of defect feature values DF1 can be distinguished into two groups according to an embodiment of the present invention.
[0067] In step S111, please also refer to Figure 4, which is a schematic diagram of dividing several defect feature thresholds DF1 into two groups according to an embodiment of the present invention. The clustering device 110 obtains the normal distribution of several defect feature values DF1. Figure 4 As shown, the horizontal axis represents the distribution of these defect characteristic values DF1, and the vertical axis represents the probability of occurrence of defect characteristic values DF1 of different values. As shown in the figure, the normal distribution of several defect characteristic values DF1 presents a bimodal change, indicating that these defect characteristic values DF1 may be distinguished into two meaningful groups, for example, these defect characteristic values DF1 may be distinguished into a bimodal normal distribution or a multimodal normal distribution, or have statistically significant distinction.
[0068] In step S112, the clusterer 110 obtains a first normal distribution group D1 and a second normal distribution group D2 of the normal distribution of the defect feature thresholds DF1. The first normal distribution group D1 is one peak group of the normal distribution of the defect feature values DF1, and the second normal distribution group D2 is another peak group of the normal distribution of the defect feature values DF1.
[0069] In step S113 , the clustering device 110 may use, for example, a statistical method to obtain a first mean u1 , a first standard deviation σ1 , and a first sample number N1 of the first normal distribution group D1 .
[0070] In step S114 , the clustering device 110 may use, for example, a statistical method to obtain a second mean u2 , a second standard deviation σ2 , and a second sample number N2 of the second normal distribution group D2 .
[0071] In step S115, the clustering device 110 obtains the p-value of the T-test of the first mean u1, the first standard deviation σ1, the first sample number N1, the second mean u2, the second standard deviation σ2 and the second sample number N2. The p-value can be obtained by looking up the t-value table. The t-value can be obtained by the following formula (1). After obtaining the t-value, if the t-value is equal to or greater than the critical value (e.g., 1.684, but not limited to this), the corresponding p-value can be judged to be less than a clustering preset value (e.g., 0.05); if the t-value is less than this critical value, the corresponding p-value can be judged to be greater than the clustering preset value.
[0072]
[0073] In step S116, the clustering device 110 determines whether the p value is less than the clustering preset value. Figure 4 The first normal distribution group D1 and the second normal distribution group D2 are two meaningful groups, and are thus defined as the first group G1 and the second group G2, respectively. The process continues to step S120 ( Figure 3A); When the p value is greater than the preset value for grouping, it means that the first normal distribution group D1 and the second normal distribution group D2 are two groups that are meaningless or have low distinction, and therefore cannot be defined as the first group G1 and the second group G2, respectively. The process then enters step S140 ( Figure 3A ).
[0074] Although the embodiment of the present invention takes the determination of whether the defect feature values can be grouped as depending on the p value as an example, as long as it can be determined whether the defect feature values can be grouped, the embodiment of the present invention does not limit the method for determining whether the defect feature values can be grouped.
[0075] like Figure 4 As shown, the closer the defect feature value DF1 is to the first mean u1 of the first group G1, the greater the probability that it belongs to a non-damaging defect, and the closer the defect feature value DF1 is to the second mean u2 of the second group G2, the greater the probability that it belongs to a damaging defect. There is a defect feature threshold in the first group G1 and the second group G2, and this defect feature threshold is related to the accuracy of defect judgment. In detail, the defect feature value DF1 belonging to the first group G1 and the defect feature value DF1 belonging to the second group G2 partially overlap. When the determined defect feature threshold is closer to the first mean u1 of the first group G1, the probability of "real damaging defect points being misjudged as non-real damaging defect points" may increase in defect judgment; when the determined defect feature threshold is closer to the second mean u2 of the second group G2, the probability of "non-real damaging defect points being misjudged as real damaging defect points" may increase in defect judgment. Therefore, the appropriateness of the defect feature threshold is indeed related to the accuracy of defect judgment.
[0076] The following describes one embodiment of how to obtain the defect feature threshold in the present invention (eg, steps S120 and S130 ).
[0077] In step S120, please refer to Figure 5 , which is Figure 4 The defect feature threshold value acquirer 120 combines the defect feature values DF1 of the first group G1 and the defect feature values DF1 of the second group G2 into a synthetic characteristic curve SC.
[0078] In one embodiment, the composite characteristic curve SC can be obtained by the following formula (2). In formula (2), SC1 represents the first normal distribution curve of the defect characteristic values DF1 of the first group G1, SC2 represents the second normal distribution curve of the defect characteristic values DF1 of the second group G2, and x represents the change of the defect characteristic value DF1. The composite characteristic curve SC is a composite characteristic curve of the first normal distribution curve SC1 and the second normal distribution curve SC2.
[0079]
[0080] In step S130, the defect feature threshold value acquirer 120 may acquire the defect feature threshold value FT of the synthetic feature curve SC. The defect feature threshold value FT is, for example, the minimum value (e.g., saddle point) of the synthetic feature curve SC. The defect feature threshold value acquirer 120 may use a suitable mathematical method to acquire the minimum value of the synthetic feature curve SC or the minimum value of the curve segment between the first mean value u1 and the second mean value u2 in the synthetic feature curve SC. The aforementioned mathematical method is, for example, differentiation and gradient descent method, but may also be other optimization methods or extreme value calculation methods.
[0081] In step S140, since these defect feature values DF1 cannot be distinguished into the first group G1 and the second group G2, the defect type can be changed, and then the process returns to step S110 to determine whether these defect feature values DF1 of the changed defect type can be distinguished into the first group G1 and the second group G2. In detail, the type of the original defect feature value DF1 is a peak value. When these defect feature values DF1 belonging to the peak type cannot be distinguished into two groups, the clustering device 110 or the operator can change it to a different defect type (e.g., Figure 2A Size or Figure 2C The concentration and several defect characteristic values DF1 of the defect are calculated and the step is repeated. Figure 3A In an embodiment, when the defect feature values DF1 cannot be distinguished into two groups, the clustering device 110 or the operator may continuously change the defect type until the defect feature threshold FT is obtained.
[0082] After obtaining the defect feature threshold FT, the defect feature threshold obtaining device 100 may output the defect feature threshold FT to the image detection device 200. The image detection device 200 may generate an optical film output image MP2 (the optical film output image MP2 is indicated at Figure 1 ), wherein the optical film output image MP2 shows the detected defect points for the comparison device 300 or the quality control personnel to verify the reliability of the defect feature threshold FT.
[0083] Please refer to Figures 6A to 6D , Fig. 6A for Figure 1 The image detection device 200 captures the optical film initial image MP1 of the optical film P1. Figure 6B for Fig. 6A A schematic diagram of an initial image MP1 of an optical film captured by a camera 210, Figure 6C for Figure 1 Schematic diagram of an optical film output image MP2 output by the image detection device 200, Fig.6D for Fig. 6A Schematic diagram of optical film P1.
[0084] like Fig. 6A As shown, the light emitter 230 emits illumination light L1 toward the optical film P1. The optical film P1 can be a single-layer or multi-layer film, for example, a polarizer, a phase difference film, a brightness enhancement film, or other films that are helpful for optical gain, orientation, compensation, steering, orthogonality, diffusion, protection, anti-sticking, scratch resistance, anti-glare, reflection suppression, high refractive index, etc.; a polarizing plate, a phase difference film, etc. with a protective film attached to at least one side of the aforementioned polarizer; a protective film, for example, the material can be selected from: cellulose resin, acrylic resin, non-crystalline polyolefin resin, polyester resin, polycarbonate resin and a combination thereof, but the present invention is not limited to these films.
[0085] like Fig. 6A As shown, the camera 210 captures the optical film initial image MP1 of the optical film P1. The processor 220 is, for example, a circuit structure formed by a semiconductor process. The processor 220 is used to: analyze the optical film initial image MP1, obtain a plurality of detection defect points of the optical film initial image MP1, wherein each detection defect point has a detection characteristic value, wherein the detection characteristic value has a definition similar to or the same as the defect characteristic value; and retain the detection defect points corresponding to these detection characteristic values greater than the defect characteristic threshold FT (called "real harmful defect points", determined by the image detection device 200 according to the defect characteristic threshold FT) and delete the detection defect points corresponding to these detection characteristic values less than the defect characteristic threshold FT (called "non-real harmful defect points", determined by the image detection device 200 according to the defect characteristic threshold FT), and output the optical film output image MP2 accordingly. In one embodiment, for the retained detection defect points, the processor 220 can mark (add a mark image) on the optical film output image MP2 to indicate that the optical film output image MP2 shows the retained detection defect points.
[0086] by Figure 6B and 6C To further illustrate, the processor 220 may analyze the grayscale value changes of the initial image MP1 of the optical film to obtain the characteristic values of several detection points, and define the detection points whose characteristic values meet the defect characteristic values as detection defect points, such as detection defect points DP1 to DP4. These detection defect points DP1 to DP4 may include at least one "real harmful defect point" and / or at least one "non-real harmful defect point", wherein the detection defect points whose detection characteristic values are greater than the defect characteristic threshold FT are determined by the image detection device 200 as real harmful defect points, and the detection defect points whose detection characteristic values are less than the defect characteristic threshold FT are determined by the image detection device 200 as non-real harmful defect points (which may be the optical film P1 when photographing ( Fig. 6A) due to shaking or vibration). In other words, the processor 220 determines whether the detected defect points DP1-DP4 are real or non-real defect points by comparing the size relationship between the detected feature values of the detected defect points and the defect feature threshold FT, and retains the real defect points but deletes the non-real defect points, and then generates the optical film output image MP2 accordingly, such as Figure 6C This embodiment takes the detection defect points DP1 and DP2 as actual harmful defect points, and the detection defect points DP3 and DP4 as non-actual harmful defect points as an example for explanation, so the processor 220 outputs the image MP2 (such as Figure 6C The detection defect points DP1 and DP2 are retained (as shown) but the detection defect points DP3 and DP4 are deleted (not shown).
[0087] The comparison device 300 is used to compare the actual defect points of the optical film P1 with the detected defect points of the output image MP2 of the optical film to determine the false alarm rate and missed detection rate of the image detection device 200 for defect detection. Fig.6D As shown, the optical film P1 can be divided (or actually cut) into several optical film sheets P11-P14, and the optical film P1 has at least one actual defect point, such as actual defect points TP1-TP2, which are distributed in at least one of the several optical film sheets P11-P14. For example, the optical film P11 has an actual defect point TP1, and the optical film P13 has an actual defect point TP2. In addition, the embodiment of the present invention does not limit the number of optical film sheets, which can be less than 4 sheets, or greater than 4 sheets, such as up to 1000 sheets, less or more.
[0088] In terms of missed detection rate, the comparison device 300 is also used to: obtain the missed detection number of these optical film pieces P1 that have one of these actual defect points but the corresponding position of the optical film output image MP2 does not have a detection defect point; and obtain the missed detection rate based on the missed detection number and the total number of these optical film pieces P11.
[0089] For further example, Fig.6D The optical film P13 has an actual defect point TP2 but the Figure 6C The corresponding area of the optical film output image MP2 ( Figure 6C The corresponding dotted frame is shown, and the optical film output image MP2 may not actually have a dotted line) does not have a detection defect point, so the comparison device 300 determines the optical film piece P13 as a missed detection film piece. Then, the comparison device 300 can obtain the missed detection rate R1 according to the following formula (3), where R12 represents the number of all optical film pieces of the optical film P1, and R11 represents the number of missed detection films in the optical film P1.
[0090]
[0091] The situation where "an actual defect point of the optical film and the corresponding area of the optical film output image MP2 do not have a detected defect point" is called a "difference point". In one embodiment, when the number of "difference points" is one, the optical film is determined to be a missed detection film. In another embodiment, when the number of "difference points" is multiple, the optical film is determined to be a missed detection film.
[0092] In terms of false alarm rate, the comparison device 300 is also used to: obtain a false alarm number of these optical film sheets that do not have these actual defect points in the optical film P1 but have detection defect points at the corresponding positions of the optical film output image MP2; and obtain the false alarm rate based on the false alarm number and the total number of these optical film sheets.
[0093] For further example, Fig.6D The optical film P12 has no actual defect points but Figure 6C The corresponding area of the optical film output image MP2 ( Figure 6C The corresponding dotted line frame is drawn, and the optical film output image MP2 may not actually have the dotted line) has a detection defect point DP2, so the comparison device 300 determines the optical film P12 as a false report film. Then, the comparison device 300 can obtain the false report rate R2 according to the following formula (4), where R21 represents the number of false report films in the optical film P1.
[0094]
[0095] The situation that "the optical film does not have an actual defect point but the corresponding area of the optical film output image MP2 has a detected defect point" is called a "difference point". In one embodiment, when the number of "difference points" is one, the optical film is determined to be a false report film. In another embodiment, when the number of "difference points" is multiple, the optical film is determined to be a false report film.
[0096] In addition, when the false alarm rate and / or missed detection rate is lower than an allowable value (eg, 0.3%, lower or higher), the aforementioned comparison step and the comparison device 300 may be omitted.
[0097] As described above, an embodiment of the present invention proposes a defect feature threshold acquisition device, which can analyze several defect feature values to determine whether these defect feature values can be divided into two groups. If so, the defect feature threshold is further obtained based on (or analyzed) these defect feature values. The defect feature threshold is, for example, the value of the overlapping area of the two groups, or the value belonging to one of the two groups. The defect feature threshold acquisition method of the embodiment of the present invention automatically calculates these defect feature values by a computer to quickly obtain the defect feature threshold, and the obtained defect feature threshold can improve the accuracy of defect judgment, effectively reduce the false alarm rate and / or missed detection rate of the optical film, for example, it can be reduced to below 0.3%, or even lower, or reduced to a level where there is no need to re-judge the false alarm rate of defective products or the missed detection rate acceptable to customers.
[0098] In summary, although the present invention has been disclosed by way of embodiments, it is not intended to limit the present invention. A person skilled in the art of the present invention may make various modifications and alterations without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the scope of the appended claims.
Claims
1. A defect feature threshold acquisition device, characterized in that: include: A group divider, used for: Determining whether a plurality of defect characteristic values can be distinguished into a first group and a second group; as well as A defect feature threshold acquirer, used to: When the defect characteristic values can be divided into the first group and the second group, the defect characteristic values of the first group and the defect characteristic values of the second group are synthesized into a synthesized characteristic curve; and Obtaining a defect feature threshold of the synthetic feature curve; wherein the clustering device is also used to: Obtaining a normal distribution of the defect characteristic values; Obtaining a first normal distribution group and a second normal distribution group of the normal distribution; Obtaining a first mean, a first standard deviation, and a first sample size of the first normal distribution group; Obtaining a second mean, a second standard deviation, and a second sample size of the second normal distribution group; and Obtaining a p-value of a T-test of the first mean, the first standard deviation, the first sample size, the second mean, the second standard deviation, and the second sample size; and Determine whether the p value is less than a grouping preset value; and, The defect feature threshold value acquirer is also used for: when the p value is less than the grouping preset value, synthesizing the defect feature values of the first group and the defect feature values of the second group into the synthetic feature curve.
2. The defect feature threshold acquisition device according to claim 1, characterized in that: The defect characteristic threshold is a minimum value of the synthetic characteristic curve.
3. The defect feature threshold acquisition device according to claim 1, characterized in that: The defect feature values belong to a defect type; the clustering device is also used to: When the defect characteristic values cannot be distinguished into the first group and the second group, changing the defect type; and It is determined whether the changed defect characteristic values of the defect type can be distinguished into the first group and the second group.
4. An image detection system, characterized in that: include:
1. The defect feature threshold acquisition device as claimed in claim 1, configured to: output the defect feature threshold; An image detection device, comprising: A camera for capturing an initial image of an optical film; A processor for: Analyzing the initial image of the optical film to obtain a plurality of detection defect points of the initial image of the optical film, wherein each of the detection defect points has a detection characteristic value; and The detected defect points corresponding to the detected characteristic values greater than the defect characteristic threshold are retained and the detected defect points corresponding to the detected characteristic values less than the defect characteristic threshold are deleted, and an optical film output image is output accordingly.
5. The image detection system according to claim 4, characterized in that: Also includes: A comparison device for: The plurality of actual defect points of the optical film are compared with the detected defect points of the output image of the optical film to determine a false alarm rate and a missed detection rate of the image detection device.
6. The image detection system according to claim 4, characterized in that: The optical film area is divided into a plurality of optical film sheets; the image detection system further comprises: A comparison device for: Obtaining a missed detection number of the optical film sheets having one of the plurality of actual defect points in the optical film but not having the detected defect point at the corresponding position of the output image of the optical film; and A missed detection rate is obtained according to the missed detection quantity and the total quantity of the optical films.
7. The image detection system according to claim 4, characterized in that: The optical film area is divided into a plurality of optical film sheets; the image detection system further comprises: A comparison device for: Obtaining a false number of optical film sheets that do not have one of the plurality of actual defect points in the optical film but have the detected defect point at the corresponding position of the output image of the optical film; and A false reporting rate is obtained according to the false reporting quantity and the total quantity of the optical films.
8. A method for obtaining a defect feature threshold, characterized in that: include: Determining whether a plurality of defect characteristic values can be distinguished into a first group and a second group; When the defect characteristic values can be divided into the first group and the second group, the defect characteristic values of the first group and the defect characteristic values of the second group are synthesized into a synthesized characteristic curve; and Obtain a defect characteristic threshold of the synthetic characteristic curve; wherein, The step of determining whether the defect characteristic values can be distinguished into the first group and the second group further includes: Obtaining a normal distribution of the defect characteristic values; Obtaining a first normal distribution group and a second normal distribution group of the normal distribution; Obtaining a first mean, a first standard deviation, and a first sample size of the first normal distribution group; Obtaining a second mean, a second standard deviation, and a second sample size of the second normal distribution group; and Obtaining a p-value of a T-test of the first mean, the first standard deviation, the first sample size, the second mean, the second standard deviation, and the second sample size; and Determine whether the p value is less than a grouping preset value; and, When the defect characteristic values can be divided into the first group and the second group, the step of synthesizing the defect characteristic values of the first group and the defect characteristic values of the second group into the synthesized characteristic curve further includes: When the p value is less than the grouping preset value, the defect characteristic values of the first group and the defect characteristic values of the second group are synthesized into the synthesized characteristic curve.
9. The defect feature threshold acquisition method according to claim 8, characterized in that: The defect characteristic threshold is a minimum value of the synthetic characteristic curve.
10. The defect feature threshold acquisition method according to claim 8, characterized in that: Also includes: The defect characteristic values belong to a defect type, and when the defect characteristic values cannot be distinguished into the first group and the second group, the defect type is changed; as well as It is determined whether the changed defect characteristic values of the defect type can be distinguished into the first group and the second group.
11. An image detection method, characterized in that: include: Determining whether a plurality of defect characteristic values can be distinguished into a first group and a second group; When the defect characteristic values can be divided into the first group and the second group, the defect characteristic values of the first group and the defect characteristic values of the second group are synthesized into a synthesized characteristic curve; Obtaining a defect characteristic threshold of the synthetic characteristic curve; Output the defect feature threshold; capturing an initial image of an optical film; Analyzing the initial image of the optical film to obtain a plurality of detection defect points of the initial image of the optical film, wherein each of the detection defect points has a detection characteristic value; and The detected defect points corresponding to the detected characteristic values greater than the defect characteristic threshold are retained and the detected defect points corresponding to the detected characteristic values less than the defect characteristic threshold are deleted, and an optical film output image is output accordingly; wherein, The step of determining whether the defect characteristic values can be distinguished into the first group and the second group further includes: Obtaining a normal distribution of the defect characteristic values; Obtaining a first normal distribution group and a second normal distribution group of the normal distribution; Obtaining a first mean, a first standard deviation, and a first sample size of the first normal distribution group; Obtaining a second mean, a second standard deviation, and a second sample size of the second normal distribution group; and Obtaining a p-value of a T-test of the first mean, the first standard deviation, the first sample size, the second mean, the second standard deviation, and the second sample size; and Determine whether the p value is less than a grouping preset value; and, When the defect characteristic values can be divided into the first group and the second group, the step of synthesizing the defect characteristic values of the first group and the defect characteristic values of the second group into the synthesized characteristic curve further includes: When the p value is less than the grouping preset value, the defect characteristic values of the first group and the defect characteristic values of the second group are synthesized into the synthesized characteristic curve.
12. The image detection method according to claim 11, characterized in that: Also includes: A plurality of actual defect points of the optical film are compared with the detected defect points of the output image of the optical film to determine a false alarm rate and a missed detection rate of an image detection device.
13. The image detection method according to claim 11, characterized in that: The optical film area is divided into a plurality of optical film sheets; the image detection method further comprises: Obtaining a missed detection number of the optical film sheets having one of the plurality of actual defect points in the optical film but not having the detected defect point at the corresponding position of the output image of the optical film; and A missed detection rate is obtained according to the missed detection quantity and the total quantity of the optical films.
14. The image detection method according to claim 11, characterized in that: The optical film area is divided into a plurality of optical film sheets; the image detection method further comprises: Obtaining a false number of optical film sheets that do not have one of the plurality of actual defect points in the optical film but have the detected defect point at the corresponding position of the output image of the optical film; and A false reporting rate is obtained according to the false reporting quantity and the total quantity of the optical films.
