Here is an official implementation for paper "A Hybrid Frequency-Spatial Domain Model for Sparse Image Reconstruction in Scanning Transmission Electron Microscopy" accepted in ICCV 2021.
Scanning transmission electron microscopy (STEM) is a powerful technique in high-resolution atomic imaging of materials. Decreasing scanning time and reducing electron beam exposure with an acceptable signal-to-noise ratio are two popular research aspects when applying STEM to beam-sensitive materials. Specifically, partially sampling with fixed electron doses is one of the most important solutions, and then the lost information is {restored by computational methods}. Following successful applications of deep learning in image in-painting, we have developed an encoder-decoder network to reconstruct STEM images in extremely sparse sampling cases. In our model, we combine both local pixel information from convolution operators and global texture features, by applying specific filter operations on the frequency domain to acquire initial reconstruction and global structure prior. Our method can effectively restore texture structures and be robust in different sampling ratios with Poisson noise. A comprehensive study demonstrates that our method gains about 50% performance enhancement in comparison with the state-of-art methods. Code is available at https://github.com/icthrm/Sparse-Sampling-Reconstruction.
Ubuntu 18.04 or CentOS7
Python 3.6
Pytorch 1.7
opencv-python 4.4
numpy 1.19
model: pretrained models
data/test/: test data drawn in the manuscript and supplementary materials
sh run.sh
python Preprocess.py
python STEM-Prior-Init.py --help
Just replace STEM-Prior-Init.py by STEM-Prior-Init-Linear.py in script