Polaroid surface defect intelligent multi-sorting control system and method

Through computer vision and image processing technology, adversarial generation network and feature fusion are used to solve the problem of difficult to identify small differences in polarizer surface defect detection, achieve high-accuracy and efficient defect detection, and ensure the stable quality of polarizers. sex.

CN118688207AInactive Publication Date: 2024-09-24GANZHOU EXCELLENT TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410895515.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing polarizer surface defect detection methods are difficult to accurately detect boundary blur defects caused by small differences, affecting the quality stability and reliability of polarizers.

Method used

Computer vision and image processing technology are used to enhance the image through the adversarial generation network, extract the texture and color features of the polarizer, perform multi-channel feature fusion, generate defect classification feature vectors, and use classifiers to detect and analyze defect types.

Benefits of technology

It improves the accuracy and efficiency of surface defect detection of polarizers, ensures the quality stability and reliability of polarizers, and enhances the ability to detect tiny defects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118688207A
    Figure CN118688207A
Patent Text Reader

Abstract

The invention relates to the field of intelligent control of surface defects of polarizers, and particularly discloses an intelligent multi-sorting control system and method for the surface defects of the polarizers. And carrying out feature extraction and analysis on the image data of the to-be-analyzed polaroid by utilizing computer vision and image processing technologies so as to obtain a classification result for representing the surface defect type of the to-be-analyzed polaroid. Therefore, according to the classification result, the surface defects of the polaroid can be detected and analyzed, so that the accuracy and the efficiency of defect detection are improved, and the stability and the reliability of the quality of the polaroid are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control of polarizer surface defects, and more specifically, to an intelligent multi-sorting control system and method for polarizer surface defects. Background Art

[0002] As an important electronic product in modern life, LCD screens rely on polarized light to achieve imaging. Among them, polarizers, as one of the important materials of LCDs, play a key role by being attached to the liquid crystal glass. However, in the production process of polarizers, due to the limitations of raw materials and production technology, it is often difficult to avoid a variety of defects, such as scratches, stains, and stains. These defects may lead to unstable performance or shortened life of polarizers. Therefore, defect detection of polarizers is crucial.

[0003] Most polarizer surface defect detection methods analyze the acquired polarizer images. However, in the acquired polarizer images, the difference between many defects and the background is very small, and the grayscale transition is gradual, which makes it difficult to detect defects with blurred boundaries.

[0004] Therefore, an intelligent multi-sorting control system and method for polarizer surface defects is expected to detect and analyze polarizer surface defects based on computer vision and image processing technology to improve the accuracy and efficiency of defect detection, thereby ensuring the stability and reliability of the quality of the polarizer. Summary of the invention

[0005] In order to solve the above technical problems, the present application is proposed. The embodiment of the present application provides a polarizer surface defect intelligent multi-sorting control system and method, which uses the collected image data of the polarizer to be analyzed as input data, and then uses computer vision and image processing technology to extract and analyze the image data of the polarizer to be analyzed, so as to obtain a classification result for representing the type of surface defects of the polarizer to be analyzed. In this way, according to the classification results, the surface defects of the polarizer can be detected and analyzed to improve the accuracy and efficiency of defect detection, thereby ensuring the stability and reliability of the quality of the polarizer.

[0006] According to the first aspect of the present application, a polarizer surface defect intelligent multi-sorting control system is provided, which includes:

[0007] A polarizer data acquisition module, used to acquire image data of the polarizer to be analyzed;

[0008] A polarizer image enhancement module, used for passing the image data of the polarizer to be analyzed through an image intensifier based on a generative adversarial network to obtain a polarizer pixel enhanced image;

[0009] A polarizer feature extraction module, used to extract and analyze the texture features and color features in the polarizer pixel enhanced image to obtain a polarizer multi-channel feature vector and a polarizer color feature vector;

[0010] A polarizer feature fusion module, used for fusing the polarizer multi-channel feature vector and the polarizer color feature vector to obtain a polarizer defect classification feature vector;

[0011] The polarizer classification result generating module is used to obtain a classification result representing the type of surface defects of the polarizer to be analyzed based on the polarizer defect classification feature vector.

[0012] In combination with the first aspect of the present application, in an intelligent multi-sorting control system for polarizer surface defects in the first aspect of the present application, the polarizer image enhancement module is used to: generate the image data of the polarizer to be analyzed by the generator of the image enhancer based on the adversarial generative network to obtain the polarizer pixel enhanced image.

[0013] In combination with the first aspect of the present application, in a polarizer surface defect intelligent multi-sorting control system of the first aspect of the present application, the polarizer feature extraction module includes: a polarizer texture feature extraction unit, used to perform multi-channel feature extraction on the polarizer pixel enhanced image to obtain the polarizer multi-channel feature vector; a polarizer color feature extraction unit, used to perform deep convolution encoding on the polarizer pixel enhanced image to obtain the polarizer color feature vector.

[0014] Among them, the polarizer texture feature extraction unit includes: a texture map acquisition subunit, which is used to perform local binary pattern processing and Canny edge detection on the pixel enhanced image to obtain a polarizer local binary pattern map and a polarizer Canny edge detection map; a multi-channel aggregation subunit, which is used to perform aggregation operations along the channel dimension on the polarizer local binary pattern map and the polarizer Canny edge detection map to obtain a polarizer multi-channel feature map; a texture feature extraction subunit, which is used to pass the polarizer multi-channel feature map through a multi-channel feature extraction module based on the CBAM attention mechanism to obtain the polarizer multi-channel feature vector.

