원시데이터 수집 시스템
선정목록으로

Materials property mapping from atomic scale imaging via machine learning based sub-pixel processing

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)(15) 디스플레이 패널재료

기본 정보

저자
  1. Junghun Han — Department of Biomedical Engineering, Yonsei University, Wonju, 26493, Republic of Korea
  2. Kyoung‐June Go — Department of Materials Science and Engineering, Pohang University of Science and Technology, Pohang, 37673, Republic of Korea
  3. Jinhyuk Jang — Department of Materials Science and Engineering, Pohang University of Science and Technology, Pohang, 37673, Republic of Korea
  4. Sejung Yang — Department of Biomedical Engineering, Yonsei University, Wonju, 26493, Republic of Korea
  5. Si‐Young Choi — Department of Materials Science and Engineering, Pohang University of Science and Technology, Pohang, 37673, Republic of Korea
DOI
10.1038/s41524-022-00880-x
저널
npj Computational Materials
발행년도
2022
발행기관
Nature Portfolio
피인용수
15
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41524-022-00880-x
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4296130160

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(6) PEM(고분자전해질막), (15) 디스플레이 패널재료
R&D 측면
분석·모델링
확신도
0.70
근거 용어
atomic scale imaging, STEM, structural analysis, machine learning, perovskite oxide
판단 근거
본 논문은 STEM(주사 투과 전자 현미경) 이미지를 활용해 원자 단위의 구조를 정밀하게 분석하는 머신러닝 기반 알고리즘(PRESTem)을 다룹니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC)용 이온전도성 고분자막이나 디스플레이 소재의 결정 구조 및 계면 분석 등 고도화된 소재 분석 기술에 응용될 수 있습니다.
R&D 활용 포인트
고분자 전해질막(PEM)이나 디스플레이용 기능성 필름의 원자 단위 계면 구조 및 결정 결함 분석 시, 제안된 노이즈 제거 및 서브픽셀 정밀 분석 알고리즘을 도입하여 소재의 물성-구조 상관관계를 규명하는 데 활용 가능합니다.
평가 입력
본문 42,185자 중 30,032자 발췌

초록

Abstract Direct visualization of the atomic structure in scanning transmission electron microscopy has led to a comprehensive understanding of the structure-property relationship. However, a reliable characterization of the structural transition on a picometric scale is still challenging because of the limited spatial resolution and noise. Here, we demonstrate that the primary segmentation of atomic signals from background, succeeded by a denoising process, enables structural analysis in a sub-pixel accuracy. Poisson noise is eliminated using the block matching and three-dimensional filtering with Anscombe transformation, and remnant noise is removed via morphological filtering, which results in an increase of peak signal-to-noise ratio from 7 to 11 dB. Extracting the centroids of atomic columns segmented via K -means clustering, an unsupervised method for robust thresholding, achieves an average error of less than 0.7 pixel, which corresponds to 4.6 pm. This study will contribute to a profound understanding of the local structural dynamics in crystal structures.

본문 42,185자

