A multi-classification layer-by-layer peeling image recognition and classification method

By introducing mixed noise and U-net convolutional neural network denoising models in atomic-level images, combined with layer-by-layer filtering technology, the noise and resource challenges in atomic-level image recognition and classification are solved, and the accuracy of atoms and vacancy is achieved. Identify and classify.

CN117912011BActive Publication Date: 2024-11-05CHONGQING INST OF GREEN & INTELLIGENT TECH CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410083444.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-19
Publication Date
2024-11-05
Estimated Expiration
2044-01-19

AI Technical Summary

Technical Problem

Existing computer vision algorithms and deep learning models have challenges such as data quality, labeling difficulty, and computing resources in atomic image recognition and classification, which are difficult to meet actual needs, especially image quality caused by noise and material structure defects in STEM images. On the issue.

Method used

Using multi-classification layer-by-layer stripping image recognition and classification method, the mixed noise training data set is constructed by generating simulated images of multiple sizes and introducing multiplicative noise and Gaussian noise. The denoising model is constructed based on U-net convolutional neural network, and the treatment is done. The image is denoised and image pre-processing, pixel threshold filtering, spot size filtering and atomic recognition are performed in turn, and the threshold and size range are adjusted cyclically until all atoms and vacancies are classified and identified.

Benefits of technology

It realizes accurate identification and classification of different types of atoms and vacancies, which are suitable for various ways to acquire atomic-level images, improves the recognition accuracy and classification effect of atomic-level images, and overcomes the noise and resource limitations in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117912011B_ABST
    Figure CN117912011B_ABST
Patent Text Reader

Abstract

The present invention provides a multi-classification layer-by-layer peeling image recognition and classification method, including: generating simulated images of various sizes, introducing multiplicative noise and / or Gaussian noise into the simulated images, and constructing a training data set of mixed noise of multiple sizes; constructing a denoising model based on a U-net convolutional neural network, and obtaining a target denoising model through training of the training data set; obtaining an image to be processed, and using the target denoising model to perform denoising on the image to be processed; performing image pre-processing, statistical image pixel values, pixel threshold filtering, spot size filtering, and operations of identifying atoms or vacancies on the image to be processed after denoising, and adjusting the pixel threshold and spot size range, and performing filtering operations in a loop until the classification and identification of all types of atoms and vacancies are completed, and a labeled image is obtained. The present invention can be used to identify different atoms and different vacancies and their distribution in an image, and is applicable to various methods of obtaining atomic-level images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image recognition, and in particular to a multi-classification layer-by-layer peeling image recognition and classification method. Background Art

[0002] Scanning transmission electron microscopes (STEM) are key tools for humans to understand the microscopic material world. Their images contain rich information at the atomic level of material samples. The precise identification, extraction, classification and analysis of this atomic-level information can effectively explain and reveal the performance and properties of materials, thereby helping to gain a deeper understanding of the correlation between the microstructure and macroscopic properties / performance of materials. Currently, there are two main methods for analyzing information in STEM images: computer vision algorithm recognition and deep learning model recognition.

[0003] Computer vision algorithms are a class of computer algorithms used to process and interpret images, videos, and other visual data. These algorithms are designed to simulate and replicate the capabilities of the human visual system, enabling computers to understand and interpret information in images, and are widely used in a variety of fields, including image recognition, object detection, image segmentation, and 3D reconstruction. Computer vision algorithms are mostly used in macroscopic fields, and directly using computer vision algorithms to identify atoms is a very challenging task.

[0004] Deep learning model recognition of atoms refers to the use of deep learning algorithms and technologies to learn from a large amount of atomic-level image data that has been annotated in advance, so that the model can automatically detect and identify atoms in the image and extract features and information related to the atoms. This process aims to enable computer systems to simulate and understand atomic-level structures, thereby achieving automated analysis and recognition of the microscopic world. However, the successful application of deep learning models to identify atoms requires overcoming challenges in data quality, annotation difficulty, computing resources, etc.