[0015] In particular, the multi-channel aggregation subunit is used to: fuse the polarizer local binary pattern map and the polarizer Canny edge detection map according to the following cascade formula to obtain a polarizer multi-channel feature map; wherein the cascade formula is: a =concat[F a1 ,F a2 ], where F a1 represents the local binary pattern of the polarizer, F a2represents the Canny edge detection image of the polarizer, F a represents the multi-channel feature map of the polarizer, and Concat[·,·] represents a cascade function.

[0016] Among them, the polarizer color feature extraction unit includes: a color feature acquisition subunit, used to pass the image data of the polarizer to be analyzed through a color feature extraction module based on a convolutional neural network model to obtain a polarizer color feature map; a feature map pooling subunit, used to perform a pooling operation on the polarizer color feature map to obtain a polarizer color feature vector.

[0017] In particular, the feature map pooling subunit is used to: perform a mean pooling operation based on a feature matrix on the polarizer color feature map to obtain the polarizer color feature vector.

[0018] In combination with the first aspect of the present application, in a polarizer surface defect intelligent multi-sorting control system of the first aspect of the present application, the polarizer classification result generation module includes: a polarizer feature optimization unit, used to perform backward distribution consistency improvement on the polarizer defect classification feature vector based on the classification feature space to obtain an optimized polarizer defect classification feature vector; a polarizer feature classification unit, used to pass the optimized polarizer defect classification feature vector through a classifier to obtain the classification result.

[0019] Among them, the polarizer feature optimization unit includes: multiplying the polarizer defect classification feature vector with the classification weight matrix of the geological state classifier to obtain a first intermediate polarizer defect classification feature vector; using the concat function to process the polarizer defect classification feature vector and the first intermediate polarizer defect classification feature vector to obtain a second intermediate polarizer defect classification feature vector; adding the polarizer defect classification feature vector and the first intermediate polarizer defect classification feature vector by position to obtain a third intermediate polarizer defect classification feature vector; multiplying the first weight matrix by the second intermediate polarizer defect classification feature vector and adding the first bias vector and then passing it through the sigmoid function to obtain a first activation value; multiplying the second weight matrix by the third intermediate polarizer defect classification feature vector The second activation value is added to the second bias vector and then passed through the sigmoid function to obtain a second activation value; the mean of the first activation value and the second activation value is calculated to obtain the activation mean; the difference between the first activation value and the second activation value is calculated, and the difference is used as the first weighting coefficient and the activation mean is used as the second weighting coefficient, and the second intermediate polarizer defect classification feature vector and the polarizer defect classification feature vector are weighted by position to obtain a fourth intermediate polarizer defect classification feature vector; each eigenvalue of the backward anchor reference vector is subjected to an exponential operation with a natural constant as the base to obtain a fifth intermediate polarizer defect classification feature vector; the fourth intermediate polarizer defect classification feature vector is subtracted from the fifth intermediate polarizer defect classification feature vector by position and then passed through the ReLU function to obtain an optimized polarizer defect classification feature vector.

[0020] According to the second aspect of the present application, a method for intelligent multi-sorting control of polarizer surface defects is provided, which comprises:

[0021] Collect image data of the polarizer to be analyzed;

[0022] Passing the image data of the polarizer to be analyzed through an image intensifier based on a generative adversarial network to obtain a polarizer pixel enhanced image;

[0023] Extracting and analyzing the texture features and color features in the polarizer pixel enhanced image respectively to obtain a polarizer multi-channel feature vector and a polarizer color feature vector;

[0024] Performing feature fusion on the polarizer multi-channel feature vector and the polarizer color feature vector to obtain a polarizer defect classification feature vector;

[0025] Based on the polarizer defect classification feature vector, a classification result for representing the type of surface defects of the polarizer to be analyzed is obtained.

[0026] Compared with the prior art, the present application provides a polarizer surface defect intelligent multi-sorting control system and method, which uses the collected image data of the polarizer to be analyzed as input data, and then uses computer vision and image processing technology to extract and analyze the image data of the polarizer to be analyzed, thereby obtaining a classification result for representing the type of surface defects of the polarizer to be analyzed. In this way, according to the classification result, the surface defects of the polarizer can be detected and analyzed to improve the accuracy and efficiency of defect detection, thereby ensuring the stability and reliability of the quality of the polarizer. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0028] Figure 1 The figure illustrates a schematic block diagram of an intelligent multi-sorting control system for polarizer surface defects according to an embodiment of the present application.

[0029] Figure 2 The figure illustrates a schematic block diagram of a polarizer feature extraction module in an intelligent multi-sorting control system for polarizer surface defects according to an embodiment of the present application.

[0030] Figure 3 The figure illustrates a schematic block diagram of a polarizer texture feature extraction unit in a polarizer feature extraction module in an intelligent multi-sorting control system for polarizer surface defects according to an embodiment of the present application.

[0031] Figure 4 The diagram illustrates a schematic block diagram of a texture feature extraction subunit in a polarizer texture feature extraction unit in a polarizer feature extraction module in a polarizer surface defect intelligent multi-sorting control system according to an embodiment of the present application.