본문 펼치기
/ pj p ARTICLE OPEN # Materials property mapping from atomic scale imaging via machine learning based sub-pixel processing [2,4](http://orcid.org/0000-0003-1648-142X) ✉ Junghun Han [1,3,](http://orcid.org/0000-0002-9722-1293) Kyoung-June Go [2,3,](http://orcid.org/0000-0001-8574-3302) Jinhyuk Jang [2,](http://orcid.org/0000-0003-3282-5202) Sejung Yang1,4 ✉ and Si-Young Choi Direct visualization of the atomic structure in scanning transmission electron microscopy has led to a comprehensive understanding of the structure-property relationship. However, a reliable characterization of the structural transition on a picometric scale is still challenging because of the limited spatial resolution and noise. Here, we demonstrate that the primary segmentation of atomic signals from background, succeeded by a denoising process, enables structural analysis in a sub-pixel accuracy. Poisson noise is eliminated using the block matching and three-dimensional filtering with Anscombe transformation, and remnant noise is removed via morphological filtering, which results in an increase of peak signal-to-noise ratio from 7 to 11 dB. Extracting the centroids of atomic columns segmented via K-means clustering, an unsupervised method for robust thresholding, achieves an average error of less than 0.7 pixel, which corresponds to 4.6 pm. This study will contribute to a profound <mark>understanding</mark> <mark>of</mark> <mark>the</mark> <mark>local</mark> <mark>structural</mark> <mark>dynamics</mark> <mark>in</mark> <mark>crystal</mark> <mark>structures.</mark> <mark>npj</mark> <mark>Computational</mark> <mark>Materials</mark> <mark>(2022)8:196</mark> <mark>;</mark> <mark>[https://doi.org/10.1038/s41524-022-00880-x](https://doi.org/10.1038/s41524-022-00880-x)</mark> INTRODUCTION Over the past decade, the experimental resolution of scanning transmission electron microscopy (STEM) has been improved using the spherical aberration corrector <sup>1</sup> . This success has enabled the formation of electron beam probes at a size of 1 Å, and the observation of local crystallographic structures at the atomic scale. Beyond an ordinary visualization of atomic structures, quantitative analyses of atomic positions, such as strain <sup>2–4</sup>, polarization <sup>5–9</sup>, and oxygen octahedral tilt <sup>10–13</sup>, have garnered an increasing interest. In general, structural transitions occur at several picometers of shifts in the atomic positions. Accordingly, the precise acquisition of atomic positions is significant in the quantitative analysis of STEM images. The demand for picometer-scale accuracy in atomic positioning motivated us to develop PRESTem, a program for analyzing atomic positions of STEM images at the sub-pixel level. In the STEM images, atomic positions are deduced from the intensity values enclosing the atomic columns. Thus, noise in the intensity level causes inaccurate acquisition of atomic positions; hence, it should be eliminated as the primary factor. In recent years, considerable signal-to-noise ratio (SNR) enhancement has been reported in the summation of multiple images via image registration <sup>14–17</sup>, correcting the positional mismatches between the serially obtained images, which is typically called image drifts. However, in the expense of high signal-to-noise ratio, a summation of multiple images inevitably increases the total electron dose, and it adversely affect the specimen condition by causing structural transition or contamination, which result in degradation of data reliability; hence, a single image enhancement can be a general application for analyzing atomic positions. For single image enhancement, optimization of the Weiner filter and band-pass filter in the frequency domain yielded a considerable noise reduction by exploiting the periodic nature of the crystal structure in atomic scale images <sup>18–20</sup> . In addition, advanced noise filtering techniques, such as principal component analysis (PCA) <sup>15</sup>, nonlocal means filtering <sup>21,22</sup>, and block matching and three dimensional (BM3D) filtering <sup>23,24</sup> have been gradually introduced to the field of electron microscopy from the classical image processing field. However, these techniques are generally effective for Gaussian noise, whereas Poisson noise is the principal noise in STEM images. Advanced computational techniques achieved precise quantification in atomic positions beyond the spatial resolution limit of STEM. The model-based estimation method is the most widely used approach, which adapts the pixel intensities of an atomic column to a specific model function and defines the atomic position where maximal intensity exists <sup>2,5,16,25–30</sup> . Simple twodimensional (2D) quadratic function <sup>30</sup> and 2D Gaussian function <sup>2,5,16,31–33</sup> have been introduced as the model functions. The 2D Gaussian function has been continuously modified with empirical parameters to enhance the accuracy in detecting atomic positions, however, resulted in increased computational burden <sup>25–29,31</sup> . On the other hand, the center of mass method, a conventional approach to locate multiple particles in experimental images, still has a potential to achieve the sub-pixel accuracy, with low computational costs. The fundamental idea of the center of mass method is the summation of the intensities and pixel positions belonging to the particles. An optimal use of the center of mass method can yield a precision of 0.017 pixels with a low computational burden <sup>34</sup> . The simplicity of the method has enabled its easy application in locating atomic columns in STEM images <sup>10,27–29</sup> . However, in most applications, the pixels to be summed using the center of mass method are approximately estimated from the lattice spacings and atomic column radii. This rough selection of estimating region inevitably includes background signal outside the atomic columns, resulting in a degraded accuracy. Thus, a clear separation of atoms from the background was set to be the starting point in the application of the center of mass method to detect atomic positions in STEM images. Several software tools with unique combinations of denoising techniques and algorithms for determining atomic locations have 1Department of Biomedical Engineering, Yonsei University, Wonju 26493, Republic of Korea. 2Department of Materials Science and Engineering, Pohang University of Science and Technology, Pohang 37673, Republic of Korea. <sup>3</sup> These authors contributed equally: Junghun Han, Kyoung-June Go. <sup>4</sup> These authors jointly supervised this work: Sejung Yang, SiYoung Choi. <sup>✉</sup> email: [syang@yonsei.ac.kr;](mailto:syang@yonsei.ac.kr) [youngchoi@postech.ac.kr](mailto:youngchoi@postech.ac.kr) Noise reduction Noises in STEM images can be modeled using Poisson and Gaussian distributions. Unlike Gaussian noise, which appears independently of images, Poisson noise is difficult to handle because it appears in an image-dependent form. However, owing to the characteristics of STEM images, the Poisson component cannot be excluded <sup>35</sup> . Hence, we applied a mixed Poisson–Gaussian model for noise modeling. Poisson-Gaussian noise modeling is defined as follows: zðxÞ ¼ yðxÞ þ σðyðxÞÞgðxÞ (1) where x ∈ X is the pixel position in the image domain X, z is the observed signal, y is the original noise-free signal, σ is a function that represents the standard deviation of the entire noise component, and g represents an independent random noise with a zero mean and standard deviation of 1 <sup>36</sup> . The noise elimination process consists of three steps: noise estimation, Anscombe transformation, and BM3D. The first step is the noise estimation of images, which estimates the variance of Gaussian and Poisson noises <sup>36</sup> . Noise estimation is a method of dividing an image into patches to locally estimate the standard deviations of the noise components in each patch and fit the estimated values of noise components in the entire image to equalize the noise distribution in each area of the image. We investigated the effects of exposure time on the acquisition process of experimental HAADF–STEM images (Supplementary Note 2). Our results confirmed that the standard deviations of Gaussian noise ranged from 0 to 13.54, whereas those of Poisson noise ranged from 41.70 to 67.63, which verifies the dominance of Poisson noise in STEM images. Anscombe transformation step <sup>37,38</sup> stabilizes the variance of Poisson noise and makes it a constant value. This process can transform Poisson noise into Gaussian noise and eliminate it using the Gaussian noise removal method. The last step is BM3D, which is an effective denoising method for Gaussian noise <sup>23</sup> . BM3D consists of the two iterative processes, including the grouping and collaborative filtering, as shown in Fig. 2. In the initial grouping stage, the noisy image is partitioned into several fragments and grouped into blocks with similar ones, as shown by the blue boxes in Fig. 2. The image fragments are matched by the similarity index of each fragment (L2- distance). In the collaborative filtering stage, each block is linearly transformed into a 3D form, and the noise is attenuated using a hard threshold. The primary denoised image blocks are restored to the original 2D form and position. As initial collaborative filtering is completed, a second grouping process is conducted on the filtered image, achieving an enhanced block matching, as shown by the red boxes in Fig. 2. A final estimate of the true signals with minimized noise is generated owing to the additional collaborative filtering using the Wiener filtering on the image blocks. After the denoising process, blur and stains with bias remain in the background. In addition, strengthening of atomic contrast is required for precise segmentation. To this end, background correction and histogram stretching are performed. Morphological filtering is an effective method to remove stains and bias in the background <sup>39</sup> . In gray scale image, morphological dilation is the process of adding the structural operator values to the image intensity value and then selecting the maximum value among them to perform the calculation. As a result of morphological dilation, the bright part of the image increases. Conversely, morphological erosion is a method that selects and calculates the minimum value among the difference between the intensity value of the image and the structural operator, and the dark part of the image increases. Morphological opening, a combination of these two methods, is used to remove stains and bias from the background. In the morphological opening process, the image is first eroded and subsequently dilated to estimate the trend in the 2 J. Han et al. been presented <sup>28–30</sup> . Peak pairs analysis (PPA) <sup>30</sup>, originally developed for phase contrast images in conventional TEM, has been extensively used for STEM images <sup>25</sup> . As a pathfinder, PPA employs simple algorithms, such as the selected inverse Fourier transformation for noise reduction and 2D quadratic fitting for locating atomic columns, providing limited information on the crystal structure. CalAtom provides multiple choices for denoising and locating processes <sup>28</sup> . However, CalAtom focuses on the intensity of each heavy element in 2D materials rather than their positions. Consequently, it is not optimized to extract information from atomic peaks with weak signals, such as oxygen. Atomap is represented by a 3-step serial fitting process for independent chemical species <sup>29</sup> . Atomap initially finds atomic positions using a local maximum greater than the intensity threshold from a denoised image with 1D PCA, and then iteratively refines the positions using the center of mass and 2D Gaussian methods. However, this procedure significantly increases the computational cost. One of the main contributions of this study is the evaluation of the precision of atomic positions extracted using the proposed method and other reported approaches. Here, we propose a strategy for the precise analysis of atomic structures based on the image enhancement and detection algorithm optimized for atomic scale STEM images. Moreover, image enhancement is achieved by removing the predominant Poisson noise from the combination of Anscombe transform and BM3D. Additionally, morphological filtering and histogram stretching were applied to enhance the weak signals of light elements. For the precise detection of atomic positions, the binarization of atomic columns and background is introduced, which effectively defines the fitting region for the center of mass method. By using K-means clustering, an unsupervised learning method, this binarization can be achieved without any user intervention. The remainder of this paper is organized as follows. First, we describe the proposed noise reduction process for image enhancement and atomic segmentation. Next, we evaluate and compare the reliability of the acquired atomic positions using the PRESTem and other available software tools. Subsequently, the structural analysis of the perovskite oxide is presented. Finally, we draw the conclusions and describe the outlook for the PRESTem. RESULTS AND DISCUSSION For structural analysis of STEM images, the peak position of each atom should be accurately determined. However, STEM images are difficult to analyze owing to their low resolution caused by noises during the acquisition process. To guarantee the analytical accuracy of STEM imaging, we propose the sequential steps as follows: (i) pre-processing for noise reduction, and (ii) segmented searching for atom positioning. To this end, both high-angle annular dark field (HAADF) and annular bright field (ABF) images were effectively utilized to segment the entire atoms; thus, the positions of the heavy and light atoms are detected from the HAADF and ABF images, respectively. Figure 1 shows a flowchart of the proposed methodology. In the pre-processing step, the noise in the STEM image was removed using BM3D. Morphological filtering was subsequently performed to remove the background stains. In addition, histogram stretching was performed to increase the contrast between the atoms and background. In the segmentation step, K-means clustering was employed, which separates atoms and background as a binarized form. The coordinates of each atom were obtained from the center of mass in the binarized image. During the entire process, we first obtained the coordinates of heavy atoms in the HAADF image using the above process followed by the coordinates of light atoms in the ABF, except those found in the HAADF image (more details in Supplementary Note 1). J. Han et al. Fig. 1 Flowchart for STEM image analysis process. Entire workflow of precise atomic peak analysis in parallelly acquired HAADF–STEM and ABF–STEM images of SrTiO3 along the zone axis of [100]. Preprocessing steps reduce noise and enhance the peak contrast. Segmentation steps achieve the coordinate information of atomic columns. 3 4 J. Han et al. Fig. 2 Illustration of how block matching and 3D filtering removes noise in STEM images. Group-wise block matching is performed to reduce noise in the STEM images. Block-matching 3D filtering consists of two steps. Using block matching, noise blocks are stacked in a 3D form and denoised by hard thresholding. Subsequently, another block matching and Wiener filtering are performed using the denoised block as a ground truth. Fig. 3 Graphical representation of segmentation process. a Patched image and corresponding intensity 3D map of the simulated STEM image. b Segmented STEM image from K-means clustering. c Entire segmentation result and extracted atomic coordinates of STEM image. The red dots represent the position of each atomic column. background signal. By subtracting the estimated background from the denoised image, small noise and stains in the background are eliminated (Supplementary Note 3). Next, histogram stretching is performed to emphasize only the peak part of atoms. Unlike histogram equalization, histogram stretching is more appropriate for the segmentation of background and atoms because it can emphasize the desired intensity part. Finding the atomic positions The conventional methods <sup>25–29,31</sup> have implemented segmentation using the Gaussian fittings. However, because the actual atoms are not always Gaussian, we applied the K-means clustering to binarize the background and atoms in the proposed method. Figure 3 shows the entire segmentation process. Figure 3a demonstrates the simulated STEM image, which reveals that the target images are not in a perfect Gaussian form. K-means clustering divides the data into clusters of specified k based on the intensity levels of the images <sup>40</sup> . In this method, the data are divided by minimizing the variance of the distance in each cluster through iteration. As K-means clustering is an unsupervised method, when only k clusters are set, other parameters are not needed because the method does not require the ground truth. Thus, we performed K-means clustering to segment the background and atoms of the STEM image (Fig. 3b). To find the correct atomic coordinates after K-means clustering, the center of mass of the individual binarized column was set as an atom position. Figure 3c presents the results of applying the Kmeans clustering and center of mass method to determine atomic positions in the entire STEM image. After these peak detection process, all atoms are classified by inputting unit cell information through our program (see Supplementary Note 4). Performance depending on the noise level The performance of our proposed noise reduction method was evaluated by varying the noise parameters and comparing the obtained results with those of the conventional denoising techniques <sup>18,19,23</sup> . Test images for the evaluation were generated from the simulated HAADF–STEM image of SrTiO3, with an incremental Poisson noise σP in the range of 20–80, fixed Gaussian noise of σG = 10, and additional background noise equivalent to 10% of the maximum intensity. Except for image noise, we excluded other nonideal simulation parameters influencing the atomic positions in the STEM image, such as sample mistilt, aberrations, thermal vibrations, and defocus. Detailed information for simulation condition is in “Methods.” The criterion for the performance is set to be the peak signal-to-noise ratio (PSNR) calculated using the mean squared error between the true and J. Han et al. Fig. 4 Performance of noise removal and precision of atomic positions depending on the input noise. a Simulated HAADF–STEM images corrupted by artificial Poisson noise and corresponding denoised images using the BM3D method and morphological filter. b Dependencies of PSNR on the artificial Poisson noise in input images, where σP denotes the standard deviation of Poisson noise. c Precision of estimated atomic columns acquired using our proposed method depending on the artificial Poisson noise. Black lines are one standard deviation of the error. 5 target signals. A higher PSNR indicates a more similar target image to the original image. Figure 4a shows that our proposed method exhibits a visually stable denoising performance regardless of the input noise level, which corresponds to the stable PSNR values presented in Fig. 4b (comparisons with actual denoised results in Supplementary Note 5). Our noise reduction method, represented by the Anscombe transform, BM3D, and morphological filtering enhances the PSNR by approximately 8–12 dB compared to the noisy input image. It is noted that our proposed method shows better performance compared to other denoising techniques, including the BM3Donly, at every noise level. This is because these denoising techniques cannot efficiently remove the background noise alone; however, they significantly affect the image quality (Supplementary Note 6). Additionally, we investigated the reliability of the atomic positions depending on the input noise level. Figure 4c shows the average errors of the atomic positions acquired from the denoised HAADF–STEM images for each noise parameter. As the noise level increases, the accuracy of the peak positions deteriorates, whereas PSNR of the denoised images exhibits a slight change. However, our proposed method exhibits a sub-pixel precision under severe noise conditions. Benchmark We benchmarked our proposed method against other reported methods <sup>28–30</sup> by comparing the precision of the estimated atomic positions. Simulated HAADF–STEM images with identified atomic positions are employed again for the benchmarks. Here, PoissonGaussian noise was applied with a Poisson noise of σP = 40 and Gaussian noise of σG = 10, which are estimated using the experimental HAADF–STEM images and noise estimation algorithm <sup>36</sup> . Figure 5a shows a partial area of the final test image with an artificial noise. The Sr atomic columns exhibit a brighter contrast compared to the Ti atomic columns. Oxygens do not appear in the HAADF image because of their small scattering angles. Ground truth, the actual atomic positions of the simulated images, were derived from the fractional coordinates of the input crystal structure and pixel scale of the simulated image. 6 J. Han et al. Fig. 5 Comparison of the accuracies on atomic coordinates. a Simulated HAADF–STEM image of SrTiO3 with artificial Poisson–Gaussian noise along the zone axis of [100]. The green, cyan, and red circles denote Sr, Ti, and O, respectively. The inset shows the noise-free simulation image. b Coordinates error using a combination of the K-means clustering and center of mass method (PRESTem). c 9-point 2D quadratic fitting (PPA). d Multiple ellipse fitting (CalAtom). e 2D Gaussian fitting (Atomap). Each colored dot denotes the deviation from the ground truth. The top and right graphs present the normal distribution of errors in each x- and y-component. The black lines show the one standard deviation of error. The atomic positions of the Sr and Ti sites were extracted using PRESTem from the test image and compared with the ground truth. Figure 5b shows the distribution of errors in both the x- and y-axis. The average error and standard deviation are 0.71 and 0.51 pixels, respectively, which implies the achievement of sub-pixel precision. The average error and standard deviation were calculated using the absolute values of errors. Histograms in two side panels of Fig. 5b count the error points at intervals of 0.1 pixels along both axes. These histograms demonstrate a normal distribution centered at the zero-error point, revealing no biases in the acquired atomic positions. To compare the obtained results with those of the other STEM analysis programs, such as Peak pairs analysis (PPA) <sup>30</sup>, CalAtom <sup>28</sup>, and Atomap <sup>29</sup>, the same evaluation tests were performed. These three programs were selected as they employ different denoising techniques and locating algorithms for atomic positions. All processes of atomic positioning were followed using the available manuals, except for PPA that we changed the denoising technique to that of PRESTem. This was because the Bragg filter, the denoising technique in PPA, generated false atomic intensities in the blank space. The information for computation time is given in Supplementary Note 6, which includes the dependency of computational time on the number of atomic columns in the STEM images. Figure 5c presents the error distribution of PPA. The average error and standard deviation are 1.88 and 1.17 pixels, respectively. The error points were randomly spread, and no bias was observed. CalAtom yields an average accuracy and a standard deviation of 1.82 and 1.54 pixels, respectively, using a Gaussian noise filter and multiple-ellipse fitting (MEF) method <sup>41</sup> . Although CalAtom exhibits normally distributed error points near the origin in Fig. 5d, it has a similar average error and larger standard deviation compared to PPA because of its larger maximum error. Atomap, combined with 1D PCA denoising and multistep fitting process represented by 2D elliptical Gaussian, presents an average accuracy of 0.83 pixels and a standard deviation of 0.35 pixels. These values were comparable to or even better than those of PRESTem. However, the error points are biased along the y-axis in Fig. 5e, and the iterative process excessively increases the computational time one to two orders of magnitude larger than that of PRESTem (Supplementary Fig. 5). The center of mass method used in PRESTem is one of the fastest algorithms for locating particles in experimental images. However, its accuracy is often undervalued compared to modelbased estimation methods. Dedicated denoising techniques for Poisson noise and accurate selection of the fitting region can increase the accuracy compared to model-based estimation methods, while maintaining its fast speed. Demonstration Based on the atomic coordinates, the local structural information of materials can be derived at the unit cell scale, the so-called peak analysis. In practice, the accuracy of structural information obtained using the peak analysis should be confirmed in addition to the precision of the acquired atomic coordinates. In this study, we adopted the ABO3 perovskite system as a pilot target in J. Han et al. Fig. 6 Examples of structural analysis using atomic peak positions. a Denoised HAADF–STEM simulation image of SrTiO3 with an arbitrary ferroelectric vortex structure. The vector plot shows Ti off-centering from the neighboring Sr atoms. b Magnified image of the orange-boxed region shown in a. Each Ti atom is displaced from the center of the unit cell. c Detailed evaluation of Ti-displacement in the orange-boxed region shown in a. The truth value is calculated from coordinate information of the simulated structure, and evaluated value is derived by PRESTem. d Denoised HAADF–STEM simulation image of the SrTiO3/PbTiO3/SrTiO3 superlattice. e Evaluation of the c over a ratio from in each unit cell in d. The gray region and error bars indicate standard deviation of the error. 7 PRESTem and implemented an automated peak analysis procedure (Supplementary Note 7). Perovskite oxide systems have been widely studied owing to their valuable functional properties, including superconductivity, ferroelectricity, piezo-, and metal–insulator transition. Despite the simple crystallographic structure of ABO3, the functional properties of perovskite oxides arise from various structural transitions, such as, polar distortion, lattice elongation, and lattice shear. Thus, investigation should be conducted on these structural changes in perovskite oxides to unveil the relationship between the functional property and its crystallographic structure. In this context, we evaluated the accuracy of the quantification by estimating the atomic displacement and the ratio between the lattice parameters c and a (c over a ratio) of the perovskite structure. As for the atomic displacement, both the magnitude and angle of the displacement vector are important for the classification of the phase and estimation of polarity. Therefore, we defined an arbitrary system with SrTiO3, mimicking the polar vortex discovered in the perovskite oxide superlattice <sup>42</sup> . In this arbitrary structure, each Ti atom is displaced from the centroid of neighboring Sr atoms, while displacements are arranged in a vortex shape (Fig. 6a, b). The HAADF–STEM simulation was conducted along the [100] zone axis, and the output image was corrupted with a Poisson noise of σP = 40 and Gaussian noise of σG = 10, the same parameters used in benchmarks. Displacements of the Ti atoms were evaluated using PRESTem and compared with the true values provided from the simulated structure. The average and standard deviation of the error were 1.57 pm/4.25° and 1.13 pm/3.07°, respectively, calculated from 256 unit cells. A detailed comparison of the selected 8 unit cells is presented in Fig. 6c. Consequently, the proposed method guarantees an error of <3 pm. In addition, the tendency of a gradual decrease in the displacement angle was maintained in the evaluated results despite some errors. To demonstrate the c over a ratio evaluation in the heterostructure, HAADF–STEM simulations were conducted on the (SrTiO3)10/(PbTiO3)10 superlattice (Fig. 6d). In this structure, the lattice parameter c in PbTiO3 is compressed and gradually changes between the interface <sup>43</sup> . This image was corrupted with the same Poisson-Gaussian noise, and subsequently processed with PRESTem, which is comparable to the displacement test above. The evaluated c over a ratio in the PbTiO3 layers was in the range of 1.00–1.05, which is in accordance with the truth value, as shown in Fig. 6e. Remarkably, the standard deviation was 0.014 in the SrTiO3 region compared to 0.004 in the PbTiO3 region. This is because the contrast of Sr diminishes owing to the strong signal of Pb in the atomic number (Z) contrast imaging of HAADF–STEM. In conclusion, we proposed a powerful system for the quantitative analysis of local crystal structures from atomic-scale STEM images. The BM3D, morphological filtering, and histogram stretching processes were applied consecutively that effectively removed the STEM image noise. Segmentation using the unsupervised training method, K-means clustering, robustly separated the atomic signals from the background plane. Centroids of 8 J. Han et al. Table 1. Parameters for HAADF–STEM simulation. Names of parameters Value Acceleration voltage 200 kV Defocus 0 nm All aberrations 0 nm Convergence semi-angle 25 mrad Detector collection angle 70–200 mrad Sampling rate 6.6 pm per pixel Source size 60 pm each atomic column were extracted and classified by user-input periodicity. We developed the PRESTem program using these methods with an automated structure analysis. The accuracy of the atomic positions obtained using the PRESTem program was evaluated and compared with that of the existing programs represented by 2D quadratic fitting, MEF optimization, and 2D Gaussian fitting. With the binary segmentation process of K-means clustering, the commonly undervalued centroid method in PRESTem exhibited errors of less than 1 pixel, which was comparable to that of the 2D Gaussian fitting without high computational costs and biased errors. Recent progress in STEM imaging has enabled rapid acquisition of atomic images with valuable information. The development of a precise and automated analytical method can bridge the gap between the two processes of image acquisition and image analysis. It is expected that our program will provide an opportunity for the statistical investigation of the material system overcoming the technical limitations of STEM, which cannot represent the overall characteristics of the specimen. In addition, our proposed methods for image enhancement and locating atomic positions can be robustly applied to atomic-scale STEM images of any other crystallographic structures, while structural quantification is preliminarily focused on perovskite. METHODS STEM simulations Except for the demonstration part, the <u>input</u> crystal structure for the simulation was built from cubic Pm3m SrTiO3, but Ti positions in each unit cell were arbitrarily modified to diversify the atomic positions. Within 20 × 20 × 1 cells of SrTiO3, all Ti atoms had a deviation of 20 pm from the body-centered position, along a random direction under the (100) plane. In all crystal structure for the STEM simulation, the decimal point of fractional coordinates was considered up to 6. STEM simulation was conducted by the multi-slice method using Dr. Probe software <sup>44</sup> . Sampling rate was set to be 6.6 pm per pixel, which approximately accords to the experimental imaging condition of 15 million times magnification, and the thickness of specimen was set to be approximately 5 nm by duplicating the input crystal structure along the projection axis. Detailed simulation parameters are in Table 1. DATA AVAILABILITY The data that support the findings of this study are available from the corresponding author upon reasonable request. CODE AVAILABILITY The codes used to calculate the results of this study are available from the corresponding author upon reasonable request. Also, our program is publicly available on GitHub [(https://github.com/Cheque93/PRESTem).](https://github.com/Cheque93/PRESTem) Received: 10 January 2022; Accepted: 25 August 2022; REFERENCES 1. Nellist, P. D. et al. Direct sub-angstrom imaging of a crystal lattice. Science 305, 1741–1741 (2004). 2. Llordes, A. et al. Nanoscale strain-induced pair suppression as a vortex-pinning mechanism in high-temperature superconductors. Nat. Mater. 11, 329–336 (2012). 3. Mukherjee, D., Gamler, J. T. L., Skrabalak, S. E. & Unocic, R. R. Lattice strain measurement of core@shell electrocatalysts with 4D scanning transmission electron microscopy nanobeam electron diffraction. ACS Catal. 10, 5529–5541 (2020). 4. Yun, S. et al. Flexopiezoelectricity at ferroelastic domain walls in WO3 films. Nat. Commun. 11, 4898 (2020). 5. Lee, D. et al. Emergence of room-temperature ferroelectricity at reduced dimensions. Science 349, 1314–1317 (2015). 6. Susarla, S. et al. Atomic scale crystal field mapping of polar vortices in oxide superlattices. Nat. Commun. 12, 1–7 (2021). 7. Du, K. et al. Manipulating topological transformations of polar structures through real-time observation of the dynamic polarization evolution. Nat. Commun. 10, 1–8 (2019). 8. Nelson, C. T. et al. Spontaneous vortex nanodomain arrays at ferroelectric heterointerfaces. Nano Lett. 11, 828–834 (2011). 9. Nukala, P. et al. Reversible oxygen migration and phase transitions in hafniabased ferroelectric devices. Science 372, 630–635 (2021). 10. Zhu, Y., Withers, R. L., Bourgeois, L., Dwyer, C. & Etheridge, J. Direct mapping of Lienabled octahedral tilt ordering and associated strain in nanostructured perovskites. Nat. Mater. 14, 1142–1149 (2015). 11. Kim, T. et al. Polar metals by geometric design. Nature 533, 68–72 (2016). 12. Lee, J. et al. Template engineering of metal-to-insulator transitions in epitaxial bilayer nickelate thin films. ACS Appl. Mater. Interfaces 13, 54466–54475 (2021). 13. Aso, R., Kan, D., Shimakawa, Y. & Kurata, H. Atomic level observation of octahedral distortions at the perovskite oxide heterointerface. Sci. Rep. 3, 2214 (2013). 14. Jones, L. et al. Smart Align—a new tool for robust non-rigid registration of scanning microscope data. Adv. Struct. Chem. 1, 1–16 (2015). 15. Yankovich, A. B. et al. Non-rigid registration and non-local principle component analysis to improve electron microscopy spectrum images. Nanotechnology 27, 364001 (2016). 16. Yankovich, A. B. et al. Picometre-precision analysis of scanning transmission electron microscopy images of platinum nanocatalysts. Nat. Commun. 5, 1–7 (2014). 17. Ophus, C., Ciston, J. & Nelson, C. T. Correcting nonlinear drift distortion of scanning probe and scanning transmission electron microscopies from image pairs with orthogonal scan directions. Ultramicroscopy 162, 1–9 (2016). 18. Kushwaha, H. S., Tanwar, S., Rathore, K. & Srivastava, S. De‐noising filters for TEM (Transmission Electron Microscopy) image of nanomaterials. In Proc. 2012 Second International Conference on Advanced Computing & Communication Technologies, ACCT 2012 276–281 (IEEE, 2012). 19. Marks, L. Wiener-filter enhancement of noisy HREM images. Ultramicroscopy 62, 43–52 (1996). 20. Ishizuka, K., Eilers, P. H. & Kogure, T. Optimal noise filters in high-resolution electron microscopy. Micros. Today 15, 16–21 (2007). 21. Buades, A., Coll, B. & Morel, J.-M. A non-local algorithm for image denoising. In 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05) 60–65 (IEEE, 2005). 22. Wei, D.-Y. & Yin, C.-C. An optimized locally adaptive non-local means denoising filter for cryo-electron microscopy data. J. Struct. Biol. 172, 211–218 (2010). 23. Dabov, K., Foi, A., Katkovnik, V. & Egiazarian, K. Image denoising by sparse 3-D transform-domain collaborative filtering. IEEE Trans. Image Process 16, 2080–2095 (2007). 24. Mevenkamp, N. et al. Poisson noise removal from high-resolution STEM images based on periodic block matching. Adv. Struct. Chem. 1, 1–19 (2015). 25. Anthony, S. M. & Granick, S. Image analysis with rapid and accurate twodimensional Gaussian fitting. Langmuir 25, 8152–8160 (2009). 26. Van den Bos, K. et al. Locating light and heavy atomic column positions with picometer precision using ISTEM. Ultramicroscopy 172, 75–81 (2017). 27. Wang, Y., Salzberger, U., Sigle, W., Suyolcu, Y. E. & van Aken, P. A. Oxygen octahedra picker: a software tool to extract quantitative information from STEM images. Ultramicroscopy 168, 46–52 (2016). 28. Zhang, Q., Zhang, L., Jin, C., Wang, Y. & Lin, F. CalAtom: a software for quantitatively analysing atomic columns in a transmission electron microscope image. Ultramicroscopy 202, 114–120 (2019). 9 29. Nord, M., Vullum, P. E., MacLaren, I., Tybell, T. & Holmestad, R. Atomap: a new software tool for the automated analysis of atomic resolution images using twodimensional Gaussian fitting. Adv. Struct. Chem. 3, 1–12 (2017). 30. Galindo, P. L. et al. The Peak Pairs algorithm for strain mapping from HRTEM images. Ultramicroscopy 107, 1186–1193 (2007). 31. Gao, P. et al. Picometer-scale atom position analysis in annular bright-field STEM imaging. Ultramicroscopy 184, 177–187 (2018). 32. Aso, K., Shigematsu, K., Yamamoto, T. & Matsumura, S. Detection of picometerorder atomic displacements in drift-compensated HAADF-STEM images of gold nanorods. J. Electron Microsc. 65, 391–399 (2016). 33. Mukherjee, D., Miao, L., Stone, G. & Alem, N. mpfit: a robust method for fitting atomic resolution images with multiple Gaussian peaks. Adv. Struct. Chem. 6, 1–12 (2020). 34. Feng, Y., Goree, J. & Liu, B. Accurate particle position measurement from images. Rev. Sci. Instrum. 78, 053704 (2007). 35. Jones, L. & Nellist, P. D. Identifying and correcting scan noise and drift in the scanning transmission electron microscope. Microsc. Microanal. 19, 1050–1060 (2013). 36. Foi, A., Trimeche, M., Katkovnik, V. & Egiazarian, K. Practical Poissonian-Gaussian noise modeling and fitting for single-image raw-data. IEEE Trans. Image Process 17, 1737–1754 (2008). 37. Anscombe, F. J. The transformation of Poisson, binomial and negative-binomial data. Biometrika 35, 246–254 (1948). 38. Makitalo, M. & Foi, A. Optimal inversion of the Anscombe transformation in lowcount Poisson image denoising. IEEE Trans. Image Process 20, 99–109 (2010). 39. Soille, P. Morphological Image Analysis: Principles and Applications 2nd edn (Springer, 1999). 40. Hartigan, J. A. & Wong, M. A. Algorithm AS 136: a k-means clustering algorithm. J. R. Stat. Soc. C Appl. Stat. 28, 100–108 (1979). 41. Zhang, Q. et al. Multiple-ellipse fitting method to precisely measure the positions of atomic columns in a transmission electron microscope image. Micron 113, 99–104 (2018). 42. Yadav, A. et al. Observation of polar vortices in oxide superlattices. Nature 530, 198–201 (2016). 43. Kim, G.-Y. et al. Disordered ferroelectricity in the PbTiO3/SrTiO3 superlattice thin film. APL Mater. 5, 066104 (2017). 44. Barthel, J. Dr. Probe: a software for high-resolution STEM image simulation. Ultramicroscopy 193, 1–11 (2018). ACKNOWLEDGEMENTS This work was supported by the Global Frontier Hybrid Interface Materials of the National Research Foundation of Korea (NRF) funded by the Ministry of Science and ICT (2013M3A6B1078872). S.-Y.C. acknowledges the support of Korea Basic Science J. Han et al. Institute (National research Facilities and Equipment Center) grant funded by the Ministry of Education. (2020R1A6C101A202). AUTHOR CONTRIBUTIONS J.H. and K.-J.G. are the co-first authors of this paper. K.-J.G. performed the STEM simulation and analyzed the algorithms. J.H. designed the algorithms and wrote the entire code. J.J. performed the experimental STEM imaging to collect atomic-scale images. K.-J.G. and J.H. wrote the manuscript, and all authors contributed the results and commented on the manuscript. COMPETING INTERESTS The authors declare no competing interests. ADDITIONAL INFORMATION Supplementary information The online version contains supplementary material available at [https://doi.org/10.1038/s41524-022-00880-x.](https://doi.org/10.1038/s41524-022-00880-x) Correspondence and requests for materials should be addressed to Sejung Yang or Si-Young Choi. Reprints and permission information is available at [http://www.nature.com/](http://www.nature.com/reprints) [reprints](http://www.nature.com/reprints) Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit [http://](http://creativecommons.org/licenses/by/4.0/) [creativecommons.org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2022