[0005] Since the accuracy of atom recognition by computer vision algorithms depends on the quality of real STEM images, the image quality of atomic-level images will be affected by various noises, electron scattering, material structure defects and other factors during the acquisition process. Various factors that occur during the actual shooting process will cause image blur, missing details and confusion of atomic boundaries, which will further increase the difficulty of computer vision algorithms in identifying atoms.

[0006] At the same time, deep learning algorithms also face many challenges in identifying atoms. First, obtaining a large amount of atomic-level annotated data is a difficult task. In a laboratory environment, manually annotating atomic positions is time-consuming and difficult, and may limit the data training of the algorithm. Secondly, when understanding atomic structure in scientific research, the interpretability of the model is an important challenge. Deep learning models are generally considered to be "black box" models, and it is difficult to explain their decision-making process, which limits their application scenarios. In addition, some advanced computer vision algorithms, especially deep learning-based methods, require a lot of computing resources for training and inference, limiting their application in resource-constrained environments. These challenges jointly affect the application and performance of deep learning algorithms in atom recognition tasks.

[0007] In summary, both the existing computer vision algorithms and deep learning model recognition methods cannot meet the actual needs of atomic-level image recognition and classification. Therefore, there is an urgent need for an image recognition and classification method that can classify and identify different atomic types and is suitable for a variety of ways of acquiring atomic-level images. Summary of the invention

[0008] Based on this, it is necessary to propose a multi-classification layer-by-layer peeling image recognition and classification method to address the above technical problems.

[0009] A multi-classification layer-by-layer peeling image recognition and classification method comprises the following steps: generating simulated images of various sizes, introducing multiplicative noise and / or Gaussian noise into the simulated images, and constructing a training data set of mixed noise of various sizes; constructing a denoising model based on a U-net convolutional neural network, and obtaining a target denoising model through training the training data set; obtaining an image to be processed, and performing denoising on the image to be processed by using the target denoising model; performing image pre-processing, image pixel value statistics, pixel threshold filtering, spot size filtering, and atom or vacancy identification operations on the denoised image to be processed in sequence, adjusting the pixel threshold and spot size range, and performing filtering operations cyclically until the classification and identification of all atom and vacancy types are completed, and a labeled image containing a final identification result is obtained.

[0010] In one embodiment, the method of generating simulated images of various sizes, introducing multiplicative noise and / or Gaussian noise into the simulated images, and constructing a training data set of multi-sized mixed noise includes: using machine vision software to generate simulated images of various sizes; adding random multiplicative noise and / or Gaussian noise to the simulated images of various sizes; wherein the multiplicative noise is obtained by multiplying the grayscale value of a specific pixel in the simulated image by a multiplicative noise coefficient, and the Gaussian noise is obtained by adding a Gaussian noise coefficient to each pixel value of the simulated image, and the Gaussian noise coefficient is obtained by random sampling from a normal distribution with a mean of 0 and a standard deviation in a given range.

[0011] In one of the embodiments, the target denoising model is obtained by training the training data set, including: dividing the training data set into a training set and a test set, specifying a corresponding optimizer, and setting an initial learning rate and a loss function; creating a callback object for recording the training process; using the training set to train the denoising model, setting the number of training rounds and the batch size; after the training is completed, using the test set to test the denoising model, and obtaining the target denoising model after the test passes.

[0012] In one embodiment, the image pre-processing step includes: using a function in an image processing library to read the denoised image to be processed, where the image to be processed is any readable image file; converting the image to be processed into an initial grayscale image through a conversion function; mapping the grayscale values ​​in the initial grayscale image to a range of 0 to 255, and saving the converted first grayscale image; and performing pixel inversion on the first grayscale image to obtain an inverted second grayscale image.

[0013] In one embodiment, the step of counting pixel values ​​of the image includes: converting the first grayscale image and the second grayscale image into arrays respectively, and initializing the histogram statistical array, setting the intervals and the pixel width of the intervals; traversing the pixel values, counting the number of pixel values ​​in each interval, and outputting the interval statistical results; drawing a histogram to obtain a pixel histogram statistical graph.

