【解包裹】基于可靠性直方图处理的快速二维相位展开算法附matlab代码和论文

简介: 【解包裹】基于可靠性直方图处理的快速二维相位展开算法附matlab代码和论文

✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。

🍎个人主页:Matlab科研工作室

🍊个人信条:格物致知。

更多Matlab仿真内容点击👇

智能优化算法  神经网络预测雷达通信 无线传感器

信号处理图像处理路径规划元胞自动机无人机

⛄ 内容介绍

A novel approach for two-dimensional phase unwrapping is presented. Reliability functions with fixed value range are defined for pixels and edges. Through histogram statistics for reliability values of edges, all edges are allocated to the corresponding subintervals of histogram. The proposed algorithm unwraps the phase subinterval by subinterval and for each subinterval edge by edge. A number of simulated and experimental results show that the proposed algorithm reacts satisfactorily to random noise and discontinuities in the wrapped phase distribution. The execution time of this algorithm is less than 60 ms for an image size of 800x800 pixels on a PC system generally. So this algorithm can achieve quasi-real-time performance.

⛄ 部分代码


fprintf('***************************************\n');

fprintf('2D Phase Unwrapping Demo\n');

fprintf('Please select the demo:\n');

fprintf('(1) No noise  , no ignored region\n');

fprintf(' 2. With noise, no ignored region\n');

fprintf(' 3. No noise  , with ignored region\n');

fprintf(' 4. With noise, with ignored region\n');

while (1)

   user_input = input('Your selection (1-4): ', 's');

   user_input = strip(user_input);


   % if the user does not supply anything, select the default

   if strcmp(user_input, '')

       fprintf('Demo 1 is selected\n');

       user_input = '1';

   end


   if length(user_input) == 1 && sum(user_input == '1234') == 1

       break;

   else

       fprintf('Invalid input\n');

   end

end



[X, Y] = meshgrid(linspace(-1, 1, 512) * 5);

img = -(X.*X + Y.*Y);

fprintf('Image size: %dx%d pixels\n', size(img,1), size(img,2));


% add noise

if any(user_input == '24')

   img = img + randn(size(X)) * 0.5;

end


% add an ignored region

if any(user_input == '34')

   img(end/4:3*end/4,end/4:3*end/4) = nan;

end


% wrap the image

wimg = wrapTo2Pi(img);


tic;

unwrap_img = unwrap_phase(wimg);

toc;


subplot(221);

pcolor(img);

shading flat;

set(gca, 'ydir', 'reverse');

title('Original phase');


subplot(222);

pcolor(wimg);

shading flat;

set(gca, 'ydir', 'reverse');

title('Wrapped phase');


subplot(223);

pcolor(unwrap_img);

shading flat;

set(gca, 'ydir', 'reverse');

title('Unwrapped phase');


subplot(224);

pcolor(wrapTo2Pi(unwrap_img));

shading flat;

set(gca, 'ydir', 'reverse');

title('Rewrap of unwrapped phase');

⛄ 运行结果

⛄ 参考文献

[1] Wang F ,  Zeng Y N ,  Lei H , et al. Fast Two-Dimensional Phase Unwrapping Algorithm Based on Histogram Processing of Reliability[J]. Icmt.ulsan.ac.kr.

❤️ 关注我领取海量matlab电子书和数学建模资料
❤️部分理论引用网络文献,若有侵权联系博主删除


相关文章
|
算法 定位技术 计算机视觉
【水下图像增强】基于波长补偿与去雾的水下图像增强研究(Matlab代码实现)
【水下图像增强】基于波长补偿与去雾的水下图像增强研究(Matlab代码实现)
1375 0
|
算法 机器人 计算机视觉
【图像处理】水下图像增强的颜色平衡与融合技术研究(Matlab代码实现)
【图像处理】水下图像增强的颜色平衡与融合技术研究(Matlab代码实现)
471 0
|
机器学习/深度学习 算法 机器人
使用哈里斯角Harris和SIFT算法来实现局部特征匹配(Matlab代码实现)
使用哈里斯角Harris和SIFT算法来实现局部特征匹配(Matlab代码实现)
646 8
|
机器学习/深度学习 编解码 算法
基于OFDM技术的水下声学通信多径信道图像传输研究(Matlab代码实现)
基于OFDM技术的水下声学通信多径信道图像传输研究(Matlab代码实现)
586 8
|
机器学习/深度学习 数据采集 测试技术
基于CEEMDAN-VMD-BiLSTM的多变量输入单步时序预测研究(Matlab代码实现)
基于CEEMDAN-VMD-BiLSTM的多变量输入单步时序预测研究(Matlab代码实现)
507 8
|
机器学习/深度学习 算法 机器人
【水下图像增强融合算法】基于融合的水下图像与视频增强研究(Matlab代码实现)
【水下图像增强融合算法】基于融合的水下图像与视频增强研究(Matlab代码实现)
1205 0
|
数据采集 分布式计算 并行计算
mRMR算法实现特征选择-MATLAB
mRMR算法实现特征选择-MATLAB
653 2
|
存储 编解码 算法
【多光谱滤波器阵列设计的最优球体填充】使用MSFA设计方法进行各种重建算法时,图像质量可以提高至多2 dB,并在光谱相似性方面实现了显著提升(Matlab代码实现)
【多光谱滤波器阵列设计的最优球体填充】使用MSFA设计方法进行各种重建算法时,图像质量可以提高至多2 dB,并在光谱相似性方面实现了显著提升(Matlab代码实现)
478 6
|
传感器 机器学习/深度学习 编解码
MATLAB|主动噪声和振动控制算法——对较大的次级路径变化具有鲁棒性
MATLAB|主动噪声和振动控制算法——对较大的次级路径变化具有鲁棒性
574 3
|
机器学习/深度学习 算法 自动驾驶
基于导向滤波的暗通道去雾算法在灰度与彩色图像可见度复原中的研究(Matlab代码实现)
基于导向滤波的暗通道去雾算法在灰度与彩色图像可见度复原中的研究(Matlab代码实现)
849 8

热门文章

最新文章