섹션 본문 29문단 · 27,444자

(제목 없음)

1Direct visualization of the atomic structure in scanning transmission electron microscopy has led to a comprehensive understanding of the structure-property relationship. However, a reliable characterization of the structural transition on a picometric scale is still challenging because of the limited spatial resolution and noise. Here, we demonstrate that the primary segmentation of atomic signals from background, succeeded by a denoising process, enables structural analysis in a sub-pixel accuracy. Poisson noise is eliminated using the block matching and three-dimensional filtering with Anscombe transformation, and remnant noise is removed via morphological filtering, which results in an increase of peak signal-to-noise ratio from 7 to 11 dB. Extracting the centroids of atomic columns segmented via K-means clustering, an unsupervised method for robust thresholding, achieves an average error of less than 0.7 pixel, which corresponds to 4.6 pm. This study will contribute to a profound understanding of the local structural dynamics in crystal structures.npj Computational Materials (2022) 8:196 ; https://doi.

INTRODUCTION

2Over the past decade, the experimental resolution of scanning transmission electron microscopy (STEM) has been improved using the spherical aberration corrector 1 . This success has enabled the formation of electron beam probes at a size of 1 Å, and the observation of local crystallographic structures at the atomic scale. Beyond an ordinary visualization of atomic structures, quantitative analyses of atomic positions, such as strain [2][3][4] , polarization [5][6][7][8][9] , and oxygen octahedral tilt [10][11][12][13] , have garnered an increasing interest. In general, structural transitions occur at several picometers of shifts in the atomic positions. Accordingly, the precise acquisition of atomic positions is significant in the quantitative analysis of STEM images. The demand for picometer-scale accuracy in atomic positioning motivated us to develop PRESTem, a program for analyzing atomic positions of STEM images at the sub-pixel level.

