Fast 2D phase unwrapping

Version 1.1.0.0 (4.24 KB) by Firman
Fast 2D phase unwrapping implementation in MATLAB
3.9K Downloads
Updated 26 Aug 2021

Fast unwrapping 2D phase image using the algorithm given in:
M. A. Herraez, D. R. Burton, M. J. Lalor, and M. A. Gdeisat, "Fast two-dimensional phase-unwrapping algorithm based on sorting by reliability following a noncontinuous path", Applied Optics, Vol. 41, Issue 35, pp. 7437-7444 (2002).

Features and advantages:

* Fast algorithm (takes approx. 0.5s to unwrap 512x512 non-noisy and noisy image in my computer)
* Support ignored regions, by setting NaN to the ignored regions.

If using this code for publication, please kindly cite the following:

* M. A. Herraez, D. R. Burton, M. J. Lalor, and M. A. Gdeisat, "Fast two-dimensional phase-unwrapping algorithm based on sorting by reliability following a noncontinuous path", Applied Optics, Vol. 41, Issue 35, pp. 7437-7444 (2002).
* M. F. Kasim, "Fast 2D phase unwrapping implementation in MATLAB", https://github.com/mfkasim91/unwrap_phase/ (2017).

This algorithm is also available from GitHub (https://github.com/mfkasim91/unwrap_phase/)

Cite As

Firman (2024). Fast 2D phase unwrapping (https://github.com/mfkasim1/unwrap_phase), GitHub. Retrieved .

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

Inspired by: 2D Weighted Phase Unwrapping

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.1.0.0

Further optimizing the performance by:

* reducing cell operations, and
* only change the smallest group.

The result is it is now around 2x as fast for no-noise case, and much faster in noisy case (more than 5x faster).

1.0.0.0

Update the description
Minor update
Update the description (very minor update)

Upload the image thumbnail

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.