留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

Phase retrieval based on the transport of intensity equation under adaptive focus

Cheng Hong Wang Li Wang Rui Xiang Xinyu Zhang Quanbing Zhu Xiaotian

程鸿, 王丽, 王瑞, 向昕宇, 章权兵, 朱啸天. 自适应聚焦下基于强度传输方程的相位恢复[J]. 红外与激光工程, 2022, 51(3): 20210231. doi: 10.3788/IRLA20210231
引用本文: 程鸿, 王丽, 王瑞, 向昕宇, 章权兵, 朱啸天. 自适应聚焦下基于强度传输方程的相位恢复[J]. 红外与激光工程, 2022, 51(3): 20210231. doi: 10.3788/IRLA20210231
Cheng Hong, Wang Li, Wang Rui, Xiang Xinyu, Zhang Quanbing, Zhu Xiaotian. Phase retrieval based on the transport of intensity equation under adaptive focus[J]. Infrared and Laser Engineering, 2022, 51(3): 20210231. doi: 10.3788/IRLA20210231
Citation: Cheng Hong, Wang Li, Wang Rui, Xiang Xinyu, Zhang Quanbing, Zhu Xiaotian. Phase retrieval based on the transport of intensity equation under adaptive focus[J]. Infrared and Laser Engineering, 2022, 51(3): 20210231. doi: 10.3788/IRLA20210231

自适应聚焦下基于强度传输方程的相位恢复

doi: 10.3788/IRLA20210231
基金项目: 安徽省高等学校自然科学项目(KJ2020ZD02,KJ2019ZD04);安徽省自然科学基金(2008085MF209);安徽省先进激光技术实验室开放研究基金(AHL2020KF05)
详细信息
  • 中图分类号: O438.2

Phase retrieval based on the transport of intensity equation under adaptive focus

