Phase Unwrapping MATLAB Code and Example Data (FAPUX method)

MATLAB Code and Example Data for Fast and Accurate Phase Unwrapping of Complex Phase Maps
31 Downloads
Updated 21 Aug 2025

View License

This MATLAB package provides FAPUX implementation for fast, accurate, and robust phase unwrapping solution, designed to handle challenging phase maps with discontinuities, and intricate spatial structures (e.g., spiral shear phase maps). While it excels in complex scenarios where conventional algorithms often fail, it is equally applicable to smooth and noise-free phase data, making it a versatile tool for a wide range of applications.
It is particularly useful in optical metrology, interferometry, SAR/InSAR imaging, and medical diagnostics, where reliable phase recovery is essential.
The scripts support the paper “ D. Khodadad, "Fast and accurate phase unwrapping for complex phase maps", Applied Optics, Vol. 64, No. 24, 2025 DOI: https://doi.org/10.1364/AO.567228 .
If you use this code, cite:
  • D. Khodadad, "Fast and accurate phase unwrapping for complex phase maps," Applied Optics, Vol. 64, No. 24, 10 August 2025. https://doi.org/10.1364/AO.567228
  • D. Khodadad, "MATLAB code and example data for fast and accurate phase unwrapping of complex phase maps," figshare (2025). https://doi.org/10.6084/m9.figshare.29571782

Cite As

D. Khodadad, "Fast and accurate phase unwrapping for complex phase maps," Applied Optics, Vol. 64, No. 24, 10 August 2025. https://doi.org/10.1364/AO.567228

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
3.0.1

Citation information is updated!

3.0.0

The title is changed

2.0.0

The artifact suppression threshold has been replaced with a new suppression method that suppresses narrow, spurious structures while preserving true phase transitions.

1.0.0