An abnormality detection method for a quantum dot color conversion layer prepared by inkjet

By using denoising features to reconstruct the network and segmentation network in the inkjet-prepared quantum dot color conversion layer, combined with the anomaly generation module and feature fusion strategy, the problems of low detection accuracy and high computational complexity are solved, and efficient anomaly processing is achieved. Detection and robustness for real production environments.

CN118351112BActive Publication Date: 2024-10-29MINDU INNOVATION LAB
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410768121.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-29
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

In anomaly detection based on inkjet-prepared quantum dot color conversion layers, the existing technology has problems such as low detection accuracy, high computational complexity, strong noise sensitivity and low detection efficiency, making it difficult to effectively identify inkjet printed pixel images. Abnormal pixels.

Method used

A method is adopted to reconstruct the network and segmentation network based on denoising features, generate abnormal images and mask maps through the anomaly generation module, use DenseNet to extract multi-level features and perform upsampling fusion, combined with position channel enhancement and spatial attention modules, Train the denoising feature reconstruction network and segmentation network, introduce gradient loss and threshold-related loss terms, and optimize the anomaly detection algorithm.

Benefits of technology

It achieves high accuracy and high coverage anomaly detection, reduces computational complexity, improves detection speed, and enhances robustness to noise and illumination changes, making it suitable for actual production environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118351112B_ABST
    Figure CN118351112B_ABST
Patent Text Reader

Abstract

The present invention relates to an abnormality detection method for a quantum dot color conversion layer prepared by inkjet, comprising the following steps: abnormality analysis and data preparation, specifically, collecting a number of color conversion layer images, the color conversion layer images include normal images and images containing various types of abnormal pixels, preprocessing the color conversion layer images to obtain a sample database, generating abnormal images and abnormal mask images corresponding to all images in the collected images through an abnormality generation module; training a denoising feature reconstruction network; training a segmentation network; performing abnormality detection on the color conversion layer image to be detected through the trained denoising feature reconstruction network and segmentation network. The present invention realizes intelligent abnormality detection with high accuracy and coverage for the quantum dot layer morphology, improves the detection speed, and at the same time provides guidance for the improvement of the production process, reduces the probability of production defects, and thus optimizes the production efficiency of the production line.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an abnormality detection method for a quantum dot color conversion layer prepared based on inkjet, belonging to the technical field of abnormality detection of quantum dot color conversion layers. Background Art

[0002] Nano-semiconductor quantum dot materials have narrow half-peak width, high color purity, and adjustable spectrum, which can achieve a higher color gamut, thereby better promoting the realization of high-performance color conversion devices. Inkjet printing has the characteristics of simple process, low cost, and high degree of automation, and is the best choice for the preparation of color conversion devices.

[0003] In the process of color conversion based on blue light source stimulating red and green quantum dots, the quantum dot layer cannot completely convert blue light. Some blue light is emitted through the quantum dot layer, and some overflows in the form of conversion heat. The introduction of the blue light absorption layer can effectively reabsorb the emitted blue light and improve the conversion effect. However, when the quantum dot ink is printed in the pixel, the uneven morphology of the quantum dot layer after curing into a film poses a challenge to the superposition of the blue light layer.

[0004] In the process of inkjet-based preparation of quantum dot color conversion layers, the collected inkjet-printed pixel images have the characteristics of messy and tiny abnormal pixels, a large number of pixels, uneven local brightness, unclear pixel edges, and difficult to mark abnormal areas, all of which bring huge challenges to abnormality detection.

[0005] Among the current anomaly detection algorithms, the model based on image reconstruction is affected by the generalization ability of the autoencoder, and can also reconstruct abnormal samples well, resulting in missed anomalies. The student model of the model based on knowledge distillation may also reconstruct abnormal features under the premise of using only normal data for training, and is very sensitive to the texture details contained in normal data. The model based on embedding similarity often requires a complex feature matching process in the inference stage, which has the problems of high computational complexity and large memory consumption.

[0006] The Chinese invention patent with publication number CN117593303B discloses a method and system for defect detection of quantum dot optical films. The invention divides the target film image into different sizes for a preset number of times; determines the abnormal score of each pixel under each preset channel at each division; determines the defect abnormal weight of each pixel under each preset channel; grayscale enhancement is performed on each pixel according to the defect abnormal weight and channel value of each pixel under all preset channels; clusters all pixels in the target film image according to the target grayscale value corresponding to all pixels, and performs defect detection on the quantum dot optical film to be detected according to the obtained target cluster cluster set. The invention solves the problem of poor accuracy in defect detection of produced quantum optical films due to poor pixel clustering effect.