[0014] In one of the embodiments, the step of pixel threshold filtering includes: based on the pixel histogram, filtering using a set pixel threshold, assigning values ​​to pixel values ​​less than the pixel threshold to distinguish them from identification targets; creating a modified image object, and drawing the image after pixel threshold filtering.

[0015] In one of the embodiments, the step of spot size filtering includes: converting the image after pixel threshold filtering into a binary image; obtaining the spot labels, statistical information and center coordinates in the binary image by an analysis function; screening out qualified spot labels according to a set spot size range, and outputting the maximum area and minimum area of ​​the identified spots; drawing spots that meet the spot size range on the original image to be processed and saving them.

[0016] In one embodiment, the step of identifying atoms or vacancies includes: adjusting the pixel threshold and spot size range, and according to the results of pixel threshold filtering and spot size filtering, cyclically performing pixel threshold filtering and spot size filtering operations until all types of atoms and vacancies are classified and identified, thereby obtaining an annotated image containing the final identification results, wherein the annotated image contains labels and identification results for each atom and each vacancy.

[0017] Compared with the prior art, the advantages and beneficial effects of the present invention are as follows: by generating simulated images of various sizes and introducing multiplicative noise and / or Gaussian noise into the simulated images, a training data set of mixed noise of multiple sizes is constructed, a denoising model is constructed based on a U-net convolutional neural network, and a target denoising model is obtained by training the training data set, an image to be processed is obtained, and the image to be processed is denoised using the target denoising model, and the image to be processed after the denoising is sequentially subjected to image pre-processing, image pixel value statistics, pixel threshold filtering, spot size filtering, and atom or vacancy identification operations, and the pixel threshold and spot size range are adjusted, and the filtering operation is cyclically performed until the classification and identification of all atom and vacancy types are completed, and an annotated image containing the final identification result is obtained, and multi-classification layer-by-layer peeling image recognition based on Gaussian spot recognition is realized, and it can be used to classify and identify different types of atoms and different types of vacancies (including but not limited to different sizes and different types of atomic vacancies), and is applicable to various methods of obtaining atomic-level images, and the distribution of different atoms and vacancies in the image is obtained. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of a flow chart of a multi-classification layer-by-layer peeling image recognition and classification method in one embodiment;

[0019] Figure 2 A flowchart of a multi-classification layer-by-layer peeling image recognition and classification method in one embodiment;

[0020] Figure 3 is a schematic diagram of the operation principle of a target denoising model in one embodiment;

[0021] Figure 4 This is a diagram showing the effect of denoising a real STEM image using a target denoising model in one embodiment;

[0022] Figure 5 is a schematic diagram of pixel distribution of an image to be processed in one embodiment;

[0023] Figure 6 The figure is a recognition effect diagram of an image to be processed in one embodiment. DETAILED DESCRIPTION

[0024] Before describing the specific embodiments of the present invention, the overall concept of the present invention is described as follows:

[0025] The present invention is mainly developed based on the atomic-level image (eg, STEM image) recognition process. Currently, computer vision algorithms face many challenges in identifying atoms and are difficult to meet actual needs.

[0026] Therefore, the present invention proposes a multi-classification layer-by-layer peeling image recognition and classification method, including image denoising and image recognition, which is applicable to real images and simulated images. In the image denoising stage, a mixed noise training data set of various sizes is constructed by introducing multiplicative noise and / or Gaussian noise, and a U-net convolutional neural network denoising model is constructed, and its powerful feature extraction and image reconstruction capabilities are used to denoise the image to be processed; in the image recognition stage, image pre-processing, statistical image pixel values, pixel threshold filtering, spot size filtering and atom recognition operations are performed in sequence. In the process of atom recognition, different types of atoms and vacancies are classified and identified through the steps of cyclic pixel threshold filtering and spot size filtering, and an annotated image containing the final recognition result is obtained, which shows the distribution of different atoms and vacancies (including but not limited to different sizes and different types of atomic vacancies) in the image, and can be applied to a variety of ways of obtaining atomic images including STEM images and other methods, thereby realizing the recognition and classification of atomic-level images.

