✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
🍎个人主页:Matlab科研工作室
🍊个人信条:格物致知。
更多Matlab仿真内容点击👇
⛄ 内容介绍
相位测量技术,以相位作为测量信息的载体,由于相位自身的周期变化性,只可以2为周期被记录,故两大主流的相位提取算法:Fourier变换法和相移法,只可得到包裹相位,相位展开是相位测量技术无法回避的问题。本文基于Matlab实现多聚类相位展开算法。
⛄ 部分代码
close all
%% Load numerical phantom data.
data = load('example.mat');
data.example = double(data.example);
%% Show data.
figure;
imagesc( abs(data.example) );
title('Magnitude Image of Numerical Phantom');
colormap gray;
h = colorbar;
set(get(h,'ylabel'),'String', 'Magnitude / a.u.');
figure;
imagesc( angle(data.example) );
title('Phase Image of Numerical Phantom');
colormap gray;
h = colorbar;
set(get(h,'ylabel'),'String', '\Phi / rad');
%% Unwrap phase.
tic;
unwrappedPhase = sunwrap(data.example); % No threshold.
%unwrappedPhase = sunwrap(data.example, 0.25); % Threshold: 25% of maximum value.
toc;
%% Show result.
figure;
imagesc( unwrappedPhase );
title('Unwrapped Phase Image of Numerical Phantom');
colormap gray;
h = colorbar;
set(get(h,'ylabel'),'String', '\Phi / rad');
⛄ 运行结果



⛄ 参考文献
[1]吴明云. 二维相位展开算法的研究[D]. 天津大学, 2014.
❤️ 关注我领取海量matlab电子书和数学建模资料
❤️部分理论引用网络文献,若有侵权联系博主删除
本文作者是Matlab仿真开发者,介绍基于Matlab实现多聚类相位展开算法。相位测量技术中,两大主流相位提取算法只能得到包裹相位,相位展开是关键问题。文中给出部分代码,还展示了运行结果,并列出参考文献。
1664

被折叠的 条评论
为什么被折叠?



