英文摘要 | Optical elements are key components of various optical instruments, and their surface quality directly affects the performance of optical instruments. Defects on the surface of optical elements usually cause changes in the optical path, causing light scattering, changing the light transmission characteristics, and reducing the overall performance of the system, or damaging the optical elements themselves and the optical instruments, causing serious property losses or even accidents. It is important and necessary to detect defects on the surface of optical elements in the process of manufacturing, processing and use. The use of machine vision-based inspection methods can improve efficiency, reduce costs, and protect human health. It is significant for both industrial production and scientific research. This paper uses the deep learning method to focus on the key issues in the surface defect detection of optical elements. The main contributions of this dissertation are as follows:
(1)Aiming at the problem of accurate detection of weak scratches on the surface of optical elements, a scratch segmentation network incorporating prior knowledge is proposed. Through the analysis of the law of scratch imaging in dark field, the three characteristics of scratches in brightness, width and structure are obtained, and the local maximum index (LMI) and direction-sensitive convolution (DSC) are designed according to the three characteristics. Two computable features, as a priori knowledge of scratches, LMI and DSC can significantly enhance the difference between scratches and background in dark-field images. By combining LMI and DSC with an encoding-decoding segmentation network, an end-to-end scratch detection model is formed. Compared with traditional deep learning methods, this model can reduce the need for fine-labeled samples and effectively reduce the cost of sample labeling with the help of prior knowledge of scratches. Training can be completed on a small sample set of fine-labeled. Experimental results show that the proposed model can effectively detect scratches on the surface of optical elements, especially for weak scratches. The detection accuracy of scratches is higher than that of other traditional segmentation methods and convolutional neural networks.
(2)Aiming at the high cost of precise labeling of samples in the surface defect detection of optical elements, which does not satisfy the problem of rapid quality evaluation, a spatial adversarial convolutional neural network based on imprecise supervision is proposed. The network can classify and locate surface defects by using the multi-instance learning method in imprecise supervision under the weak supervision condition of image-level annotation. The network is composed of two parts: a feature extraction module and a spatial confrontation module, which respectively represent the packet and aggregation function in multi-instance learning. In the feature extraction module, the image is used as a package in multi-instance learning, and the elements in the feature map output by the stacked convolution block represent the samples in the package. In the spatial confrontation module, the maximum aggregation function in multi-instance learning is used to train the element with the largest probability value on the feature map as the competition winner, and output the two results of defect classification and positioning. Experiments on three datasets show that under the condition of only using image-level annotation data, the classification result of the image and the specific locations of the defects on the image can be obtained at the same time, which improves the interpretability of the network.
(3)Aiming at the problem that there are few labeled samples and many unlabeled samples in particle detection on the surface of optical elements, a method of using unlabeled samples to assist neural network training is proposed. The method includes three parts: a self-supervised network for feature learning, a particle classification network, and a particle detection part based on feature reuse. According to the category-invariant nature of the particles and non-particles in the image under rotation and flipping transformations, a surrogate task based on rotation-flip invariance is proposed. A large number of unlabeled samples are used to train the self-supervised network, and the bottom of the network as a feature extractor is transferred to the particle classification network. Subsequently, pointwise convolutional layers are added to the feature extractor to construct a network for classifying the center point, and a small labeled sample set is used to fine-tune the particle classification network. Finally, using the characteristics of the feature extractor and pointwise convolution, through the reuse of hidden layer features, the particle classification network can classify all pixels on the image and complete the detection of particles. Experiments show that the proposed self-supervised particle detection model can meet the requirements for the accuracy of particle surface detection.
(4)Aiming at the problem of particle detection on the surface of optical elements under the condition of positive samples, a two-stage particle detection model based on image restoration and comparison is proposed. Each stage of the model is composed of a convolutional neural network, which is used to complete the function of image restoration or image comparison. The defect generator is used to generate defect samples and the true distribution of defects as supervision information, which are used to train the restoration network and comparison network respectively. In the image restoration stage, a convolutional neural network with an encoding-decoding structure is used to restore the positive sample image with artificially forged particles, remove the artificially forged particles in the image, and restore to the positive sample without particles. In the image comparison stage, a particle detection network is constructed to compare the difference between the image to be detected and its restored image to complete the detection of particles. Experiments show that the proposed method based on positive samples can detect most particles under unsupervised conditions, which is of value for further research. |
修改评论