[0032] Figure 5 The figure illustrates a schematic block diagram of a polarizer color feature extraction unit in a polarizer feature extraction module in an intelligent multi-sorting control system for polarizer surface defects according to an embodiment of the present application.

[0033] Figure 6 The figure illustrates a schematic block diagram of a polarizer classification result generation module in a polarizer surface defect intelligent multi-sorting control system according to an embodiment of the present application.

[0034] Figure 7 The figure illustrates a flow chart of a method for intelligent multi-sorting control of polarizer surface defects according to an embodiment of the present application. DETAILED DESCRIPTION

[0035] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0036] Exemplary Systems

[0037] Figure 1 FIG. 1 is a schematic block diagram of an intelligent multi-sorting control system for polarizer surface defects according to an embodiment of the present application. Figure 1 As shown, according to the embodiment of the present application, the intelligent multi-sorting control system 100 for polarizer surface defects includes: a polarizer data acquisition module 110, which is used to acquire image data of the polarizer to be analyzed; a polarizer image enhancement module 120, which is used to pass the image data of the polarizer to be analyzed through an image enhancer based on a generative adversarial network to obtain a polarizer pixel enhanced image; a polarizer feature extraction module 130, which is used to extract and analyze the texture features and color features in the polarizer pixel enhanced image respectively to obtain a polarizer multi-channel feature vector and a polarizer color feature vector; a polarizer feature fusion module 140, which is used to perform feature fusion on the polarizer multi-channel feature vector and the polarizer color feature vector to obtain a polarizer defect classification feature vector; a polarizer classification result generation module 150, which is used to obtain a classification result representing the type of surface defects of the polarizer to be analyzed based on the polarizer defect classification feature vector.

[0038] Polarizer is an optical device used to control and adjust the polarization state of light. Light is an electromagnetic wave whose electric and magnetic fields vibrate perpendicular to the direction of light propagation. Polarizer can selectively allow light in a specific direction to pass through while blocking light in other directions. However, in the process of manufacturing polarizers, surface defects may be caused by a variety of factors, such as uneven materials, mold wear, improper processing technology, etc. By performing defect detection on the surface of polarizers, problems in these production processes can be discovered and controlled in a timely manner to ensure the stability and consistency of product quality. Therefore, in order to improve the quality of polarizers, it is necessary to detect and analyze the surface defects of polarizers.

[0039] As described in the above background technology, most polarizer surface defect detection methods analyze the acquired polarizer image. However, in the acquired polarizer image, the difference between many defects and the background is very small, and the grayscale transition is gradual, which brings difficulties to the detection of defects with blurred boundaries. Therefore, an intelligent multi-sorting control system and method for polarizer surface defects is expected to detect and analyze polarizer surface defects based on computer vision and image processing technology to improve the accuracy and efficiency of defect detection, thereby ensuring the stability and reliability of the quality of the polarizer.

[0040] Computer vision and image processing technologies play an important role in the intelligent multi-sorting control system for polarizer surface defects. They can realize automated defect detection and classification, improve product quality and production efficiency, and provide data support and decision-making basis to help optimize the production process and improve product quality. Therefore, in the specific embodiments of the present application, feature extraction and analysis of input data are performed by computer vision and image processing technology.

[0041] In an embodiment of the present application, the polarizer data acquisition module 110 is used to collect image data of the polarizer to be analyzed. It should be understood that collecting image data of the polarizer is the basis for defect analysis. By collecting image data, visual information of the surface of the polarizer can be obtained, so as to perform subsequent defect detection and analysis. Further, considering that different types of defects may have different effects on the performance and life of the polarizer. By accurately identifying and classifying defects, problems can be discovered and repaired in a timely manner to ensure that the quality of the polarizer meets the requirements. In addition, scratches, stains, stains, bubbles, cracks and other defects on the surface of the polarizer have different texture features and color features. Therefore, by extracting and analyzing the texture features and color features of the image data of the polarizer, the types of these defects are obtained. In this way, manufacturers can take corresponding repair measures in a timely manner to improve the quality and performance of the product.

[0042] Specifically, when collecting image data of the polarizer to be analyzed, a high-resolution industrial camera or video camera can be used to collect image data of the surface of the polarizer. The selection of the camera should take into account image quality, resolution, frame rate, and the ability to adapt to different lighting conditions.

[0043] In an embodiment of the present application, the polarizer image enhancement module 120 is used to pass the image data of the polarizer to be analyzed through an image enhancer based on a generative adversarial network to obtain a polarizer pixel enhanced image. It should be understood that the defects on the surface of the polarizer may be very small or subtle and may not be very obvious in the original image. By using an image enhancer based on a generative adversarial network, the details and contrast of the image can be enhanced, making the defects more obvious and easier to detect and analyze. Therefore, in order to better capture the surface defects of the polarizer, the image data of the polarizer to be analyzed is first subjected to an image enhancement operation.

[0044] In a specific embodiment of the present application, the polarizer image enhancement module 120 is used to: generate the image data of the polarizer to be analyzed by the generator of the image enhancer based on the generative adversarial network to obtain the polarizer pixel enhanced image.

[0045] In the embodiment of the present application, the polarizer feature extraction module 130 is used to extract and analyze the texture features and color features in the polarizer pixel enhanced image to obtain a polarizer multi-channel feature vector and a polarizer color feature vector. It should be understood that after the image data of the polarizer to be analyzed is pre-processed by pixel enhancement, the image texture features and color features can be extracted and analyzed.