[0027] After introducing the overall concept of the present invention, in order to make the purpose, technical solution and advantages of the present invention more clear, the present invention is further described in detail by specific implementation methods in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0028] In one embodiment, Figure 1-2 As shown, a multi-classification layer-by-layer peeling image recognition and classification method is provided, comprising the following steps:

[0029] Step S101, generating simulated images of various sizes, and introducing multiplicative noise and / or Gaussian noise into the simulated images to construct a training data set of mixed noise of various sizes.

[0030] Specifically, in order to better perform image denoising, simulated images of various sizes can be generated by machine vision software, and by introducing multiplicative noise and / or Gaussian noise into the simulated images, a training data set of multi-size mixed noise can be constructed.

[0031] Wherein, step S101 includes: using machine vision software to generate simulated images of various sizes; adding random multiplicative noise and / or Gaussian noise to the simulated images of various sizes; wherein the multiplicative noise is obtained by multiplying the gray value of a specific pixel in the simulated image by a shaping noise coefficient, and the Gaussian noise is obtained by adding a Gaussian noise coefficient to each pixel value of the simulated image, and the Gaussian noise coefficient is obtained by random sampling in a normal distribution with a mean of 0 and a standard deviation in a given range.

[0032] Specifically, a software package (e.g., the open source software package AtomVision) is used to generate STEM simulated images of different sizes, and then random multiplicative noise and / or Gaussian noise are added to the STEM simulated images of different sizes. Multiplicative noise is introduced by multiplying each pixel value of the original image by a randomly generated multiplicative noise coefficient, which usually fluctuates within a range, such as a randomly generated coefficient between 0 and 1, to simulate the noise in a real scene. Gaussian noise is obtained by random sampling from a normal distribution with a mean of 0 and a standard deviation of a given range. The random numbers generated by the normal distribution are used as Gaussian noise coefficients and added to each pixel value of the original image.

[0033] Step S102, constructing a denoising model based on the U-net convolutional neural network, and obtaining a target denoising model by training the training data set.

[0034] Specifically, a denoising model is constructed based on a U-net convolutional neural network, and is trained using the training data set obtained in step S101 to obtain a target denoising model. The target denoising model can be applied to denoising processing of simulated images and real images.

[0035] Among them, U-net is a convolutional neural network (CNN) architecture for image segmentation. Its name comes from its U-shaped network structure. The U-net structure consists of a symmetrical encoder (downsampling path) and decoder (upsampling path), with a cross connection in the middle, which connects the encoder's feature map with the corresponding feature map of the decoder, allowing the network to learn global and local features at the same time, thus performing well in image segmentation tasks.

[0036] U-net is used for denoising tasks and has powerful feature extraction and image reconstruction capabilities. Since the U-net structure adopts an encoder-decoder structure and uses cross-connections, it can capture image features of different scales and levels. This is crucial for denoising tasks because noise may exist at different levels of the image. At the same time, the upsampling path in U-net can effectively reconstruct the image and reduce information loss. Therefore, U-net is suitable for various image denoising tasks and has strong versatility. The model structure is as follows Figure 3 shown.

[0037] Among them, the acquisition of the target denoising model includes: dividing the training data set into a training set and a test set, specifying the corresponding optimizer, and setting the initial learning rate and loss function; creating a callback object to record the training process; using the training set to train the denoising model, setting the number of training rounds and batch size; after the training is completed, the denoising model is tested on a test machine, and the target denoising model is obtained after the test passes.

[0038] Specifically, the constructed training data set is divided into a training set and a test set. The ratio can be set to a specific value (for example, training set: test set = 8:2, or 9:1 or 7:3 or other values). The constructed denoising model is compiled and the optimizer is specified as Adam, or other optimizers that can be used to implement the optimization function. The loss function is the mean square error. Create a callback object to record the training process. Use the training set to train the model. After the training set is trained, use the test set to evaluate the performance of the model and save it to obtain the target denoising model. The denoising effect of the target denoising model is as follows: Figure 4 shown.