3In the STEM images, atomic positions are deduced from the intensity values enclosing the atomic columns. Thus, noise in the intensity level causes inaccurate acquisition of atomic positions; hence, it should be eliminated as the primary factor. In recent years, considerable signal-to-noise ratio (SNR) enhancement has been reported in the summation of multiple images via image registration [14][15][16][17] , correcting the positional mismatches between the serially obtained images, which is typically called image drifts. However, in the expense of high signal-to-noise ratio, a summation of multiple images inevitably increases the total electron dose, and it adversely affect the specimen condition by causing structural transition or contamination, which result in degradation of data reliability; hence, a single image enhancement can be a general application for analyzing atomic positions. For single image enhancement, optimization of the Weiner filter and band-pass filter in the frequency domain yielded a considerable noise reduction by exploiting the periodic nature of the crystal structure in atomic scale images [18][19][20] . In addition, advanced noise filtering techniques, such as principal component analysis (PCA) 15 , nonlocal means filtering 21,22 , and block matching and three dimensional (BM3D) filtering 23,24 have been gradually introduced to the field of electron microscopy from the classical image processing field. However, these techniques are generally effective for Gaussian noise, whereas Poisson noise is the principal noise in STEM images.

4Advanced computational techniques achieved precise quantification in atomic positions beyond the spatial resolution limit of STEM. The model-based estimation method is the most widely used approach, which adapts the pixel intensities of an atomic column to a specific model function and defines the atomic position where maximal intensity exists 2,5,16,[25][26][27][28][29][30] . Simple twodimensional (2D) quadratic function 30 and 2D Gaussian function 2,5,16,31-33 have been introduced as the model functions. The 2D Gaussian function has been continuously modified with empirical parameters to enhance the accuracy in detecting atomic positions, however, resulted in increased computational burden [25][26][27][28][29]31 . On the other hand, the center of mass method, a conventional approach to locate multiple particles in experimental images, still has a potential to achieve the sub-pixel accuracy, with low computational costs. The fundamental idea of the center of mass method is the summation of the intensities and pixel positions belonging to the particles. An optimal use of the center of mass method can yield a precision of 0.017 pixels with a low computational burden 34 . The simplicity of the method has enabled its easy application in locating atomic columns in STEM images 10,[27][28][29] . However, in most applications, the pixels to be summed using the center of mass method are approximately estimated from the lattice spacings and atomic column radii. This rough selection of estimating region inevitably includes background signal outside the atomic columns, resulting in a degraded accuracy. Thus, a clear separation of atoms from the background was set to be the starting point in the application of the center of mass method to detect atomic positions in STEM images.

