Manuscript Offprint

arXiv:2610.36487

Spatial-Frequency Learning for Scanning Transmission Electron Microscopy Image Enhancement

Hesong Li, Ying Fu, Ziqi Wu, Ruiwen Shao, Tao Zhang

Hesong Li, Ying Fu, Senior Member, IEEE, Ziqi Wu, Ruiwen Shao, and Tao Zhang

Abstract—Scanning Transmission Electron Microscopy (STEM) enables the observation of atomic arrangements at sub-angstrom resolution and plays a key role in the discovery and characterization of advanced materials. Raw STEM images are often noisy and blurred due to multiple degradations. Although recent deep learning methods improve STEM images, their performance remains limited under severe degradations. In this work, we propose a spatial-frequency learning framework for STEM image enhancement. Specifically, we design a spatial-frequency fusion network that exploits periodic atomic arrangements in the frequency domain and restores local atomic details in the spatial domain. Spatial- and frequency-domain features are enhanced separately and then fused. We also present a STEM noise calibration method for synthesizing more realistic STEM images. The parameters of scan noise, pointwise noise, and background noise are estimated through statistical analysis and fitting of real STEM images. Using these calibrated parameters, we construct a diverse dataset containing a wider range of atomic arrangements, imaging modes, and degradations. Random masks combine different atomic arrangements to simulate interfaces between multiple materials. Experimental results demonstrate that our method achieves state-of-the-art enhancement performance on synthetic datasets and real images of advanced materials while improving atomic localization accuracy.

Index Terms—Scanning transmission electron microscopy, image enhancement, spatial-frequency learning, noise calibration, data generation, atomic localization.

I. INTRODUCTION

Scanning Transmission Electron Microscopy (STEM) enables scientific observation at the atomic scale and plays a crucial role in the discovery and study of materials. Recent studies have discovered new properties of advanced materials using STEM, including semiconductor materials [1], [2], superconducting materials [3], new energy materials [4]–[6], functional materials [7], [8], neuromorphic computing materials [9], and nanodevices [10].

Although STEM provides atomic-scale resolution, its images are susceptible to multiple types of noise [11], [12]. These include scan noise caused by probe jitter, pointwise noise introduced during signal readout, and background interference.

Figure

Fig. 1. PSNR results of different methods on STEM image enhancement. Our spatial-frequency fusion network (SFFN) outperforms AtomSegNet [12], FCN [13], AST [14], GAN [15], FADC [16], and SFIN [17] on three datasets (i.e., TEMImageNet [12], SFIN dataset [17], and our AtoMix). HAADF and BF denote two imaging modes, namely high-angle annular dark-field imaging and bright-field imaging, respectively.

caused by impurities. These types of noise can overwhelm useful signals and hinder the observation of material structures. To avoid sample damage, both the exposure time and electron-beam intensity are constrained, further increasing the noise level. Moreover, spherical aberration blurs atomic contours and makes different atoms difficult to distinguish. Therefore, STEM image enhancement is needed to improve the visualization and analysis of material structures.

Simple image filtering methods (e.g., Gaussian filter, Wiener filter [18], and bilateral filter [19]) can partially remove noise, but their effectiveness is limited, and they cannot eliminate background interference and spherical aberration. Recently, some deep learning-based methods [12], [13], [15], [20] have been designed for electron microscope image enhancement. Unsupervised methods (e.g., UDVD [20]) typically utilize continuous multi-frame STEM images as training data. Since adjacent frames are used as supervision signals, they can only remove noise that varies across frames, but struggle to eliminate background and spherical aberration, which persist in every frame. By synthesizing simulated noisy images and ground truth images, supervised methods (e.g., AtomSegNet [12], FCN [13], and GAN [15]) can simultaneously remove noise, background, and spherical aberration, and generate output images suitable for other tasks such as atomic localization.

Hesong Li and Ying Fu are with the School of Computer Science and Technology, Beijing Institute of Technology, Beijing, China. Email: lihesong2@bit.edu.cn, fuying@bit.edu.cn.

Ziqi Wu and Ruiwen Shao are with the School of Medical Science and Engineering, Beijing Institute of Technology, Beijing, China. Email: wuziqi@bit.edu.cn, rwshao@bit.edu.cn.

Tao Zhang is with the School of Communication Engineering, Hangzhou Dianzi University, Hangzhou, China. Email: tzhang@hdu.edu.cn.

Therefore, the performance of neural networks and the quality of synthetic data determine the effectiveness of the STEM image enhancement methods.