Funds: Major Natural Science Foundation of Higher Education Institutions of Anhui Province(KJ2020ZD02,KJ2019ZD04); Natural Science Foundation of Anhui Province(2008085MF209); Open Research Fund of Advanced Laser Technology Laboratory of Anhui Province(AHL2020KF05)
More Information
    Author Bio:

    程鸿,女,副教授,博士, 主要从事计算机视觉、光学成像和信号处理方面的研究

  • 摘要: 基于强度传输方程的非干涉相位恢复方法是通过对强度图像求解方程来获取相位的一种途径。在图像采集过程中,对聚焦图像的选择是很重要的。但该过程通常是由主观方法来确定,从而导致聚焦定位不准确,进而影响相位恢复结果的精度。首先,提出了一种基于强度传输方程的自适应聚焦相位恢复方法;其次,使用边缘占空比对采集图像进行定位,在求解相位之后进行循环角谱传播,直到边缘占空比定位位置不变,即被认为是定位到了最佳聚焦位置;最后,再使用强度传输方程求解样本的相位。结果证明:该方法不仅提高了相位恢复的准确性而且减少了获取大量图像的次数。在模拟实验中,恢复相位与原始相位的相关系数达到0.9866,均方根误差为0.3050。在实际的微透镜阵列实验中,用所提出的相位恢复方法恢复出的微透镜高度与真实高度误差仅为5.7%,证明了在显微成像领域,所提算法可以定位到最优聚焦位置,有利于自动聚焦技术的发展,进而提高相位恢复的精度。
  • Figure  1.  Schematic diagram of intensity differential estimation

    Figure  2.  Edge detect. (a) The gray value of the image's neighborhood pixel at (i,j); (b) Prewitt operator level template ; (c) Prewitt operator vertical template

    Figure  3.  Algorithm flow chart

    Figure  4.  Schematic diagram of edge duty ratio and angular spectrum propagation direction under different conditions

    Figure  5.  Simulation experiment. (a) Set intensity image; (b) Set phase image; (c) A series of intensity images (including focus) of angular spectrum propagation; (d) EDR-TIE positioning calculation results and 0 position phase results graph; (e) AF-TIE positioning calculation result graph

    Figure  6.  Simulates experiment. (a) Set intensity image; (b) Set phase image; (c) A series of intensity images (unfocused) of angular spectrum propagation; (d) EDR-TIE positioning calculation results; (e) Phase retrieval results of EDR-TIE positioning positions; (f) AF-TIE positioning calculation results and phase retrieval results; (g) A series of intensity image AF-TIE positioning calculation results propagated by the 0 position angular spectrum in Fig.6(f)

    Figure  7.  Experimental device diagram and internal optical path

    Figure  8.  Real experiment-plant rhizome cross section. (a) EDR-TIE positioning calculation result diagram; (b) EDR-TIE positioning position phase result diagram; (c) Partially enlarged phase result diagram of (b); (d) AF-TIE positioning calculation result diagram; (e) AF-TIE positioning position phase result diagram; (f) Partially enlarged phase result diagram of (e); (g) Optimal focus position angle spectrum AF-TIE positioning calculation result diagram

    Figure  9.  Validation of focused results. (a) 7 intensity images taken by the microscope; (b) Positioning result by edge duty ratio

    Figure  10.  Actual experience micro lens array: (a) EDR-TIE positioning results; (b) AF-TIE was the best position result; (c) The optimal focus position angular spectrum AF-TIE positioning calculation result; (d) EDR-TIE position phase result and solid line section height curve; (e) AF-TIE position phase results and solid line section height curve

    Table  1.   Evaluation results of different algorithms

    Algorithm
    evaluation index
    RMSESSIM
    EDR-TIE0.46900.9687
    AF-TIE0.30500.9866
    下载: 导出CSV

    Table  2.   Evaluation of retrieval phase by different algorithms

    Focus methodEDR-TIEAF-TIE
    Edge duty ratio0.1420.138
    下载: 导出CSV
  • [1] Li Y, Di J, Ma C, et al. Quantitative phase microscopy for cellular dynamics based on transport of intensity equation [J]. Optics Express, 2018, 26(1): 586-593. doi:  10.1364/OE.26.000586
    [2] Tian X L, Yu W, Meng X, et al. Real-time quantitative phase imaging based on transport of intensity equation with dual simultaneously recorded field of view [J]. Opt Lett, 2016, 41: 1427-1430. doi:  10.1364/OL.41.001427
    [3] Cai S S, Zheng L F, Zeng B X, et al. Quantitative phase imaging based on transport-of-intensity equation and differential interference contrast microscope and its application in breast cancer diagnosis [J]. Chinese Journal of Lasers, 2018, 45(3): 0307015. doi:  10.3788/CJL201845.0307015
    [4] Zuo C, Chen Q, Sun J S, et al. Non-interferometric phase retrieval and quantitative phase microscopy based on transport of intensity equation: A review [J]. Chinese Journal of Lasers, 2016, 43(6): 0609002. doi:  10.3788/CJL201643.0609002
    [5] Lu X Y, Zhao C L, Cai Y J. Research progress on methods and applications for phase reconstruction under partially coherent illumination [J]. Chinese Journal of Lasers, 2020, 47(5): 0500016. doi:  10.3788/CJL202047.0500016
    [6] Koshi Komuro, Takanori Nomura. Quantitative phase imaging using transport of intensity equation with multiple bandpass filters [J]. Appl Opt, 2016, 55: 5180-5186. doi:  10.1364/AO.55.005180
    [7] Cheng H, Xiong B L, Wang J C, et al. Phase retrieval based on registration progressive compensation algorithm [J]. Acta Photonica Sinica, 2016, 43(6): 0609002.
    [8] Cheng H, Lv Q Q, Wei S. Rapid phase retrieval using SLM based on transport of intensity equation [J]. Infrared and Laser Engineering, 2018, 47(7): 0722003. doi:  10.3788/IRLA201847.0722003
    [9] Zhang Q, Wang F M, Guo Y Q, et al. Design of microscope autofocus system [J]. Mechanical Engineering & Automation, 2016(2): 181-183.
    [10] Yang Y, Zhao Y, Yang M, et al. Research on the hardware automatic focusing system in microscope based on PSD [J]. Journal of Mechanical & Electrical Engineering, 2016, 33(1): 47-51.
    [11] Tian X, Meng X, Yu M, et al. In-focus quantitative intensity and phase imaging with the numerical focusing transport of intensity equation method [J]. Journal of Optics, 2016, 18(10).
    [12] Cheng H, Wang R, Ye Y Q, et al. Transport of intensity equation method based on edge detection and duty ratio fusion [J]. Journal of Optics, 2020, 22(4).
    [13] Zuo C, Li J, Sun J, et al. Transport of intensity equation: a tutorial [J]. Optics and Lasers in Engineering, 2020, 135: 106187.
    [14] Liu B B, Yu Y J, Wu X Y, et al. Applicable conditions of phase retrieval based on transport of intensity equation [J]. Optics and Precision Engineering, 2015, 23(10z): 77-84.
    [15] Cheng H, Wang J C, Gao Y L, et al. Phase unwrapping based on transport of intensity equation with two wavelengths [J]. Opt Eng, 2019, 58(5): 054103.
    [16] Wang Z, Bovik A C, Sheikh H R, et al. Image quality assessment: from error visibility to structural similarity [J]. IEEE Transactions on Image Processing, 2004, 13(4): 600-612. doi:  10.1109/TIP.2003.819861
  • [1] 廖清明, 冯泽心.  面向光束整形的自由曲面衍射光学设计方法(特邀) . 红外与激光工程, 2023, 52(7): 20230430-1-20230430-11. doi: 10.3788/IRLA20230430
    [2] 王爱业, 潘安, 马彩文, 姚保利.  相位恢复算法:原理、发展与应用(特邀) . 红外与激光工程, 2022, 51(11): 20220402-1-20220402-26. doi: 10.3788/IRLA20220402
    [3] 和河向, 黎永耀, 黄锦圣.  基于相位共轭实现散射成像及光学幻像的双功能散射光调控方法(特邀) . 红外与激光工程, 2022, 51(8): 20220266-1-20220266-12. doi: 10.3788/IRLA20220266
    [4] 朱硕, 郭恩来, 柏连发, 韩静.  高效学习的透过未知散射介质的相位恢复方法 . 红外与激光工程, 2022, 51(2): 20210889-1-20210889-9. doi: 10.3788/IRLA20210889
    [5] 冯世杰, 左超, 尹维, 陈钱.  深度学习技术在条纹投影三维成像中的应用 . 红外与激光工程, 2020, 49(3): 0303018-0303018-17. doi: 10.3788/IRLA202049.0303018
    [6] Cheng Hong, Liu Yong, Hu Jiajie, Zhang Xiaolong, Deng Huilong, Wei Sui.  Hybrid phase retrieval with chromatic dispersion in single-lens system . 红外与激光工程, 2020, 49(10): 20200017-1-20200017-9. doi: 10.3788/IRLA20200017
    [7] 陈妮, 左超, Byoungho Lee.  基于深度测量的三维成像技术 . 红外与激光工程, 2019, 48(6): 603013-0603013(25). doi: 10.3788/IRLA201948.0603013
    [8] 白鸿一, 杨自恒, 朱福珍.  利用图像翻转和复域编码的离轴干涉载频消除 . 红外与激光工程, 2019, 48(10): 1013004-1013004(9). doi: 10.3788/IRLA201948.1013004
    [9] 赵楠翔, 胡以华.  激光反射层析成像相位恢复算法研究 . 红外与激光工程, 2019, 48(10): 1005005-1005005(7). doi: 10.3788/IRLA201948.1005005
    [10] 张佳琳, 陈钱, 张翔宇, 孙佳嵩, 左超.  无透镜片上显微成像技术:理论、发展与应用 . 红外与激光工程, 2019, 48(6): 603009-0603009(33). doi: 10.3788/IRLA201948.0603009
    [11] 刘正君, 耿勇, 谭久彬.  基于柱透镜多旋转测量的计算成像 . 红外与激光工程, 2019, 48(6): 603016-0603016(5). doi: 10.3788/IRLA201948.0603016
    [12] 潘安, 姚保利.  高通量快速傅里叶叠层显微成像技术研究进展 . 红外与激光工程, 2019, 48(6): 603012-0603012(19). doi: 10.3788/IRLA201948.0603012
    [13] 程鸿, 熊帮玲, 王金成, 马慧敏, 张芬, 韦穗.  透镜模型下基于色散和强度传输方程的相位恢复技术 . 红外与激光工程, 2019, 48(6): 603018-0603018(6). doi: 10.3788/IRLA201948.0603018
    [14] 刘正君, 郭澄, 谭久彬.  基于多距离相位恢复的无透镜计算成像技术 . 红外与激光工程, 2018, 47(10): 1002002-1002002(16). doi: 10.3788/IRLA201847.1002002
    [15] 程鸿, 吕倩倩, 韦穗, 邓会龙, 高要利.  基于光强传输方程与SLM的快速相位恢复 . 红外与激光工程, 2018, 47(7): 722003-0722003(5). doi: 10.3788/IRLA201847.0722003
    [16] 程鸿, 邓会龙, 沈川, 王金成, 韦穗.  光强传输方程与图像插值融合的相位恢复 . 红外与激光工程, 2018, 47(10): 1026003-1026003(7). doi: 10.3788/IRLA201847.1026003
    [17] 马鑫雪, 王建立, 王斌.  利用相位恢复波前传感技术检测球面镜面形 . 红外与激光工程, 2014, 43(10): 3428-3433.
    [18] 曾文雯, 钟小品, 李景镇.  从单幅干涉图中恢复相位的区间反转方法 . 红外与激光工程, 2014, 43(9): 3151-3156.
    [19] 刘大畅, 付跃刚, 张运方, 李慧, 段靖远.  用于表面等离子体共振的加窗傅里叶变换法信号处理方法 . 红外与激光工程, 2014, 43(8): 2752-2756.
    [20] 俞建杰, 马晶, 谭立英, 韩琦琦.  基于相位混合算法的衍射光学元件优化设计方法 . 红外与激光工程, 2013, 42(9): 2472-2477.
  • 加载中
