Automated analysis of transmission electron micrographs of metallic nanoparticles by machine learning
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.1039/d2na00781a
- 저널
- Nanoscale Advances
- 발행년도
- 2023
- 발행기관
- Royal Society of Chemistry
- 피인용수
- 34
- 라이선스
- cc-by-nc
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1039/d2na00781a
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W4360779088
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 22,281자
본문 펼치기
섹션 본문 29문단 · 21,733자
(제목 없음)
1Metallic nanoparticles were analysed with respect to size and shape by a machine learning approach. This involved a separation of particles from the background (segmentation), a separation of overlapping particles, and the identification of individual particles. An algorithm to separate overlapping particles, based on ultimate erosion of convex shapes (UECS), was implemented. Finally, particle properties like size, circularity, equivalent diameter, and Feret diameter were computed for each particle of the whole particle population. Thus, particle size distributions can be easily created based on the various parameters. However, strongly overlapping particles are difficult and sometimes impossible to separate because of an a priori unknown shape of a particle that is partially lying in the shadow of another particle. The program is able to extract information from a sequence of images of the same sample, thereby increasing the number of analysed nanoparticles to several thousands. The machine learning approach is well-suited to identify particles at only limited particle-to-background contrast as is demonstrated for ultrasmall gold nanoparticles (2 nm).
Introduction
2Nanoparticles play a key role in materials science. As most nanoparticle properties depend on the particle size and size distribution, it is usually necessary to fully characterize a given set of particles. Many methods are available that give particle size distribution data, both in solid form (as powder) and in dispersed form. [1][2][3][4][5][6] However, shape-related parameters are usually only accessible by microscopic techniques. In that case, electron microscopy is the method of choice because light microscopy usually does not provide sufficient resolution.
3For the application of nanoparticles and (nano-)bres, e.g. in consumer products, cosmetics, drugs, or in heterogeneous catalysis, the particle shape plays a decisive role. [7][8][9][10][11] In occupational medicine and particle toxicology, rod-like (nano)particles are considered to be potentially more harmful, based on the case of asbestos where bres cause strongly adverse effects upon inhalation. [12][13][14] Thus, nanoparticle populations are usually visualized by electron microscopy, followed by an extraction of their individual size-and shape-related properties.
4A detailed analysis of electron micrographs of nanoparticles is oen performed manually by human evaluators. This procedure is tedious, time-consuming, and inaccurate. It may also involve a considerable degree of human bias due to an unconscious selection of "typical" nanoparticles, e.g. particles with the "expected" size or the "desired" uniform shape. In the literature, claims of allegedly uniform nanoparticle populations aer shape-specic syntheses, based on only a dozen depicted nanoparticles, are not uncommon.
5Computational methods for detecting and analysing micrographs of nanoparticles do exist, however for many of them a considerable degree of manual input and ne-tuning of parameters is needed. Furthermore, many of these techniques fail for images with a low signal-to-noise ratio as it is the case for some high-resolution TEM images and images acquired with low beam intensity. 15,16 Clearly, an objective method for a rapid nanoparticle analysis from electron microscopic data is necessary. The rise of articial intelligence/machine learning/deep learning has considerably enhanced our ability to train computers to recognize and autonomously analyse particles. Machine learning techniques have already been applied to electron microscopic images where they usually outperform classical image analysis approaches, especially when noisy images or overlapping particles are involved 15,17-25 (see ref. 26-28 for recent reviews). However, the reported approaches either do not extend to the analysis of bright-eld high-resolution TEM images or are based on very small datasets, making them not generally applicable.
6Here we present an automated method, based on machine learning, that permits to analyse electron microscopic images containing thousands of nanoparticles within a few seconds. This is based on previous training on suitable images. Typical parameters that can be extracted for each particle are size, circularity, equivalent diameter, and Feret diameter. These parameters are tedious to extract by manual examination, but readily available aer the particles have been identied and their two-dimensional shape has been determined. If a high number of particles is analysed, the corresponding distribution functions, averages, and standard deviations can be easily computed. In addition, an algorithm to separate overlapping particles was implemented.
7Thus, we have combined and adapted existing methods which have shown good results for other types of electron microscopic data to make them applicable to bright-eld highresolution TEM images. We demonstrate the capabilities of this method on a selection of images of metallic nanoparticles.
Results and discussion
8We have implemented an autonomous pathway by which transmission electron microscopy (TEM) images of nanoparticles can be analysed in a fully automated way. This is based on the analysis of the TEM images to identify and extract individual particles, assisted by machine learning. The goal of the processing routine was to automatically extract shape-and sizerelated information of nanoparticles from TEM images. Fig. 1 summarizes the different steps in this routine. The routine was programmed in MATLAB. 29 First, the program loads the image and extracts its pixel size from the image le (dm3 format; DigitalMicrograph les from Gatan, Inc.) with a routine from MATLAB le exchange. 30 Next, the image is segmented by a trained neural network. From the resulting segmentation map, a binary particle segmentation map is created. The segmentation map is de-speckled to remove small mislabelled areas ("speckles") from the map. Each area with an equivalent diameter below 0.5 nm is considered as a speckle and removed. Likewise, holes in particle areas with a diameter below 0.5 nm are closed. Particles that cross the image boundary are cropped by denition, therefore they cannot be evaluated. Consequently, they are generally removed from the particle map and excluded from further analysis. From the remaining particle-based areas, individual particles are identied and analysed for their shape and size. From the dimensions of each particle, we can compute its area, circular equivalent diameter (= diameter of the circle having the same area), minimum and maximum Feret diameter, perimeter, and circularity (circularity = 4 × area × p/perimeter 2 ).
9Two different options to deal with overlapping particles were implemented. This is important to avoid the misrepresentation of two overlapping particles as one single (and usually apparently distorted) particle, e.g. a peanut-shaped overlap of two spherical particles. Both options are based on measuring the convexity of particle regions as illustrated in Fig. 2. The convexity is dened as the ratio of the perimeter of the convex hull of a particle to the actual perimeter of a particle. Thus, a particle with concave indentations or an agglomerate of two sphere-like particles have a convexity < 1. Here, we considered particles with a convexity below 0.95 as non-convex and Fig. 1 Illustration of the TEM image processing routine. A typical speckle that was removed is labelled by a red circle. therefore consisting of overlapping particles, following the recent suggestion by Wang et al. 31 In the rst option, when no separation is used, convexity is added as an output parameter so that overlapping particles can be identied within the dataset. The program also labels all particles that are below the convexity threshold as such in the dataset. This option is useful if the number and size of agglomerates in a given sample are of interest.
10The second option is to use dedicated algorithms to split overlapping particles. This was realized by an adaptation of the ultimate erosion of convex shapes (UECS) algorithm based on the description and MATLAB code by Park et al. 16,32 With this Fig. 2 Illustration of the implemented options to deal with overlapping particles and illustration of the erosion and dilation process in particle separation. Fig. 3 Representative examples of the separation of metallic nanoparticles from the background (segmentation).
11approach, particle regions are eroded until they exceed the convexity threshold. These eroded areas serve as markers for the singular particles which are then dilated back to their original size by dilating them for as many steps as they were previously eroded. The original outline is used as a mask to ensure that no additional pixels are labelled as particles. It is not combined with a watershed algorithm as that would not account for the overlapping area. If the particle is again non-convex aer the regrowing procedure, it will be discarded and excluded from further analysis. If the markers reach an area below 30 pixels or are smaller than 0.5 nm in equivalent diameter before surpassing the convexity threshold, they are discarded. This option enables a fully automated processing of overlapping particles and is implemented as the default option. The limits of 30 pixels and/or 0.5 nm identied as suitable aer analysing a number of images with the developed algorithm and visually inspecting the results for efficient particle separation.
12Aer the completed analysis, all particle parameters are exported as xlsx or csv les. These also shows which particles resulted from the separation routine. TEM images and the segmentation maps are nally exported as png les. The program can process single image les (dm3 format) as well as stacks of image les. The results can be saved as individual evaluation datasets for each image or combined in one evaluation dataset.
13In the following, we demonstrate the single evaluation steps with suitable examples. The separation of particles from the background is commonly denoted as segmentation. Representative data for a variety of metallic nanoparticles are shown in Fig. 3. The network is able to segment nanoparticles of different metals and sizes. Note that these images always depict metallic nanoparticles which have a high electron contrast, even if they are ultrasmall (1-2 nm). Usually, the segmentation becomes increasingly difficult if the contrast becomes weaker and if the nanoparticles become smaller. High-contrast images can oen be segmented without the application of machine learning by standard image processing procedures (rendering, contrast variation), but the performance of image processing drops drastically for images with lower contrast or higher background noise. However, our machine learning approach showed the same performance for low-contrast images as with highcontrast images. This illustrates the advantage of the machine learning approach over conventional image processing.
14A typical quantitative evaluation of ultrasmall gold nanoparticles of about 2 nm diameter is shown in Fig. 4. The particle map shows all particles that were included in the analysis. The particle size distribution is expressed by equivalent diameter (2.1 ± 0.7 nm), as well as minimum (2.0 ± 0.7 nm) and maximum Feret diameter (2.4 ± 0.8 nm). A manual evaluation by a human reviewer is also given (2.0 ± 0.5 nm) and shows good agreement with the automated evaluation.
15For a typical TEM image with a low degree of overlapping particles, this processing routine takes less than 15 seconds if the particle separation algorithm is used and less than 10 seconds if only the convexity is evaluated but no particle separation is performed. For images with higher degree of overlap, the program execution takes less than 90 seconds if particle separation is applied by iterative erosion and dilation. These durations refer to an execution of the program on the same machine that was used for training the neural network (see methods for details). This is a signicant time improvement compared to a manual inspection which takes about 30 minutes for a typical image. It also enables an unbiased and quick analysis of large data quantities. An option to analyse multiple images from different regions of one given sample is also implemented. This increases the number of analysed particles and improves the particle statistics. An example of such an evaluation is shown in Fig. 5. The average equivalent diameter, its standard deviation, and the particle circularity were determined from 1465 particles, i.e. a high number. Note that the particle-to-background contrast in these images was limited because the nanoparticles were ultrasmall (about 2 nm). Thus, classical image analysis routines usually fail in this evaluation.
16While the network was trained on spherical particles, it was also able to segment particles with other morphologies such as cubes or octahedra as shown in Fig. 6. For particles with a generic non-convex shape (Fig. 6, le image) the separation routine obviously cannot be used. In that case the program can only evaluate images with no overlapping particles.
17A limitation of the automated routine is the analysis of images with a high degree of particle overlap, as the particle separation routine used performs best for low to medium particle overlap. 32 Fig. 7 shows typical images to illustrate the performance of the routine for different degrees of particle overlap. While most of the segmented particle regions are retained for all images, separation of particle regions with high degrees of overlap is more prone to errors and an overestimation of particle sizes.
18Another limitation for particle separation comes with particles that overlap in such a way that they have a convexity which is high enough to pass the convexity exclusion criteria of a minimum convexity of 0.95. For some particles this can be solved by increasing the convexity threshold. However, this can also lead to the wrongful exclusion of particles with indentations. In principle, particles can also overlap in such a way that even a higher convexity threshold would not lead to a successful separation. An example would be an ellipse resulting from two closely overlapping spheres. These particles are then counted as one even aer the separation algorithm. We found that not much can be done against this problem.
19The overall performance of a trained neural network is generally expressed by accuracy, intersection over union (IoU), and DICE coefficient. 33,34 These metrics can be given as global or class-based metrics. The global accuracy describes the amount of correctly classied pixels given as true negatives (TN) and Fig. 7 Examples of images of ultrasmall gold nanoparticles that can and cannot be properly evaluated due to different degrees of particle overlap. The segmentation image (middle) shows pixels in the foreground in yellow. The particle separation map (bottom) shows individually identified particles in blue.
20true positives (TP) in relation to the overall number of pixels which includes the false positives (FP) and false negatives (FN). The class-based accuracy does not include TN and FP.
Global accuracy
21IoU is dened as the amount of overlap between the ground truth and the segmentation map divided by their union. With respect to true and false positive and negative values, IoU is dened as follows:
22The DICE coefficient is calculated as the union between the ground truth and the segmentation map weighed by factor two and then divided by the sum of the man and the segmentation map.
23The network reached a nal validation accuracy of 96.14% during training. All further performance metrics were calculated based on the test dataset. The global accuracy of the test dataset was 96.26% and therefore comparable with the validation accuracy. As the classes were unbalanced with around 80% of all pixels in the images being background, it is important to look into other metrics besides the global accuracy. Fig. 8 shows the class accuracy as a normalized confusion matrix with the particle class showing a similar value to the global accuracy of 96.12%. Table 1 shows the IoU and DICE coefficient for the test dataset. Both have values above 80% for the particle class and values above 95% for the background class, i.e. the programmed routine performed very efficiently. It outperformed other machine learning based approaches for analysing similar TEM images. 15 Experimental Methods Electron microscopy. High-resolution transmission electron microscopy (TEM) was performed with an aberration-corrected FEI Titan transmission electron microscope equipped with a Csprobe corrector (CEOS Company), operating at 300 kV. 35 The nanoparticle dispersion was drop-cast on a copper grid, and coated with an ultrathin amorphous carbon lm. Representative TEM images of metallic nanoparticles were used for training and analysis.
24Machine learning. A deeplabv3+ network with a resnet-18 backbone was trained on TEM images to distinguish between nanoparticles and the background by semantic segmentation with a supervised learning approach. 36,37 The training was performed on 128 manually labelled TEM images of a wide variety of nanoparticle samples of different metals and sizes. The dataset included images of ultrasmall nanoparticles that were in the size range of 1 to 10 nm. Manual particle labelling and the determination of the equivalent particle diameters were performed by experienced human evaluators.
25Labelling was performed with MATLAB's image labeller tool. 38 Training was performed in MATLAB with a deeplabv3+ network with a pretrained resnet-18 network as a backbone that is available from Mathworks 36,39 (see, e.g., ref. 28 and 40 for general discussions on the application of CNNs in particle analysis in electron microscopy). As good results were obtained with these CNNs, other CNNs were not tested. The full TEM images had a size of either 2048 × 2048 pixels or 1024 × 1024 pixels. To speed up training with only a small loss in image resolution, the images and ground truth images (labels) were sized down to an image size of 1024 × 1024 pixels and then sliced into 256 × 256 pixel tiles which were then used for training. Additionally, the full image was also included in the training data by reducing it to a 256 × 256 pixel image. This resulted in 2176 labelled image slices. The manually labelled images were split into a training, a validation and a test dataset, respectively, in a ratio of 60 : 20 : 20. To enhance training by more variety in the images, data augmentation was applied with scaling, rotation, x-and y-axis reection, brightness and contrast augmentation of the individual images. The validation loss and accuracy were checked every other epoch during training to monitor for overtting.
26The semantic segmentation training was performed on a Dell Precision 7920 Tower equipped with an NVIDIA Quadro RTX 5000. It was equipped with 32 GB RAM and an Intel® Xeon® Gold 6226R Processor. Training was performed for 120 epochs with a batch size of 30 and an initial learning rate of 0.01. The learning rate was decreased every 15 epochs by a learning rate drop factor of 0.75. The network performance was analysed by global and class accuracy, intersection over union score (IoU) and DICE score (also known as F1 score). 33,34 The code for the described procedures, denoted here with the acronym ANTEMA, including reference images, is available on GitHub at https://github.com/ngumb/ANTEMA.
Conclusions
27A machine learning approach for TEM data analysis creates more accurate and user-independent results and avoids human bias. High numbers of nanoparticles can be extracted from TEM images and automatically analysed. The presented automated analysis is signicantly faster than a manual evaluation and allows the analysis of multiple images of one sample. This leads to more nanoparticles being analysed and a better statistical accuracy. Furthermore, the algorithm extracts multiple parameters for each particle, thus yielding more data about a particle than just the average core diameter. This routine and the trained neural network can also be used to analyse large datasets like in situ datasets. We conclude that the application of machine learning techniques to two-dimensional TEM images, even with poor contrast, can considerably improve the statistical basis to characterize nanoparticle samples with respect to size and shape.
28As a general limitation of the analysis of TEM images, it must be emphasized that particles are almost always represented as two-dimensional projections in microscopy. Neither human trainers nor articial intelligence are able to reconstruct data which are not known. For instance, the two-dimensional depiction of a circular particle is usually tacitly (and oen unconsciously) transformed into a three-dimensional sphere. The fact that this circle could also be the two-dimensional projection of a circular platelet, a cylinder, or a disc-like object is oen not considered. If all circular discs lay at on the sample holder, they would also give a circular projection. Three-dimensional shape information can only be gained if particles are imaged from different orientations. Tomography would be the method of choice. However, as this is timeconsuming, it is usually applied only to individual particles. It is not possible to apply this method to very small nanoparticles on the ultrasmall length scale (1-2 nm). Thus, there is still a long way to go until we can assign particle populations to their full three-dimensional properties. For now, the presented routine is a powerful tool for an automated analysis of twodimensional TEM images of nanoparticles.
Conflicts of interest
29There are no conicts to declare.
참고문헌 36건
- Size, morphology and composition of particulates in aquatic ecosystems: solving speciation problems by correlative electron microscopy The Analyst · Royal Society of Chemistry · 1992 10.1039/an9921700595
- Nanoparticle analysis and characterization methodologies in environmental risk assessment of engineered nanoparticles Ecotoxicology · Springer Science+Business Media · 2008 10.1007/s10646-008-0225-x
- Segmentation, Inference and Classification of Partially Overlapping Nanoparticles IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2012 10.1109/tpami.2012.163
- The So-called Short-Fiber Controversy: Literature Review and Critical Analysis Archives of Pathology & Laboratory Medicine · American Medical Association · 2015 10.5858/arpa.2014-0466-ra
- Nanoparticles, human health hazard and regulation Journal of The Royal Society Interface · Royal Society · 2009 10.1098/rsif.2009.0252.focus
- Advanced Electron Microscopy Characterization of Nanostructured Heterogeneous Catalysts Microscopy and Microanalysis · Oxford University Press · 2004 10.1017/s1431927604040310
- The Threshold Length for Fiber-Induced Acute Pleural Inflammation: Shedding Light on the Early Events in Asbestos-Induced Mesothelioma Toxicological Sciences · Oxford University Press · 2012 10.1093/toxsci/kfs171
- Approaches to Single-Nanoparticle Catalysis Annual Review of Physical Chemistry · Annual Reviews · 2014 10.1146/annurev-physchem-040513-103729
- Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
- FEI Titan 80-300 TEM Journal of large-scale research facilities JLSRF · Research Centre Jülich · 2016 10.17815/jlsrf-2-66
- Automated determination of size and morphology information from soot transmission electron microscope (TEM)-generated images Journal of Nanoparticle Research · Springer Science+Business Media · 2016 10.1007/s11051-016-3434-x
- Nanomaterial exposure, toxicity, and impact on human health Wiley Interdisciplinary Reviews Nanomedicine and Nanobiotechnology · Wiley · 2018 10.1002/wnan.1513
- A survey on deep learning techniques for image and video semantic segmentation Applied Soft Computing · Elsevier BV · 2018 10.1016/j.asoc.2018.05.018
- Automatic detection, localization and segmentation of nano-particles with deep learning in microscopy images Micron · Elsevier BV · 2019 10.1016/j.micron.2019.02.009
- Measuring particle size distribution of nanoparticle enabled medicinal products, the joint view of EUNCL and NCI-NCL. A step by step approach combining orthogonal measurements with increasing complexity Journal of Controlled Release · Elsevier BV · 2019 10.1016/j.jconrel.2019.02.030
- Legal and practical challenges in classifying nanomaterials according to regulatory definitions Nature Nanotechnology · Nature Portfolio · 2019 10.1038/s41565-019-0396-z
- Particle toxicology and health - where are we? Particle and Fibre Toxicology · BioMed Central · 2019 10.1186/s12989-019-0302-8
- Nanoparticle Characterization: What to Measure? Advanced Materials · Wiley · 2019 10.1002/adma.201901556
- Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01234-2_49
- Evaluating the performance of convolutional neural networks with direct acyclic graph architectures in automatic segmentation of breast lesion in US images BMC Medical Imaging · BioMed Central · 2019 10.1186/s12880-019-0389-2
- Overview: Computer Vision and Machine Learning for Microstructural Characterization and Analysis Metallurgical and Materials Transactions A · Springer Science+Business Media · 2020 10.1007/s11661-020-06008-4
- Classification and biological identity of complex nano shapes Communications Materials · Nature Portfolio · 2020 10.1038/s43246-020-0033-2
- Machine Learning to Reveal Nanoparticle Dynamics from Liquid-Phase TEM Videos ACS Central Science · American Chemical Society · 2020 10.1021/acscentsci.0c00430
- Overview: Computer Vision and Machine Learning for Microstructural Characterization and Analysis Metallurgical and Materials Transactions A · Springer Science+Business Media · 2020 10.1007/s11661-020-06008-4
- Statistical Characterization of the Morphologies of Nanoparticles through Machine Learning Based Electron Microscopy Image Analysis ACS Nano · American Chemical Society · 2020 10.1021/acsnano.0c06809
- AutoDetect-mNP: An Unsupervised Machine Learning Algorithm for Automated Analysis of Transmission Electron Microscope Images of Metal Nanoparticles JACS Au · American Chemical Society · 2021 10.1021/jacsau.0c00030
- Machine Learning Pipeline for Segmentation and Defect Identification from High-Resolution Transmission Electron Microscopy Data Microscopy and Microanalysis · Oxford University Press · 2021 101017s1431927621000386
- Workflow towards automated segmentation of agglomerated, non-spherical particles from electron microscopy images using artificial neural networks Scientific Reports · Nature Portfolio · 2021 10.1038/s41598-021-84287-6
- Machine Learning Pipeline for Segmentation and Defect Identification from High-Resolution Transmission Electron Microscopy Data Microscopy and Microanalysis · Oxford University Press · 2021 10.1017/s1431927621000386
- Data Science for Nano Image Analysis International series in management science/operations research/International series in operations research & management science · Springer Science+Business Media · 2021 10.1007/978-3-030-72822-9
- A Nanoscale Shape-Discovery Framework Supporting Systematic Investigations of Shape-Dependent Biological Effects and Immunomodulation ACS Nano · American Chemical Society · 2021 10.1021/acsnano.1c10074
- Applications of deep learning in electron microscopy Microscopy · Oxford University Press · 2021 10.1093/jmicro/dfab043
- Automated and manual classification of metallic nanoparticles with respect to size and shape by analysis of scanning electron micrographs Materialwissenschaft und Werkstofftechnik · Wiley · 2022 10.1002/mawe.202100285
- A review of analytical methods and models used in atmospheric microplastic research The Science of The Total Environment · Elsevier BV · 2022 10.1016/j.scitotenv.2022.154487
- Deep learning object detection in materials science: Current state and future directions Computational Materials Science · Elsevier BV · 2022 10.1016/j.commatsci.2022.111527
- Deep learning for automated size and shape analysis of nanoparticles in scanning electron microscopy RSC Advances · Royal Society of Chemistry · 2023 10.1039/d2ra07812k