5Several software tools with unique combinations of denoising techniques and algorithms for determining atomic locations have been presented [28][29][30] . Peak pairs analysis (PPA) 30 , originally developed for phase contrast images in conventional TEM, has been extensively used for STEM images 25 . As a pathfinder, PPA employs simple algorithms, such as the selected inverse Fourier transformation for noise reduction and 2D quadratic fitting for locating atomic columns, providing limited information on the crystal structure. CalAtom provides multiple choices for denoising and locating processes 28 . However, CalAtom focuses on the intensity of each heavy element in 2D materials rather than their positions. Consequently, it is not optimized to extract information from atomic peaks with weak signals, such as oxygen. Atomap is represented by a 3-step serial fitting process for independent chemical species 29 . Atomap initially finds atomic positions using a local maximum greater than the intensity threshold from a denoised image with 1D PCA, and then iteratively refines the positions using the center of mass and 2D Gaussian methods. However, this procedure significantly increases the computational cost. One of the main contributions of this study is the evaluation of the precision of atomic positions extracted using the proposed method and other reported approaches.

6Here, we propose a strategy for the precise analysis of atomic structures based on the image enhancement and detection algorithm optimized for atomic scale STEM images. Moreover, image enhancement is achieved by removing the predominant Poisson noise from the combination of Anscombe transform and BM3D. Additionally, morphological filtering and histogram stretching were applied to enhance the weak signals of light elements. For the precise detection of atomic positions, the binarization of atomic columns and background is introduced, which effectively defines the fitting region for the center of mass method. By using K-means clustering, an unsupervised learning method, this binarization can be achieved without any user intervention. The remainder of this paper is organized as follows. First, we describe the proposed noise reduction process for image enhancement and atomic segmentation. Next, we evaluate and compare the reliability of the acquired atomic positions using the PRESTem and other available software tools. Subsequently, the structural analysis of the perovskite oxide is presented. Finally, we draw the conclusions and describe the outlook for the PRESTem.