[0007] Although the defect detection effect of this solution is better than that of traditional clustering algorithms, it still requires complex preprocessing of the image. In addition, it is necessary to calculate the anomaly score between the pixels in the segmented area and the pixels in the corresponding neighborhood. The computational complexity of the entire process is very high, the detection efficiency is low, and the distance measurement for high-dimensional data is relatively difficult, so it is difficult to deploy in actual scenarios. At the same time, this algorithm is sensitive to noise, which can easily lead to incorrect cluster allocation, thus affecting the effect of defect detection. Summary of the invention

[0008] In order to overcome the above problems, the present invention provides an abnormality detection method based on inkjet preparation of quantum dot color conversion layer, which realizes intelligent abnormality detection of quantum dot layer morphology with high accuracy and coverage, improves detection speed, and provides guidance for the improvement of production process, reduces the probability of production defects, and thus optimizes the production efficiency of production line. It can not only reduce the complexity of calculation and improve detection efficiency, but also the model has good adaptability and can show strong robustness to interference such as noise and light changes, so it can also be well deployed in practical applications.

[0009] The technical solution of the present invention is as follows:

[0010] An abnormality detection method for a quantum dot color conversion layer prepared by inkjet, comprising the following steps:

[0011] Abnormal analysis and data preparation, specifically, collecting a number of color conversion layer images, the color conversion layer images include normal images and images containing various types of abnormal pixels, preprocessing the color conversion layer images to obtain a sample database, and generating abnormal images and abnormal mask images corresponding to all images in the collected images through an abnormal generation module;

[0012] Train the denoising feature reconstruction network;

[0013] Train the segmentation network;

[0014] Anomaly detection is performed on the color conversion layer image to be detected through the trained denoising feature reconstruction network and segmentation network.

[0015] Furthermore, an abnormal image and an abnormal mask image corresponding to all images in the collected image are generated by an abnormal generation module, including the following steps:

[0016] Generate 2D noise , and use the threshold Binarize to get the mask ;

[0017] Normal image The label information is 0, indicating that there is no abnormal positive class;

[0018] For normal images Binarization is performed to obtain the mask ;

[0019] Mask With mask Perform pixel-by-pixel multiplication to obtain the anomaly mask , let the abnormal mask map The label information of is 1, indicating an abnormal negative class;

[0020] Get the noisy image ;

[0021] By anomaly mask , noisy image and normal image Get the noisy foreground image , the noisy foreground image The generation process is:

[0022] ;

[0023] in, is the transparency coefficient, Randomly select in [0.3,1];

[0024] The anomaly mask After negation, the normal image Perform pixel-by-pixel multiplication and superimpose on the noisy foreground image On the top, we get the simulated abnormal image .

[0025] Furthermore, training the denoising feature reconstruction network includes the following steps:

[0026] Extracting multi-level features of the normal image and the abnormal image through the pre-trained DenseNet, and performing upsampling fusion to obtain a feature map;

[0027] Inputting the feature map of the abnormal image into a denoising feature reconstruction network to reconstruct features to obtain a reconstructed feature map;

[0028] Calculating the loss according to the feature map of the normal image and the feature map of the abnormal image, and using the gradient loss to enhance the regression loss when defining the loss function, and updating the parameters of the denoising feature reconstruction network;

[0029] The denoising feature reconstruction network includes an Encoder and a Decoder, specifically:

[0030] In the Encoder, the input feature map is sequentially subjected to convolution processing, convolution processing, fusion channel and spatial information processing, convolution processing, fusion channel and spatial information processing, and convolution processing, and the processed feature map is output to the Decoder;

[0031] In the Decoder, the input feature map is sequentially subjected to convolution processing, convolution processing, channel fusion and spatial information processing, convolution processing, channel fusion and spatial information processing, and convolution processing, and the reconstructed feature map is output.

[0032] Furthermore, the fusion channel and spatial information processing are specifically:

[0033] The input feature map is enhanced by the position channel module to obtain a weighted feature map;

[0034] The feature map is passed through the spatial attention module to obtain a weighted feature map.

[0035] Furthermore, the position channel enhancement module and the spatial attention module are specifically:

[0036] Perform maximum pooling and average pooling operations based on width and height on the input feature map respectively;

