2D and 3D Phase Unwrapping using SRNCP

2D & 3D phase unwrapping plugins for Matlab
1.6K Downloads
Updated 3 Jun 2020

These files provide a means to implement the above algorithm without any special packages/toolboxes and needs any Matlab compatible C++ compiler (used Visual Studio 2019 version for this).

To compile:
mex phaseUnwrap.cpp

Input must be a real, double matrix from Matlab.

Cite As

Michael Mullen (2024). 2D and 3D Phase Unwrapping using SRNCP (https://github.com/mfmullen/PhaseUnwrapping/releases/tag/v3.0.2), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Code Generation, GPU, and Third-Party Support in Help Center and MATLAB Answers

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
3.0.2

See release notes for this release on GitHub: https://github.com/mfmullen/PhaseUnwrapping/releases/tag/v3.0.2

3.0.1

Organized/commented more thoroughly. No dramatic difference in performance.

3.0.0.2

Made compatible for 2D or 3D input phase images. Be patient with 3D.

3.0.0.1

Made C version more stable.

3.0.0.0

Found workaround to bug in previous version and updated with a C++ version to utilize som stl features.

2.5.0.0

Working excellently now, unwraps a 512x512 matrix in about 4 seconds with my system specs (compared to 45 seconds for version 2.4).

2.4.0.0

Found the bug a bit faster than anticipated. Anyway, tested to work with a 512x512 matrix now! A little slow at that size, but working to speed things up. At least it seems stable now.

2.3.0.0

Fixed bug in sorting algorithm, narrowing in on problems with large arrays.

2.2.0.0

Fixed a couple bugs in 2.1. Issue with large arrays persists.

2.1.0.0

Obtained another modest speedup. Seg fault happens for large arrays (somewhere between 300x300 and 400x400), working to fix this.

2.0.0.0

Version 2.0 includes the first version's Matlab only implementation, as well as a MEX file implementation which is about 4-5x faster.

1.3.0.0

File did not update with v1.02

1.2.0.0

Obtained a modest speed-up by eliminating some for-loops and using local functions.

1.1.0.0

Updated the description, not the files

1.0.0.0

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.