[0039] Step S103, obtaining an image to be processed, and performing denoising processing on the image to be processed using a target denoising model.

[0040] Specifically, a corresponding image to be processed is obtained by scanning transmission electron microscopy, and the image to be processed is denoised using a trained target denoising model to facilitate subsequent atom or vacancy identification.

[0041] Step S104, the image to be processed after denoising is subjected to image pre-processing, image pixel value statistics, pixel threshold filtering, spot size filtering and atom or vacancy recognition operations in sequence, and the pixel threshold and spot size range are adjusted, and the filtering and recognition operations are executed cyclically until the classification and recognition of all atom and vacancy types are completed, thereby obtaining a labeled image containing the final recognition result.

[0042] Specifically, after the image to be processed is denoised by the target denoising model, image pre-processing, statistical image pixel values, pixel threshold filtering, spot size filtering and atom or vacancy recognition operations are performed in sequence, and pixel threshold filtering and spot size filtering operations are performed in different cycles based on pixel thresholds and spot size ranges until all types of atoms and vacancies are classified and recognized, thereby realizing multi-classification layer-by-layer peeling image recognition based on Gaussian spot recognition to obtain a labeled image containing the final recognition result; at the same time, this method can also be applied to the recognition and classification of analog images.

[0043] Among them, the steps of image preprocessing include: using the function in the image processing library to read the denoised image to be processed, the image to be processed is any readable image file, and converting the image to be processed into an initial grayscale image through a conversion function; using mapping to map the grayscale value in the grayscale image to the range of 0 to 255, and saving the converted first grayscale image; performing pixel inversion on the first grayscale image to obtain an inverted second grayscale image.

[0044] Specifically, when performing image preprocessing on the denoised image to be processed, any readable image file after denoising is read; converted into a grayscale image; the grayscale value is mapped to a range of 0 to 255 by mapping to avoid exceeding the grayscale range, and the converted first grayscale image is saved. In order to identify the vacant space in the image to be processed, an additional pixel inversion operation needs to be performed on the first grayscale image in the image preprocessing, and a new pixel value is obtained by subtracting the original pixel value from 255 to replace the original pixel value, thereby obtaining an inverted second grayscale image.

[0045] Among them, the step of counting the pixel values ​​of the picture includes: converting the first grayscale image and the second grayscale image into arrays respectively, and initializing the histogram statistical array, setting the interval and the pixel width of the interval; traversing the pixel values, counting the number of pixel values ​​in each interval, and outputting the interval statistical results; drawing a histogram to obtain a pixel histogram statistical graph.

[0046] Specifically, when counting the pixel values ​​of an image, the first grayscale image and the second grayscale image after image preprocessing are converted into arrays respectively, wherein the first grayscale image is used for the identification and classification of atoms, and the second grayscale image is used for the identification of vacancies, and the histogram statistical array is initialized, and the intervals of the statistical array and the pixel width of the intervals are set. For example, the intervals are set to 32, and the pixel width of the intervals is set to 8. The number of intervals and the pixel width can be adjusted according to actual needs, as long as the interval × pixel width = 256 is satisfied; by traversing the pixel values, the number of pixel values ​​in each interval is counted, and the interval statistical results are output; finally, a pixel histogram is drawn to visualize the pixel distribution, and the image pixel distribution is obtained as shown in FIG. Figure 5As shown, a, b, c, and d are real STEM images; a', b', c', and d' are the recognition results corresponding to a, b, c, and d, respectively.

[0047] Among them, the step of pixel threshold filtering includes: based on the pixel histogram, filtering with a set pixel threshold, assigning values ​​to pixel values ​​less than the pixel threshold to distinguish them from the recognition target; creating a modified image object, and drawing the image after pixel threshold filtering.