[0046] Specifically, Figure 2 FIG. 1 is a schematic block diagram of a polarizer feature extraction module in a polarizer surface defect intelligent multi-sorting control system according to an embodiment of the present application. Figure 2 As shown, the polarizer feature extraction module 130 includes: a polarizer texture feature extraction unit 131, used to perform multi-channel feature extraction on the polarizer pixel enhanced image to obtain the polarizer multi-channel feature vector; a polarizer color feature extraction unit 132, used to perform deep convolution encoding on the polarizer pixel enhanced image to obtain the polarizer color feature vector.

[0047] First, the texture features of the polarizer pixel enhanced image are extracted and analyzed. Specifically, Figure 3 The figure shows a schematic block diagram of a polarizer texture feature extraction unit in a polarizer feature extraction module in a polarizer surface defect intelligent multi-sorting control system according to an embodiment of the present application. Figure 3 As shown, the polarizer texture feature extraction unit 131 includes: a texture map acquisition subunit 131-1, which is used to perform local binary pattern processing and Canny edge detection on the pixel enhanced image to obtain a polarizer local binary pattern map and a polarizer Canny edge detection map; a multi-channel aggregation subunit 131-2, which is used to perform aggregation operations along the channel dimension on the polarizer local binary pattern map and the polarizer Canny edge detection map to obtain a polarizer multi-channel feature map; a texture feature extraction subunit 131-3, which is used to pass the polarizer multi-channel feature map through a multi-channel feature extraction module based on the CBAM attention mechanism to obtain the polarizer multi-channel feature vector.

[0048] It should be understood that Local Binary Patterns (LBP) is a commonly used texture feature description method. By performing local binary pattern processing on the pixel enhanced image, the texture information in the image can be extracted. For the detection and analysis of polarizer surface defects, texture information is one of the very important features. Local binary pattern processing can highlight the details and changes of the texture, thereby helping to detect and analyze the defects on the surface of the polarizer. Canny edge detection is a classic edge detection algorithm. By performing Canny edge detection on the pixel enhanced image, the edge information in the image can be extracted. In the detection of polarizer surface defects, the edge is one of the features often associated with defects. Canny edge detection can effectively detect the edges in the image, thereby helping to detect and analyze the defects on the surface of the polarizer. Therefore, in order to better capture the defects on the surface of the polarizer, the pixel enhanced image is subjected to local binary pattern processing and Canny edge detection respectively. In this way, the accuracy and efficiency of defect detection can be improved, thereby ensuring the stability and reliability of the quality of the polarizer.

[0049] In a specific embodiment of the present application, the texture map acquisition subunit 131-1, the specific Canny edge detection process is: 1. Noise suppression: First, the pixel enhanced image is subjected to noise suppression processing, and a common method is to use a Gaussian filter. The Gaussian filter can smooth the image and reduce the influence of noise. 2. Calculate the gradient: The gradient of the filtered image is calculated to determine the edge in the image. A common method is to use the Sobel operator, which can calculate the gradient of the image in the horizontal and vertical directions. 3. Non-maximum suppression: After calculating the gradient, the gradient image needs to be non-maximum suppressed. The purpose of this step is to retain only local maximum points in the gradient image and suppress the response of the non-edge area. 4. Double threshold processing: By setting two thresholds, the pixels in the gradient image are divided into three categories: strong edge, weak edge and non-edge. Generally speaking, pixels above the high threshold are considered to be strong edges, pixels below the low threshold are considered to be non-edges, and pixels between the two thresholds are considered to be weak edges. 5. Edge connection: The last step is to connect strong edges and weak edges through edge connection. If a weak edge pixel is adjacent to a strong edge pixel, it is classified as a strong edge; otherwise, it is classified as a non-edge.

[0050] Next, considering that the surface defects of polarizers may have different characteristics, such as texture, edge, etc. A single feature may not be able to fully describe the defect, so the local binary pattern map and the Canny edge detection map are aggregated. In this way, multiple feature information can be integrated to improve the accuracy of defect detection.

[0051] In a specific embodiment of the present application, the multi-channel aggregation subunit 131-2 is used to: fuse the polarizer local binary pattern image and the polarizer Canny edge detection image according to the following cascade formula to obtain a polarizer multi-channel feature map; wherein the cascade formula is: F a =Concat[F a1 ,F a2 ], where F a1 represents the local binary pattern of the polarizer, F a2 represents the Canny edge detection image of the polarizer, F a represents the multi-channel feature map of the polarizer, and Concat[·,·] represents a cascade function.

[0052] Furthermore, the multi-channel feature map of the polarizer contains rich information, but not all features are useful for defect detection and analysis tasks. By introducing the CBAM attention mechanism, the feature map can be adaptively weighted to focus on the key features that are most helpful for defect detection and analysis, thereby improving the accuracy and efficiency of detection. Therefore, in order to improve the efficiency of defect detection, the multi-channel feature map of the polarizer is further deep convolutionally encoded through a multi-channel feature extraction module based on the CBAM attention mechanism to obtain the multi-channel feature vector of the polarizer. In this way, a more accurate and effective feature representation can be provided for subsequent defect detection and analysis.

