A method for detecting the quality of glass substrate spin coating
By analyzing and segmenting the blurred defect edges of the image of the rotating gluing surface of the glass substrate and performing smooth processing, the problem of poor detection accuracy in the existing technology is solved and the accuracy of the quality detection of the rotating gluing is improved.
Patent Information
- Application Number
- CN202410924452.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-11
AI Technical Summary
Due to the influence of camera equipment channel noise and setting parameters, the existing glass substrate rotating glue coating quality detection method results in blurred images of the coating surface to be tested taken from multiple angles, which affects the detection accuracy and results in poor glue coating quality detection accuracy.
By acquiring images of the glass substrate to be tested for coating after rotational coating at different shooting angles, analyze the degree of brightness attenuation, segment the blurred defect edge area, obtain blurred defect edge points, and perform smoothing processing based on these points to compare smooth glue coating surface image and standard image to determine spin coating quality.
It improves the accuracy of quality inspection of rotating glue coating on glass substrates, eliminates fuzzy defect edge features in the glue coating area, avoids damage to other structural shapes, and enhances detection accuracy.
Smart Images

Figure CN118470010B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of image processing, and in particular to a method for detecting the quality of spin-coating of a glass substrate. Background Art
[0002] A glass substrate usually refers to a thin glass sheet with an extremely flat surface, and the spin coating process of a glass substrate is to evenly coat the photoresist on the surface of the glass substrate by spin coating. However, in the actual spin coating process, due to changes in rotation parameters, such as changes in rotation acceleration and rotation time, or changes in the contact angle between the coating knife and the mask substrate, the spin coating result often results in uneven coating, which in turn leads to defects such as color difference, particles, and pores in the coating result.
[0003] In the prior art, the quality inspection of the spin coating of the glass substrate is usually achieved by comparing the surface images taken at multiple angles after the spin coating with the standard images. However, when the coated surface to be tested is photographed at multiple angles after the actual spin coating, due to the influence of the camera equipment channel noise, setting parameters, etc., it is easy for multiple multi-angle captured images to be blurred and of low quality, thereby affecting the comparison results of the surface images to be tested taken at multiple angles and the standard images, resulting in poor accuracy in the glue coating quality inspection of the surface images to be tested taken at multiple angles. Summary of the invention
[0004] In order to solve the technical problem that the comparison results of the surface image to be tested and the standard image taken at multiple angles are affected by the existence of camera device channel noise, setting parameters, etc., and thus the accuracy of the glue coating quality detection is poor, the purpose of the present invention is to provide a method for detecting the quality of glass substrate spin glue coating, and the technical scheme adopted is as follows:
[0005] In a first aspect, an embodiment of the present invention provides a method for detecting the quality of spin coating on a glass substrate, the method comprising:
[0006] Acquire images of the coating surface to be tested of the glass substrate after spin coating at different shooting angles, and determine connected domains in the images of the coating surface to be tested;
[0007] Performing attenuation analysis on the brightness of the points in the image of the adhesive coating surface to be tested, and determining the fuzzy edge light transmission attenuation characteristic value of each point; segmenting the image of the adhesive coating surface to be tested based on the fuzzy edge light transmission attenuation characteristic value to obtain the fuzzy defect edge area;
[0008] Combined with the fluctuation of the fuzzy edge transmittance attenuation characteristic value, determine the transmittance attenuation singular distribution value of each point in the fuzzy defect edge region; Combined with the characteristic difference of the connected domain in the fuzzy defect edge region and the transmittance attenuation singular distribution value, determine the fuzzy defect edge feature of each point in the fuzzy defect edge region; Based on the fuzzy defect edge feature, obtain the fuzzy defect edge point from the fuzzy defect edge region;
[0009] Based on the blurred defect edge point as the center, the image of the glue-coated surface to be tested is smoothed to obtain a smooth glue-coated surface image; the smooth glue-coated surface images corresponding to different shooting angles are compared with the standard glue-coated surface images to obtain the spin glue coating quality results of the glass substrate corresponding to the smooth glue-coated surface images.
[0010] Furthermore, the attenuation degree analysis of the brightness of the points in the image of the coated surface to be tested is performed to determine the fuzzy edge light transmission attenuation characteristic value of each point, including:
[0011] Constructing the light transmittance attenuation feature sequence corresponding to each point from the brightness value in the local range of each point in the image of the coated surface to be tested;
[0012] Comparing the differences between adjacent brightness values in the light transmittance attenuation sequence, and determining the corresponding light transmittance attenuation characteristic index based on the overall situation of the differences between adjacent brightness values;
[0013] According to the disorder degree of gray value in the local range of each point in the image of the coating surface to be tested, the fuzzy defect edge feature corresponding to each point is determined;
[0014] Combined with the light transmittance attenuation characteristic index and the fuzzy defect edge feature corresponding to each point, the fuzzy edge light transmittance attenuation characteristic value of each point in the image of the coated surface to be tested is determined; wherein the light transmittance attenuation characteristic index and the fuzzy defect edge feature are both positively correlated with the fuzzy edge light transmittance attenuation characteristic value.
[0015] Furthermore, the image of the adhesive coating surface to be tested is segmented based on the fuzzy edge light transmission attenuation characteristic value to obtain the fuzzy defect edge area, including:
[0016] The fuzzy edge transmittance attenuation characteristic value is used as the input of the segmentation algorithm to segment the image of the tested glue-coated surface and obtain the fuzzy defect edge area.
[0017] Furthermore, the fuzzy edge light transmission attenuation characteristic value is used as the input of the segmentation algorithm to segment the image of the adhesive coating surface to be tested to obtain the fuzzy defect edge area, including:
[0018] The fuzzy edge light attenuation characteristic values of all points in the tested coated surface image are used as the input of the Otsu threshold segmentation algorithm, and the points corresponding to the fuzzy edge light attenuation characteristic values greater than the preset light attenuation characteristic segmentation threshold are used as the pixel points of the fuzzy defect edge area to obtain the fuzzy defect edge area.
[0019] Furthermore, the determination of the singular distribution value of light transmittance attenuation of each point in the blurred defect edge region in combination with the change fluctuation of the blurred edge light transmittance attenuation characteristic value includes:
[0020] Compare the overall difference between the fuzzy edge light transmittance attenuation characteristic values of each point in the fuzzy defect edge region and the points in the local range, and determine the light transmittance attenuation singularity factor of each point in the fuzzy defect edge region;
[0021] Determine the singularity value of light transmittance attenuation at each point in the fuzzy defect edge region according to the discreteness of the fuzzy edge light transmittance attenuation characteristic value in the local range of each point in the fuzzy defect edge region;
[0022] Combine the transmittance attenuation singular factor and the transmittance attenuation singularity value of each point to determine the transmittance attenuation singular distribution value of each point in the blurred defect edge area; wherein the transmittance attenuation singular factor and the transmittance attenuation singularity value are both positively correlated with the blurred defect edge area.
[0023] Furthermore, the combining of the characteristic difference of the connected domain in the fuzzy defect edge region and the transmittance attenuation singular distribution value to determine the fuzzy defect edge feature of each point in the fuzzy defect edge region includes:
[0024] Obtain the area of different connected domains in the local range of each point in the fuzzy defect edge area, and record it as the area of the region;
[0025] Analyze the difference in the area of different connected domains within the local range of each point in the fuzzy defect edge area, and determine the fuzzy eigenvalue of each point;
[0026] The fuzzy defect edge feature of each point in the fuzzy defect edge area is determined by combining the fuzzy characteristic value and the transmittance attenuation singular distribution value of each point; wherein the fuzzy characteristic value and the transmittance attenuation singular distribution value are both positively correlated with the fuzzy defect edge feature.
[0027] Further, the acquiring of fuzzy defect edge points from the fuzzy defect edge region based on the fuzzy defect edge features comprises:
[0028] The fuzzy defect edge features are used as the input of the Otsu threshold segmentation algorithm, and the points corresponding to the fuzzy defect edge features that are greater than the preset fuzzy edge defect segmentation threshold are used as fuzzy defect edge points.
[0029] Furthermore, the method of smoothing the image of the adhesive coating surface to be tested based on the blurred defect edge point as the center to obtain a smoothed adhesive coating surface image includes:
[0030] A corresponding regional window is constructed with each fuzzy defect edge point as the center, and the points in the corresponding regional window are smoothed based on the fuzzy defect edge point to obtain a smoothed glue coating surface image.
[0031] Furthermore, the comparison of the smooth coated surface images and the standard coated surface images corresponding to different shooting angles to obtain the spin coating quality results of the glass substrate corresponding to the smooth coated surface images includes:
[0032] For the smooth glue-coated surface image corresponding to any shooting angle, the smooth glue-coated surface image and the standard glue-coated surface image are subjected to image difference calculation to obtain the grayscale difference of all pixels, and the mean of the grayscale difference of all pixels is used as the glue color difference parameter of the smooth glue-coated surface image corresponding to different shooting angles;
[0033] Obtain the mean value of the gluing chromatic aberration parameter of the smooth gluing surface image under all shooting angles. When the mean value of the gluing chromatic aberration parameter is less than the preset chromatic aberration parameter, it is determined that there is no quality defect of gluing chromatic aberration in the spin gluing result.
[0034] When the average value of the glue color difference parameter of all the grayscale enhanced images of the glued surfaces to be tested is greater than or equal to the preset color difference parameter, it is determined that the spin glue coating result has a quality defect of glue color difference.
[0035] Furthermore, the determining of the connected domain in the image of the glue-coated surface to be tested includes:
[0036] Based on the grayscale value of each point in the image of the glue-coated surface to be tested, a connected domain in the image of the glue-coated surface to be tested is obtained.
[0037] In a second aspect, a system for detecting the quality of spin coating on a glass substrate is provided, the system comprising the following modules:
[0038] An acquisition module is used to acquire images of the coating surface to be tested of the glass substrate after the spin coating is completed at different shooting angles, and determine a connected domain in the images of the coating surface to be tested;
[0039] The region determination module is used to analyze the attenuation degree of the brightness of the points in the image of the adhesive surface to be tested, and determine the fuzzy edge light transmission attenuation characteristic value of each point; based on the fuzzy edge light transmission attenuation characteristic value, the image of the adhesive surface to be tested is segmented to obtain the fuzzy defect edge region;
[0040] A fuzzy defect edge point determination module is used to determine the transmittance attenuation singular distribution value of each point in the fuzzy defect edge region in combination with the change fluctuation of the fuzzy edge transmittance attenuation characteristic value; determine the fuzzy defect edge feature of each point in the fuzzy defect edge region in combination with the characteristic difference of the connected domain in the fuzzy defect edge region and the transmittance attenuation singular distribution value; and obtain fuzzy defect edge points from the fuzzy defect edge region based on the fuzzy defect edge feature;
[0041] The positioning module is used to smooth the image of the glue-coated surface to be tested based on the blurred defect edge point as the center to obtain a smooth glue-coated surface image; compare the smooth glue-coated surface images corresponding to different shooting angles with the standard glue-coated surface images to obtain the spin glue coating quality result of the glass substrate corresponding to the smooth glue-coated surface image.
[0042] In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, various possible embodiments of the first aspect are implemented.
[0043] In a fourth aspect, an embodiment of the present invention provides a computer program product, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0044] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute various possible implementations of the first aspect.
[0045] The embodiments of the present invention have at least the following beneficial effects:
[0046] Since there are many blurred area features in the glue-coated area on the glass substrate image, the accuracy of identifying and detecting the glue-coated area after the glue-coating on the glass substrate is poor. The embodiment of the present invention firstly takes the glass substrate surface as having high transparency and large brightness feature, and since the glue is coated on the glass substrate surface, the light transmittance of the glass substrate is reduced. When the glass substrate is subjected to glue coating quality inspection, it is easily affected by external noise interference during the actual shooting process, and it is easy to cause blurred edge phenomenon in the local area of the glue-coated surface to be tested, thereby affecting the color difference evaluation result when the grayscale image of the glue-coated surface is compared with the standard image at multiple angles. Therefore, the present invention analyzes the glue-coated surface image and segments the blurred defect edge area; since the blurred defect edge area includes the blurred defect edge area of the glue-coated area The defect edge features and the influence of external noise on the glue coating surface image greatly affect the accuracy of subsequent glue coating quality detection in the glue coating area. Therefore, the fuzzy defect edge area is analyzed in combination with the light transmittance and the area difference between different connected domains in the corresponding local area, and the fuzzy defect edge points are screened out; only the fuzzy defect edge points with fuzzy defect edge features in the fuzzy defect edge area are smoothed, which can eliminate the fuzzy defect edge features of the glue coating area without destroying the normal structural shape of other glue coating areas. This solves the problem of poor quality identification and detection accuracy of the glue coating area on the glass substrate after the glue coating is completed due to the presence of more fuzzy defect edge features in the glue coating area, and improves the accuracy of glue coating quality detection on the glass substrate after the spin coating is completed. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] 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.
[0048] Figure 1 A method flow chart of a method for detecting the quality of spin coating on a glass substrate provided by an embodiment of the present invention;
[0049] Figure 2 A method flow chart of a method for obtaining a fuzzy defect edge area provided by an embodiment of the present invention;
[0050] Figure 3 A method flow chart of a method for obtaining a fuzzy edge light transmittance attenuation characteristic value provided by an embodiment of the present invention;
[0051] Figure 4 A method flow chart of a method for obtaining fuzzy defect edge points provided by an embodiment of the present invention;
[0052] Figure 5 A method flow chart of a method for obtaining a singular distribution value of light transmittance attenuation provided by an embodiment of the present invention;
[0053] Figure 6 A schematic diagram of a regional window before smoothing fuzzy defect edge points provided by an embodiment of the present invention;
[0054] Figure 7 A schematic diagram of a regional window after smoothing fuzzy defect edge points provided by an embodiment of the present invention;
[0055] Figure 8 A result schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, a method for detecting the quality of spin coating on a glass substrate proposed by the present invention, its specific implementation method, structure, characteristics and effects are described in detail as follows in combination with the accompanying drawings and preferred embodiments.
[0057] In the following description, different "one embodiment" or "another embodiment" do 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.
[0058] Among them, in the description of the embodiments of the present invention, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present invention, "multiple" refers to two or more than two.
[0059] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0060] 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.
[0061] The embodiments of the present invention are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.
[0062] The embodiment of the present invention provides a specific implementation method for detecting the quality of spin coating of glass substrates, which is applicable to the scene of detecting the quality of spin coating of glass substrates. The image collected in this scene is the image of the coating surface of the glass substrate after the spin coating is completed.
[0063] A specific scheme of a method for detecting the quality of spin coating on a glass substrate provided by the present invention is described in detail below with reference to the accompanying drawings.
[0064] See also Figure 1 , which shows a flow chart of a method for detecting the quality of spin coating on a glass substrate provided by an embodiment of the present invention, the method comprising the following steps:
[0065] Step S100, obtaining images of the coating surface to be tested of the glass substrate after spin coating at different shooting angles, and determining connected domains in the images of the coating surface to be tested.
[0066] Gluing a glass substrate requires a glue coating process and a baking process, wherein the glue coating process includes glue dripping, rotating and spreading, glue spinning, and solvent volatilization; and the baking process includes baking and cooling. In the embodiment of the present invention, the glass substrate after glue coating is performed is analyzed to achieve quality detection of the glass based on spin coating after glue coating.
[0067] The purpose of the embodiments of the present invention is to reduce the influence of camera device channel noise, setting parameters, etc., to avoid blurred edges in local areas of the grayscale image of the glue-coated surface to be tested, resulting in the comparison process between the image of the glue-coated surface to be tested and the image of the standard glue-coated surface. The contrast features are not obvious enough, resulting in the problem of insufficient accuracy in the detection of defects such as chromatic aberration, pinholes, and particles.
[0068] The embodiment of the present invention firstly needs to use an industrial camera with a filter lens to shoot the glue-coated surface at multiple angles after the glue coating is completed, so as to obtain multiple images of the glue-coated surface to be tested at different shooting angles. In the embodiment of the present invention, the shooting angle is set to 8 shooting angles, and in other embodiments, the implementer can adjust the value according to the actual situation.
[0069] At the same time, an industrial camera with a filter lens is used to obtain a standard glue-coated surface image, wherein the filter lens is a filter lens capable of filtering out all wavelengths of light below 600 nm.
[0070] In order to analyze the characteristics of the image, the images of the tested glue-coated surface and the standard glue-coated surface images collected at different shooting angles are preprocessed to obtain the corresponding grayscale images of the glue-coated surface and the brightness characteristic images of the glue-coated surface at different shooting angles.
[0071] The process of obtaining the brightness characteristic image of the glue-coated surface is as follows: using the HSV space conversion technology to convert the glue-coated surface image in the RGB space into the glue-coated surface characteristic image in the HSV space, and extracting the brightness value of each pixel point on the brightness channel in the HSV space.
[0072] The process of obtaining the grayscale image of the glue-coated surface is as follows: the glue-coated surface image in the RGB space is used as the input of the grayscale average algorithm, the grayscale image of the glue-coated surface in the grayscale space is obtained by using the grayscale average algorithm, and the grayscale value of each pixel in the grayscale image of the glue-coated surface is extracted.
[0073] It should be noted that the HSV space conversion technology and the grayscale average algorithm are both well-known technologies, and the specific processes will not be described in detail.
[0074] Among them, there is a one-to-one correspondence between the glue-coated surface image, the grayscale image of the glue-coated surface, and the pixel points in the brightness characteristic image of the glue-coated surface. Therefore, it can be understood that the brightness value of each point in the glue-coated surface image is the value of the point corresponding to the brightness channel in the brightness characteristic image of the glue-coated surface; the grayscale value of each point in the glue-coated surface image is the value of the corresponding point in the grayscale image of the glue-coated surface.
[0075] Based on this, the brightness value and grayscale value of each point in the image of the glue-coated surface to be tested and the image of the standard glue-coated surface under different shooting angles are obtained.
[0076] Furthermore, the connected domain in the image of the adhesive coated surface to be tested is determined. The connected domain in the image of the adhesive coated surface to be tested can be obtained based on the gray value of each point in the image of the adhesive coated surface to be tested.
[0077] As an optional embodiment of the present invention, the grayscale values of all points in the image of the glue-coated surface to be tested are used as the input of the grayscale region size matrix algorithm, and the grayscale region size matrix is used to obtain all connected domains and their corresponding areas in the grayscale image of the glue-coated surface to be tested. Among them, the area corresponding to the connected domain is the number of pixels in the connected domain. It should be noted that the grayscale region size matrix algorithm is a well-known technology for those skilled in the art and will not be described in detail here.
[0078] As other embodiments of the present invention, the connected domain in the glue-coated surface image to be tested may be obtained based on the grayscale value of each point in the glue-coated surface image to be tested by using methods such as a four-connected domain algorithm, an eight-connected domain algorithm, and a seed filling method.
[0079] Step S200, analyzing the attenuation degree of the brightness of the points in the image of the adhesive surface to be tested, and determining the fuzzy edge light transmittance attenuation characteristic value of each point; segmenting the image of the adhesive surface to be tested based on the fuzzy edge light transmittance attenuation characteristic value to obtain the fuzzy defect edge area.
[0080] Because the surface of the glass substrate has a high transparency, that is, the glass substrate has a better light transmittance, and its brightness characteristics are large, and due to the coating of glue on the surface of the glass substrate, the light transmittance of the glass substrate is reduced. Due to the influence of external interference noise, it is easy to cause fuzzy edge features to appear in the image of the coated surface to be tested, and the local area of the fuzzy edge is prone to large brightness differences. Therefore, further, according to the influence of the coating process on the light transmittance of the glass substrate, the fuzzy edge light transmittance attenuation characteristic value is obtained; and further, the fuzzy edge light transmittance attenuation characteristic value is used as the parameter value for threshold segmentation to segment the image of the coated surface to be tested. Generally, the larger the attenuation feature area, the lower the corresponding light transmittance, and the greater the probability of belonging to the fuzzy defect edge area.
[0081] In order to enhance the image of the coated surface to be tested and avoid the appearance of blurred edge features on the glass substrate, it is first necessary to analyze the light transmittance change characteristics of the blurred edge of the coated area in the image of the coated surface to be tested.
[0082] It should be noted that the embodiment of the present invention takes the image of the adhesive-coated surface to be measured at one shooting angle as an example to process it, and the images of the adhesive-coated surface to be measured at other shooting angles are processed in the same manner.
[0083] Firstly, the light transmittance variation characteristics of the glue-coated area in the glue-coated surface image to be tested are analyzed to determine the blurred defect edge area.
[0084] In some embodiments, the image of the adhesive coating surface to be tested is segmented by analyzing the brightness of the midpoint of the image of the adhesive coating surface to be tested, and the blurred defect edge area is obtained. That is, the above step S200 can be performed by Figure 2 The following steps S210 to S220 are implemented as shown:
[0085] Step S210, performing attenuation analysis on the brightness of the points in the image of the coated surface to be tested, and determining the fuzzy edge light transmittance attenuation characteristic value of each point.
[0086] Under normal circumstances, the transmittance of the fuzzy edge of the glue-coated area will show a significant attenuation change compared to the transmittance of the adjacent position of the fuzzy edge. At the same time, the distribution of the grayscale value in the sliding window of the fuzzy edge pixel point is relatively discrete, while the distribution of the grayscale value in other areas is often relatively uniform. Therefore, based on these characteristics, the attenuation degree of the brightness of the midpoint of the glue-coated surface image to be tested is analyzed to obtain the fuzzy edge transmittance attenuation characteristic value of each point.
[0087] In some possible implementations, the brightness of the midpoint of the image of the coated surface to be tested is analyzed to determine the fuzzy edge light transmission attenuation characteristic value, that is, the above step S210 can be performed by Figure 3 The following steps S211 to S214 are implemented as shown:
[0088] Step S211, constructing a light transmittance attenuation feature sequence corresponding to each point based on the brightness value within a local range of each point in the image of the coated surface to be tested.
[0089] In one embodiment of the present invention, a window of a preset size is set as a sliding window of each point with each point in the image of the coated surface to be tested as the center, and the area of the sliding window corresponding to each point is the local range of each point. In the embodiment of the present invention, the preset size is 15×15, and in other embodiments, the implementer can enlarge or reduce the local range according to actual conditions.
[0090] In another embodiment of the present invention, a local range of a preset size may be constructed directly with each point in the glue-coated surface image as the center.
[0091] The sequence of the brightness values of all points in the local range of each point in the coated surface image in the order of numerical magnitude is used as the light transmittance attenuation feature sequence of each pixel point. It should be noted that since the difference between adjacent brightness values in the sequence is considered later, the light transmittance attenuation feature sequence can be arranged from large to small values, or from small to large values.
[0092] Step S212, comparing the differences between adjacent brightness values in the light transmittance attenuation sequence, and determining the corresponding light transmittance attenuation characteristic index based on the overall situation of the differences between adjacent brightness values.
[0093] Except for the last brightness value in the transmittance decay sequence, the absolute value of the difference between each brightness value and the next brightness value in the transmittance decay sequence is calculated as the brightness attenuation degree value of each brightness value.
[0094] As one embodiment of the present invention, the mean of the brightness attenuation values corresponding to the light transmittance attenuation sequence is calculated as the corresponding light transmittance attenuation characteristic index. As another embodiment of the present invention, the median of the brightness attenuation values corresponding to the light transmittance attenuation sequence can also be used as the corresponding light transmittance attenuation characteristic index. As other embodiments of the present invention, the mode of the brightness attenuation values corresponding to the light transmittance attenuation sequence can also be used as the corresponding light transmittance attenuation characteristic index.
[0095] Step S213, determining the fuzzy defect edge feature corresponding to each point in the image of the coated surface to be tested according to the disorder degree of the gray value in the local range of each point.
[0096] As an embodiment of the present invention, the information entropy of the grayscale values of all points within the local range of each point in the glue-coated surface image is used as the fuzzy defect edge feature.
[0097] As another embodiment of the present invention, the joint entropy of the grayscale values of all points within the local range of each point in the coated surface image is used as the fuzzy defect edge feature. The calculation method of information entropy and joint entropy is a well-known technology for those skilled in the art and will not be repeated here.
[0098] Step S214, combining the light transmission attenuation characteristic index corresponding to each point and the fuzzy defect edge feature, to determine the fuzzy edge light transmission attenuation characteristic value of each point in the coated surface image.
[0099] Among them, both the light transmission attenuation characteristic index and the fuzzy defect edge characteristic are positively correlated with the fuzzy edge light transmission attenuation characteristic value. In one embodiment of the present invention, the normalized value of the product of the light transmission attenuation characteristic index and the fuzzy defect edge characteristic can be used as the fuzzy edge light transmission attenuation characteristic value of each point in the coated surface image.
[0100] In another embodiment of the present invention, the normalized value of the sum of the normalized fuzzy edge transmittance attenuation characteristic value and the normalized fuzzy defect edge characteristic of each point in the coated surface image can also be used as the fuzzy edge transmittance attenuation characteristic value of each point in the coated surface image.
[0101] The fuzzy edge transmittance attenuation characteristic value reflects the transmittance attenuation characteristics of the fuzzy edge of the glue-coated area on the glass substrate. That is, the larger the fuzzy edge transmittance attenuation characteristic value is, the greater the transmittance attenuation characteristics of the fuzzy edge of the glue-coated area on the glass substrate is. Due to the influence of external interference, it is easy to produce a fuzzy edge on the glue-coated surface, and the local area of the fuzzy edge is prone to a large change in brightness difference. At this time, the larger the fuzzy edge transmittance attenuation characteristic value is, the more likely the corresponding point is to be in the fuzzy defect edge area of the glue-coated area.
[0102] The light transmittance of other glue-coated areas on the glass substrate except the blurred defect edge area is relatively the same, that is, the light transmittance of other glue-coated areas except the blurred defect edge area is relatively balanced, and the blurred edge light transmittance attenuation characteristic value of other glue-coated areas except the blurred defect edge area is small, while the blurred edge light transmittance attenuation characteristic value at the blurred edge position is large. In order to analyze the blurred defect edge area on the glue-coated area, it is necessary to extract the points of the blurred defect edge area by the threshold segmentation method.
[0103] Step S220 , segmenting the image of the adhesive coating surface to be tested based on the fuzzy edge light transmittance attenuation characteristic value to obtain a fuzzy defect edge area.
[0104] The fuzzy edge transmittance attenuation characteristic value is used as the input of the segmentation algorithm to segment the image of the tested glue-coated surface and obtain the fuzzy defect edge area.
[0105] As an embodiment of the present invention, the fuzzy edge light attenuation characteristic values of all points in the image of the coated surface to be tested are used as the input of the Otsu threshold segmentation algorithm, and the points corresponding to the fuzzy edge light attenuation characteristic values greater than the preset light attenuation characteristic segmentation threshold are used as the pixel points of the fuzzy defect edge area to obtain the fuzzy defect edge area. All the pixel points of the fuzzy defect edge area are obtained by using the Otsu threshold segmentation algorithm. It should be noted that the preset light attenuation characteristic segmentation threshold is obtained by the Otsu threshold segmentation algorithm.
[0106] As another embodiment of the present invention, a light transmission attenuation feature segmentation threshold may be directly preset, and points corresponding to fuzzy edge light transmission attenuation feature values greater than the preset light transmission attenuation feature segmentation threshold are used as pixel points of the fuzzy defect edge region. It should be noted that the value of the preset light transmission attenuation feature segmentation threshold is set by the implementer according to actual conditions, or may also be set according to an empirical value.
[0107] Step S300, determining the transmittance attenuation singular distribution value of each point in the fuzzy defect edge area in combination with the change fluctuation of the fuzzy edge transmittance attenuation characteristic value; determining the fuzzy defect edge feature of each point in the fuzzy defect edge area in combination with the characteristic difference of the connected domain in the fuzzy defect edge area and the transmittance attenuation singular distribution value; obtaining the fuzzy defect edge point from the fuzzy defect edge area based on the fuzzy defect edge feature.
[0108] The fuzzy defect edge area includes the fuzzy edge pixels generated by external noise when collecting the image of the coating surface to be tested. These fuzzy edge pixels greatly affect the accuracy of the subsequent color difference defect detection of the coating result. Usually, the pixels around the fuzzy defect edge area on the glass substrate have a relatively consistent transmittance attenuation feature, that is, the fuzzy edge transmittance attenuation feature values of the pixels in the local area have a high concentrated distribution feature, but due to the influence of noise components when collecting images, the concentrated distribution feature of the fuzzy edge transmittance attenuation feature values is poor.
[0109] Therefore, in the embodiment of the present invention, the fuzzy defect edge region obtained in step S200 is first analyzed. Since the fuzzy defect edge region also belongs to the part after the glue is applied, the corresponding light transmittance is low and the internal distribution is relatively chaotic. Therefore, the fuzzy edge light transmittance attenuation characteristic value is first analyzed to determine the light transmittance attenuation singular distribution value of each point. Then, the characteristic difference of the connected domain in the fuzzy defect edge region is analyzed to determine the fuzzy defect edge feature of each point. The fuzzy defect edge feature reflects the probability that the point is a fuzzy edge. The larger the fuzzy defect edge feature, the greater the probability that the corresponding point is a fuzzy defect edge point. Based on the fuzzy defect edge feature, the fuzzy defect edge points are screened out from the fuzzy defect edge region to facilitate the subsequent smoothing operation of the glue-coated surface image based on the fuzzy defect edge points.
[0110] In some possible implementations, the above step S300 can be performed by Figure 4 The following steps S310 to S330 are implemented as shown:
[0111] Step S310, determining the transmittance attenuation singular distribution value of each point in the blurred defect edge region in combination with the fluctuation of the transmittance attenuation characteristic value of the blurred edge.
[0112] In some embodiments, the singular distribution value of light transmittance attenuation is determined by analyzing the change fluctuation of the fuzzy edge light transmittance attenuation characteristic value, that is, the above step S310 can be performed by Figure 5 The steps shown achieve:
[0113] Step S311, comparing the overall difference of the fuzzy edge light transmittance attenuation characteristic values of each point in the fuzzy defect edge area with those of the points in the local range, and determining the light transmittance attenuation singularity factor of each point in the fuzzy defect edge area.
[0114] For any point in the fuzzy defect edge area, such as the t-th point, the absolute value of the difference between the fuzzy edge light transmittance attenuation characteristic value of the t-th point and the fuzzy edge light transmittance attenuation characteristic values of other points in its local range is taken as the light transmittance attenuation distance value. It should be noted that there are as many light transmittance attenuation distance values as there are other points in the local range corresponding to the t-th point.
[0115] As an embodiment of the present invention, the average of all light transmittance attenuation distance values corresponding to the t-th point can be used as the light transmittance attenuation singularity factor of the t-th point. The calculation formula of the light transmittance attenuation singularity factor is: ;in, is the transmittance attenuation singularity factor of the t-th point in the blurred defect edge area; N is the number of other points in the local range corresponding to the t-th point; is the fuzzy edge transmittance attenuation characteristic value of the t-th point in the fuzzy defect edge area; It is the fuzzy edge transmittance attenuation characteristic value of the nth other point in the local range of the tth point in the fuzzy defect edge area.
[0116] As another embodiment of the present invention, the mode or median of all light transmittance attenuation distance values corresponding to the t-th point may be used as the light transmittance attenuation singularity factor of the t-th point.
[0117] Step S312, determining the transmittance attenuation singularity value of each point in the fuzzy defect edge region based on the discreteness of the fuzzy edge transmittance attenuation characteristic value in the local range of each point in the fuzzy defect edge region.
[0118] For any point in the blurred defect edge region, such as the jth point, the coefficient of variation of the light transmittance attenuation singularity factor corresponding to other points in the local range of the jth point is used as the light transmittance attenuation singularity value of the jth point in the blurred defect edge region. It should be noted that the method for calculating the coefficient of variation is a well-known technique for those skilled in the art.
[0119] As another embodiment of the present invention, the standard deviation or variance of the transmittance attenuation singularity factors corresponding to other points within the local range of the jth point may be used as the transmittance attenuation singularity degree value of the jth point in the blurred defect edge area.
[0120] Step S313, combining the light transmittance attenuation singularity factor and the light transmittance attenuation singularity degree value of each point, to determine the light transmittance attenuation singularity distribution value of each point in the blurred defect edge area.
[0121] Among them, the transmittance attenuation singularity factor and the transmittance attenuation singularity degree value are positively correlated with the blurred defect edge area.
[0122] In one embodiment of the present invention, the normalized value of the product of the transmittance attenuation singularity factor and the transmittance attenuation singularity value at each point can be directly used as the transmittance attenuation singular distribution value of each point in the blurred defect edge area. The calculation formula of the transmittance attenuation singular distribution value is: ;in, is the singular distribution value of light transmittance attenuation at the tth point in the fuzzy defect edge area; norm is the normalization function; is the transmittance attenuation singular factor of the tth point in the blurred defect edge area; is the transmittance attenuation singularity value of the tth point in the blurred defect edge area.
[0123] In another embodiment of the present invention, the normalized value of the sum of the normalized transmittance attenuation singularity factor and the normalized transmittance attenuation singularity degree value of each point can be directly used as the transmittance attenuation singular distribution value of each point in the blurred defect edge area.
[0124] The transmittance attenuation singular distribution value reflects the transmittance attenuation singular characteristics of the local pixel area in the glue coating area on the glass substrate. That is, the larger the transmittance attenuation singular characteristics of the local pixel area in the glue coating area on the glass substrate are, the greater the pixel is affected by noise, and the more likely it is to have blurred features.
[0125] Step S320, combining the characteristic difference of the connected domain in the fuzzy defect edge region and the transmittance attenuation singular distribution value, to determine the fuzzy defect edge feature of each point in the fuzzy defect edge region.
[0126] When blur occurs at the point position of the edge area of the fuzzy defect, it will manifest as a strange feature of transmittance attenuation in the local area, and because the features inside and around the fuzzy edge are chaotic, the area differences between different connected domains in the corresponding local area are large.
[0127] The area of different connected domains in the local range of each point in the fuzzy defect edge area is obtained, which is recorded as the area of the region. It should be noted that the area of the region is the number of points in the different connected domains in the local range of each corresponding point.
[0128] The difference in the area of different connected domains within the local range of each point in the fuzzy defect edge region is analyzed to determine the fuzzy eigenvalue of each point. More specifically, the sum of the absolute values of the difference in the area of different connected domains within the local range of each point in the fuzzy defect edge region is used as the fuzzy eigenvalue of each point.
[0129] The fuzzy defect edge feature of each point in the fuzzy defect edge area is determined by combining the fuzzy feature value and the transmittance attenuation singular distribution value of each point; wherein the fuzzy feature value and the transmittance attenuation singular distribution value are both positively correlated with the fuzzy defect edge feature. It should be noted that the positive correlation can be addition, multiplication, or other exponential summation.
[0130] In the embodiment of the present invention, the normalized value of the product of the fuzzy feature value of each point and the transmittance attenuation singular distribution value can be directly used as the fuzzy defect edge feature of each point in the fuzzy defect edge area. The calculation formula of the fuzzy defect edge feature is: ;in, is the fuzzy defect edge feature of the tth point in the fuzzy defect edge area; norm is the normalization function; is the fuzzy eigenvalue of the tth point in the fuzzy defect edge area; is the singular distribution value of the transmittance attenuation of the tth point in the blurred defect edge area.
[0131] In other embodiments of the present invention, the normalized value of the sum of the normalized fuzzy feature value of each point and the normalized transmittance attenuation singular distribution value may be used as the fuzzy defect edge feature of each point in the fuzzy defect edge region.
[0132] The fuzzy defect edge feature reflects the feature of the fuzzy edge of the glue coating area on the glass substrate due to the interference of external noise. The larger the fuzzy defect edge feature, the stronger the fuzzy feature of the fuzzy area at the pixel position. At this time, due to the influence of the fuzzy feature, it can be understood that due to the influence of the grayscale unevenness feature, the comparison result between the tested glue coating surface image and the standard glue coating surface image is more likely to deviate, so it is necessary to eliminate the influence of the fuzzy defect edge feature.
[0133] Step S330 , acquiring fuzzy defect edge points from the fuzzy defect edge region based on the fuzzy defect edge features.
[0134] Under normal circumstances, there are many pixels with blurred defect edge features in the blurred defect edge area of the glue coating, which makes the smoothness of the pixels in the blurred defect edge area in the glue coating surface image to be tested poor, resulting in poor accuracy in the glue coating color difference quality defect detection of the spin coating result. In order to improve the accuracy of the glue coating color difference quality defect detection of the spin coating result, it is necessary to improve the smoothness of the pixels with blurred defect edge features.
[0135] Since there is a large difference between the pixel points with fuzzy defect edge features and the pixel points without fuzzy defect edge features, the fuzzy defect edge features of all the pixel points in the fuzzy defect edge area are used as the input of the Otsu threshold segmentation algorithm, and the points corresponding to the fuzzy defect edge features greater than the preset fuzzy defect edge feature segmentation threshold are used as pixels with fuzzy defect edge features, recorded as fuzzy defect edge points, and the Otsu threshold segmentation algorithm is used to obtain all fuzzy defect edge points with fuzzy defect edge features, that is, all pixels with fuzzy defect edge features in the grayscale image of the coated surface, wherein the Otsu threshold segmentation algorithm is a well-known technology, and the specific process is not repeated. It should be noted that the preset fuzzy defect edge feature segmentation threshold is obtained through the Otsu threshold segmentation algorithm.
[0136] Step S400, based on the blurred defect edge point as the center, the image of the adhesive coating surface to be tested is smoothed to obtain a smooth adhesive coating surface image; the smooth adhesive coating surface images corresponding to different shooting angles are compared with the standard adhesive coating surface images to obtain the spin coating quality result of the glass substrate corresponding to the smooth adhesive coating surface image.
[0137] Since there are many fuzzy defect edge features in the glue coating area on the glass substrate image, the accuracy of detecting and identifying the glue coating quality after the glue coating on the glass substrate is completed will be poor. Therefore, the embodiment of the present invention only smoothes the fuzzy defect edge points, so that it can eliminate the fuzzy defect edge features on the glue coating area without destroying the normal structural features of other glue coating areas, so that the comparison between the smooth glue coating surface image and the standard glue coating surface image is more accurate, thereby improving the detection and identification of the glue coating quality on the glass substrate.
[0138] A corresponding regional window is constructed with each blurred defect edge point in the glue-coated surface image as the center. In the embodiment of the present invention, the size of the regional window is 3×3. In other embodiments, the size of the regional window can be set by oneself.
[0139] Based on the blurred defect edge points, the points in the corresponding area window are smoothed to obtain a smoothed glue-coated surface image.
[0140] In one embodiment of the present invention, the gray value of the blurred defect edge point is replaced by the result value of the mean gray value of the points in the corresponding area window taken downward. Figure 6 and Figure 7 , Figure 6 Schematic diagram of the regional window before smoothing the blurred defect edge points. Figure 7 Schematic diagram of the regional window after smoothing the blurred defect edge point, where the blurred defect edge point is the center point of the regional window.
[0141] In other embodiments of the present invention, the grayscale value of the fuzzy defect edge point may be replaced by the mode or median of the grayscale values of the points in the corresponding area window.
[0142] Furthermore, each fuzzy defect edge point with fuzzy features in the tested glue-coated surface image is smoothed, and the image obtained by smoothing all fuzzy defect edge points with fuzzy features in the glue-coated surface image is used as the smoothed glue-coated surface image.
[0143] Compared with the prior art that uses a feature point extraction algorithm to extract all feature points in the coated surface image, since the prior feature point extraction algorithm cannot specifically extract pixel points with fuzzy defect edge features, the extracted feature points are more likely to not be pixel points with fuzzy defect edge features. The embodiment of the present invention analyzes the fuzzy defect edge features in the fuzzy defect edge area, uses the fuzzy defect edge features to extract all points with fuzzy defect edge features in the fuzzy defect edge area on the grayscale image of the coated surface, and specifically extracts the points with fuzzy defect edge features to obtain fuzzy defect edge points. At this time, the result of comparison with the standard coated surface image has higher accuracy.
[0144] Since there are many fuzzy defect edge features in the glue coating area on the glass substrate image, the accuracy of detecting and identifying the glue coating quality on the glass substrate is poor. The embodiment of the present invention only smoothes the fuzzy defect edge points with fuzzy defect edge features in the fuzzy defect edge area, which can eliminate the fuzzy defect edge features in the glue coating area without destroying the normal structural shape of other glue coating areas. The problem that there are many fuzzy defect edge features in the glue coating area, resulting in poor accuracy in detecting and identifying the glue coating quality on the glass substrate after the glue coating is completed, is solved, and the accuracy of detecting and identifying the glue coating quality on the glass substrate after the glue coating is completed is improved.
[0145] Obtain smooth glue-coated surface images corresponding to the glue-coated surface images to be tested at different shooting angles, compare the smooth glue-coated surface images with the standard glue-coated surface images, and obtain the glue coating quality results of the glass substrate corresponding to the smooth glue-coated surface images.
[0146] The smooth glue-coated surface images corresponding to different shooting angles are compared with the standard glue-coated surface images to obtain the comparison results. Specifically, for the smooth glue-coated surface images corresponding to any shooting angle, the smooth glue-coated surface images are subjected to image difference calculation with the standard glue-coated surface images to obtain the grayscale difference of all pixels, and the mean of the grayscale difference of all pixels is used as the glue color difference parameter of the smooth glue-coated surface images corresponding to different shooting angles;
[0147] The larger the glue coating color difference parameter is, the larger the glue coating color difference between the smooth glue coating surface image and the standard glue coating surface image is, which means that the smooth glue coating surface image has a quality defect of glue coating color difference.
[0148] The mean value of the glue chromatic aberration parameter of the smooth glue-coated surface image under all shooting angles is obtained. When the mean value of the glue chromatic aberration parameter is less than the preset chromatic aberration parameter, it is determined that there is no quality defect of glue chromatic aberration in the rotary glue coating result this time; when the mean value of the glue chromatic aberration parameter of the grayscale enhanced images of the glue-coated surface to be tested is greater than or equal to the preset chromatic aberration parameter, it is determined that there is a quality defect of glue chromatic aberration in the rotary glue coating result this time. In an embodiment of the present invention, the preset chromatic aberration parameter is 5. In other embodiments, the implementer may set a reasonable preset chromatic aberration parameter according to actual conditions.
[0149] The embodiment of the present invention provides a system for detecting the quality of spin coating on a glass substrate, the system comprising:
[0150] An acquisition module is used to acquire images of the coating surface to be tested of the glass substrate after the spin coating is completed at different shooting angles, and determine a connected domain in the images of the coating surface to be tested;
[0151] The region determination module is used to analyze the attenuation degree of the brightness of the points in the image of the adhesive surface to be tested, and determine the fuzzy edge light transmission attenuation characteristic value of each point; based on the fuzzy edge light transmission attenuation characteristic value, the image of the adhesive surface to be tested is segmented to obtain the fuzzy defect edge region;
[0152] A fuzzy defect edge point determination module is used to determine the transmittance attenuation singular distribution value of each point in the fuzzy defect edge region in combination with the change fluctuation of the fuzzy edge transmittance attenuation characteristic value; determine the fuzzy defect edge feature of each point in the fuzzy defect edge region in combination with the characteristic difference of the connected domain in the fuzzy defect edge region and the transmittance attenuation singular distribution value; and obtain fuzzy defect edge points from the fuzzy defect edge region based on the fuzzy defect edge feature;
[0153] The positioning module is used to smooth the image of the glue-coated surface to be tested based on the blurred defect edge point as the center to obtain a smooth glue-coated surface image; compare the smooth glue-coated surface images corresponding to different shooting angles with the standard glue-coated surface images to obtain the spin glue coating quality result of the glass substrate corresponding to the smooth glue-coated surface image.
[0154] Optionally, the transmission medium may be a wired link, such as but not limited to coaxial cable, optical fiber, and digital subscriber line, or a wireless link, such as but not limited to Wireless Fidelity (WIFI), Bluetooth, and mobile device network.
[0155] It should be noted that: the device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the shopping guide device provided in the above embodiment and the image extension method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0156] Figure 8 is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention. Figure 8 As shown, the computer device 600 includes: a memory 610, a processor 620, and a computer program 630 stored in the memory 610 and running on the processor 620, wherein when the processor 620 executes the computer program 630, the computer device can execute any one of the aforementioned methods for detecting the quality of spin coating on a glass substrate.
[0157] In addition, an embodiment of the present invention also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a method for detecting the quality of spin coating on a glass substrate provided by an embodiment of the present invention.
[0158] The embodiment of the present invention can divide the functional modules of the device according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0159] In the case of dividing each module according to each function, the device may also include a signal uploading module and an adjustment module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0160] It should be understood that the device provided in the embodiment of the present invention is used to execute the above-mentioned method for detecting the quality of spin coating on a glass substrate, and thus can achieve the same effect as the above-mentioned implementation method.
[0161] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a device, the processing module may be used to control and manage the actions of the device. The storage module may be used to support the device to execute mutual program codes, etc. The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor may also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0162] In addition, the device provided in an embodiment of the present invention may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for detecting the quality of spin coating on a glass substrate provided in the above embodiment.
[0163] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program code. When the computer program code runs on a computer, the computer executes the above-mentioned related method steps to implement a method for detecting the quality of spin coating on a glass substrate provided in the above embodiment.
[0164] An embodiment of the present invention further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a method for detecting the quality of spin coating of a glass substrate provided in the above embodiment.
[0165] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present invention are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here. Through the description of the above implementation methods, technicians in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways.
[0166] The device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. There may be other divisions in actual implementation. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be electrical, mechanical or other forms.
[0167] It should also be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0168] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0169] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0170] The above contents are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for detecting the quality of spin coating on a glass substrate, characterized in that: The method comprises the following steps: Acquire images of the coating surface to be tested of the glass substrate after spin coating at different shooting angles, and determine connected domains in the images of the coating surface to be tested; Performing attenuation analysis on the brightness of the points in the image of the adhesive coating surface to be tested, and determining the fuzzy edge light transmission attenuation characteristic value of each point; segmenting the image of the adhesive coating surface to be tested based on the fuzzy edge light transmission attenuation characteristic value to obtain the fuzzy defect edge area; Combined with the fluctuation of the fuzzy edge transmittance attenuation characteristic value, determine the transmittance attenuation singular distribution value of each point in the fuzzy defect edge region; Combined with the characteristic difference of the connected domain in the fuzzy defect edge region and the transmittance attenuation singular distribution value, determine the fuzzy defect edge feature of each point in the fuzzy defect edge region; Based on the fuzzy defect edge feature, obtain the fuzzy defect edge point from the fuzzy defect edge region; Based on the blurred defect edge point as the center, the image of the adhesive coating surface to be tested is smoothed to obtain a smooth adhesive coating surface image; the smooth adhesive coating surface images corresponding to different shooting angles are compared with the standard adhesive coating surface images to obtain the spin coating quality result of the glass substrate corresponding to the smooth adhesive coating surface image; Among them, the method for determining the fuzzy edge transmittance attenuation characteristic value of each point is: Constructing the light transmittance attenuation feature sequence corresponding to each point from the brightness value in the local range of each point in the image of the coated surface to be tested; Comparing the differences between adjacent brightness values in the light transmittance attenuation sequence, and determining the corresponding light transmittance attenuation characteristic index based on the overall situation of the differences between adjacent brightness values; According to the disorder degree of gray value in the local range of each point in the image of the coating surface to be tested, the fuzzy defect edge feature corresponding to each point is determined; Combining the light transmission attenuation characteristic index and the fuzzy defect edge feature corresponding to each point, determining the fuzzy edge light transmission attenuation characteristic value of each point in the image of the coated surface to be tested; wherein the light transmission attenuation characteristic index and the fuzzy defect edge feature are both positively correlated with the fuzzy edge light transmission attenuation characteristic value; The method for determining the singular distribution value of light transmittance attenuation of each point in the fuzzy defect edge region is as follows: Compare the overall difference between the fuzzy edge light transmittance attenuation characteristic values of each point in the fuzzy defect edge region and the points in the local range, and determine the light transmittance attenuation singularity factor of each point in the fuzzy defect edge region; Determine the singularity value of light transmittance attenuation at each point in the fuzzy defect edge region according to the discreteness of the fuzzy edge light transmittance attenuation characteristic value in the local range of each point in the fuzzy defect edge region; Combine the transmittance attenuation singular factor and the transmittance attenuation singularity value of each point to determine the transmittance attenuation singular distribution value of each point in the blurred defect edge area; wherein the transmittance attenuation singular factor and the transmittance attenuation singularity value are both positively correlated with the blurred defect edge area.
2. The method for detecting the quality of spin coating on a glass substrate according to claim 1, characterized in that: The segmentation of the image of the adhesive coating surface to be tested based on the fuzzy edge light transmission attenuation characteristic value to obtain the fuzzy defect edge area includes: The fuzzy edge transmittance attenuation characteristic value is used as the input of the segmentation algorithm to segment the image of the tested glue-coated surface and obtain the fuzzy defect edge area.
3. The method for detecting the quality of spin coating on a glass substrate according to claim 2, characterized in that: The fuzzy edge light transmission attenuation characteristic value is used as the input of the segmentation algorithm to segment the image of the adhesive coating surface to be tested to obtain the fuzzy defect edge area, including: The fuzzy edge light attenuation characteristic values of all points in the tested coated surface image are used as the input of the Otsu threshold segmentation algorithm, and the points corresponding to the fuzzy edge light attenuation characteristic values greater than the preset light attenuation characteristic segmentation threshold are used as the pixel points of the fuzzy defect edge area to obtain the fuzzy defect edge area.
4. The method for detecting the quality of spin coating on a glass substrate according to claim 1, characterized in that: The step of combining the characteristic difference of the connected domain in the fuzzy defect edge region and the transmittance attenuation singular distribution value to determine the fuzzy defect edge feature of each point in the fuzzy defect edge region comprises: Obtain the area of different connected domains in the local range of each point in the fuzzy defect edge area, and record it as the area of the region; Analyze the difference in the area of different connected domains within the local range of each point in the fuzzy defect edge area, and determine the fuzzy eigenvalue of each point; The fuzzy defect edge feature of each point in the fuzzy defect edge area is determined by combining the fuzzy characteristic value and the transmittance attenuation singular distribution value of each point; wherein the fuzzy characteristic value and the transmittance attenuation singular distribution value are both positively correlated with the fuzzy defect edge feature.
5. The method for detecting the quality of spin coating on a glass substrate according to claim 1, characterized in that: The acquiring of fuzzy defect edge points from the fuzzy defect edge region based on the fuzzy defect edge features comprises: The fuzzy defect edge features are used as the input of the Otsu threshold segmentation algorithm, and the points corresponding to the fuzzy defect edge features that are greater than the preset fuzzy edge defect segmentation threshold are used as fuzzy defect edge points.
6. The method for detecting the quality of spin coating on a glass substrate according to claim 1, characterized in that: The method of smoothing the image of the adhesive coating surface to be tested based on the blurred defect edge point as the center to obtain a smoothed adhesive coating surface image includes: A corresponding regional window is constructed with each fuzzy defect edge point as the center, and the points in the corresponding regional window are smoothed based on the fuzzy defect edge point to obtain a smoothed glue coating surface image.
7. The method for detecting the quality of spin coating on a glass substrate according to claim 1, characterized in that: The step of comparing the smooth glue-coated surface images and the standard glue-coated surface images corresponding to different shooting angles to obtain the spin glue coating quality results of the glass substrate corresponding to the smooth glue-coated surface images includes: For the smooth glue-coated surface image corresponding to any shooting angle, the smooth glue-coated surface image and the standard glue-coated surface image are subjected to image difference calculation to obtain the grayscale difference of all pixels, and the mean of the grayscale difference of all pixels is used as the glue color difference parameter of the smooth glue-coated surface image corresponding to different shooting angles; Obtain the mean value of the gluing chromatic aberration parameter of the smooth gluing surface image under all shooting angles. When the mean value of the gluing chromatic aberration parameter is less than the preset chromatic aberration parameter, it is determined that there is no quality defect of gluing chromatic aberration in the spin gluing result. When the average value of the glue color difference parameter of all the grayscale enhanced images of the glued surfaces to be tested is greater than or equal to the preset color difference parameter, it is determined that the spin glue coating result has a quality defect of glue color difference.
8. The method for detecting the quality of spin coating on a glass substrate according to claim 1, characterized in that: The step of determining a connected domain in the image of the glue-coated surface to be tested comprises: Based on the grayscale value of each point in the image of the glue-coated surface to be tested, a connected domain in the image of the glue-coated surface to be tested is obtained.
Citation Information
Patent Citations
Photovoltaic cell panel glass damage generating capacity prediction method and system based on artificial intelligence
CN112508245A
Defect detection method for industrial control capacitance touch LCD display assembly
CN115797342A
Metal washbasin defect rapid detection method based on computer vision
CN116758083A
Gluing area detection method, electronic equipment and computer readable storage medium
CN116917935A
Direct current screen defect detection method based on machine vision
CN117252868A
