- By:
- Jeon, Hoyeon ; Hus, Saban M; Park, Jewook ; Li, An-Ping
- Journal Name:
- Review of Scientific Instruments
- Page Number:
- 53701
- Volume:
- 95
- Issue Number:
- 5
- Publication Date:
- June 16, 2025
- View DOI Listing:
- https://doi.org/10.1063/5.0191523
Abstract
We report an algorithm to identify and correct distorted wavefronts in atomic resolution scanning tunneling microscope images. This algorithm can be used to correct nonlinear in-plane distortions without prior knowledge of the physical scanning parameters, the characteristics of the piezoelectric actuator, or individual atom positions. The 2D image is first defined as a sum of sinusoidal plane waves, where a nonlinear distortion renders a curve for an otherwise ideal linear wavefront. Using the Fourier transforms of local areas of the image, the algorithm generates a wavefront vector field. The identified wavefronts are subsequently linearized for each plane wave without changing lattice orders, giving rise to distortion corrections. Our algorithm is complementary to conventional post-processing algorithms that require prior detection of real space features, which can also be used to correct nonlinear distortions in 2D images acquired by other microscopy techniques.