[0053] Specifically, Figure 4 The figure shows a schematic block diagram of a texture feature extraction subunit in a polarizer texture feature extraction unit in a polarizer feature extraction module in a polarizer surface defect intelligent multi-sorting control system according to an embodiment of the present application. Figure 4 As shown, the texture feature extraction subunit 131-3 includes: a convolution secondary subunit 131-31, used to perform convolution processing on the input data to obtain a convolution feature map; a pooling secondary subunit 131-32, used to perform pooling processing on the convolution feature map to obtain a pooling feature map; an activation secondary subunit 131-33, used to perform nonlinear activation processing on the pooling feature map to obtain an activation feature map; a channel attention secondary subunit 131-34, used to pass the activation feature map through a channel attention module to obtain a channel attention feature map; a spatial attention secondary subunit 131-35, used to input the channel attention feature map into a spatial attention module to obtain a spatial attention feature map.

[0054] In particular, the channel attention secondary subunit 131-34 is used to: calculate the global mean of each feature matrix of the activation feature map along the channel dimension to obtain a channel feature vector; input the channel feature vector into the Softmax activation function to obtain a channel attention weight feature vector; and use the eigenvalues ​​of each position in the channel attention weight feature vector as weights to weight each feature matrix of the activation feature map along the channel dimension to obtain the channel attention feature map.

[0055] In particular, the spatial attention secondary sub-unit 131-35 is used to: use the convolution layer of the spatial attention module to perform convolution encoding on the channel attention feature map to obtain a spatial attention map; input the spatial attention map into the Softmax activation function of the spatial attention module to obtain a spatial attention score map; and calculate the positional point multiplication of the spatial attention score map and the channel attention feature map to obtain the spatial attention feature map.

[0056] Then the color features of the polarizer pixel enhanced image are extracted and analyzed. Specifically, Figure 5 The figure shows a schematic block diagram of a polarizer color feature extraction unit in a polarizer feature extraction module in a polarizer surface defect intelligent multi-sorting control system according to an embodiment of the present application. Figure 5 As shown, the polarizer color feature extraction unit 132 includes: a color feature acquisition subunit 132-1, used to pass the image data of the polarizer to be analyzed through a color feature extraction module based on a convolutional neural network model to obtain a polarizer color feature map; a feature map pooling subunit 132-2, used to perform a pooling operation on the polarizer color feature map to obtain a polarizer color feature vector.

[0057] It should be understood that the color features of polarizers play an important role in surface defect detection. Defects usually cause color changes or anomalies. By extracting the color features of polarizers, these changes can be captured, thereby helping to detect and analyze the surface defects of polarizers. Therefore, in order to more accurately capture the color features of polarizers, a color feature extraction module based on a convolutional neural network model is used to perform deep convolution encoding on the image data of the polarizer to be analyzed to obtain the color features of the polarizer. Among them, the convolutional neural network is a deep learning model that performs well in image processing tasks. By using the convolutional neural network model, rich feature representations can be learned from the image data of the polarizer. These learned features can better capture the information of surface defects of the polarizer and improve the accuracy of detection.

[0058] In a specific embodiment of the present application, the color feature acquisition subunit 132-1 is used to: use each layer of the convolutional neural network model to perform the following on the input data in the forward pass of the layer: use the convolution units of each layer of the convolutional neural network model to perform convolution processing on the input data to obtain a convolution feature map; use the pooling units of each layer of the convolutional neural network model to perform pooling processing based on a local feature matrix on the convolution feature map to obtain a pooling feature map; and use the activation units of each layer of the convolutional neural network model to perform nonlinear activation on the feature values ​​of each position in the pooling feature map to obtain an activation feature map; wherein the output of the last layer of the convolutional neural network model is the polarizer color feature map.

[0059] Next, considering that the color feature map usually has a high dimension and contains a large amount of pixel information. In actual defect detection and analysis tasks, not all pixels play an important role in defect identification. By performing a pooling operation on the color feature map, the spatial dimension of the image can be reduced, thereby reducing the dimension of the feature and improving the efficiency of subsequent processing. Therefore, the polarizer color feature map is further subjected to a pooling dimensionality reduction operation to obtain a polarizer color feature vector. Such a feature vector can be used for subsequent defect detection and analysis to improve the accuracy and efficiency of defect detection, thereby ensuring the stability and reliability of the quality of the polarizer.

[0060] In a specific embodiment of the present application, the feature map pooling subunit 132-2 is used to: perform a mean pooling operation based on a feature matrix on the polarizer color feature map to obtain the polarizer color feature vector.

[0061] In an embodiment of the present application, the polarizer feature fusion module 140 is used to perform feature fusion on the polarizer multi-channel feature vector and the polarizer color feature vector to obtain a polarizer defect classification feature vector. It should be understood that the defects of the polarizer may be manifested in different features, such as color, texture, shape, etc. By fusing the multi-channel feature vector and the color feature vector, the information of different features can be comprehensively utilized to improve the comprehensiveness and accuracy of the polarizer defects. Therefore, the polarizer multi-channel feature vector and the polarizer color feature vector are further feature fused to obtain a polarizer defect classification feature vector.

[0062] In the embodiment of the present application, the polarizer classification result generating module 150 is used to obtain a classification result representing the type of surface defects of the polarizer to be analyzed based on the polarizer defect classification feature vector. Figure 6 FIG. 1 is a schematic block diagram of a polarizer classification result generation module in a polarizer surface defect intelligent multi-sorting control system according to an embodiment of the present application. Figure 6As shown, the polarizer classification result generation module 150 includes: a polarizer feature optimization unit 151, which is used to perform backward distribution consistency improvement on the polarizer defect classification feature vector based on the classification feature space to obtain an optimized polarizer defect classification feature vector; a polarizer feature classification unit 152, which is used to pass the optimized polarizer defect classification feature vector through a classifier to obtain the classification result.