[0048] Specifically, after counting the pixel values ​​of the image and obtaining the pixel histogram, the pixel values ​​of the image are filtered using the pixel values ​​corresponding to the pixel peaks based on the pixel histogram. The specific operations include converting the image into an array, filtering through a set pixel threshold, and assigning values ​​to pixel values ​​less than the pixel threshold, such as assigning pixel values ​​less than the pixel threshold to 0 or other pixel values ​​that can be distinguished from the recognition target; creating a modified image object, drawing the image after threshold filtering, and distinguishing between the recognition target and the remaining noise.

[0049] Among them, the step of spot size filtering includes: converting the image after pixel threshold filtering into a binary image; analyzing the function to obtain the spot labels, statistical information and center coordinates in the binary image; screening out the spot labels that meet the conditions according to the set spot size range, and outputting the maximum area and minimum area of ​​the identified spots; drawing spots that meet the spot size range on the original image to be processed and saving them.

[0050] Specifically, the image after threshold filtering is converted into a binary image to obtain the label, statistical information and center coordinates of the spots; according to the set spot size range, the spot labels that meet the conditions are screened out. In this process, the code outputs the maximum and minimum areas of the identified spots; spots that meet the set size range are drawn on the original image to be processed and saved.

[0051] Among them, the step of identifying atoms or vacancies includes: adjusting the pixel threshold and the spot size range, and according to the results of the pixel threshold filtering and the spot size filtering, cyclically performing the pixel threshold filtering and the spot size filtering operations until the classification and identification of all types of atoms and vacancies are completed, and an annotated image containing the final identification results is obtained, and the annotated image contains the labels and identification results of the vacancies and each type of atoms.

[0052] Specifically, according to the results of the pixel threshold filtering and spot size filtering in the previous steps, the pixel threshold filtering and spot size filtering operations are performed cyclically to process different atom types one by one. By adjusting the pixel threshold and spot size range, image processing is performed for vacancies and each atom type respectively, and the two filtering operations are performed cyclically until all vacancies and atom types of interest are classified and identified, and an annotated image containing the final recognition results is obtained. The annotated image contains the labels and recognition results of vacancies and each atom, and shows the distribution of different shapes in the image. The recognition effect of the image to be processed is shown in Figure 2. Figure 6 As shown, a, b, c, and d are real STEM images; a', b', c', and d' are the recognition results corresponding to a, b, c, and d, respectively.

[0053] In this embodiment, simulated images of various sizes are generated, and multiplicative noise and / or Gaussian noise are introduced into the simulated images to construct a training data set of multi-size mixed noise, a denoising model is constructed based on a U-net convolutional neural network, and a target denoising model is obtained by training the training data set, an image to be processed is obtained, and the target denoising model is used to perform denoising on the image to be processed, and the denoised image to be processed is sequentially subjected to image preprocessing, image pixel value statistics, pixel threshold filtering, spot size filtering, and atom recognition operations, and the pixel threshold and spot size range are adjusted, and the filtering operation is performed cyclically until all types of atoms and vacancies are classified and identified, and an annotated image containing the final recognition result is obtained, thereby realizing multi-classification layer-by-layer peeling image recognition based on Gaussian spot recognition, which can be used to classify and identify different types of atoms and different types of vacancies (including but not limited to different sizes and different types of atomic vacancies), and is applicable to various methods of acquiring atomic-level images, and the distribution of different atoms and vacancies in the image is obtained.

[0054] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0055] Obviously, those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a computer storage medium (ROM / RAM, magnetic disk, optical disk) and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Therefore, the present invention is not limited to any specific combination of hardware and software.

[0056] The above contents are further detailed descriptions of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the scope of protection of the present invention.

Claims