图(10) / 表(2)
计量
  • 文章访问数:  196
  • HTML全文浏览量:  53
  • PDF下载量:  39
  • 被引次数: 0
出版历程
  • 收稿日期:  2021-12-10
  • 修回日期:  2022-01-20
  • 刊出日期:  2022-04-07

Phase retrieval based on the transport of intensity equation under adaptive focus

doi: 10.3788/IRLA20210231
    作者简介:

    程鸿,女,副教授,博士, 主要从事计算机视觉、光学成像和信号处理方面的研究

  • 中图分类号: O438.2

摘要: 基于强度传输方程的非干涉相位恢复方法是通过对强度图像求解方程来获取相位的一种途径。在图像采集过程中,对聚焦图像的选择是很重要的。但该过程通常是由主观方法来确定,从而导致聚焦定位不准确,进而影响相位恢复结果的精度。首先,提出了一种基于强度传输方程的自适应聚焦相位恢复方法;其次,使用边缘占空比对采集图像进行定位,在求解相位之后进行循环角谱传播,直到边缘占空比定位位置不变,即被认为是定位到了最佳聚焦位置;最后,再使用强度传输方程求解样本的相位。结果证明:该方法不仅提高了相位恢复的准确性而且减少了获取大量图像的次数。在模拟实验中,恢复相位与原始相位的相关系数达到0.9866,均方根误差为0.3050。在实际的微透镜阵列实验中,用所提出的相位恢复方法恢复出的微透镜高度与真实高度误差仅为5.7%,证明了在显微成像领域,所提算法可以定位到最优聚焦位置,有利于自动聚焦技术的发展,进而提高相位恢复的精度。