[0037] Construct a position weight matrix that matches the spatial dimension of the pooled feature map. Each element of the matrix represents the weight of each pixel position. The weight values ​​of the bank and adjacent areas are greater than those of other areas.

[0038] Use element-by-element multiplication to add the weights to the corresponding positions of the pooled feature map;

[0039] The two feature maps are passed through a shared fully connected layer to learn the channel weights, the two processed feature maps are added element by element, and then the weights are normalized to between 0 and 1 using the Sigmoid function. Each channel is scaled to obtain the position channel attention weights.

[0040] Perform element-wise multiplication of the position channel attention weight and the input feature map;

[0041] Outputting the generated feature map to the spatial attention module;

[0042] The spatial attention module is specifically:

[0043] Inputting the feature map output by the position channel enhancement module into the spatial attention module;

[0044] Perform channel-based maximum pooling and average pooling operations on the feature map;

[0045] Concatenate the two obtained feature maps in the channel dimension;

[0046] The concatenated feature map is passed through a dimension reduction convolution layer and a Sigmoid function to obtain the spatial attention weight;

[0047] The obtained spatial attention weights are applied to each spatial position of the input feature map to obtain the feature map.

[0048] Further, the loss is calculated according to the feature map of the normal image and the feature map of the abnormal image, and when defining the loss function, the regression loss is enhanced by using the gradient loss, and the parameters of the denoising feature reconstruction network are updated, including the following steps:

[0049] Defining regression loss :

[0050] ;

[0051] Defining Gradient Loss :

[0052] ;

[0053] Use gradient loss to enhance regression loss and calculate loss :

[0054] ;

[0055] in, To reconstruct features, is the normal image feature, is the number of all pixels in the feature map, and are the partial derivative operations in the vertical and horizontal directions respectively, is the weight parameter.

[0056] Furthermore, training the segmentation network includes the following steps:

[0057] Fix the weights of DenseNet and denoising feature reconstruction network, and use the abnormal image for training;

[0058] DenseNet extracts multi-level features of the abnormal image, upsamples and fuses the extracted multi-level features and inputs them into the denoising feature reconstruction network to reconstruct features;

[0059] Calculate extracted features and reconstruction features of distance, ,in is the number of all pixels in the feature map;

[0060] Will The distance is input to the segmentation network to obtain the predicted abnormal mask map. When defining the loss function, the threshold is introduced The related loss terms guide the model to gradually adjust the threshold during the training process, and use the AdamW optimizer to back-propagate and update the segmentation network parameters and thresholds. The numerical value of .

[0061] Furthermore, the segmentation network is specifically:

[0062] The input feature map passes through four parallel adaptive pooling channels of the pyramid module;

[0063] Use convolutional layers to compress the number of channels of the four feature maps after pooling;

[0064] After upsampling the four feature maps to the size of the input feature map using the bilinear interpolation method, they are concatenated with the input feature map in the channel dimension. The concatenated feature map is input into the convolution layer for dimensionality reduction to obtain the anomaly score map, and a trainable threshold is applied. The anomaly score map is binarized to obtain the predicted anomaly mask map.

[0065] Furthermore, the threshold The relevant loss terms guide the model to gradually adjust the threshold during the training process, specifically:

[0066] During the training process, the threshold Set as a learnable parameter and set the threshold Initialize to a fixed initial value, using the current threshold Binarize the anomaly score map to obtain the predicted anomaly mask map;

[0067] Use the weighted average of regression loss and gradient loss to measure the difference between the predicted anomaly mask and the true anomaly mask , specifically:

[0068] ;

[0069] in, To predict the anomaly mask, is the real abnormal mask map, is the number of all pixels in the feature map, and They are partial derivative operations in the vertical and horizontal directions respectively;

[0070] Introduce an additional term to penalize the current threshold ,loss L Specifically:

[0071] ;

[0072] in, is the regularization coefficient.

[0073] Furthermore, the trained denoising feature reconstruction network and segmentation network are used to perform abnormality detection on the color conversion layer image to be detected, including the following steps:

[0074] Input the color conversion layer image to be detected into the pre-trained Densenet, extract the multi-level features of the color conversion layer image to be detected, and perform upsampling fusion;

[0075] Input the fused feature map into the trained denoising feature reconstruction network to obtain the reconstructed feature map;

[0076] Calculate the two feature maps distance, and input into the segmentation network;

[0077] The predicted anomaly mask output by the segmentation network is superimposed on the color conversion layer image to be detected to achieve anomaly detection and positioning.

