中国空间科学技术 ›› 2023, Vol. 43 ›› Issue (5): 119-131.doi: 10.16708/j.cnki.1000-758X.2023.0076

• 论文 • 上一篇    下一篇

基于GPU的并行相位解卷绕算法

毛飞龙1,焦义文1,马宏1,张宇翔2,聂欣林3,高泽夫1   

  1. 1 航天工程大学 电子与光学工程系,北京101416
    2 国防科技大学 电子科学学院,长沙710072
    3 吉林大学白求恩第一医院,长春130000

  • 出版日期:2023-10-25 发布日期:2023-09-12

Parallel algorithm of phase unwrapping based on GPU

MAO Feilong1,JIAO Yiwen1,MA Hong1,ZHANG Yuxiang2,NIE Xinlin3,GAO Zefu1   

  1. 1 Department of Electronic and Optical Engineering,Space Engineering University,Beijing 101416,China
    2 School of Electronic Science,National University of Defense Technology,Changsha 710072,China
    3 The first hospital of Jilin University,Changchun 130000,China
  • Published:2023-10-25 Online:2023-09-12

摘要: 针对大量数据串行相位解卷绕实时性较差的问题,设计了基于GPU的并行相位解卷绕算法。首先分析了典型的串行解卷绕算法在GPU平台实现的可行性,之后设计了适合于GPU加速的并行解卷绕算法。最后对基于GPU的并行相位解卷绕算法进行了仿真验证,多次测试结果表明:在保证解卷绕正确性的基础上,基于GPU的并行相位解卷绕算法相比传统CPU串行解卷绕算法约有3.5倍的加速比,基于GPU的并行相位解卷绕算法相比GPU串行解卷绕算法有63倍的加速比。

关键词: 相位解卷绕, GPU, 并行算法, 实时处理, 加速比

Abstract:  Aiming at the problem of poor realtime performance of serial phase unwrapping algorithms for large amounts of data,a parallel algorithm of phase unwrapping based on GPU was designed.Firstly,the feasibility of typical serial unwrapping algorithm on GPU was analyzed,and then an unwrapping algorithm suitable for GPU parallel acceleration was designed.Finally,the parallel algorithm of phase unwrapping based on GPU was simulated and verified,and the test results show that:on the basis of ensuring the correctness of unwrapping,the parallel algorithm of phase unwrapping based on GPU is better than the traditional CPU serial unwrapping algorithm,and the acceleration ratio is about 3.5.The acceleration ratio of the parallel algorithm of phase unwrapping based on GPU is about 63 times compared with the serial algorithm of phase unwrapping based on GPU.

Key words: phase unwrapping, GPU, parallel algorithm, realtime processing, acceleration ratio