English Abstract

    • In the field of optical microscopy, phase research provides information such as depth and refractive index for biological cells and other objects, which has become an important reference index. At the same time, the solution method of phase is also widely concerned. Among them, the non-interference phase retrieval method based on the Transport of Intensity Equation (TIE) has been applied to microscopic fields, such as living cell detection[1], red blood cell detection[2], breast cancer cell quantitative imaging[3], etc, because it solves the equation directly through the intensity image to obtain the phase, does not need complicated calculation and devices, and reduces coherent noise[4-6].

      When solving TIE, it is necessary to obtain the focus image and the corresponding defocus images along the optical axis direction[7-8]. In actual operation, a series of intensity images are usually obtained along the optical axis direction. But it is impossible to determine whether focus images are included in the collected images. In the case of containing the focus image, simple subjective identification can not find the optimal focus position, thus affect the accuracy of phase retrieval. In the case of not containing the focus image, it is often necessary to locate the position of the focus image through the acquisition of a large number of images again, which leads to the complicated process of phase solution. As for the positioning of microfocus images, many experts and scholars have made hardware modifications. Mao Bangfu of Zhejiang University[9] designed a microscopic automatic focusing system. The system drives the micro-handwheel of the microscope rotation through a stepping motor, which makes the stage move up and down to realize the function of automatic focusing. However, this modification requires complicated devices and high cost. Yu Yang et al.[10] of Nanjing University of Aeronautics and Astronautics have designed a microscope hardware auto-focusing system based on photoelectric position sensitive detector (PSD), which can control the displacement in the z-axis direction of the automatic microscope system in real time. It also improves the auto-focusing capability of the microscope. However, the input-output linearity of the hardware system is not accurate and needs linear compensation.

      In terms of software, Tian Xiaolin et al.[11] of Jiangnan University used cell duty ratio to judge the in-focus images, which judges image focus by calculating the area ratio of the sample to the background. But for continuous samples, it is impossible to distinguish between the sample and the background. So this method is only applicable to discrete samples. Cheng Hong et al.[12] of Anhui University proposed an transport of intensity equation algorithm(EDR-TIE) based the edge detection and duty ratio, which expanded the application range of samples. However, this method requires the collected image sequence to contain the focus image, and the position of the focus image is determined through one-time positioning by the algorithm. When there is no focus image in the collected image sequence, the algorithm cannot accurately locate. On this basis, this paper proposed a phase retrieval algorithm (AF-TIE) based on the transport of intensity equation under adaptive focus. This algorithm locates the reference focus position by edge duty ratio from the original image sequence, and then uses the reference focus image to calculate the focus position. It is suitable for discrete samples and continuous samples, and there is no restriction on whether the focus image is contained or not.

    • In a coherent light field, assuming that monochromatic light propagates along the z-axis under the condition of paraxial approximation. Teague deduced the transport of intensity equation[13], which can be expressed as:

      $${\left. {\frac{{\partial I(x,y,{\textit{z}})}}{{\partial {\textit{z}}}}} \right|_{{\textit{z}} = {{\textit{z}}_0}}} = - \frac{\lambda }{{2\pi }}\nabla \cdot (I(x,y,{{\textit{z}}_0})\nabla \phi (x,y,{{\textit{z}}_0}))$$ (1)

      Among them, ${{\textit{z}}_0}$ is the propagation distance, $\lambda $ is wavelength, $I(x,y,{{\textit{z}}_0})$ and $\phi (x,y,{{\textit{z}}_0})$ are the intensity and phase of the object on the focus plane, $\nabla {\rm{ = }}({\partial _x},{\partial _y})$ is the gradient operator on the plane of $x - y$, $\partial I(x,y,{\textit{z}})/\partial z$ represents the amount of variation in the intensity distribution along the axis, i.e. intensity differential, which cannot be measured directly and is usually estimated by using finite difference. Assuming the $I(x,y,{{\textit{z}}_0}{\rm{ + }}\Delta {\textit{z}})$ and $I(x,y,{{\textit{z}}_0} - \Delta z)$ are the over-focus intensity image and the under-focus intensity image when the defocus distance is $\Delta {\textit{z}}$, as shown in Fig.1. The intensity differential can be zapproximately estimated by Eq.(2):

      Figure 1.  Schematic diagram of intensity differential estimation

      $${\left. {\frac{{\partial I(x,y,{\textit{z}})}}{{\partial {\textit{z}}}}} \right|_{{\textit{z}} = {{\textit{z}}_0}}} \approx \frac{{I(x,y,{{\textit{z}}_0} + \Delta {\textit{z}}) - I(x,y,{{\textit{z}}_0} - \Delta {\textit{z}})}}{{2\Delta {\textit{z}}}}$$ (2)

      Substitute Eq.(2) into Eq.(1) can be obtained:

      $$\begin{gathered} \frac{{I(x,y,{{\textit{z}}_0} + \Delta z) - I(x,y,{{\textit{z}}_0} - \Delta {\textit{z}})}}{{2\Delta {\textit{z}}}} = \\ \frac{\lambda }{{2\pi }}\nabla \cdot (I(x,y,{{\textit{z}}_0})\nabla \phi (x,y,{{\textit{z}}_0})) \\ \end{gathered} $$ (3)

      The only unknown quantity $\phi (x,y,{{\textit{z}}_0})$ can be obtained through Eq.(3).

      In microscopic imaging, the built-in LED light wave used is partially coherent. The corresponding ${\phi _{out}}(x,y,{{\textit{z}}_0})$ is a generalized phase, which consists of the phase of the illumination light ${\phi _{in}}(x,y,{{\textit{z}}_0})$ and the phase of the object $\phi (x,y,{{\textit{z}}_0})$, i.e.

      $${\phi _{out}}(x,y,{{\textit{z}}_0}) = {\phi _{in}}(x,y,{{\textit{z}}_0}) + \phi (x,y,{{\textit{z}}_0})$$ (4)

      Because the microscope satisfies the infinity correction optical system, i.e. the telecentric optical path. At the same time, using symmetrical Kohler illumination in the microscope, which satisfy the zero distance condition. Therefore, the phase of partially coherent light is consistent with that of traditional objects, and the corresponding generalized TIE is completely consistent with that of completely coherent illumination. Therefore, the traditional TIE phase retrieval method can be directly used to solve the phase of the object under the partially coherent light field in the microscope[14].

    • As shown in Eq.(3), the accurate selection of the focus image will affect the accuracy of phase retrieval. The edge duty ratio positioning method can help focus determination. the edge duty ratio is shown in Eq.(5)[12]:

      $$\eta {\rm{ = }}\frac{{{N_B}}}{{{N_T} - {N_B}}}$$ (5)

      ${N_T}$ is the total number of pixels of the picture, ${N_B}$ indicate the corresponding edge information point pixels of the object.

      In this paper, the Prewitt operator is used to extract the edge information of the image. The neighborhood pixel gray value of the image function $f\left( {x,y} \right)$ at point $\left( {i,j} \right)$ is showed in Fig.2(a). Fig.2(b) and Fig.2(c) are the Prewitt operator template of horizontal and the vertical respectively. The gradient amplitude $\nabla f$ and first derivative $g$ are shown in Eq.(6):

      Figure 2.  Edge detect. (a) The gray value of the image's neighborhood pixel at (i,j); (b) Prewitt operator level template ; (c) Prewitt operator vertical template

      $$ \left\{ {\begin{array}{*{20}{l}} \begin{gathered} {g_x} = \left[ {f\left( {i + 1,j - 1} \right) + f\left( {i + 1,j} \right) + f\left( {i + 1,j + 1} \right)} \right] - \\ \left[ {f\left( {i - 1,j - 1} \right) + f\left( {i - 1,j} \right) + f\left( {i - 1,j + 1} \right)} \right] \\ \end{gathered} \\ \begin{gathered} {g_y} = \left[ {f\left( {i - 1,j + 1} \right) + f\left( {i,j + 1} \right) + f\left( {i + 1,j + 1} \right)} \right] -\\ \left[ {f\left( {i - 1,j - 1} \right) + f\left( {i,j - 1} \right) + f\left( {i + 1,j - 1} \right)} \right] \\ \end{gathered} \\ {\nabla f = \sqrt {{g_x}^2 + {g_y}^2} } \end{array}} \right. $$ (6)

      Duty ratio as the evaluation standard of focus image, which is the area ratio of the sample to the background in the image actually. When the collected intensity map is located in the focused plane, the target sample occupies the least area in the image. If the position deviates from the focal plane, halos will appear under the influence of diffraction effect, blurring the sample boundary, thus increasing the proportion of sample edge information in the whole image area. With the increase of defocus distance, the proportion of edge information will be larger. Therefore, the focus intensity image can be judged by calculating the number of pixels occupied by the sample edge, that is to say the focus position can be located from a series of intensity maps by using the characteristic of "the duty ratio of the optimal focus image is the minimum"[9].

      When the collected image sequence contains focus image, the EDR-TIE algorithm proposed in reference[12] can be used directly to detect the optimal focused position. However, when the focus image is not included, use the EDR-TIE algorithm directly can only be used to locate in the first or the last position of this column of intensity images. So, in order to obtain the focus position, we need to collect a large number of images again. Based on EDR-TIE, this paper proposes an positioning method of adaptive focusing, i.e. AF-TIE algorithm, and its flow chart is shown in Fig.3.

      Figure 3.  Algorithm flow chart

      Firstly, the edge duty ratio method is used to locate k1 position through a series of existing intensity images, and the phase at k1 position can be solved by TIE, which used intensity image and corresponding defocus images. The phase and intensity form a wavefront. Then use the angular spectrum propagation to obtain a new series of intensity images. The edge duty ratio is used to detect and locate, and the position is found to be k2. If k1 and k2 are equal, k1 is considered to be the optimal focus position, and the focus image are considered to be contained in the series of intensity maps. If k1 and k2 are not equal, the intensity image and the corresponding defocus images of k2 position are obtained. So the phase of k2 position is solved, and a new series of intensity images are obtained by angular spectrum propagation again. Continue to postion with edge duty cycle, compare and cycle until the position obtained by positioning is no longer changed, ending the cycle.

      In the above angular spectrum propagation, we all choose one-direction propagation, because if the collected series of intensity images contain focus image, as shown in Fig.4(b). The positioning position does not change after the first positioning and the angular spectrum propagation in one direction. If the focus image is not included, this series of intensity images can only be on the under-focus side or on the over-focus side, as shown in Fig.4(a) and Fig.4(c). After the edge duty ratio is positioned. We choose to propagate the angular spectrum to the side with small edge duty ratio, that is, to the side with focus.

      Figure 4.  Schematic diagram of edge duty ratio and angular spectrum propagation direction under different conditions

      Assuming that the optimal focus position is at ${\textit{z}}_0'$, then the defocus image $I(x,y,{\textit{z}}_{_0}' + \Delta z)$ and $I(x,y,{\textit{z}}_{_0}' - \Delta z)$ are selected at the position ${\textit{z}}_{_0}' \pm \Delta {\textit{z}}$, and the Eq.(2) is used to obtain the following formula

      $$\begin{split} \\ \frac{{\partial I(x,y,{\textit{z}}_0')}}{{\partial {\textit{z}}}} \approx \frac{{I(x,y,{\textit{z}}_{_0}' + \Delta {\textit{z}}) - I(x,y,{\textit{z}}_{_0}' - \Delta {\textit{z}})}}{{2\Delta {\textit{z}}}} \end{split}$$ (7)

      Allen et al. proposed that the solution of Eq.(1) can be obtained by Fourier operator step-by-step calculation. Set

      $$ {\nabla }^{2} =-\frac{\lambda }{2\text{π} }\frac{\partial I(x,y,{z}_{0}^{{'}})}{\partial z}$$ (8)

      For any function $f(x,y)$, its Fourier properties can be described as:

      $$\nabla f(x,y) = ix{F^{ - 1}}{f_x}F[f(x,y)] + iy{F^{ - 1}}{f_y}F[f(x,y)]$$ (9)
      $$ {\nabla }^{2}f(x,y)=-{F}^{-1}({f}_{x}^{2}+{f}_{y}^{2})F[f(x,y)]$$ (10)

      In the formula, $x$ and $y$ respectively represents the vector of $x$ and $y$ direction, $F$ is Fourier transform, ${F^{ - 1}}$ is inverse Fourier transform and $({f_x},{f_y})$ is spatial frequency coordinate. Combining Eq.(8) and Eq.(10) to obtain:

      $$\varphi (x,y,{\textit{z}}_0') = {F^{ - 1}}(f_x^2 + f_y^2)F\left[ {\frac{\lambda }{{2\pi }}\frac{{\partial I(x,y,{\textit{z}}_0')}}{{\partial {\textit{z}}}}} \right]$$ (11)

      The value of the phase is obtained by using Fourier properties again, which can be expressed as:

      $$ \begin{split} \phi (x,y,{{\textit{z}}_0}'){\rm{ = }}&{F^{ - 1}}[{(f_x^2 + f_y^2)^{ - 1}}] \cdot {F^{ - 1}}\\ &\left\{ {\nabla [{I^{ - 1}}(x,y,{{\textit{z}}_0}')\nabla \varphi (x,y,{{\textit{z}}_0}')]} \right\} \end{split} $$ (12)
    • In this section, simulation experiments are carried out on the collected image sequence with focus and without focus respectively.

    • Firstly, the simulated experimental samples are selected. The intensity and phase images of the focus plane are shown in Fig.5(a) and Fig.5(b) respectively. The simulated image size is set to 256×256 pixel. Setting the focus position to 0 position. Firstly, five defocus images are obtained respectively before and after the focus plane by angular spectrum propagation, as shown in Fig.5(c). EDR-TIE algorithm is used directly for 11 intensity images which include focus image. The edge duty ratio detection results are shown in Fig.5(d), and it can be found that the focus image located at 0 position. The phase solution is carried out by the intensity image and the corresponding defocus images where the 0 position is located, and the result is shown in Fig.5(d).

      Figure 5.  Simulation experiment. (a) Set intensity image; (b) Set phase image; (c) A series of intensity images (including focus) of angular spectrum propagation; (d) EDR-TIE positioning calculation results and 0 position phase results graph; (e) AF-TIE positioning calculation result graph

      The cycle operations continue to carry out by the AF-TIE algorithm. Using the intensity image of the 0 position and the phase image obtained by the solution to do angular spectrum propagate to the in-focus side, thus 11 intensity images are obtained, then the edge duty ratio detection is carried out again. If it found that the position is consistent with which obtain by EDR-TIE algorithm, as shown in Fig.5(e). Therefore, the 0 postion is considered as the optimal focus position which matches the set focus position.

      Assuming that the original phase is $\phi $, the retrieved phase is ${\phi _r}$. Define error formula as[15]:

      $$RMSE = \sqrt {\dfrac{{\displaystyle\mathop \sum \limits_{x,y} {{({\phi _r} - \phi )}^2}}}{{M \times N}}} $$ (13)

      The error of the phase result between the optimal focus position and the set position is 0.3050. It can be seemed that both EDR-TIE and AF-TIE algorithm proposed in this paper can locate the optimal focus position when the focus image is included.

    • The intensity and phase in the focus plane of the simulated experimental sample are shown in Fig.6(a) and Fig.6(b) respectively. The distance between the two adjacent images is 100 μm, 0 position is the real focus position, and defocus images at positions from −8 to −13 are obtained by angular spectrum propagation, as shown in Fig.6(c). There is no focus image in this series of images. EDR-TIE algorithm is directly calculated from these 6 images. The positioning result is shown in Fig.6(d), and it can be found that it is located at the position of −8. We use angle spectrum by images at −8 position to obtain the intensity at −7 position. Then, using the intensity images at positions −9, −8, and −7 to obtain the phase of −8 position through TIE and the result is shown in Fig.6(e). Obviously, the EDR-TIE positioning result is inaccurate. If we want to obtain the focus image further, we usually need to collect a large number of intensity images again. Using AF-TIE algorithm in this paper, unidirectional angular spectrum propagation and edge duty ratio detection are carried out from the intensity image and the phase image at −8 position obtained by solution, and it is found that the focus plane is located at 0 position. The result is shown in Fig.6(f). Then move the translation table to collect the intensity image and the corresponding defocus images in 0 position, and the phase result show in Fig.6(f). Once again, one-directon angular spectrum propagation and edge duty ratio calculation are carried out to obtain the result in Fig.6(g), and it is found that it is located at its own position. Therefore, the 0 position is the optimal focus position, which is also the preseted. Then ending the cycle. This process reduce the collection number of intensity images.

      Figure 6.  Simulates experiment. (a) Set intensity image; (b) Set phase image; (c) A series of intensity images (unfocused) of angular spectrum propagation; (d) EDR-TIE positioning calculation results; (e) Phase retrieval results of EDR-TIE positioning positions; (f) AF-TIE positioning calculation results and phase retrieval results; (g) A series of intensity image AF-TIE positioning calculation results propagated by the 0 position angular spectrum in Fig.6(f)

      In order to further compare the phase results of EDR-TIE algorithm and AF-TIE algorithm, an image quality evaluation index SSIM (structural similarity index) is introduced to measure the image structural similarity[16].

      $$SSIM(X,Y) = \frac{{(2{\mu _X}{\mu _Y} + {C_1})({\sigma _{XY}} + {C_2})}}{{(\mu _X^2 + \mu _Y^2 + {C_1})(\sigma _X^2 + \sigma _Y^2 + {C_2})}}$$ (14)

      With the two images $X$ and $Y$ entered, ${\mu _X}$ and ${\mu _Y}$ represent the average of $X$ and $Y$, ${\sigma _X}$ and ${\sigma _Y}$ represent the standard deviation of $X$ and $Y$, ${\sigma _{XY}}$ is the covariance of $X$ and $Y$, ${C_1}$ and ${C_2}$ are the constants.

      The error and similarity between the phase results of EDR-TIE algorithm and AF-TIE algorithm and the set phase are calculated by Eq.(13) and Eq.(14) respectively, as shown in Tab.1. The effectiveness and accuracy of the algorithm proposed in this paper are proved.

      Table 1.  Evaluation results of different algorithms

      Algorithm
      evaluation index
      RMSESSIM
      EDR-TIE0.46900.9687
      AF-TIE0.30500.9866
    • In this section, real experiments are carried out on samples of continuous distribution and discrete distribution respectively. A small amount of intensity images are collected by inverted microscope (MI52, Mshot), and the acquisition interval of adjacent intensity images is 2 μm. The experimental device and internal optical path are shown in Fig.7. The illumination light source is the LED white light in the microscope. Firstly, it passes through a optical filter with a center wavelength of 532 nm and half-peak bandwidth of 22 nm. Then the light intensity adjusted by a light collector and an aperture diaphragm. Next, we obtain uniform collimated light through a light collector. The light irradiates the sample through the objective lens, the reflector and the lens barrel lens. Finally, the enlarged object light field is transmited to the camera port of the microscope. The resolution of CCD (MS60, Mshot) used in the experiment is 2048×2048 pixel.

      Figure 7.  Experimental device diagram and internal optical path

    • The continuous distributed cross-cutting cells of plant rhizomes are selected as sample in the real experiment of continuous distributed samples. EDR-TIE algorithm is used to locate the collected intensity images. The results are shown in Fig.8(a), and the positioning results are ideally located at the head or tail of a series of images. The phase is solved by using the intensity image and the corresponding defocus images of EDR-TIE positioning position, as shown in Fig.8(b). 10 intensity images are obtained from the EDR-TIE positioning position through angle spectrum propagated, since a new series of intensity images are obtained. Then AF-TIE calculation and edge duty ratio positioning are carried out. The positioning position is shown in Fig.8(d). Move the translation table to the AF-TIE positioning position to obtain the corresponding intensity images, then solve the phase, as shown in Fig.8(e). Once again, 10 intensity images are obtained through forward angle spectrum propagation, and edge duty ratio positioning is carried out. As shown in Fig.8(g). It is found that the located position has not changed. So the cycle can be ended.

      Figure 8.  Real experiment-plant rhizome cross section. (a) EDR-TIE positioning calculation result diagram; (b) EDR-TIE positioning position phase result diagram; (c) Partially enlarged phase result diagram of (b); (d) AF-TIE positioning calculation result diagram; (e) AF-TIE positioning position phase result diagram; (f) Partially enlarged phase result diagram of (e); (g) Optimal focus position angle spectrum AF-TIE positioning calculation result diagram

      Figure8(c) and Figure8(f) are local amplification images of the phase results of Figure8(b) and Figure8(e) respectively. It can be seen that the optimal focus position can be located through several cycles by using AF-TIE algorithm.

      In order to quantitatively evaluate the clarity of the retrieval phase, we use the edge duty ratio to compare the retrieval phase of EDR-TIE algorithm with AF-TIE algorithm, and the results are shown in Tab.2. It can be seen from the comparison result that when the initial image sequence does not contain focus image, the edge duty ratio of retrieval phase of the AF-TIE positioning position is smaller than the EDR-TIE positioning position, that is, AF-TIE algorithm has higher accuracy than EDR-TIE algorithm.

      Table 2.  Evaluation of retrieval phase by different algorithms

      Focus methodEDR-TIEAF-TIE
      Edge duty ratio0.1420.138

      In order to further prove that the focus position located by AF-TIE algorithm is the optimal focus position. We move the translation stage of the microscope to the position of 7, which is the focus position located by AF-TIE algorithm, then taking 3 images at the same distance before and after the 7 position (the interval is 2 μm) and directly using the edge duty ratio to locate the the optimal focus image of the 7 images. The 7 images and the positioning results are shown in Fig.9(a) and Fig.9(b). It can be seen from the results that the real shot images are also located at position 7. That is, the positioning result of the edge duty ratio on the real shot image is consistent with the positioning result of AF-TIE, which proves the accuracy of the algorithm in this paper.

      Figure 9.  Validation of focused results. (a) 7 intensity images taken by the microscope; (b) Positioning result by edge duty ratio

    • In this experiment, microlense (Thorlab) was choosed as sample, and the lens material was fused Shi Ying with refractive index of 1.458. EDR-TIE positioning results are shown in Fig.10(a), then solve the corresponding phase and cycle. The best focus positioning results in this paper are shown in Fig.10(b). Move the translation table to the best positioning position and capture the corresponding intensity image, then solve the phase. The phase results of the best positioning positions of EDR-TIE and AF-TIE are shown in the Fig.10(c) and Fig.10(d) respectively. The true height of the microlens array is 1.11 μm. The height of the microlens array at EDR-TIE position is 1.2805 μm with error of 15.3%. The height of the microlens array at optimal focusing position of AF-TIE is 1.1739 μm with error of 5.7%. The results show that the optimal focal plane phase height obtained by AF-TIE algorithm in this paper is closer to the real value.

      Figure 10.  Actual experience micro lens array: (a) EDR-TIE positioning results; (b) AF-TIE was the best position result; (c) The optimal focus position angular spectrum AF-TIE positioning calculation result; (d) EDR-TIE position phase result and solid line section height curve; (e) AF-TIE position phase results and solid line section height curve

    • In the solving process of TIE, the focus image is needed to participate. The accurate positioning of focused image is vital to improve the accuracy of phase retrieval. In the field of microscopic imaging, AF-TIE algorithm can be used to locate the optimal focus position. For a series of images collected by microscope. Firstly, solve the phase of the first positioning position which located by the egde duty ratio. Then the circular angular spectrum propagation and focus judgment is carried out until the lacation postion remains unchanged. Where it is finally located is the optimal focus position. The AF-TIE algorithm reduce the time to obtain a large number of images, which promotes to the development of automatic focusing technology and improves the accuracy of phase retrieval.

参考文献 (16)

目录

    /

    返回文章
    返回