[0078] The present invention has the following beneficial effects:

[0079] In the stage of training the denoising feature reconstruction network, the present invention uses the DenseNet network to extract the multi-level features of the image and adopts the strategy of fusing channel and spatial information in the denoising feature reconstruction network, so as to make full use of the global context information of the image and enhance the sensitivity of specific position information. By establishing an abnormal generation module to assist in training, the problem of excessive generalization ability of the denoising feature reconstruction network is effectively alleviated.

[0080] In the training segmentation network stage, the pyramid pooling module is designed to fuse features at different scales to fully obtain context information, thereby improving the network segmentation effect. By fusing gradient information in the regression loss function, the model can fully utilize the edge information of abnormal areas for learning, and introduces the threshold The related loss items can further improve the accuracy and coverage of anomaly detection. By analyzing the abnormal size and position information of the quantum dot layer, effective suggestions can be provided for improving the printing ink ratio, substrate processing and printing technology.

[0081] This method adopts different preprocessing methods for different categories of anomalies, and uses a new training method, that is, successively training the denoising feature reconstruction network and the segmentation network. By introducing data enhancement technology, it makes up for the shortcomings of the small and unbalanced abnormal data collected in practical applications, and effectively alleviates the situation where the denoising feature reconstruction network has too strong generalization ability.

[0082] A strategy of fusing channel and spatial information is also adopted to adaptively adjust the importance of different channels and spatial positions. Since the abnormal areas of inkjet printed pixels are usually located near the bank, the model’s sensitivity to the information of the area near the bank is enhanced by introducing a position weight matrix, which can improve the efficiency of anomaly detection and reduce the false detection rate.

[0083] This method further upgrades the previous reconstruction loss function, which only contains regression loss. The new loss function proposed here enhances the regression loss function by fusing gradient information, prompting the network to make full use of the edge information of the abnormal area for learning, and introduces threshold-related loss terms to guide the model to gradually adjust the threshold during training, so as to better adapt to the characteristics of the inkjet printing pixel dataset and further improve the accuracy and coverage of anomaly detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 Schematic diagram of possible anomalies in the quantum dot layer morphology.

[0085] Figure 2 A schematic diagram of an inference scheme for anomaly detection provided by an embodiment of the present invention;

[0086] FIG. 3 (a) to FIG. 3 (c) are schematic diagrams of constructing an abnormality generation module provided in an embodiment of the present invention;

[0087] Figure 4 A schematic diagram of a denoising feature reconstruction network structure provided by an embodiment of the present invention;

[0088] Figure 5 A schematic diagram of an upsampling fusion module provided in an embodiment of the present invention;

[0089] Figure 6 A schematic diagram of a strategy scheme for fusing channel and spatial information provided by an embodiment of the present invention;

[0090] Figure 7 A schematic diagram of the structure of a location channel enhancement module provided in an embodiment of the present invention;

[0091] Figure 8 A schematic diagram of the structure of a spatial attention module provided by an embodiment of the present invention;

[0092] Fig. 9 A schematic diagram of a denoising feature reconstruction network training solution provided in an embodiment of the present invention;

[0093] Fig.10 A schematic diagram of a segmentation network structure provided by an embodiment of the present invention;

[0094] Fig.11 A schematic diagram of the structure of a pyramid pooling module provided by an embodiment of the present invention;

[0095] Fig.12 A schematic diagram of a segmentation network training solution provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0096] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0097] Figure 1 The possible anomalies in the quantum dot layer morphology, where (a), (b), (c), (d), (e), and (f) correspond to no anomaly, single-type satellite dot, multiple-type satellite dot, incomplete bank, ink droplet is too large to overflow the bank, and multiple anomalies, respectively.

[0098] An abnormality detection method for a quantum dot color conversion layer prepared by inkjet, comprising the following steps:

[0099] Abnormal analysis and data preparation, specifically, collecting a number of color conversion layer images, the color conversion layer images include normal images and images containing various types of abnormal pixels, preprocessing the color conversion layer images to obtain a sample database, and generating abnormal images and abnormal mask images corresponding to all images in the collected images through an abnormal generation module;

[0100] Train the denoising feature reconstruction network;

[0101] Train the segmentation network;

[0102] Anomaly detection is performed on the color conversion layer image to be detected through the trained denoising feature reconstruction network and segmentation network.

[0103] In one embodiment of the present invention, collecting a plurality of color conversion layer images comprises the following steps:

[0104] Use inkjet printing equipment to print quantum dot ink within the pixel;

[0105] The sample after inkjet printing is fixed on a movable monitoring platform, and a computer is connected to a mobile device and a high-resolution camera on the monitoring platform for communication. The computer controls the real-time movement and position adjustment of the monitoring platform during the printing process by sending corresponding instructions, ensuring that images can be continuously collected and that the collected images can cover the pixel area of ​​inkjet printing;

[0106] By adjusting the camera parameters to obtain a clear and accurate inkjet printing image, the camera parameters include focus, exposure time, and aperture;

[0107] The quantum dot layer morphology includes several abnormal types. For each abnormal type, a training data set containing normal samples and a test data set containing normal samples and abnormal samples are created. Labelme is used to mark and segment the abnormal areas of the abnormal samples.

[0108] In one embodiment of the present invention, the sample database is obtained after preprocessing the color conversion layer image, comprising the following steps:

[0109] Use an image enhancement algorithm to preprocess the color conversion layer image containing three types of anomalies: multiple types of satellite points, ink droplets that are too large to overflow the bank, and multiple anomalies, to enhance the details and edge features in the color conversion layer image; the image enhancement algorithm can be edge enhancement, contrast enhancement, etc.;

[0110] The color conversion layer image is augmented by using a random factor to expand the number of samples; the augmentation operation may be random sharpness, cropping, flip transformation, contrast, brightness, and the like.

[0111] Referring to FIG. 3 (a) to FIG. 3 (c), in one embodiment of the present invention, an abnormal image and an abnormal mask image corresponding to all images in the collected image are generated by an abnormal generation module, including the following steps:

[0112] Generate 2D noise , and use the threshold Binarize to get the mask ;

[0113] Normal image The label information is 0, indicating that there is no abnormal positive class;

[0114] For normal images Binarization is performed to obtain the mask ;

[0115] Mask With mask Perform pixel-by-pixel multiplication to obtain the anomaly mask , let the abnormal mask map The label information of is 1, indicating an abnormal negative class;

[0116] Get the noisy image ; The noise image may be an image in the MVTec AD dataset as a noise image;

[0117] By abnormal mask map , noisy image and normal image Get the noisy foreground image , the noisy foreground image The generation process is:

[0118] ;

[0119] in, is the transparency coefficient, Randomly select from [0.3, 1]. The higher the transparency coefficient, the more difficult it is to learn the model, which can improve the robustness of the model.

[0120] The anomaly mask After negation, the normal image Perform pixel-by-pixel multiplication and superimpose on the noisy foreground image On the top, we get the simulated abnormal image .

[0121] refer to Figure 4-5 In one embodiment of the present invention, training a denoising feature reconstruction network comprises the following steps:

[0122] Extracting multi-level features of the normal image and the abnormal image through the pre-trained DenseNet, and performing upsampling fusion to obtain a feature map;

[0123] Inputting the feature map of the abnormal image into a denoising feature reconstruction network to reconstruct features to obtain a reconstructed feature map;

[0124] The loss is calculated according to the feature map of the normal image and the feature map of the abnormal image. When defining the loss function, the regression loss is enhanced by using the gradient loss to update the parameters of the denoising feature reconstruction network.

[0125] refer to Figure 4 In one embodiment of the present invention, the denoising feature reconstruction network includes an Encoder and a Decoder, specifically:

[0126] In the Encoder, the input feature map is sequentially subjected to convolution processing, convolution processing, fusion channel and spatial information processing, convolution processing, fusion channel and spatial information processing, and convolution processing, and the processed feature map is output to the Decoder;

[0127] In the Decoder, the input feature map is sequentially subjected to convolution processing, convolution processing, channel fusion and spatial information processing, convolution processing, channel fusion and spatial information processing, and convolution processing, and the reconstructed feature map is output.

[0128] This implementation adopts a strategy of fusing channel and spatial information in both the Encoder and the Decoder to adaptively adjust the importance of different channels and spatial positions.

[0129] refer to Figure 6 In one embodiment of the present invention, the fusion channel and spatial information processing are specifically:

[0130] The input feature map is enhanced by the position channel module to obtain a weighted feature map;

[0131] The feature map is passed through the spatial attention module to obtain a weighted feature map.

[0132] The fusion channel and spatial information processing embeds position perception information according to the characteristics of the area where the inkjet printing pixel anomaly is located, and fuses the channel and spatial information, which can adaptively adjust the importance of different channels and spatial positions, thereby improving the model's ability to express image features.

[0133] refer to Figure 7 In one embodiment of the present invention, the location channel enhancement module is specifically:

[0134] Perform maximum pooling and average pooling operations based on width and height on the input feature map respectively;

[0135] Construct a position weight matrix that matches the spatial dimension of the pooled feature map. Each element of the matrix represents the weight of each pixel position. The weight values ​​of the bank and adjacent areas are greater than those of other areas.

[0136] Use element-by-element multiplication to add the weights to the corresponding positions of the pooled feature map;

[0137] The two feature maps are passed through a shared fully connected layer to learn the channel weights, the two processed feature maps are added element by element, and then the weights are normalized to between 0 and 1 using the Sigmoid function. Each channel is scaled to obtain the position channel attention weights.

[0138] Perform element-wise multiplication of the position channel attention weight and the input feature map;

[0139] The generated feature map is output to the spatial attention module to generate a feature map with enhanced position sensitivity and channel importance.

[0140] refer to Figure 8 In one embodiment of the present invention, the spatial attention module is specifically:

[0141] Inputting the feature map output by the position channel enhancement module into the spatial attention module;

[0142] Perform channel-based maximum pooling and average pooling operations on the feature map;

[0143] Concatenate the two obtained feature maps in the channel dimension;

[0144] The concatenated feature map is passed through a dimension reduction convolution layer and a Sigmoid function to obtain the spatial attention weight;

[0145] The obtained spatial attention weights are applied to each spatial position of the input feature map to obtain a feature map, thereby producing a feature map with enhanced spatial importance. This module enables the model to adaptively learn attention weights for different regions, so that it can further focus on important image regions.

[0146] In one embodiment of the present invention, the loss is calculated according to the feature map of the normal image and the feature map of the abnormal image, and when defining the loss function, the regression loss is enhanced by using the gradient loss, and the parameters of the denoising feature reconstruction network are updated, including the following steps:

[0147] Defining regression loss :

[0148] ;

[0149] Defining Gradient Loss :

[0150] ;

[0151] Use gradient loss to enhance regression loss and calculate loss :

[0152] ;

[0153] in, To reconstruct features, is the normal image feature, is the number of all pixels in the feature map, and are the partial derivative operations in the vertical and horizontal directions respectively, is the weight parameter.

[0154] refer to Fig.10 and 12 In one embodiment of the present invention, training a segmentation network comprises the following steps:

[0155] Fix the weights of DenseNet and denoising feature reconstruction network, and use the abnormal image for training;

[0156] DenseNet extracts multi-level features of the abnormal image, upsamples and fuses the extracted multi-level features and inputs them into the denoising feature reconstruction network to reconstruct features;

[0157] Calculate extracted features and reconstruction features of distance, ,in is the number of all pixels in the feature map;

[0158] Will The distance is input to the segmentation network to obtain the predicted abnormal mask map. When defining the loss function, the threshold is introduced The related loss terms guide the model to gradually adjust the threshold during the training process, and use the AdamW optimizer to back-propagate and update the segmentation network parameters and thresholds. The numerical value of .

[0159] refer to Fig.11 In one embodiment of the present invention, the segmentation network is specifically:

[0160] The input feature map passes through four parallel adaptive pooling channels of the pyramid module;

[0161] Use convolutional layers to compress the number of channels of the four feature maps after pooling;

[0162] After upsampling the four feature maps to the size of the input feature map using the bilinear interpolation method, they are concatenated with the input feature map in the channel dimension. The concatenated feature map is input into the convolution layer for dimensionality reduction to obtain the anomaly score map, and a trainable threshold is applied. The anomaly score map is binarized to obtain the predicted anomaly mask map.

[0163] In one embodiment of the present invention, the threshold The relevant loss terms guide the model to gradually adjust the threshold during the training process, specifically:

[0164] During the training process, the threshold Set as a learnable parameter and set the threshold Initialize to a fixed initial value, using the current threshold Binarize the anomaly score map to obtain the predicted anomaly mask map;

[0165] Use the weighted average of regression loss and gradient loss to measure the difference between the predicted anomaly mask and the true anomaly mask , specifically:

[0166] ;

[0167] in, To predict the anomaly mask, is the real abnormal mask map, is the number of all pixels in the feature map, and They are partial derivative operations in the vertical and horizontal directions respectively;

[0168] Introduce an additional term to penalize the current threshold , reducing the possibility of missing abnormal areas and losses L Specifically:

[0169] ;

[0170] in, is the regularization coefficient.

[0171] refer to Figure 2 In one embodiment of the present invention, anomaly detection is performed on the color conversion layer image to be detected by using the trained denoising feature reconstruction network and segmentation network, including the following steps:

[0172] Input the color conversion layer image to be detected into the pre-trained Densenet, extract the multi-level features of the color conversion layer image to be detected, and perform upsampling fusion;

[0173] Input the fused feature map into the trained denoising feature reconstruction network to obtain the reconstructed feature map;

[0174] Calculate the two feature maps distance, and input into the segmentation network;

[0175] The predicted anomaly mask output by the segmentation network is superimposed on the color conversion layer image to be detected to achieve anomaly detection and positioning.

[0176] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure made using the contents of the present invention's specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for detecting abnormalities in a quantum dot color conversion layer prepared by inkjet, characterized in that: The following steps are involved: Abnormal analysis and data preparation, specifically, collecting a number of color conversion layer images, the color conversion layer images include normal images and images containing various types of abnormal pixels, preprocessing the color conversion layer images to obtain a sample database, and generating abnormal images and abnormal mask images corresponding to all images in the collected images through an abnormal generation module; Train the denoising feature reconstruction network; Train the segmentation network; Anomaly detection is performed on the image of the color conversion layer to be detected through the trained denoising feature reconstruction network and segmentation network; Generate abnormal images and abnormal mask images corresponding to all images in the collected images through the abnormal generation module, including the following steps: Generate two-dimensional noise P and use threshold T to binarize to get mask M P ; Let the normal image I label information be 0, indicating that there is no abnormal positive class; Binarize the normal image I to obtain the mask M I ; Mask M P With mask M I Perform pixel-by-pixel multiplication operation to obtain the abnormal mask map M, and set the label information of the abnormal mask map M to 1, indicating the abnormal negative class; Get the noise image I n ; Through the abnormal mask image M and the noise image I n And the normal image I get the noisy foreground image I' n , the noise foreground image I' n The generation process is: I' n =δ(M·I n )+(1-δ)(M·I); Among them, δ is the transparency coefficient, and δ is randomly selected in [0.3, 1]; The abnormal mask image M is inverted and pixel-by-pixel multiplied with the normal image I, and then superimposed on the noise foreground image I' n The simulated abnormal image I is obtained A ; Training the denoising feature reconstruction network includes the following steps: Extracting multi-level features of the normal image and the abnormal image through the pre-trained DenseNet, and performing upsampling fusion to obtain a feature map; Inputting the feature map of the abnormal image into a denoising feature reconstruction network to reconstruct features to obtain a reconstructed feature map; Calculating the loss according to the feature map of the normal image and the feature map of the abnormal image, and using the gradient loss to enhance the regression loss when defining the loss function, and updating the parameters of the denoising feature reconstruction network; The denoising feature reconstruction network includes an Encoder and a Decoder, specifically: In the Encoder, the input feature map is sequentially subjected to convolution processing, convolution processing, fusion channel and spatial information processing, convolution processing, fusion channel and spatial information processing, and convolution processing, and the processed feature map is output to the Decoder; In the Decoder, the input feature map is sequentially subjected to convolution processing, convolution processing, fusion channel and spatial information processing, convolution processing, fusion channel and spatial information processing, and convolution processing, and the reconstructed feature map is output; The fusion channel and spatial information processing are specifically: The input feature map is enhanced by the position channel module to obtain a weighted feature map; The feature map is passed through the spatial attention module to obtain a weighted feature map; The position channel enhancement module and the spatial attention module are specifically: Perform maximum pooling and average pooling operations based on width and height on the input feature map respectively; Construct a position weight matrix that matches the spatial dimension of the pooled feature map. Each element of the matrix represents the weight of each pixel position. The weight values ​​of the bank and adjacent areas are greater than those of other areas. Use element-by-element multiplication to add the weights to the corresponding positions of the pooled feature map; The two feature maps are passed through a shared fully connected layer to learn the channel weights, the two feature maps are added element by element, and then the weights are normalized to between 0 and 1 using the sigmoid function. Each channel is scaled to obtain the position channel attention weights. Perform element-wise multiplication of the position channel attention weight and the input feature map; Outputting the generated feature map to the spatial attention module; The spatial attention module is specifically: Inputting the feature map output by the position channel enhancement module into the spatial attention module; Perform channel-based maximum pooling and average pooling operations on the feature map; Concatenate the two obtained feature maps in the channel dimension; The concatenated feature map is passed through a dimension reduction convolution layer and a Sigmoid function to obtain the spatial attention weight; The obtained spatial attention weights are applied to each spatial position of the input feature map to obtain the feature map.

2. The abnormality detection method for preparing a quantum dot color conversion layer based on inkjet according to claim 1, characterized in that: The loss is calculated according to the feature map of the normal image and the feature map of the abnormal image, and when defining the loss function, the regression loss is enhanced by using the gradient loss, and the parameters of the denoising feature reconstruction network are updated, including the following steps: Define the regression loss L reg : Define the gradient loss L grad : Use gradient loss to enhance regression loss and calculate loss L loss : L loss =αL reg +(1-α)L grad ; in, is the reconstruction feature, F i is the normal image feature, N is the number of all pixels in the feature map, and are the partial derivative operations in the vertical and horizontal directions respectively, and α is the weight parameter.

3. The abnormality detection method for preparing a quantum dot color conversion layer based on inkjet according to claim 1, characterized in that: Training the segmentation network includes the following steps: Fix the weights of DenseNet and denoising feature reconstruction network, and use the abnormal image for training; DenseNet extracts multi-level features of the abnormal image, upsamples and fuses the extracted multi-level features and inputs them into the denoising feature reconstruction network to reconstruct features; Calculate the extracted feature F noise and reconstruction features The L2 distance, Where N is the number of all pixels in the feature map; The L2 distance is input into the segmentation network to obtain the predicted anomaly mask map. When defining the loss function, the loss term related to the threshold T is introduced to guide the model to gradually adjust the threshold during the training process. The AdamW optimizer is used for back propagation to update the segmentation network parameters and the value of the threshold T.

4. The abnormality detection method for preparing a quantum dot color conversion layer based on inkjet according to claim 3 is characterized in that: The segmentation network is specifically: The input feature map passes through four parallel adaptive pooling channels of the pyramid module; Use convolutional layers to compress the number of channels of the four feature maps after pooling; After upsampling the four feature maps to the size of the input feature map using the bilinear interpolation method, they are concatenated with the input feature map in the channel dimension. The concatenated feature map is input into the convolution layer for dimensionality reduction to obtain the anomaly score map. The trainable threshold T is applied to binarize the anomaly score map to obtain the predicted anomaly mask map.

5. The abnormality detection method for preparing a quantum dot color conversion layer based on inkjet according to claim 3 is characterized in that: Introduce a loss term related to the threshold T to guide the model to gradually adjust the threshold during training, specifically: During the training process, the threshold T is set as a learnable parameter and initialized to a fixed initial value. The anomaly score map is binarized using the current threshold T to obtain a predicted anomaly mask map. The difference L1 between the predicted anomaly mask and the true anomaly mask is measured by weighted average of regression loss and gradient loss, specifically: in, To predict the anomaly mask, M i is the real abnormal mask map, N is the number of all pixels in the feature map, and They are partial derivative operations in the vertical and horizontal directions respectively; An additional term is introduced to penalize the current threshold T, and the loss L is specifically: L=L1+λ·T 2 ; Among them, λ is the regularization coefficient.

6. The abnormality detection method for preparing a quantum dot color conversion layer based on inkjet according to claim 4 or 5, characterized in that: The trained denoising feature reconstruction network and segmentation network are used to perform anomaly detection on the color conversion layer image to be detected, including the following steps: Input the color conversion layer image to be detected into the pre-trained Densenet, extract the multi-level features of the color conversion layer image to be detected, and perform upsampling fusion; Input the fused feature map into the trained denoising feature reconstruction network to obtain the reconstructed feature map; Calculate the L2 distance between the two feature maps and input them into the segmentation network; The predicted anomaly mask output by the segmentation network is superimposed on the color conversion layer image to be detected to achieve anomaly detection and positioning.

Citation Information

Patent Citations

  • A quantum dot optical film defect detection method and system

    CN117593303B

  • Visual target tracking method based on self-adaptive subject sensitivity

    CN110210551A

  • Industrial flaw detection method based on knowledge distillation and anomaly simulation

    CN116596851A

  • Abnormality detection method and device based on adaptive mask reconstruction

    CN117058450A

  • Image anomaly detection method based on core memory bank residual error

    CN117079029A