RESULTS AND DISCUSSION

7For structural analysis of STEM images, the peak position of each atom should be accurately determined. However, STEM images are difficult to analyze owing to their low resolution caused by noises during the acquisition process. To guarantee the analytical accuracy of STEM imaging, we propose the sequential steps as follows: (i) pre-processing for noise reduction, and (ii) segmented searching for atom positioning. To this end, both high-angle annular dark field (HAADF) and annular bright field (ABF) images were effectively utilized to segment the entire atoms; thus, the positions of the heavy and light atoms are detected from the HAADF and ABF images, respectively. Figure 1 shows a flowchart of the proposed methodology. In the pre-processing step, the noise in the STEM image was removed using BM3D. Morphological filtering was subsequently performed to remove the background stains. In addition, histogram stretching was performed to increase the contrast between the atoms and background. In the segmentation step, K-means clustering was employed, which separates atoms and background as a binarized form. The coordinates of each atom were obtained from the center of mass in the binarized image. During the entire process, we first obtained the coordinates of heavy atoms in the HAADF image using the above process followed by the coordinates of light atoms in the ABF, except those found in the HAADF image (more details in Supplementary Note 1).

Noise reduction

8Noises in STEM images can be modeled using Poisson and Gaussian distributions. Unlike Gaussian noise, which appears independently of images, Poisson noise is difficult to handle because it appears in an image-dependent form. However, owing to the characteristics of STEM images, the Poisson component cannot be excluded 35 . Hence, we applied a mixed Poisson-Gaussian model for noise modeling. Poisson-Gaussian noise modeling is defined as follows:

9where x ∈ X is the pixel position in the image domain X, z is the observed signal, y is the original noise-free signal, σ is a function that represents the standard deviation of the entire noise component, and g represents an independent random noise with a zero mean and standard deviation of 1 36 . The noise elimination process consists of three steps: noise estimation, Anscombe transformation, and BM3D. The first step is the noise estimation of images, which estimates the variance of Gaussian and Poisson noises 36 . Noise estimation is a method of dividing an image into patches to locally estimate the standard deviations of the noise components in each patch and fit the estimated values of noise components in the entire image to equalize the noise distribution in each area of the image. We investigated the effects of exposure time on the acquisition process of experimental HAADF-STEM images (Supplementary Note 2). Our results confirmed that the standard deviations of Gaussian noise ranged from 0 to 13.54, whereas those of Poisson noise ranged from 41.70 to 67.63, which verifies the dominance of Poisson noise in STEM images.

10Anscombe transformation step 37,38 stabilizes the variance of Poisson noise and makes it a constant value. This process can transform Poisson noise into Gaussian noise and eliminate it using the Gaussian noise removal method. The last step is BM3D, which is an effective denoising method for Gaussian noise 23 . BM3D consists of the two iterative processes, including the grouping and collaborative filtering, as shown in Fig. 2. In the initial grouping stage, the noisy image is partitioned into several fragments and grouped into blocks with similar ones, as shown by the blue boxes in Fig. 2. The image fragments are matched by the similarity index of each fragment (L2-distance). In the collaborative filtering stage, each block is linearly transformed into a 3D form, and the noise is attenuated using a hard threshold. The primary denoised image blocks are restored to the original 2D form and position. As initial collaborative filtering is completed, a second grouping process is conducted on the filtered image, achieving an enhanced block matching, as shown by the red boxes in Fig. 2. A final estimate of the true signals with minimized noise is generated owing to the additional collaborative filtering using the Wiener filtering on the image blocks.

11After the denoising process, blur and stains with bias remain in the background. In addition, strengthening of atomic contrast is required for precise segmentation. To this end, background correction and histogram stretching are performed. Morphological filtering is an effective method to remove stains and bias in the background 39 . In gray scale image, morphological dilation is the process of adding the structural operator values to the image intensity value and then selecting the maximum value among them to perform the calculation. As a result of morphological dilation, the bright part of the image increases. Conversely, morphological erosion is a method that selects and calculates the minimum value among the difference between the intensity value of the image and the structural operator, and the dark part of the image increases. Morphological opening, a combination of these two methods, is used to remove stains and bias from the background. In the morphological opening process, the image is first eroded and subsequently dilated to estimate the trend in the background signal. By subtracting the estimated background from the denoised image, small noise and stains in the background are eliminated (Supplementary Note 3). Next, histogram stretching is performed to emphasize only the peak part of atoms. Unlike histogram equalization, histogram stretching is more appropriate for the segmentation of background and atoms because it can emphasize the desired intensity part.

Finding the atomic positions

12The conventional methods [25][26][27][28][29]31 have implemented segmentation using the Gaussian fittings. However, because the actual atoms are not always Gaussian, we applied the K-means clustering to binarize the background and atoms in the proposed method. Figure 3 shows the entire segmentation process. Figure 3a demonstrates the simulated STEM image, which reveals that the target images are not in a perfect Gaussian form.

13K-means clustering divides the data into clusters of specified k based on the intensity levels of the images 40 . In this method, the data are divided by minimizing the variance of the distance in each cluster through iteration. As K-means clustering is an unsupervised method, when only k clusters are set, other parameters are not needed because the method does not require the ground truth. Thus, we performed K-means clustering to segment the background and atoms of the STEM image (Fig. 3b).

14To find the correct atomic coordinates after K-means clustering, the center of mass of the individual binarized column was set as an atom position. Figure 3c presents the results of applying the Kmeans clustering and center of mass method to determine atomic positions in the entire STEM image. After these peak detection process, all atoms are classified by inputting unit cell information through our program (see Supplementary Note 4).

Performance depending on the noise level