One challenge is that STEM image signals are often overwhelmed by noise, making accurate feature extraction difficult. Existing networks [12], [13] mainly process spatial-domain features and neglect the strong prior induced by periodic atomic arrangements in the frequency domain. To address this issue, we design a spatial-frequency fusion network for STEM image enhancement. Our network restores atomic contours in the spatial domain while exploiting frequency-domain priors to suppress noise and enhance periodic structures. It processes features in both domains and adaptively fuses their complementary information. As shown in Fig. 1, our network outperforms existing state-of-the-art methods.

The second challenge is the lack of realistic data for training deep learning models. On one hand, the prolonged exposure can damage the material sample and does not eliminate background and spherical aberration, so the ideal clean STEM images as supervised labels cannot be obtained through actual imaging. On the other hand, existing synthetic datasets [11], [12], [21] lack reality in noise distribution. STEM images have unique scan noise related to image gradients, making traditional calibration methods requiring uniform calibration frames [22], [23] unavailable. Thus, existing datasets usually use random noise parameters, which are different from those in real STEM images. In this work, we design a STEM image calibration method capable of getting various noise parameters from STEM images with atomic patterns, which does not require uniform calibration frames. We calibrate the noise parameters in real STEM images and apply them to synthesize noisy images, thereby ensuring the reality of the simulated STEM images in our dataset.

Existing datasets also lack variety, and their scope of application is limited. First, they only include regular atomic patterns and exclude random arrangements, which often appear at material interfaces and are key parts in observing material changes. They also lack images with multiple arrangements. Second, they only include High-Angle Annular Dark-Field (HAADF) mode images, missing Bright-Field (BF) mode images, which are more suitable for light atoms observation [24]–[26]. Third, most datasets lack simulations of more complex degradations, including spherical aberration, lower atomic brightness, and lower resolution. To address these issues, we construct a new dataset called AtoMix, which contains images with mixed atomic arrangements. It includes simulations of the various imaging modes, atom arrangements, and degradations mentioned earlier, ensuring data diversity. Our dataset includes complex degraded images that are closer to real-world data.

Experimental results show that both our spatial-frequency fusion network and our AtoMix dataset are effective for STEM image enhancement. Our method makes STEM images clearer and atomic localization more accurate. The application results on various advanced materials demonstrate the effectiveness of our method and its role in material research.

In summary, our main contributions are that we

  • Present a spatial-frequency fusion network, which can

TABLE I COMPARISON OF MAIN EXTENSIONS FROM THE CONFERENCE VERSION TO THE JOURNAL VERSION.

CategoryConference versionJournal version
NetworkSpatial-frequency interactionFixed additionLearnable spatial-frequency fusion
Frequency-position guidanceNot includedIncluded
Atom patterns15 patterns from 5 crystal systems46 patterns from 7 crystal systems
DatasetAtom arrangementsRegular, random addition, and random missingRegular, random addition, random missing, and mixed arrangements
DegradationNoise (background noise NbackgroundN_{background}, scan noise NscanN_{scan}, and pointwise noise NpointwiseN_{pointwise})Noise (NbackgroundN_{background}, NscanN_{scan}, and NpointwiseN_{pointwise}), spherical aberration, lower brightness, and lower resolution

flexibly combine spatial-domain and frequency-domain information to enhance the features of STEM images.

  • Design a STEM noise calibration method, which can be used to synthesize more realistic STEM images.

  • Build a more diverse dataset that contains more types of atom arrangements, imaging modes, and degradations.

This paper is an extension of a preliminary conference paper SFIN [17]. Table I summarizes the main extensions from the conference version to this journal version. In terms of network architecture, we design the Spatial-Frequency Fusion Network (SFFN), which replaces the fixed spatial-frequency addition in SFIN with learnable spatial-frequency fusion and further introduces frequency-position guidance for fine-grained frequency-domain processing. In terms of dataset, we build AtoMix by expanding the atom patterns from 15 patterns from 5 crystal systems to 46 patterns from 7 crystal systems, introducing mixed atomic arrangements for simulating material interfaces, and incorporating stronger degradations, including spherical aberration, lower brightness, and lower resolution. These extensions enable our method to achieve stronger enhancement performance on synthetic datasets and real data of advanced materials. In addition, we add comparisons with more methods, including transformers, unsupervised methods, and other frequency-domain processing networks, as well as more visual analyses of frequency-domain processing and a detailed introduction to our data synthesis method.

References (71)

  • A 2d ferroelectric vortex pattern in twisted batio3 freestanding layers
  • Polar block points in strained ferroelectric films
  • Stoichiometry-engineered phase transition in a two-dimensional binary compound
  • Atomic origin of chemomechanical failure of layered cathodes in all-solid-state batteries
  • Resolving complex intralayer transition motifs in high-ni-content layered cathode materials for lithium-ion batteries
  • Long-life lithium-ion batteries realized by low-ni, co-free cathode chemistry
  • Chemical inhomogeneity-induced profuse nanotwinning and phase transformation in acu nanowires
  • Insulating electromagnetic-shielding silicone compound enables direct potting electronics
  • Deep learning enhanced in situ atomic imaging of ion migration at crystalline–amorphous interfaces
  • Suppressed thermal transport in silicon nanoribbons by inhomogeneous strain
  • The abTEM code: transmission electron microscopy from first principles
  • Temimagenet training library and atomsegnet deep-learning models for high-precision atom segmentation, localization, denoising, and deblurring of atomic-resolution images
  • Deep learning enabled strain mapping of single-atom defects in two-dimensional transition metal dichalcogenides with sub-picometer precision
  • Adapt or perish: Adaptive sparse transformer with attentive feature refinement for image restoration
  • Self-supervised learning with generative adversarial networks for electron microscopy
  • Frequency-adaptive dilated convolution for semantic segmentation
  • Noise calibration and spatial-frequency interactive network for STEM image enhancement
  • with engineering applications
  • Bilateral filtering for gray and color images
  • Visualizing nanoparticle surface dynamics and instabilities enabled by deep denoising
  • Leveraging generative adversarial networks to create realistic scanning transmission electron microscopy images
  • A physics-based noise formation model for extreme low-light raw denoising
  • Physics-based noise modeling for extreme low-light photography
  • Z-contrast imaging in the scanning transmission electron microscope
  • High-resolution z-contrast imaging of crystals
  • Springer Berlin Heidelberg, 2013, ch
  • FCDFusion: A fast, low color deviation method for fusing visible and infrared image pairs
  • Non-uniform compressive sensing imaging based on image saliency
  • Hyperspectral image super-resolution based on spatial-spectral feature extraction network
  • Transformer-based under-sampled single-pixel imaging
  • Deep guided attention network for joint denoising and demosaicing in real image
  • A survey on degraded image segmentation
  • Diffusion models in low-level vision: A survey
  • Segment concealed object with incomplete supervision
  • High-fidelity document stain removal via a large-scale real-world dataset and a memory-augmented transformer
  • Underwater image restoration through a prior guided hybrid sense approach and extensive benchmark analysis
  • Lensnet: An end-to-end learning framework for empirical point spread function modeling and lensless imaging reconstruction (opens arXiv in a new tab)
  • Boosting image de-raining via central-surrounding synergistic convolution
  • Lightweight adaptive feature de-drifting for compressed image classification
  • Qmambabsr: Burst image super-resolution with query state space model
  • Pmq-ve: Progressive multi-frame quantization for video enhancement (opens arXiv in a new tab)
  • Real noise decoupling for hyperspectral image denoising
  • Flow-anything: Learning real-world optical flow estimation from large-scale single-view images
  • Relation-guided adversarial learning for data-free knowledge transfer
  • Trim-sod: A multi-modal, multi-task, and multi-scale spacecraft optical dataset
  • Bayesian window transformer for image restoration
  • Image de-raining transformer
  • Joint self-attention transformer for multispectral and hyperspectral image fusion
  • Unaligned rgb guided hyperspectral image super-resolution with spatial-spectral concordance
  • Enhancing unregistered hyperspectral image super-resolution via unmixing-based abundance fusion learning (opens arXiv in a new tab)
  • Unfoldldm: Deep unfolding-based blind image restoration with latent diffusion priors (opens arXiv in a new tab)
  • Supervise-assisted multi-modality fusion diffusion model for pet restoration
  • Latent diffusion enhanced rectangle transformer for hyperspectral image restoration
  • Deep-learning aided atomic-scale observation of anisotropic melting of the charge density wave in tas2
  • Cem500k, a large-scale heterogeneous unlabeled cellular electron microscopy image dataset for deep learning
  • U-net: Convolutional networks for biomedical image segmentation
  • 3d-b2u: Self-supervised fluorescent image sequences denoising
  • Zero-ig: zero-shot illumination-guided joint denoising and adaptive enhancement for low-light images
  • Deep residual Fourier transformation for single image deblurring (opens arXiv in a new tab)
  • Image restoration via frequency selection
  • Frequency dynamic convolution for dense image prediction
  • An intriguing failing of convolutional neural networks and the CoordConv solution
  • Coordinate attention for efficient mobile network design
  • Calibration-free raw image denoising via fine-grained noise estimation
  • Msfa image denoising using physics-based noise model and noise-decoupled network
  • Restormer: Efficient transformer for high-resolution image restoration
  • Swinir: Image restoration using swin transformer
  • PyTorch: An Imperative Style, High-Performance Deep Learning Library
  • An image synthesizer
  • Image quality assessment: from error visibility to structural similarity
  • Adam: A Method for Stochastic Optimization