激光与光电子学进展, 2017, 54 (6): 061001, 网络出版: 2017-06-08
基于多核CPU的太阳自适应图像斑点重建技术
Adaptive Solar Speckle Image Reconstruction Based on Multi-Core CPU
图像处理 图像重建技术 斑点干涉法 斑点掩膜法 并行计算 image processing image reconstruction techniques speckle interferometry speckle masking parallel computing
摘要
地基太阳高分辨力成像中,自适应光学系统补偿了图像中心等晕区的像差,需要斑点图像重建技术用来产生全视场衍射极限分辨率的图像。一个从Matlab程序移植而来的C语言程序被设计用于加速处理。该程序采用斑点干涉法重建图像的傅里叶振幅和斑点掩膜法重建图像的傅里叶相位。使用OpenMP进行加速,使核心间共享了部分内存资源,图像按子块进行并行计算。移植过程中程序算法上进行了必要的优化并移除了大量的冗余计算。程序使用英特尔ICC编译器编译,运行在一个12核的Linux服务器上。一张1280 pixel×1280 pixel的图像可以在31 s内重建完成。相对于单核运行,加速比最高可以达到10.66。单台服务器上相对于并行接口获得更好的扩展性。
Abstract
In solar ground-based high resolution imaging, the speckle image reconstruction is used to yield diffraction-limited resolution for partially corrected images with the solar adaptive optics system. The C language program which adopts speckle interferometry to reconstruct the Fourier amplitudes and speckle masking to reconstruct the Fourier phase is generated from Matlab procedure. The speckle image reconstruction is based on the multi-core central processing unit architecture. The C program is parallelized by OpenMP, and the program is partitioned by sub-image. In addition, the redundancy calculating is removed. This program is compiled by Intel ICC and run on a 12 cores server with Centos 7.0. As a result, a 1280 pixel×1280 pixel object image can be reconstructed from 100 speckle images within 31 s. Compared with the program run on single core, the speedup is around 10.66. The scalability is better than the program that parallelized by message-passing interface is single server.
唐若林, 田雨, 钟立波, 饶长辉. 基于多核CPU的太阳自适应图像斑点重建技术[J]. 激光与光电子学进展, 2017, 54(6): 061001. Tang Ruolin, Tian Yu, Zhong Libo, Rao Changhui. Adaptive Solar Speckle Image Reconstruction Based on Multi-Core CPU[J]. Laser & Optoelectronics Progress, 2017, 54(6): 061001.