15The performance of our proposed noise reduction method was evaluated by varying the noise parameters and comparing the obtained results with those of the conventional denoising techniques 18,19,23 . Test images for the evaluation were generated from the simulated HAADF-STEM image of SrTiO 3 , with an incremental Poisson noise σ P in the range of 20-80, fixed Gaussian noise of σ G = 10, and additional background noise equivalent to 10% of the maximum intensity. Except for image noise, we excluded other nonideal simulation parameters influencing the atomic positions in the STEM image, such as sample mistilt, aberrations, thermal vibrations, and defocus. Detailed information for simulation condition is in "Methods." The criterion for the performance is set to be the peak signal-to-noise ratio (PSNR) calculated using the mean squared error between the true and Figure 4a shows that our proposed method exhibits a visually stable denoising performance regardless of the input noise level, which corresponds to the stable PSNR values presented in Fig. 4b (comparisons with actual denoised results in Supplementary Note 5). Our noise reduction method, represented by the Anscombe transform, BM3D, and morphological filtering enhances the PSNR by approximately 8-12 dB compared to the noisy input image. It is noted that our proposed method shows better performance compared to other denoising techniques, including the BM3Donly, at every noise level. This is because these denoising techniques cannot efficiently remove the background noise alone; however, they significantly affect the image quality (Supplementary Note 6).

16Additionally, we investigated the reliability of the atomic positions depending on the input noise level. Figure 4c shows the average errors of the atomic positions acquired from the denoised HAADF-STEM images for each noise parameter. As the noise level increases, the accuracy of the peak positions deteriorates, whereas PSNR of the denoised images exhibits a slight change. However, our proposed method exhibits a sub-pixel precision under severe noise conditions.

Benchmark

17We benchmarked our proposed method against other reported methods 28-30 by comparing the precision of the estimated atomic positions. Simulated HAADF-STEM images with identified atomic positions are employed again for the benchmarks. Here, Poisson-Gaussian noise was applied with a Poisson noise of σ P = 40 and Gaussian noise of σ G = 10, which are estimated using the experimental HAADF-STEM images and noise estimation algorithm 36 . Figure 5a shows a partial area of the final test image with an artificial noise. The Sr atomic columns exhibit a brighter contrast compared to the Ti atomic columns. Oxygens do not appear in the HAADF image because of their small scattering angles. Ground truth, the actual atomic positions of the simulated images, were derived from the fractional coordinates of the input crystal structure and pixel scale of the simulated image. The atomic positions of the Sr and Ti sites were extracted using PRESTem from the test image and compared with the ground truth. Figure 5b shows the distribution of errors in both the x-and y-axis. The average error and standard deviation are 0.71 and 0.51 pixels, respectively, which implies the achievement of sub-pixel precision. The average error and standard deviation were calculated using the absolute values of errors. Histograms in two side panels of Fig. 5b count the error points at intervals of 0.1 pixels along both axes. These histograms demonstrate a normal distribution centered at the zero-error point, revealing no biases in the acquired atomic positions.

18To compare the obtained results with those of the other STEM analysis programs, such as Peak pairs analysis (PPA) 30 , CalAtom 28 , and Atomap 29 , the same evaluation tests were performed. These three programs were selected as they employ different denoising techniques and locating algorithms for atomic positions. All processes of atomic positioning were followed using the available manuals, except for PPA that we changed the denoising technique to that of PRESTem. This was because the Bragg filter, the denoising technique in PPA, generated false atomic intensities in the blank space. The information for computation time is given in Supplementary Note 6, which includes the dependency of computational time on the number of atomic columns in the STEM images. Figure 5c presents the error distribution of PPA. The average error and standard deviation are 1.88 and 1.17 pixels, respectively. The error points were randomly spread, and no bias was observed. CalAtom yields an average accuracy and a standard deviation of 1.82 and 1.54 pixels, respectively, using a Gaussian noise filter and multiple-ellipse fitting (MEF) method 41 . Although CalAtom exhibits normally distributed error points near the origin in Fig. 5d, it has a similar average error and larger standard deviation compared to PPA because of its larger maximum error. Atomap, combined with 1D PCA denoising and multistep fitting process represented by 2D elliptical Gaussian, presents an average accuracy of 0.83 pixels and a standard deviation of 0.35 pixels. These values were comparable to or even better than those of PRESTem. However, the error points are biased along the y-axis in Fig. 5e, and the iterative process excessively increases the computational time one to two orders of magnitude larger than that of PRESTem ( Supplementary Fig. 5).

19The center of mass method used in PRESTem is one of the fastest algorithms for locating particles in experimental images. However, its accuracy is often undervalued compared to modelbased estimation methods. Dedicated denoising techniques for Poisson noise and accurate selection of the fitting region can increase the accuracy compared to model-based estimation methods, while maintaining its fast speed.

Demonstration

20Based on the atomic coordinates, the local structural information of materials can be derived at the unit cell scale, the so-called peak analysis. In practice, the accuracy of structural information obtained using the peak analysis should be confirmed in addition to the precision of the acquired atomic coordinates. In this study, we adopted the ABO 3 perovskite system as a pilot target in PRESTem and implemented an automated peak analysis procedure (Supplementary Note 7). Perovskite oxide systems have been widely studied owing to their valuable functional properties, including superconductivity, ferroelectricity, piezo-, and metal-insulator transition. Despite the simple crystallographic structure of ABO 3 , the functional properties of perovskite oxides arise from various structural transitions, such as, polar distortion, lattice elongation, and lattice shear. Thus, investigation should be conducted on these structural changes in perovskite oxides to unveil the relationship between the functional property and its crystallographic structure. In this context, we evaluated the accuracy of the quantification by estimating the atomic displacement and the ratio between the lattice parameters c and a (c over a ratio) of the perovskite structure.

21As for the atomic displacement, both the magnitude and angle of the displacement vector are important for the classification of the phase and estimation of polarity. Therefore, we defined an arbitrary system with SrTiO 3 , mimicking the polar vortex discovered in the perovskite oxide superlattice 42 . In this arbitrary structure, each Ti atom is displaced from the centroid of neighboring Sr atoms, while displacements are arranged in a vortex shape (Fig. 6a, b). The HAADF-STEM simulation was conducted along the [100] zone axis, and the output image was corrupted with a Poisson noise of σ P = 40 and Gaussian noise of σ G = 10, the same parameters used in benchmarks. Displacements of the Ti atoms were evaluated using PRESTem and compared with the true values provided from the simulated structure. The average and standard deviation of the error were 1.57 pm/4.25°a nd 1.13 pm/3.07°, respectively, calculated from 256 unit cells. A detailed comparison of the selected 8 unit cells is presented in Fig. 6c. Consequently, the proposed method guarantees an error of <3 pm. In addition, the tendency of a gradual decrease in the displacement angle was maintained in the evaluated results despite some errors.

22To demonstrate the c over a ratio evaluation in the heterostructure, HAADF-STEM simulations were conducted on the (SrTiO 3 ) 10 /(PbTiO 3 ) 10 superlattice (Fig. 6d). In this structure, the lattice parameter c in PbTiO 3 is compressed and gradually changes between the interface 43 . This image was corrupted with the same Poisson-Gaussian noise, and subsequently processed with PRE-STem, which is comparable to the displacement test above. The evaluated c over a ratio in the PbTiO 3 layers was in the range of 1.00-1.05, which is in accordance with the truth value, as shown in Fig. 6e. Remarkably, the standard deviation was 0.014 in the SrTiO 3 region compared to 0.004 in the PbTiO 3 region. This is because the contrast of Sr diminishes owing to the strong signal of Pb in the atomic number (Z) contrast imaging of HAADF-STEM.

23In conclusion, we proposed a powerful system for the quantitative analysis of local crystal structures from atomic-scale STEM images. The BM3D, morphological filtering, and histogram stretching processes were applied consecutively that effectively removed the STEM image noise. Segmentation using the unsupervised training method, K-means clustering, robustly separated the atomic signals from the background plane. Centroids of each atomic column were extracted and classified by user-input periodicity. We developed the PRESTem program using these methods with an automated structure analysis.

24The accuracy of the atomic positions obtained using the PRESTem program was evaluated and compared with that of the existing programs represented by 2D quadratic fitting, MEF optimization, and 2D Gaussian fitting. With the binary segmentation process of K-means clustering, the commonly undervalued centroid method in PRESTem exhibited errors of less than 1 pixel, which was comparable to that of the 2D Gaussian fitting without high computational costs and biased errors.

25Recent progress in STEM imaging has enabled rapid acquisition of atomic images with valuable information. The development of a precise and automated analytical method can bridge the gap between the two processes of image acquisition and image analysis. It is expected that our program will provide an opportunity for the statistical investigation of the material system overcoming the technical limitations of STEM, which cannot represent the overall characteristics of the specimen. In addition, our proposed methods for image enhancement and locating atomic positions can be robustly applied to atomic-scale STEM images of any other crystallographic structures, while structural quantification is preliminarily focused on perovskite.

