I need to perform phase unwrapping in 2D using MATLAB, but the unwrap function seems to work only in 1D.
I want to have a routine similar to this one, available in a Python library:
Any suggestions?

 採用された回答

Amal George M
Amal George M 2019 年 1 月 3 日

0 投票

Depending on what your data looks like, you may be able to simply use "unwrap" on the two different dimensions.
A = unwrap(A,[],1);
A = unwrap(A,[],2);
This is not generally true however, to unwrap data in two dimensions may need more advanced algorithms; unfortunately these are not built into MATLAB.
There are a number of user submitted functions on MATLAB central though which may help your further: https://in.mathworks.com/matlabcentral/fileexchange/?utf8=%E2%9C%93&term=phase+unwrap
Note that MathWorks does not offer support on MATLAB Central submissions. For help or comments on functions provided on MATLAB Central please contact the authors of the functions.

1 件のコメント

matnewbie
matnewbie 2019 年 1 月 3 日
Using unwrap twice doesn't work. I will try the user submitted functions on MATLAB central. Thank you for your help.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

2018 年 12 月 28 日

コメント済み:

2019 年 1 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by