[0063] In particular, in the technical solution of the present application, it is considered that the image enhancer based on the adversarial generative network may produce inconsistent enhancement effects on different regions or different polarizer images, resulting in uneven feature distribution of pixel enhanced images. Local binary pattern processing and Canny edge detection are two different image feature extraction methods, which may capture different aspects of the image, resulting in inconsistent distribution of feature vectors in the feature space. Aggregation operations on local binary pattern maps and Canny edge detection maps along the channel dimension may not fully retain all important information of the original image, affecting the consistency of feature vectors. The multi-channel feature extraction module based on the CBAM attention mechanism may assign different weights to different channels or regions, resulting in uneven distribution of feature vectors in the feature space, which in turn leads to poor manifold geometric consistency of the overall feature distribution of the polarizer defect classification feature vector. When the distribution of polarizer defect classification feature vectors in the feature space is inconsistent, it may be difficult for the classifier to accurately learn the boundaries between different defect types, especially in areas with sparse distribution in the feature space. This may cause the classifier to deviate from the prediction in these areas, affecting the accuracy of the classification results. Based on this, the polarizer defect classification feature vector is subjected to backward distribution consistency improvement based on the classification feature space to obtain the optimized polarizer defect classification feature vector.

[0064] In a specific embodiment of the present application, the polarizer feature optimization unit 151 includes: multiplying the polarizer defect classification feature vector with the classification weight matrix of the geological state classifier to obtain a first intermediate polarizer defect classification feature vector; using the concat function to process the polarizer defect classification feature vector and the first intermediate polarizer defect classification feature vector to obtain a second intermediate polarizer defect classification feature vector; adding the polarizer defect classification feature vector and the first intermediate polarizer defect classification feature vector by position to obtain a third intermediate polarizer defect classification feature vector; multiplying the first weight matrix by the second intermediate polarizer defect classification feature vector and adding the first bias vector and then passing s A sigmoid function is used to obtain a first activation value; the second weight matrix is ​​multiplied by the third intermediate polarizer defect classification feature vector and the second bias vector, and then the result is passed through a sigmoid function to obtain a second activation value; the mean of the first activation value and the second activation value is calculated to obtain an activation mean; the difference between one and the activation mean is calculated, and the difference is used as a first weighting coefficient and the activation mean is used as a second weighting coefficient, and the second intermediate polarizer defect classification feature vector and the polarizer defect classification feature vector are weighted by position to obtain a fourth intermediate polarizer defect classification feature vector; an exponential operation with a natural constant as the base is performed on each eigenvalue of the backward anchor reference vector to obtain a fifth intermediate polarizer defect classification feature vector; the fourth intermediate polarizer defect classification feature vector is subtracted from the fifth intermediate polarizer defect classification feature vector by position, and then the result is passed through a ReLU function to obtain an optimized polarizer defect classification feature vector.

[0065] In addition, the polarizer feature optimization unit 151 further includes: performing backward distribution consistency improvement based on the classification feature space on the polarizer defect classification feature vector according to the following formula, wherein the formula is:

[0066]

[0067] Among them, v c represents the polarizer defect classification feature vector, M represents the classification weight matrix of the geological state classifier, represents matrix multiplication, concat represents the cascade function, V r is the backward anchor reference vector, W1 represents the first weight matrix, b1 represents the first bias vector, t1 represents the first activation value, W2 represents the second weight matrix, b2 represents the second bias vector, t2 represents the second activation value, sigmoid represents the logistic function, ReLU represents the linear rectification function, exp represents the natural exponential function, and V' represents the optimized polarizer defect classification feature vector.

[0068] That is, in the technical solution of the present application, the overall feature distribution of the polarizer defect classification feature vector has a poor manifold geometric consistency, which leads to a remote distribution regression deviation across the geological state classifier when it is classified by the classifier, affecting the accuracy of the classification result. Therefore, in the technical solution of the present application, the polarizer defect classification feature vector is subjected to backward distribution consistency improvement based on the classification feature space, and the classification weight matrix of the geological state classifier is used to perform an auxiliary description of the attribute distribution of the polarizer defect classification feature vector to support the improved polarizer defect classification feature vector for the different distance feature descriptions of the classification weight matrix of the geological state classifier for the descriptiveness of the class probability of the preset classification, wherein the backward anchor reference vector is used as an offset and activated by an activation operation to maintain the reinforcement of the distribution description dependency with a positive effect, so that the manifold geometric consistency of the overall attribute distribution of the polarizer defect classification feature vector can be significantly improved, thereby reducing the class probability distribution regression deviation of the polarizer defect classification feature vector when passing through the classifier, so as to improve the accuracy of the classification result.

[0069] Next, it should be understood that there may be many different types of surface defects on polarizers, such as scratches, bubbles, contamination, etc. By using a classifier, multi-category classification tasks can be handled to distinguish and identify different types of defects. The classifier can learn and establish decision boundaries between different categories based on different feature vectors and training samples to achieve classification of different defect types. Therefore, the optimized polarizer defect classification feature vector is further feature classified by the classifier. In this way, a decision basis can be provided for subsequent defect processing and control to ensure the stability and reliability of the quality of the polarizer.