STEM simulations

26Except for the demonstration part, the input crystal structure for the simulation was built from cubic Pm3m SrTiO 3 , but Ti positions in each unit cell were arbitrarily modified to diversify the atomic positions. Within 20 × 20 × 1 cells of SrTiO 3 , all Ti atoms had a deviation of 20 pm from the body-centered position, along a random direction under the (100) plane. In all crystal structure for the STEM simulation, the decimal point of fractional coordinates was considered up to 6. STEM simulation was conducted by the multi-slice method using Dr. Probe software 44 . Sampling rate was set to be 6.6 pm per pixel, which approximately accords to the experimental imaging condition of 15 million times magnification, and the thickness of specimen was set to be approximately 5 nm by duplicating the input crystal structure along the projection axis. Detailed simulation parameters are in Table 1.

DATA AVAILABILITY

27The data that support the findings of this study are available from the corresponding author upon reasonable request.

CODE AVAILABILITY

28The codes used to calculate the results of this study are available from the corresponding author upon reasonable request. Also, our program is publicly available on GitHub (https://github.com/Cheque93/PRESTem).

29Received: 10 January 2022; Accepted: 25 August 2022;

참고문헌 43건

  1. Emergence of room-temperature ferroelectricity at reduced dimensions Science · American Association for the Advancement of Science · 2015 10.1126/science.aaa6442
  2. An optimized locally adaptive non-local means denoising filter for cryo-electron microscopy data Journal of Structural Biology · Elsevier BV · 2010 10.1016/j.jsb.2010.06.021
  3. Direct Sub-Angstrom Imaging of a Crystal Lattice Science · American Association for the Advancement of Science · 2004 10.1126/science.1100965
  4. Wiener-filter enhancement of noisy HREM images Ultramicroscopy · Elsevier BV · 1996 10.1016/0304-3991(95)00085-2
  5. Spontaneous Vortex Nanodomain Arrays at Ferroelectric Heterointerfaces Nano Letters · American Chemical Society · 2011 10.1021/nl1041808
  6. The Peak Pairs algorithm for strain mapping from HRTEM images Ultramicroscopy · Elsevier BV · 2007 10.1016/j.ultramic.2007.01.019
  7. THE TRANSFORMATION OF POISSON, BINOMIAL AND NEGATIVE-BINOMIAL DATA Biometrika · Oxford University Press · 1948 10.1093/biomet/35.3-4.246
  8. De-noising Filters for TEM (Transmission Electron Microscopy) Image of Nanomaterials 2012 10.1109/acct.2012.41
  9. Picometre-precision analysis of scanning transmission electron microscopy images of platinum nanocatalysts Nature Communications · Nature Portfolio · 2014 10.1038/ncomms5155
  10. Atomic level observation of octahedral distortions at the perovskite oxide heterointerface Scientific Reports · Nature Portfolio · 2013 10.1038/srep02214
  11. Nanoscale strain-induced pair suppression as a vortex-pinning mechanism in high-temperature superconductors Nature Materials · Nature Portfolio · 2012 10.1038/nmat3247
  12. Image Denoising by Sparse 3-D Transform-Domain Collaborative Filtering IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2007 10.1109/tip.2007.901238
  13. Image Analysis with Rapid and Accurate Two-Dimensional Gaussian Fitting Langmuir · American Chemical Society · 2009 10.1021/la900393v
  14. Accurate particle position measurement from images Review of Scientific Instruments · American Institute of Physics · 2007 10.1063/1.2735920
  15. Optimal Inversion of the Anscombe Transformation in Low-Count Poisson Image Denoising IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2010 10.1109/tip.2010.2056693
  16. A Non-Local Algorithm for Image Denoising 2005 10.1109/cvpr.2005.38
  17. Identifying and Correcting Scan Noise and Drift in the Scanning Transmission Electron Microscope Microscopy and Microanalysis · Oxford University Press · 2013 10.1017/s1431927613001402
  18. Practical Poissonian-Gaussian Noise Modeling and Fitting for Single-Image Raw-Data IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2008 10.1109/tip.2008.2001399
  19. Using molecular dynamics to quantify the electrical double layer and examine the potential for its direct observation in the in-situ TEM Advanced Structural and Chemical Imaging · Springer Science+Business Media · 2015 10.1186/s40679-014-0002-2
  20. Correcting nonlinear drift distortion of scanning probe and scanning transmission electron microscopies from image pairs with orthogonal scan directions Ultramicroscopy · Elsevier BV · 2015 10.1016/j.ultramic.2015.12.002
  21. Direct mapping of Li-enabled octahedral tilt ordering and associated strain in nanostructured perovskites Nature Materials · Nature Portfolio · 2015 10.1038/nmat4390
  22. Observation of polar vortices in oxide superlattices Nature · Nature Portfolio · 2016 10.1038/nature16463
  23. Polar metals by geometric design Nature · Nature Portfolio · 2016 10.1038/nature17628
  24. Oxygen octahedra picker: A software tool to extract quantitative information from STEM images Ultramicroscopy · Elsevier BV · 2016 10.1016/j.ultramic.2016.06.001
  25. Non-rigid registration and non-local principle component analysis to improve electron microscopy spectrum images Nanotechnology · IOP Publishing · 2016 10.1088/0957-4484/27/36/364001
  26. Morphological Image Analysis Springer eBooks · Springer Nature · 1999 10.1007/978-3-662-03939-7
  27. Locating light and heavy atomic column positions with picometer precision using ISTEM Ultramicroscopy · Elsevier BV · 2016 10.1016/j.ultramic.2016.10.003
  28. Towards on-the-fly data post-processing for real-time tomographic imaging at TOMCAT Advanced Structural and Chemical Imaging · Springer Science+Business Media · 2017 10.1186/s40679-016-0035-9
  29. Disordered ferroelectricity in the PbTiO<sub>3</sub>/SrTiO<sub>3</sub> superlattice thin film APL Materials · American Institute of Physics · 2017 10.1063/1.4986064
  30. Optimal Noise Filters in High-Resolution Electron Microscopy Microscopy Today · Oxford University Press · 2007 10.1017/s1551929500061186
  31. Dr. Probe: A software for high-resolution STEM image simulation Ultramicroscopy · Elsevier BV · 2018 10.1016/j.ultramic.2018.06.003
  32. Multiple-ellipse fitting method to precisely measure the positions of atomic columns in a transmission electron microscope image Micron · Elsevier BV · 2018 10.1016/j.micron.2018.06.016
  33. CalAtom: A software for quantitatively analysing atomic columns in a transmission electron microscope image Ultramicroscopy · Elsevier BV · 2019 10.1016/j.ultramic.2019.04.007
  34. Picometer-scale atom position analysis in annular bright-field STEM imaging Ultramicroscopy · Elsevier BV · 2017 10.1016/j.ultramic.2017.09.001
  35. mpfit: a robust method for fitting atomic resolution images with multiple Gaussian peaks Advanced Structural and Chemical Imaging · Springer Science+Business Media · 2020 10.1186/s40679-020-0068-y
  36. Manipulating topological transformations of polar structures through real-time observation of the dynamic polarization evolution Nature Communications · Nature Portfolio · 2019 10.1038/s41467-019-12864-5
  37. mpfit: a robust method for fitting atomic resolution images with multiple Gaussian peaks Advanced Structural and Chemical Imaging · Springer Science+Business Media · 2020 10.1186/s40679-020-0068-y
  38. Lattice Strain Measurement of Core@Shell Electrocatalysts with 4D Scanning Transmission Electron Microscopy Nanobeam Electron Diffraction ACS Catalysis · American Chemical Society · 2020 10.1021/acscatal.0c00224
  39. Flexopiezoelectricity at ferroelastic domain walls in WO3 films Nature Communications · Nature Portfolio · 2020 10.1038/s41467-020-18644-w
  40. Accurate particle position measurement from images Review of Scientific Instruments · American Institute of Physics · 2007 10.1063/1.2735920
  41. Reversible oxygen migration and phase transitions in hafnia-based ferroelectric devices Science · American Association for the Advancement of Science · 2021 10.1126/science.abf3789
  42. Template Engineering of Metal-to-Insulator Transitions in Epitaxial Bilayer Nickelate Thin Films ACS Applied Materials & Interfaces · American Chemical Society · 2021 10.1021/acsami.1c13675
  43. Atomic scale crystal field mapping of polar vortices in oxide superlattices Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-26476-5