1. A multi-classification layer-by-layer peeling image recognition and classification method, It is characterized in that The following steps are involved: Generate simulated images of various sizes, and introduce multiplicative noise and / or Gaussian noise into the simulated images to construct a training data set of mixed noise of various sizes; Constructing a denoising model based on a U-net convolutional neural network, and obtaining a target denoising model through training with the training data set; Acquire an image to be processed, and use the target denoising model to perform denoising on the image to be processed, wherein the corresponding image to be processed is obtained by scanning transmission electron microscopy; The denoised image is subjected to image preprocessing, image pixel value statistics, pixel threshold filtering, spot size filtering and atom or vacancy identification operations in sequence, and the pixel threshold and spot size range are adjusted. The pixel threshold filtering and spot size filtering operations are performed in different cycles based on the pixel threshold and spot size range to classify and identify different types of atoms and different types of vacancies, until the classification and identification of all types of atoms and vacancies are completed, and a labeled image containing the final identification result is obtained.

2. The multi-classification layer-by-layer peeling image recognition and classification method according to claim 1, It is characterized in that The generating of simulated images of various sizes, and introducing multiplicative noise and / or Gaussian noise into the simulated images to construct a training data set of mixed noise of various sizes, comprises: Use machine vision software to generate simulated images of various sizes; adding random multiplicative noise and Gaussian noise to the simulated images of the plurality of sizes; The multiplicative noise is obtained by multiplying the gray value of a specific pixel in the simulated image by the multiplicative noise coefficient, and the Gaussian noise is obtained by adding the Gaussian noise coefficient to each pixel value of the simulated image, and the Gaussian noise coefficient is obtained by random sampling in a normal distribution with a mean of 0 and a standard deviation in a given range.

3. The multi-classification layer-by-layer peeling image recognition and classification method according to claim 1, It is characterized in that The step of obtaining a target denoising model through training the training data set includes: Divide the training data set into a training set and a test set, specify the corresponding optimizer, and set the initial learning rate and loss function; Create a callback object to record the training process; Using the training set to train the denoising model, setting the number of training rounds and the batch size; After the training is completed, the denoising model is tested using a test set, and the target denoising model is obtained after the test passes.

4. The multi-classification layer-by-layer peeling image recognition and classification method according to claim 1, It is characterized in that The steps of image pre-processing include: The function in the image processing library is used to read the denoised image to be processed, where the image to be processed is any readable picture file, and the image to be processed is converted into an initial grayscale image through a conversion function; Mapping the grayscale values ​​in the initial grayscale image to a range of 0 to 255 by using mapping, and saving the converted first grayscale image; Perform pixel inversion on the first grayscale image to obtain an inverted second grayscale image.

5. The multi-classification layer-by-layer peeling image recognition and classification method according to claim 4, It is characterized in that The step of counting pixel values ​​of the picture comprises: Convert the first grayscale image and the second grayscale image into arrays respectively, initialize a histogram statistics array, and set intervals and pixel widths of the intervals; Traverse the pixel values, count the number of pixel values ​​in each interval, and output the interval statistics; Draw a histogram to get the pixel histogram.

6. The multi-classification layer-by-layer peeling image recognition and classification method according to claim 5, It is characterized in that The step of pixel threshold filtering comprises: Based on the pixel histogram, a set pixel threshold is used for filtering, and pixel values ​​less than the pixel threshold are assigned values ​​to distinguish them from the recognition targets; Create a modified image object and draw the image after filtering by the pixel threshold.

7. The multi-classification layer-by-layer peeling image recognition and classification method according to claim 6, It is characterized in that The step of spot size filtering comprises: Convert the image after pixel threshold filtering into a binary image; The analysis function obtains spot labels, statistical information and center coordinates in the binary image; According to the set spot size range, the spot labels that meet the conditions are screened out, and the maximum and minimum areas of the identified spots are output; Spots that meet the spot size range are drawn on the original image to be processed and saved.

8. The multi-classification layer-by-layer peeling image recognition and classification method according to claim 7, It is characterized in that The step of identifying atoms or vacancies comprises: The pixel threshold and spot size range are adjusted, and according to the results of the pixel threshold filtering and the spot size filtering, the pixel threshold filtering and the spot size filtering operations are cyclically performed until the classification and identification of all atom and vacancy types are completed, and an annotated image containing the final identification result is obtained, wherein the annotated image contains the label and identification result of each atom and each vacancy.