[0070] It is worth mentioning that in addition to using a classifier to perform feature classification on the optimized polarizer defect classification feature vector, a clustering algorithm can also be used for defect analysis. A clustering algorithm is an unsupervised learning method that can divide samples in a data set into several categories or clusters, and the samples in each cluster have similar features. In the polarizer surface defect analysis, the extracted polarizer defect feature vector can be used as input data, and the defect samples can be divided into different clusters using a clustering algorithm.

[0071] The advantages of using clustering algorithms for defect analysis include: 1. No need to predefine defect types: Unlike classifiers, clustering algorithms do not require pre-definition of defect types. It can analyze and divide based on the characteristics of the data itself to discover potential defect types, and is suitable for unknown or complex defect situations. 2. Discover new defect types: Clustering algorithms can discover implicit patterns and structures in data, thereby discovering new defect types. It can cluster defect samples with similar characteristics together to form independent clusters, providing new perspectives and understanding for subsequent defect analysis and processing. 3. Flexibility and adaptability: Clustering algorithms can be adjusted and optimized according to the characteristics and needs of the data. Different clustering algorithms have different properties and scopes of application. You can choose the appropriate algorithm according to the specific situation and adjust the parameters of the algorithm to obtain better clustering effects.

[0072] When using clustering algorithms for polarizer defect analysis, defect samples in different clusters can be analyzed and processed based on the clustering results, such as determining the defect type, assessing the severity of the defect, etc. This approach can provide an overall understanding of polarizer defects and provide guidance for quality control and improvement.

[0073] In summary, the polarizer surface defect intelligent multi-sorting control system according to the embodiment of the present application is explained, which takes the collected image data of the polarizer to be analyzed as input data, and then uses computer vision and image processing technology to extract and analyze the image data of the polarizer to be analyzed, so as to obtain a classification result for representing the type of surface defects of the polarizer to be analyzed. In this way, according to the classification result, the surface defects of the polarizer can be detected and analyzed to improve the accuracy and efficiency of defect detection, thereby ensuring the stability and reliability of the quality of the polarizer.

[0074] As described above, the intelligent multi-sorting control system 100 for polarizer surface defects according to the embodiment of the present application can be implemented in various wireless terminals, such as a server for intelligent multi-sorting control of polarizer surface defects. In one example, the intelligent multi-sorting control system 100 for polarizer surface defects according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the intelligent multi-sorting control system 100 for polarizer surface defects can be a software module in the operating system of the wireless terminal, or can be an application developed for the wireless terminal; of course, the intelligent multi-sorting control system 100 for polarizer surface defects can also be one of the many hardware modules of the wireless terminal.

[0075] Alternatively, in another example, the polarizer surface defect intelligent multi-sorting control system 100 and the wireless terminal may also be separate devices, and the polarizer surface defect intelligent multi-sorting control system 100 may be connected to the wireless terminal via a wired and / or wireless network, and transmit interactive information in accordance with an agreed data format.

[0076] Exemplary Methods

[0077] Figure 7 The figure shows a flow chart of the intelligent multi-sorting control method for polarizer surface defects according to an embodiment of the present application. Figure 7 As shown, according to the intelligent multi-sorting control method for polarizer surface defects of the embodiment of the present application, the method includes: S1, collecting image data of the polarizer to be analyzed; S2, passing the image data of the polarizer to be analyzed through an image enhancer based on a generative adversarial network to obtain a polarizer pixel enhanced image; S3, respectively extracting and analyzing the texture features and color features in the polarizer pixel enhanced image to obtain a polarizer multi-channel feature vector and a polarizer color feature vector; S4, performing feature fusion on the polarizer multi-channel feature vector and the polarizer color feature vector to obtain a polarizer defect classification feature vector; S5, based on the polarizer defect classification feature vector, to obtain a classification result for representing the type of surface defects of the polarizer to be analyzed.

[0078] Here, those skilled in the art can understand that the specific functions and operations of each step in the above-mentioned polarizer surface defect intelligent multi-sorting control method have been referred to above. Figure 1 The description of the polarizer surface defect intelligent multi-sorting control system has been introduced in detail, and therefore, its repeated description will be omitted.

[0079] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0080] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0081] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0082] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0083] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0084] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0085] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art 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 should be based on the protection scope of the claims.

Claims

1. An intelligent multi-sorting control system for polarizer surface defects, characterized in that: include: A polarizer data acquisition module, used to acquire image data of the polarizer to be analyzed; A polarizer image enhancement module, used for passing the image data of the polarizer to be analyzed through an image intensifier based on a generative adversarial network to obtain a polarizer pixel enhanced image; A polarizer feature extraction module, used to extract and analyze the texture features and color features in the polarizer pixel enhanced image to obtain a polarizer multi-channel feature vector and a polarizer color feature vector; A polarizer feature fusion module, used for fusing the polarizer multi-channel feature vector and the polarizer color feature vector to obtain a polarizer defect classification feature vector; The polarizer classification result generating module is used to obtain a classification result representing the type of surface defects of the polarizer to be analyzed based on the polarizer defect classification feature vector.

2. The intelligent multi-sorting control system for polarizer surface defects according to claim 1, characterized in that: The polarizer image enhancement module is used to: generate the image data of the polarizer to be analyzed by the generator of the image intensifier based on the adversarial generation network to obtain the polarizer pixel enhanced image.

