缪新, 李航锋, 张运海, 王发民, 施辛. MEMS振镜扫描共聚焦图像畸变机理分析及校正[J]. 红外与激光工程, 2021, 50(2): 20200206. DOI: 10.3788/IRLA20200206
引用本文: 缪新, 李航锋, 张运海, 王发民, 施辛. MEMS振镜扫描共聚焦图像畸变机理分析及校正[J]. 红外与激光工程, 2021, 50(2): 20200206. DOI: 10.3788/IRLA20200206
Miao Xin, Li Hangfeng, Zhang Yunhai, Wang Famin, Shi Xin. Analysis and correction of image distortion in MEMS galvanometer scanning confocal system[J]. Infrared and Laser Engineering, 2021, 50(2): 20200206. DOI: 10.3788/IRLA20200206
Citation: Miao Xin, Li Hangfeng, Zhang Yunhai, Wang Famin, Shi Xin. Analysis and correction of image distortion in MEMS galvanometer scanning confocal system[J]. Infrared and Laser Engineering, 2021, 50(2): 20200206. DOI: 10.3788/IRLA20200206

MEMS振镜扫描共聚焦图像畸变机理分析及校正

Analysis and correction of image distortion in MEMS galvanometer scanning confocal system

  • 摘要: 在皮肤反射式共聚焦显微成像过程中,针对MEMS振镜二维扫描引起的共聚焦图像畸变,开展了光束偏转理论分析,得出了投影面扫描图像的具体形状表征,理论畸变图像与真实畸变图像一致,明确了畸变机理,提出一种有效的畸变校正算法,实现对图像二维畸变的校正。首先记录原始光栅畸变图像,然后基于Hessian矩阵提取光栅中心线,拾取特征点并设置基准参考线,通过基于最小二乘法的7次多项式插值法标定二维方向像素畸变校正量,采用加权平均法填补间隙像素灰度值,最终实现图像畸变校正。利用网格畸变测试靶实验得出7次多项式插值后的校正决定系数最高、均方根误差值最低,整幅512行图像在7次多项式插值后最优行数占379行,比例为74%,通过残差分析,二维方向上残差最大为4个像素,最小为0个像素,平均为1.15个像素,校正结果较为精确。皮肤在体实时成像实验显示,图像畸变校正后组织结构特征更加真实准确,表明这种校正算法有效可行,有助于皮肤疾病的准确诊断。

     

    Abstract: Aiming at the distorted confocal images caused by the two-dimensional scanning of MEMS galvanometer during skin imaging by reflectance confocal microscopy, the theoretical analysis of beam deflection was carried out, and the specific shape representation of projection plane scanning image was obtained. It was concluded that the theoretical distortion image was consistent with the real distortion image. The distortion mechanism was clarified and a distortion correction method was proposed. First, the original distorted grating image was recorded, then the center lines of grating were obtained based on the Hessian matrix, after that feature points were picked and datum reference lines were set. Finally, the correction to the distorted confocal images was realized by calibrating the corrections of the two-dimensional pixel distortions using polynomial interpolation based on the least square method and filling the gray value of gap pixels by weighted average method. By the experiment of measuring target with grid distortion, the correction coefficient was the highest and the root mean square error was the lowest after polynomial interpolation of degree 7. Also, the optimal number of 512 rows was 379, accounting for 74%. The residual distortions were accurately evaluated, in two dimensional, the maximum value is 4 pixels, the minimum value was 0 pixel and the average value was 1.15 pixels, so the results were accurate. The experiment of in vivo real-time skin imaging shows that the organizational structure features are more real and accurate after corrections. So this method is effective and feasible, which is helpful for accurate diagnosis of skin diseases.

     

/

返回文章
返回