Skip to content

About

Image reconstruction from a diffraction pattern

Topics

Resources

Stars

23 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Image-Reconstruction

Image reconstruction from a diffraction pattern, as in Coherent Diffraction Imaging (CDI)

This is an implementation of the hybrid input-output (HIO) algorithm, done in python using the numpy and scipy libraries. The algorithm works by iteratively transforming an image between real space and Fourier space, applying constraints at each step. In this implementation, the real space image is constrained to be positive, real, and required to have compact support (this is valid since the diffraction pattern is taken with oversampling). The Fourier constraint is that the intensity of the transformed image must be the measured intensity given as input.

For example, given a diffraction pattern:

Diffract

We can reconstruct the original image:

Progress

Citations:

J. R. Fienup, "Phase retrieval algorithms: a comparison," Appl. Opt. 21, 2758-2769 (1982)

About

Image reconstruction from a diffraction pattern

Topics

Resources

Stars

23 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages