PtychoFormer: A Transformer-based Model for Ptychographic Phase Retrieval

Ryuma Nakahata, Shehtab Zaman, Mingyuan Zhang, Fake Lu, Kenneth Chiu
10/22/2024
eess.IVcs.CV

No official code found. Best implementation: nakahatar111/PtychoFormer (9 stars, last commit 2024-10-24).

Abstract

Ptychography is a computational method of microscopy that recovers high-resolution transmission images of samples from a series of diffraction patterns. While conventional phase retrieval algorithms can iteratively recover the images, they require oversampled diffraction patterns, incur significant computational costs, and struggle to recover the absolute phase of the sample's transmission function. Deep learning algorithms for ptychography are a promising approach to resolving the limitations of iterative algorithms. We present PtychoFormer, a hierarchical transformer-based model for data-driven single-shot ptychographic phase retrieval. PtychoFormer processes subsets of diffraction patterns, generating local inferences that are seamlessly stitched together to produce a high-quality reconstruction. Our model exhibits tolerance to sparsely scanned diffraction patterns and achieves up to 3600 times faster imaging speed than the extended ptychographic iterative engine (ePIE). We also propose the extended-PtychoFormer (ePF), a hybrid approach that combines the benefits of PtychoFormer with the ePIE. ePF minimizes global phase shifts and significantly enhances reconstruction quality, achieving state-of-the-art phase retrieval in ptychography.

View on arXivView PDF

Code Implementations(1)

PtychoFormer: A Transformer-based Model for Ptychographic Phase Retrieval

94Python, Jupyter NotebookOct 22, 20241 years ago

Similar Papers

Cite this paper

@article{nakahata2024ptychoformer,
  title  = {PtychoFormer: A Transformer-based Model for Ptychographic Phase Retrieval},
  author = {Ryuma Nakahata and Shehtab Zaman and Mingyuan Zhang and Fake Lu and Kenneth Chiu},
  year   = {2024},
  eprint = {2410.17377},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.17377v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.17377.svg)](https://codeofpaper.com/paper/2410.17377)

Discussion