3. The intelligent multi-sorting control system for polarizer surface defects according to claim 2, characterized in that: The polarizer feature extraction module comprises: A polarizer texture feature extraction unit, used for performing multi-channel feature extraction on the polarizer pixel enhanced image to obtain a multi-channel feature vector of the polarizer; The polarizer color feature extraction unit is used to perform deep convolution encoding on the polarizer pixel enhanced image to obtain the polarizer color feature vector.

4. The intelligent multi-sorting control system for polarizer surface defects according to claim 3, characterized in that: The polarizer texture feature extraction unit comprises: A texture map acquisition subunit, used for performing local binary pattern processing and Canny edge detection on the pixel enhanced image to obtain a polarizer local binary pattern map and a polarizer Canny edge detection map; A multi-channel aggregation subunit, used for performing an aggregation operation on the polarizer local binary pattern image and the polarizer Canny edge detection image along the channel dimension to obtain a polarizer multi-channel feature image; The texture feature extraction subunit is used to obtain the polarizer multi-channel feature vector by passing the polarizer multi-channel feature map through a multi-channel feature extraction module based on the CBAM attention mechanism.

5. The intelligent multi-sorting control system for polarizer surface defects according to claim 4, characterized in that: The multi-channel aggregation subunit is used to fuse the polarizer local binary pattern map and the polarizer Canny edge detection map according to the following cascade formula to obtain a polarizer multi-channel feature map; wherein the cascade formula is: F a =Concat[F a1 ,F a2 ] Among them, F a1 represents the local binary pattern of the polarizer, F a2 represents the Canny edge detection image of the polarizer, F a represents the multi-channel feature map of the polarizer, and Concat[·,·] represents a cascade function.

6. The intelligent multi-sorting control system for polarizer surface defects according to claim 5, characterized in that: The polarizer color feature extraction unit comprises: A color feature acquisition subunit is used to obtain a polarizer color feature map by passing the image data of the polarizer to be analyzed through a color feature extraction module based on a convolutional neural network model; The feature map pooling subunit is used to perform a pooling operation on the polarizer color feature map to obtain a polarizer color feature vector.

7. The intelligent multi-sorting control system for polarizer surface defects according to claim 6, characterized in that: The feature map pooling subunit is used to perform a mean pooling operation based on a feature matrix on the polarizer color feature map to obtain the polarizer color feature vector.

8. The intelligent multi-sorting control system for polarizer surface defects according to claim 7, characterized in that: The polarizer classification result generating module includes: A polarizer feature optimization unit, used for improving the backward distribution consistency of the polarizer defect classification feature vector based on the classification feature space to obtain an optimized polarizer defect classification feature vector; The polarizer feature classification unit is used to pass the optimized polarizer defect classification feature vector through a classifier to obtain the classification result.

9. The intelligent multi-sorting control system for polarizer surface defects according to claim 8, characterized in that: The polarizer feature optimization unit comprises: Multiplying the polarizer defect classification feature vector by the classification weight matrix of the geological state classifier to obtain a first intermediate polarizer defect classification feature vector; Using a concat function to process the polarizer defect classification feature vector and the first intermediate polarizer defect classification feature vector to obtain a second intermediate polarizer defect classification feature vector; Adding the polarizer defect classification feature vector and the first intermediate polarizer defect classification feature vector by position to obtain a third intermediate polarizer defect classification feature vector; The first weight matrix is ​​multiplied by the second intermediate polarizer defect classification feature vector and then added to the first bias vector and then passed through a sigmoid function to obtain a first activation value; The second weight matrix is ​​multiplied by the third intermediate polarizer defect classification feature vector plus the second bias vector and then passed through a sigmoid function to obtain a second activation value; Calculating a mean of the first activation value and the second activation value to obtain an activation mean; Calculate a difference value obtained by subtracting the activation mean value, and use the difference value as a first weighting coefficient and the activation mean value as a second weighting coefficient to weight the second intermediate polarizer defect classification feature vector and the polarizer defect classification feature vector according to position to obtain a fourth intermediate polarizer defect classification feature vector; Performing an exponential operation with a natural constant as the base on each eigenvalue of the backward anchor reference vector to obtain a fifth intermediate polarizer defect classification eigenvector; The fourth intermediate polarizer defect classification feature vector is subtracted from the fifth intermediate polarizer defect classification feature vector by position and then passed through a ReLU function to obtain an optimized polarizer defect classification feature vector.

10. A polarizer surface defect intelligent multi-sorting control method, characterized in that ,include: Collect image data of the polarizer to be analyzed; Passing the image data of the polarizer to be analyzed through an image intensifier based on a generative adversarial network to obtain a polarizer pixel enhanced image; Extracting and analyzing the texture features and color features in the polarizer pixel enhanced image respectively to obtain a polarizer multi-channel feature vector and a polarizer color feature vector; Performing feature fusion on the polarizer multi-channel feature vector and the polarizer color feature vector to obtain a polarizer defect classification feature vector; Based on the polarizer defect classification feature vector, a classification result for representing the type of surface defects of the polarizer to be analyzed is obtained.

Citation Information

Cited By

  • Full-automatic filling and tail sealing machine and method thereof

    CN118735892A

  • Polaroid defect detection method and system based on deep learning

    CN120471930A