Gerchberg-Saxton phase retrieval algorithm
Version 1.0.4 (256 KB) by Tatiana Latychevskaia
Example of Gerchberg-Saxton iterative phase retrieval algorithm.
Updated 23 Jan 2022
Example of Gerchberg-Saxton (GS) iterative phase retrieval algorithm applied for reconstruction of the complex-valued wavefront distribution from two intensity images: real space image and diffraction pattern of a complex-valued sample. The sample amplitude is binary cat cartoon with maximum of 1, the sample phase is word "cat" with maximum of 0.1 radian.
Tatiana Latychevskaia, "Iterative phase retrieval in coherent diffractive imaging: practical issues", Applied Optics 57(25), 7187 - 7197 (2018)
MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.