AutoSPy: A software of automated image processing for time-lapse scanning tunneling microscopy.
Hao Hu, Bowen Zhu, Yangsheng Li, Xiaofan Yu, Fan Yang
School of Physical Science and Technology, Shanghai Key Laboratory of High-Resolution Electron Microscopy, ShanghaiTech University, Shanghai 201210, China.
Key points
From the paper's conclusion- We present AutoSPy, a modular software package that automates the conversion of raw time-lapse STM image stacks into analyzable time-series measurements.
Abstract
Time-lapse scanning tunneling microscopy (STM) captures how surface structures evolve in real time, but extracting quantitative kinetics from the resulting image series is hampered by drifts and the labor of frame-by-frame processing. We present AutoSPy, a modular software package that automates the conversion of raw time-lapse STM image stacks into analyzable time-series measurements. AutoSPy aligns consecutive frames using scale-invariant feature transform feature matching with RANSAC-based outlier rejection and an affine registration model, correcting not only translational drift but also drift-induced rotation and anisotropic distortion. An adaptive flattening routine combining Sobel gradient detection, Otsu thresholding, region growing, and least-squares plane fitting standardizes background subtraction across large datasets. For analysis, it integrates the Segment Anything Model 2 to segment and track user-selected features across registered frames, yielding trajectories, displacement statistics, and time-dependent area changes for clusters and vacancies with minimal manual input. AutoSPy, thus, provides a generalizable toolkit for quantitative studies of dynamic surface evolution and kinetics under working conditions.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Surface-Periodicity-Guided Structure Mapping for Automated Scanning Tunneling Microscopy.Nano letters · 2026
- A drift-aware framework for reliability assessment and image-based interpretation of atomic force microscopy measurements.Journal of microscopy · 2026
- Universal Drift Correction for Multidimensional Scanning MicroscopyarXiv · 2026
- Drift correction of scan images by snapshot referencing.Ultramicroscopy · 2026
- A Digital Simulation Toolkit for Physics-Based Generation of Realistic Experimental Scanning Tunneling Microscopy ImagesarXiv · 2026
- AI-driven artifact removal and image restoration in Atomic Force Microscopy via structured mask-guided inpainting.Micron (Oxford, England : 1993) · 2026