CN113671682B - Frequency domain light source position accurate correction method based on Fourier laminated microscopic imaging - Google Patents
Frequency domain light source position accurate correction method based on Fourier laminated microscopic imaging Download PDFInfo
- Publication number
- CN113671682B CN113671682B CN202110969362.1A CN202110969362A CN113671682B CN 113671682 B CN113671682 B CN 113671682B CN 202110969362 A CN202110969362 A CN 202110969362A CN 113671682 B CN113671682 B CN 113671682B
- Authority
- CN
- China
- Prior art keywords
- sample
- spectrum
- low
- resolution
- frequency domain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B21/00—Microscopes
- G02B21/06—Means for illuminating specimens
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B21/00—Microscopes
- G02B21/06—Means for illuminating specimens
- G02B21/08—Condensers
- G02B21/14—Condensers affording illumination for phase-contrast observation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/30—Determination of transform parameters for the alignment of images, i.e. image registration
- G06T7/33—Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10056—Microscopic image
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20048—Transform domain processing
- G06T2207/20056—Discrete and fast Fourier transform, [DFT, FFT]
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Optics & Photonics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biophysics (AREA)
- General Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Image Analysis (AREA)
- Microscoopes, Condenser (AREA)
Abstract
本发明基于傅里叶叠层显微成像的频域光源位置精确校正方法中,(1)针对校正位置不精确的问题,对LED阵列中每个LED引入独立的频域位置误差模型进行精确校正;(2)针对校正过程需要参与图像重建过程而带来的时间消耗过长的问题,引入一幅高倍物镜采集的高分辨率强度图像当做参考图像,模拟傅里叶叠层显微成像技术的图像采集过程,生成每个LED对应的虚拟低分辨强度图像。结合虚拟与实际采集的图像,建立损失函数,以二维粒子群算法搜索每个LED对应的最佳频域位置参数。因此,本发明利用引入的高倍物镜下高分辨强度图像与频域位置误差模型实现了基于傅里叶叠层成像原理的LED光源频域位置精确校正,具有实现简易、鲁棒性高、位置精确等优点。
In the frequency-domain light source position accurate correction method based on Fourier stack microscopic imaging of the present invention, (1) aiming at the problem of inaccurate correction position, an independent frequency-domain position error model is introduced for each LED in the LED array for precise correction ; (2) Aiming at the problem that the correction process needs to be involved in the image reconstruction process and the time consumption is too long, a high-resolution intensity image collected by a high-magnification objective lens is introduced as a reference image to simulate the Fourier stack microscopic imaging technology. During the image acquisition process, a virtual low-resolution intensity image corresponding to each LED is generated. Combining the virtual and actual collected images, a loss function is established, and the optimal frequency-domain position parameters corresponding to each LED are searched by a two-dimensional particle swarm algorithm. Therefore, the present invention uses the high-resolution intensity image under the high-magnification objective lens and the frequency-domain position error model to realize the accurate correction of the frequency-domain position of the LED light source based on the principle of Fourier stack imaging, and has the advantages of simple implementation, high robustness, and accurate position Etc.
Description
技术领域Technical Field
本发明涉及定量位相计算显微成像技术领域,具体而言,涉及一种基于傅里叶叠层显微成像的频域光源位置精确校正方法。The present invention relates to the technical field of quantitative phase computational microscopy, and in particular to a method for accurately correcting the position of a frequency domain light source based on Fourier stack microscopy.
背景技术Background Art
传统光学显微成像技术以记录光强度信息方式形成图像对比度,为人类打开了显微世界的大门。然而,对于一些透明生物样本,仅凭光强度测量值成像的传统光学显微技术却显得无能为力。1930年,Frits Zernike发明了一种可对位相物体进行高对比成像技术。至此,定量位相成像逐渐成为一种对透明生物样本进行无标记成像的主要方法。不同于传统光学显微成像,定量位相成像根据由样本引入的光程延迟形成高对比度定量图像,并提供对目标特征的客观位相测量值。由于位相与样本的折射率和厚度的乘积为正比,这些测量值可进一步揭示样本的深层结构特征,为后续判断、决策提供相应条件。当前,定量位相成像技术已被广泛研究并应用于生物观察、细胞检测、药物筛选、微量元素研究、精密材料等领域。Traditional optical microscopy technology forms image contrast by recording light intensity information, opening the door to the microscopic world for humans. However, for some transparent biological samples, traditional optical microscopy technology that only relies on light intensity measurement values for imaging seems powerless. In 1930, Frits Zernike invented a high-contrast imaging technology for phase objects. Since then, quantitative phase imaging has gradually become a major method for label-free imaging of transparent biological samples. Unlike traditional optical microscopy, quantitative phase imaging forms high-contrast quantitative images based on the optical path delay introduced by the sample, and provides objective phase measurements of target features. Since the phase is proportional to the product of the refractive index and thickness of the sample, these measurements can further reveal the deep structural characteristics of the sample and provide corresponding conditions for subsequent judgment and decision-making. At present, quantitative phase imaging technology has been widely studied and applied in biological observation, cell detection, drug screening, trace element research, precision materials and other fields.
为打破传统光学显微成像技术中的一些固有限制条件,如系统分辨率与物镜视场之间的相互制约关系,系统衍射极限条件等,定量位相计算显微成像技术应运而生。作为一种新兴的定量位相计算显微成像技术,傅里叶叠层显微成像技术(Fourier PtychographicMicroscopy,FPM)通过有效结合合成孔径、位相检索、最优化理论等计算成像相关技术,可同时实现宽视场、高分辨、多模态、数字重聚焦、像差校正、定量位相成像等功能。相比于传统数字光学显微成像系统,该技术仅需利用一个可编程的LED阵列替换传统的反射式或主动式光源即可完成系统硬件部分改装,廉价且易于实现。In order to break some inherent limitations in traditional optical microscopy technology, such as the mutual constraints between system resolution and objective field of view, system diffraction limit conditions, etc., quantitative phase computational microscopy technology came into being. As an emerging quantitative phase computational microscopy technology, Fourier ptychographic microscopy (FPM) can simultaneously achieve wide field of view, high resolution, multi-modality, digital refocusing, aberration correction, quantitative phase imaging and other functions by effectively combining synthetic aperture, phase retrieval, optimization theory and other computational imaging related technologies. Compared with traditional digital optical microscopy systems, this technology only needs to use a programmable LED array to replace the traditional reflective or active light source to complete the modification of the system hardware part, which is cheap and easy to implement.
傅里叶叠层显微成像技术的实现分为两个过程:图像采集过程与图像重建过程。对于图像采集过程,其在低倍物镜下逐个点亮阵列中的LED作为照明光源。当点亮阵列中不同位置的单个LED斜照明一个二维薄样本时,其等效于样本的频谱在频域发生了相对平移效应。这种由不同斜照明引入的位置平移变换使得物镜可收集到原截止频率外的样本频谱信息并在相机面捕获一系列低分辨强度图像。之后在图像重建过程中,这些强度图像将在频域中进行迭代更新样本的频谱信息并最终合成为一张新频谱。经反傅里叶变换后,重建频谱信息即可转化为高分辨的样本复振幅信息。类似于合成孔径理念,傅里叶叠层显微成像技术提升了系统的等效截止频率,从而同时实现了低倍镜下宽视场、高分辨率及定量位相成像。The implementation of Fourier stacking microscopy technology is divided into two processes: image acquisition process and image reconstruction process. For the image acquisition process, the LEDs in the array are lit one by one under a low-power objective lens as the illumination source. When a single LED at different positions in the array is lit to obliquely illuminate a two-dimensional thin sample, the spectrum equivalent to the sample undergoes a relative translation effect in the frequency domain. This position translation transformation introduced by different oblique illuminations enables the objective lens to collect sample spectrum information outside the original cutoff frequency and capture a series of low-resolution intensity images on the camera surface. Later, during the image reconstruction process, these intensity images will iteratively update the sample's spectrum information in the frequency domain and eventually synthesize into a new spectrum. After inverse Fourier transform, the reconstructed spectrum information can be converted into high-resolution sample complex amplitude information. Similar to the concept of synthetic aperture, Fourier stacking microscopy technology improves the equivalent cutoff frequency of the system, thereby simultaneously achieving wide field of view, high resolution and quantitative phase imaging under low-power microscopes.
LED阵列作为傅里叶叠层显微镜中的光源部分,其每个LED的位置参数决定每个子频谱在频域的更新位置,其准确程度直接影响最终图像重建的质量。因此,在实际系统中,对每个LED位置实现精确校正,是实现傅里叶叠层显微成像技术的重要一环。2016年,Sun等人首次建立空域全局误差模型描述LED阵列位置误差,并以模拟退火算法与图像重建过程相结合,完成LED的位置校正。相关实验结果表明该方法有效自动校正了LED位置误差,降低了实验系统搭建中对光源位置精度需求。2017年,Pan等人在此基础上结合嵌入式瞳孔函数恢复算法(Embedded Pupil Function Recovery,EPRY),进一步提升了校正算法的鲁棒性。然而这些算法都基于空域统一校正模型,以一致性参数表征每个LED与实际位置的误差。不仅如此,使用的模拟退火算法极易陷入局部最优解而非全局最优。综合以上两点分析,现有校正算法依旧存在校正不准确的风险。另一方面,基于模拟退火算法的校正过程必须参与图像重建过程,导致整个校正过程显得十分冗长。As the light source in the Fourier stacking microscope, the position parameters of each LED in the LED array determine the update position of each sub-spectrum in the frequency domain, and its accuracy directly affects the quality of the final image reconstruction. Therefore, in the actual system, accurate correction of each LED position is an important part of realizing Fourier stacking microscopy imaging technology. In 2016, Sun et al. first established a spatial global error model to describe the position error of the LED array, and combined the simulated annealing algorithm with the image reconstruction process to complete the position correction of the LED. The relevant experimental results show that this method effectively and automatically corrects the LED position error and reduces the demand for light source position accuracy in the construction of the experimental system. In 2017, Pan et al. combined the embedded pupil function recovery algorithm (EPRY) on this basis to further improve the robustness of the correction algorithm. However, these algorithms are all based on a unified spatial correction model, and the error between each LED and the actual position is characterized by a consistency parameter. In addition, the simulated annealing algorithm used is very easy to fall into a local optimal solution rather than a global optimal solution. Based on the above two analysis points, the existing correction algorithms still have the risk of inaccurate correction. On the other hand, the correction process based on the simulated annealing algorithm must participate in the image reconstruction process, which makes the entire correction process appear very lengthy.
发明内容Summary of the invention
本发明旨在提供一种基于傅里叶叠层显微成像的频域光源位置精确校正方法,以解决现有基于傅里叶叠层显微成像技术中的校正算法存在校正位置不精确以及校正过程时间消耗过长的问题。The present invention aims to provide a method for accurately correcting the position of a frequency domain light source based on Fourier stack microscopy, so as to solve the problems of inaccurate correction position and excessively long correction process time in the existing correction algorithm based on Fourier stack microscopy technology.
本发明提供的一种基于傅里叶叠层显微成像的频域光源位置精确校正方法,包括如下步骤:The present invention provides a method for accurately correcting the position of a frequency domain light source based on Fourier stack microscopy imaging, comprising the following steps:
步骤S100,低倍镜下带位置误差的FPM采集与重建:低倍物镜下逐个点亮可编程LED阵列中的LED,在相机面上捕获关于样本的一系列处于不同LED对应位置的低分辨强度图像;然后利用重建算法对捕获的低分辨强度图像在频域中完成重建,获得重建的带位置误差的高分辨强度与位相复振幅;Step S100, FPM acquisition and reconstruction with position error under low-power lens: LEDs in the programmable LED array are illuminated one by one under the low-power objective lens, and a series of low-resolution intensity images of the sample at the corresponding positions of different LEDs are captured on the camera surface; then the captured low-resolution intensity images are reconstructed in the frequency domain using a reconstruction algorithm to obtain reconstructed high-resolution intensity and phase complex amplitude with position error;
步骤S200,高倍物镜下高分辨率强度图像采集与区域配准:使用高倍物镜替换低倍物镜并完成调焦操作后,采集高倍物镜下样本的高分辨强度图像;然后对低分辨强度图像以及高分辨强度图像使用图像配准算法匹配并框选二者图像中表征相同信息区域,对高分辨强度图像中表征相同信息区域经过插值后获得配准后的高分辨强度图像;Step S200, high-resolution intensity image acquisition and regional registration under a high-power objective lens: after replacing the low-power objective lens with a high-power objective lens and completing the focusing operation, a high-resolution intensity image of the sample under the high-power objective lens is acquired; then, the low-resolution intensity image and the high-resolution intensity image are matched using an image registration algorithm and the regions representing the same information in the two images are framed, and the regions representing the same information in the high-resolution intensity image are interpolated to obtain a registered high-resolution intensity image;
步骤S300,LED对应位置的虚拟低分辨强度图像生成:使用带位置误差的高分辨强度与位相复振幅以及配准后的高分辨强度图像组成样本的新频谱图;根据可编程LED阵列中每个LED理想频域位置,从新频谱图中获取对应每个LED理想频域位置的子频谱信息,并对子频谱信息通过傅里叶反变换获得一系列虚拟低分辨强度图像;Step S300, generating a virtual low-resolution intensity image of the corresponding position of the LED: using the high-resolution intensity with position error and the phase complex amplitude and the registered high-resolution intensity image to form a new spectrum diagram of the sample; according to the ideal frequency domain position of each LED in the programmable LED array, obtaining the sub-spectrum information corresponding to the ideal frequency domain position of each LED from the new spectrum diagram, and obtaining a series of virtual low-resolution intensity images by inverse Fourier transforming the sub-spectrum information;
步骤S400,阵列中独立LED位置参数的搜索:根据空域中LED对应位置的平移效应等效于频域中孔径位置的平移效应,对每个LED引入频域位置误差模型;由此,将当前LED理想频域位置作为搜索中心,规定搜索区域,并以二维粒子群算法进行最佳位置参数搜索;当所产生的虚拟低分辨强度图像与当前实际采集的低分辨强度图像之间差异最小时,即认为此位置为该LED对应的实际频域位置,完成该LED的位置校正。Step S400, searching for position parameters of independent LEDs in the array: based on the fact that the translation effect of the corresponding position of the LED in the spatial domain is equivalent to the translation effect of the aperture position in the frequency domain, a frequency domain position error model is introduced for each LED; thus, the ideal frequency domain position of the current LED is taken as the search center, the search area is specified, and the optimal position parameter search is performed using a two-dimensional particle swarm algorithm; when the difference between the generated virtual low-resolution intensity image and the currently actually collected low-resolution intensity image is the smallest, this position is considered to be the actual frequency domain position corresponding to the LED, and the position correction of the LED is completed.
进一步地,步骤S100中低倍镜下带位置误差的FPM采集的方法包括如下子步骤:Furthermore, the method for collecting FPM with position error under a low-power microscope in step S100 includes the following sub-steps:
步骤S101,使用规格为m×n的可编程LED阵列作为光源;假定该可编程LED阵列中相邻LED之间的间隔为d,那么处于第i行、第j列(1≤i≤m,1≤j≤n)的LED理想位置Pi,j表示为:Step S101, using a programmable LED array with a specification of m×n as a light source; assuming that the interval between adjacent LEDs in the programmable LED array is d, the ideal position P i,j of the LED in the i-th row and j-th column (1≤i≤m, 1≤j≤n) is expressed as:
Pi,j=(xi,j,yi,j)=(i·d,j·d)P i,j = (x i,j ,y i,j ) = (i·d,j·d)
式中,xi,j与yi,j表示LED在空域所处水平面的二维坐标分量值;Where x i,j and y i,j represent the two-dimensional coordinate component values of the horizontal plane where the LED is located in the airspace;
步骤S102,假定光源位置距样本足够远,那么从LED出射的照明光波可视为单色平面波。因此,使用某个LED照明样本时,对应的波矢量ki,j表示为:Step S102, assuming that the light source is far enough from the sample, the illumination light wave emitted from the LED can be regarded as a monochromatic plane wave. Therefore, when a certain LED is used to illuminate the sample, the corresponding wave vector k i,j is expressed as:
式中,与分别表示波矢量ki,j在x与y方向上的波矢分量值;λ表示LED辐射的中心波长值;h表示样本距离当前照明样本的LED的垂直距离;In the formula, and Respectively represent the wave vector component values of wave vector k i,j in the x and y directions; λ represents the central wavelength value of LED radiation; h represents the vertical distance between the sample and the LED currently illuminating the sample;
步骤S103,将样本的入射光场的强度值归一化为1,那么从样本出射的频谱表示为:Step S103, normalize the intensity value of the incident light field of the sample to 1, then the spectrum emitted from the sample is expressed as:
F{e(r)}=F{o(r)exp(iki,jr)}=O(k-ki,j)F{e(r)}=F{o(r)exp(ik i,j r)}=O(kk i,j )
式中,F{}表示二维傅里叶变换,e(r)表示从样本出射的复振幅,o(r)表示样本空域的复振幅调制函数,即样本的复振幅函数;o(k)表示样本在频域中的频谱;O(k-ki,j)表示将样本出射的频谱等效于样本的频谱中心被平移至波矢量ki,j处;Wherein, F{} represents the two-dimensional Fourier transform, e(r) represents the complex amplitude emitted from the sample, o(r) represents the complex amplitude modulation function of the sample space, that is, the complex amplitude function of the sample; o(k) represents the spectrum of the sample in the frequency domain; O(kk i,j ) represents that the spectrum emitted by the sample is equivalent to the spectrum center of the sample being translated to the wave vector k i,j ;
步骤S104,从样本的出射复振幅在频域被低倍物镜的光瞳函数P(k)低通滤波,该低通滤波过程表示为:Step S104, the complex amplitude emitted from the sample is low-pass filtered in the frequency domain by the pupil function P(k) of the low-power objective lens. The low-pass filtering process is expressed as:
Gi,j(k)=O(k-ki,j)P(k)Gi ,j (k)=O(kki ,j )P(k)
式中Gi,j(k)表示通过低倍物镜后的样本频谱;Where G i,j (k) represents the sample spectrum after passing through the low-power objective lens;
步骤S105,样本频谱传播至像面进行成像,并被相机采集转换为低分辨率强度图像表示为:Step S105: the sample spectrum is propagated to the image plane for imaging and is captured by the camera and converted into a low-resolution intensity image. It is expressed as:
式中,gi,j(r)表示像面上样本的复振幅,F-1{}表示二维傅里叶逆变换;Where, g i,j (r) represents the complex amplitude of the sample on the image plane, and F -1 {} represents the two-dimensional inverse Fourier transform;
步骤S106,逐个点亮可编程LED阵列中的LED,并对每个点亮的LED执行步骤S102~S105,则捕获关于样本的一系列处于不同LED对应位置的低分辨强度图像 Step S106, lighting up the LEDs in the programmable LED array one by one, and executing steps S102 to S105 for each lit LED, thereby capturing a series of low-resolution intensity images of the sample at positions corresponding to different LEDs.
进一步地,步骤S100中的重建方法包括如下子步骤:Furthermore, the reconstruction method in step S100 includes the following sub-steps:
步骤S111,频谱初始化,即将可编程LED阵列的中心位置采集的低分辨强度图像插值后的结果当作重建样本频谱的强度部分初始值,并选择零位相作为相关位相的初始值,再结合低倍物镜的光瞳函数,求解重建样本频谱的初始值为:Step S111, spectrum initialization, that is, the result of interpolation of the low-resolution intensity image collected at the center position of the programmable LED array is used as the initial value of the intensity part of the reconstructed sample spectrum, and the zero phase is selected as the initial value of the relevant phase, and then combined with the pupil function of the low-power objective lens, the initial value of the reconstructed sample spectrum is solved as:
式中,表示重建样本频谱的初始值;u与v表示二维频域中的坐标分量;R()表示相关插值过程,Icenter(r)表示LED阵列中心位置的LED照明样本时采集的低分辨强度图像,kcenter表示LED阵列中心位置的LED照明样本时对应的波矢量;表示初始位相;In the formula, represents the initial value of the reconstructed sample spectrum; u and v represent the coordinate components in the two-dimensional frequency domain; R() represents the related interpolation process, I center (r) represents the low-resolution intensity image collected when the LED is illuminated at the center of the LED array, and k center represents the wave vector corresponding to the LED illumination sample at the center of the LED array; represents the initial phase;
步骤S112,获取子孔径低分辨复振幅,即利用平移效应原理从当前样本频谱中截取相应子孔径样本频谱,然后利用二维傅里叶逆变换,获得对应LED下的子孔径低分辨复振幅估计值:Step S112, obtaining the sub-aperture low-resolution complex amplitude, that is, using the principle of translation effect to intercept the corresponding sub-aperture sample spectrum from the current sample spectrum, and then using two-dimensional inverse Fourier transform to obtain the sub-aperture low-resolution complex amplitude estimation value under the corresponding LED:
式中,n表示当前迭代次数,1≤n≤nmax,nmax表示设定的最大迭代次数,表示更新位置序列(i,j)对应子孔径的样本频谱;(ui,j,vi,j)表示位置序列(i,j)在频域中对样本的平移效应,P(u+ui,j,v+vi,j)表示平移效应结果;表示第n次迭代对应位置序列(i,j)的子频谱复振幅估计值;Where n represents the current number of iterations, 1≤n≤n max , and n max represents the set maximum number of iterations. represents the sample spectrum of the sub-aperture corresponding to the updated position sequence (i, j); (u i, j , vi , j ) represents the translation effect of the position sequence (i, j) on the sample in the frequency domain, and P(u+u i, j ,v+vi , j ) represents the translation effect result; Represents the estimated value of the complex amplitude of the sub-spectrum corresponding to the position sequence (i, j) at the nth iteration;
步骤S113,更新子频谱复振幅估计值:Step S113, updating the sub-spectrum complex amplitude estimation value:
以位置序列(i,j)实际采集的低分辨强度图像替换子频谱复振幅估计值的振幅部分,并使位相部分保持不变,由此子频谱复振幅估计值的更新公式为:The amplitude part of the sub-spectrum complex amplitude estimate is replaced by the low-resolution intensity image actually collected at the position sequence (i, j), and the phase part is kept unchanged. The update formula of the sub-spectrum complex amplitude estimate is:
式中,表示更新后的第n次迭代对应位置序列(i,j)的子频谱复振幅估计值;In the formula, Represents the updated sub-spectrum complex amplitude estimate of the position sequence (i, j) corresponding to the nth iteration;
步骤S114,对更新后的第n次迭代对应位置序列(i,j)的子频谱复振幅估计值利用二维傅里叶逆变换即获得对应子孔径频谱信息:Step S114, using two-dimensional inverse Fourier transform to obtain the corresponding sub-aperture spectrum information for the sub-spectrum complex amplitude estimation value of the nth iteration corresponding position sequence (i, j):
式中,表示对应的子孔径频谱信息,F{}表示二维傅里叶变换;In the formula, Indicates the corresponding Sub-aperture spectrum information, F{} represents two-dimensional Fourier transform;
之后,根据位置序列(i,j)对应的子孔径位置更新整体的样本频谱:Afterwards, the overall sample spectrum is updated according to the sub-aperture positions corresponding to the position sequence (i, j):
式中,表示更新后的样本频谱;In the formula, represents the updated sample spectrum;
步骤S115,以步骤S112~S114更新所有位置序列{(i,j)1≤i≤m,1≤j≤n}对应的子孔径频谱信息,得到第n次迭代更新的样本频谱作为重建结果On(u,v);Step S115, updating the sub-aperture spectrum information corresponding to all position sequences {(i,j)1≤i≤m,1≤j≤n} according to steps S112 to S114, and obtaining the n-th iterative updated sample spectrum as the reconstruction result O n (u,v);
步骤S116,以步骤S112~S115迭代循环直至重建结果收敛或循环结束后,得到最终重建结果,即重建的带位置误差的样本频谱,表示为其中,每一次迭代循环的初始值为上一次循环更新后的样本频谱结果;Step S116, iterate the steps S112 to S115 until the reconstruction result converges or the loop ends, and obtain the final reconstruction result, that is, the reconstructed sample spectrum with position error, which is expressed as The initial value of each iteration cycle is the sample spectrum result updated in the previous cycle;
步骤S117,将重建的带位置误差的样本频谱经过二维傅里叶逆变换,得到重建的带位置误差的样本高分辨复振幅并将样本高分辨复振幅分为强度部分与位相部分:Step S117, the reconstructed sample spectrum with position error is subjected to a two-dimensional inverse Fourier transform to obtain a reconstructed sample high-resolution complex amplitude with position error. The sample high-resolution complex amplitude It is divided into intensity part and phase part:
式中,表示重建的带位置误差的样本高分辨复振幅,表示重建的带位置误差的样本高分辨复振幅中的强度部分,表示重建的带位置误差的样本高分辨复振幅中的位相部分。In the formula, represents the reconstructed sample high-resolution complex amplitude with position error, represents the intensity part of the reconstructed sample high-resolution complex amplitude with position error, Represents the phase part of the reconstructed sample high-resolution complex amplitude with position error.
进一步地,步骤S116中判断重建结果收敛的方法为:Furthermore, the method for determining whether the reconstruction result converges in step S116 is:
对于第n次迭代循环对应的损失评判函数为:The loss judgment function corresponding to the nth iteration cycle is:
式中,En取得最小值或(En-En-1)/En-1小于设定阈值,则认为重建结果已经收敛。In the formula, when En reaches the minimum value or ( En - En-1 )/En -1 is less than the set threshold, the reconstruction result is considered to have converged.
进一步地,步骤S200包括如下子步骤:Furthermore, step S200 includes the following sub-steps:
步骤S201,通过相关匹配操作,进行低分辨强度图像与高分辨强度图像显示区域的粗匹配,获得二者图像的粗匹配区域;Step S201, performing a coarse matching of the display area of the low-resolution intensity image and the high-resolution intensity image through a correlation matching operation to obtain a coarse matching area of the two images;
步骤S202,对粗匹配区域进行二值化操作,提取用于描述区域的边界中上、下、左、右的四点坐标,以此四点框选区域即认定为表征相同信息区域;Step S202, performing a binarization operation on the rough matching area, extracting the coordinates of the top, bottom, left and right four points used to describe the boundary of the area, and the area selected by the four points is identified as the area representing the same information;
步骤S203,以FPM重建图像分辨率为基准,对高分辨强度图像中表征相同信息区域经过插值后获得配准后的高分辨强度图像Ihr。Step S203, based on the FPM reconstructed image resolution, the regions representing the same information in the high-resolution intensity image are interpolated to obtain a registered high-resolution intensity image I hr .
进一步地,步骤S300包括如下子步骤:Furthermore, step S300 includes the following sub-steps:
步骤S301,使用配准后的高分辨采集图像Ihr替换带位置误差的高分辨强度与位相复振幅中的强度部分位相部分保持不变,经二维傅里叶变换后获得虚拟频谱Ovir:Step S301, using the registered high-resolution acquisition image I hr to replace the intensity part of the high-resolution intensity and phase complex amplitude with position error The phase part remains unchanged, and the virtual spectrum Ovir is obtained after two-dimensional Fourier transform:
步骤S302,仿照步骤S100中FPM采集过程,根据位置序列(i,j)对应的理想频域位置(u+ui,j,v+vi,j),进行子孔径采样处理:Step S302, following the FPM acquisition process in step S100, sub-aperture sampling is performed according to the ideal frequency domain position (u+u i,j ,v+vi ,j ) corresponding to the position sequence (i,j):
式中,表示位置序列(i,j)虚拟的采样子孔径频谱;In the formula, represents the virtual sampling sub-aperture spectrum of the position sequence (i, j);
步骤S303,将虚拟的采样子孔径频谱经二维傅里叶变换,获得对应的虚拟低分辨强度图 Step S303: Perform a two-dimensional Fourier transform on the virtual sampling sub-aperture spectrum to obtain a corresponding virtual low-resolution intensity map.
步骤S304,重复步骤S302~S303直至所有位置序列LED采样完毕,生成一系列虚拟低分辨强度图像 Step S304, repeat steps S302 to S303 until all position sequence LEDs are sampled, generating a series of virtual low-resolution intensity images
进一步地,步骤S400包括如下子步骤:Furthermore, step S400 includes the following sub-steps:
步骤S401,对每个位置序列(i,j)引入独立的频域位置误差模型(Δui,j,Δvi,j),那么,引入频域位置误差模型后对应的虚拟低分辨强度图像表示为:Step S401, introduce an independent frequency domain position error model (Δu i,j , Δv i,j ) for each position sequence (i,j). Then, the corresponding virtual low-resolution intensity image after the frequency domain position error model is introduced is expressed as:
式中,Δui,j与Δvi,j分别表示二维频域中位置序列(i,j)的位置误差分量;Where Δu i,j and Δv i,j represent the position error components of the position sequence (i, j) in the two-dimensional frequency domain;
步骤S402,使用二维相关函数Corr2评价位置序列(i,j)对应的虚拟低分辨强度图像与步骤S100实际采集的低分辨强度图像之间的差异性:Step S402, using the two-dimensional correlation function Corr2 to evaluate the difference between the virtual low-resolution intensity image corresponding to the position sequence (i, j) and the low-resolution intensity image actually acquired in step S100:
式中,表示位置序列(i,j)对应的虚拟低分辨强度图像的均值,表示位置序列(i,j)对应的步骤S100实际采集的低分辨强度图像的均值;In the formula, represents the mean of the virtual low-resolution intensity image corresponding to the position sequence (i, j), represents the mean value of the low-resolution intensity image actually acquired in step S100 corresponding to the position sequence (i, j);
步骤S403,使用二维粒子群算法(PSO)搜索位置序列(i,j)在频域中的最佳频域位置参数:Step S403, using a two-dimensional particle swarm algorithm (PSO) to search for the best frequency domain position parameters of the position sequence (i, j) in the frequency domain:
(Δui,j,Δvi,j)=argmin(fitness)(Δu i,j ,Δv i,j )=argmin(fitness)
fitness=1-Corr2for(i,j)fitness=1-Corr2for(i,j)
式中,fitness表示描述粒子群的适应函数,即损失函数;当全体粒子的适应函数值收敛于最小值时,即表示所产生的虚拟低分辨强度图像与当前实际采集的低分辨强度图像之间差异最小,此时的(Δui,j,Δvi,j)为位置序列(i,j)的频域校正参数;然后使用频域校正参数对位置序列(i,j)的频域位置参数进行校正,得到校正后的最佳频域位置参数;Where fitness represents the fitness function describing the particle swarm, i.e., the loss function. When the fitness function value of all particles converges to the minimum value, it means that the difference between the generated virtual low-resolution intensity image and the currently actually collected low-resolution intensity image is the smallest. At this time, (Δu i,j ,Δv i,j ) is the frequency domain correction parameter of the position sequence (i,j). Then, the frequency domain position parameters of the position sequence (i,j) are corrected using the frequency domain correction parameters to obtain the corrected optimal frequency domain position parameters.
进一步地,步骤S404还包括:Furthermore, step S404 further includes:
步骤S404,使用校正后的最佳频域位置参数再次按照步骤S100的方法进行FPM采集与重建,即获得校正后的重建的带位置误差的高分辨强度与位相复振幅。Step S404, using the corrected optimal frequency domain position parameters, perform FPM acquisition and reconstruction again according to the method of step S100, that is, obtain the corrected and reconstructed high-resolution intensity and phase complex amplitude with position error.
综上所述,由于采用了上述技术方案,本发明的有益效果是:In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
本发明基于傅里叶叠层显微成像的频域光源位置精确校正方法中,(1)针对校正位置不精确的问题,对LED阵列中每个LED引入独立的频域位置误差模型进行精确校正;(2)针对校正过程需要参与图像重建过程而带来的时间消耗过长的问题,引入一幅高倍物镜采集的高分辨率强度图像当做参考图像,模拟傅里叶叠层显微成像技术的图像采集过程,生成每个LED对应的虚拟低分辨强度图像。结合虚拟与实际采集的图像,建立损失函数,以二维粒子群算法搜索每个LED对应的最佳频域位置参数。因此,本发明利用引入的高倍物镜下高分辨强度图像与频域位置误差模型实现了基于傅里叶叠层成像原理的LED光源频域位置精确校正,具有实现简易、鲁棒性高、位置精确等优点。In the method for accurately correcting the position of a frequency domain light source based on Fourier stack microscopy imaging of the present invention, (1) in order to address the problem of inaccurate correction position, an independent frequency domain position error model is introduced for each LED in the LED array for accurate correction; (2) in order to address the problem of excessive time consumption caused by the need to participate in the image reconstruction process during the correction process, a high-resolution intensity image collected by a high-power objective lens is introduced as a reference image to simulate the image acquisition process of the Fourier stack microscopy imaging technology, and a virtual low-resolution intensity image corresponding to each LED is generated. Combining the virtual and actual collected images, a loss function is established, and a two-dimensional particle swarm algorithm is used to search for the optimal frequency domain position parameters corresponding to each LED. Therefore, the present invention utilizes the high-resolution intensity image under the high-power objective lens and the frequency domain position error model to realize accurate correction of the frequency domain position of an LED light source based on the principle of Fourier stack imaging, which has the advantages of simple implementation, high robustness, and accurate position.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
图1为本发明实施例的基于傅里叶叠层显微成像的频域光源位置精确校正方法的流程图。FIG. 1 is a flow chart of a method for accurately correcting the position of a frequency domain light source based on Fourier stack microscopy according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
实施例Example
如图1所示,本实施例提出一种基于傅里叶叠层显微成像的频域光源位置精确校正方法,包括如下步骤:As shown in FIG1 , this embodiment proposes a method for accurately correcting the position of a frequency domain light source based on Fourier stack microscopy imaging, comprising the following steps:
步骤S100,低倍镜下带位置误差的FPM采集与重建:低倍物镜下逐个点亮可编程LED阵列中的LED,在相机面上捕获关于样本的一系列处于不同LED对应位置的低分辨强度图像;然后利用重建算法对捕获的低分辨强度图像在频域中完成重建,获得样本带位置误差的高分辨强度与位相图像;Step S100, FPM acquisition and reconstruction with position error under low-power objective: light up the LEDs in the programmable LED array one by one under the low-power objective, and capture a series of low-resolution intensity images of the sample at the corresponding positions of different LEDs on the camera surface; then use the reconstruction algorithm to complete the reconstruction of the captured low-resolution intensity image in the frequency domain to obtain a high-resolution intensity and phase image of the sample with position error;
具体地:Specifically:
(1)低倍镜下带位置误差的FPM采集的方法包括如下子步骤:(1) The method of FPM acquisition with position error under low-power microscope includes the following sub-steps:
步骤S101,使用规格为m×n的可编程LED阵列作为光源;假定该可编程LED阵列中相邻LED之间的间隔为d,那么处于第i行、第j列(1≤i≤m,1≤j≤n)的LED理想位置Pi,j表示为:Step S101, using a programmable LED array with a specification of m×n as a light source; assuming that the interval between adjacent LEDs in the programmable LED array is d, the ideal position P i,j of the LED in the i-th row and j-th column (1≤i≤m, 1≤j≤n) is expressed as:
Pi,j=(xi,j,yi,j)=(i·d,j·d)P i,j = (x i,j ,y i,j ) = (i·d,j·d)
式中,xi,j与yi,j表示LED在空域所处水平面的二维坐标分量值;Where x i,j and y i,j represent the two-dimensional coordinate component values of the horizontal plane where the LED is located in the airspace;
步骤S102,假定光源位置距样本足够远,那么从LED出射的照明光波可视为单色平面波,因此,使用某个LED照明样本时,对应的波矢量ki,j表示为:Step S102, assuming that the light source is far enough from the sample, the illumination light wave emitted from the LED can be regarded as a monochromatic plane wave. Therefore, when a certain LED is used to illuminate the sample, the corresponding wave vector k i,j is expressed as:
式中,与分别表示波矢量ki,j在x与y方向上的波矢分量值;λ表示LED辐射的中心波长值;h表示样本距离当前照明样本的LED的垂直距离;In the formula, and Respectively represent the wave vector component values of wave vector k i,j in the x and y directions; λ represents the central wavelength value of LED radiation; h represents the vertical distance between the sample and the LED currently illuminating the sample;
步骤S103,将样本的入射光场的强度值归一化为1,那么从样本出射的频谱表示为:Step S103, normalize the intensity value of the incident light field of the sample to 1, then the spectrum emitted from the sample is expressed as:
F{e(r)}=F{o(r)exp(iki,jr)}=O(k-ki,j)F{e(r)}=F{o(r)exp(ik i,j r)}=O(kk i,j )
式中,F{}表示二维傅里叶变换,e(r)表示从样本出射的复振幅,o(r)表示样本空域的复振幅调制函数,即样本的复振幅函数;o(k)表示样本在频域中的频谱;O(k-ki,j)表示将样本出射的频谱等效于样本的频谱中心被平移至波矢量ki,j处;Wherein, F{} represents the two-dimensional Fourier transform, e(r) represents the complex amplitude emitted from the sample, o(r) represents the complex amplitude modulation function of the sample space, that is, the complex amplitude function of the sample; o(k) represents the spectrum of the sample in the frequency domain; O(kk i,j ) represents that the spectrum emitted by the sample is equivalent to the spectrum center of the sample being translated to the wave vector k i,j ;
步骤S104,从样本的出射复振幅在频域被低倍物镜的光瞳函数P(k)低通滤波,该低通滤波过程表示为:Step S104, the complex amplitude emitted from the sample is low-pass filtered in the frequency domain by the pupil function P(k) of the low-power objective lens. The low-pass filtering process is expressed as:
Gi,j(k)=O(k-ki,j)P(k)Gi ,j (k)=O(kki ,j )P(k)
式中Gi,j(k)表示通过低倍物镜后的样本频谱;Where G i,j (k) represents the sample spectrum after passing through the low-power objective lens;
步骤S105,样本频谱传播至像面进行成像,并被相机采集转换为低分辨率强度图像表示为:Step S105: the sample spectrum is propagated to the image plane for imaging and is captured by the camera and converted into a low-resolution intensity image. It is expressed as:
式中,gi,j(r)表示像面上样本的复振幅,F-1{}表示二维傅里叶逆变换;Where, g i,j (r) represents the complex amplitude of the sample on the image plane, and F -1 {} represents the two-dimensional inverse Fourier transform;
步骤S106,逐个点亮可编程LED阵列中的LED,并对每个点亮的LED执行步骤S102~S106,则捕获关于样本的一系列处于不同LED对应位置的低分辨强度图像 Step S106, lighting up the LEDs in the programmable LED array one by one, and executing steps S102 to S106 for each lit LED, thereby capturing a series of low-resolution intensity images of the sample at positions corresponding to different LEDs.
(2)重建方法包括如下子步骤:(2) The reconstruction method includes the following sub-steps:
步骤S111,频谱初始化:Step S111, spectrum initialization:
为了使迭代求解算法有着更快的收敛速度,需要先给定求解重建频谱的初始值。一般选择正入射,将可编程LED阵列的中心位置采集的低分辨强度图像插值后的结果当作重建样本频谱的强度部分初始值,并选择零位相作为相关位相的初始值,再结合低倍物镜的光瞳函数,求解重建样本频谱的初始值为:In order to make the iterative solution algorithm have a faster convergence speed, it is necessary to first give the initial value of the solution to the reconstructed spectrum. Generally, normal incidence is selected, and the result of the interpolation of the low-resolution intensity image collected at the center of the programmable LED array is used as the initial value of the intensity part of the reconstructed sample spectrum, and the zero phase is selected as the initial value of the relevant phase. Combined with the pupil function of the low-magnification objective lens, the initial value of the solution to the reconstructed sample spectrum is:
式中,表示重建样本频谱的初始值;u与v表示二维频域中的坐标分量;R()表示相关插值过程,Icenter(r)表示LED阵列中心位置的LED照明样本时采集的低分辨强度图像,kcenter表示LED阵列中心位置的LED照明样本时对应的波矢量;表示初始位相,一般取0;In the formula, represents the initial value of the reconstructed sample spectrum; u and v represent the coordinate components in the two-dimensional frequency domain; R() represents the related interpolation process, I center (r) represents the low-resolution intensity image collected when the LED is illuminated at the center of the LED array, and k center represents the wave vector corresponding to the LED illumination sample at the center of the LED array; Indicates the initial phase, usually 0;
步骤S112,获取子孔径低分辨复振幅估计值:Step S112, obtaining a sub-aperture low-resolution complex amplitude estimation value:
对于由波矢量ki,j决定的入射角度,利用平移效应原理从当前样本频谱中截取相应子孔径频谱信息,然后利用二维傅里叶逆变换,获得对应LED下的子孔径低分辨复振幅估计值:For the incident angle determined by the wave vector k i,j , the corresponding sub-aperture spectrum information is intercepted from the current sample spectrum using the principle of translation effect, and then the two-dimensional inverse Fourier transform is used to obtain the sub-aperture low-resolution complex amplitude estimation value under the corresponding LED:
式中,n表示当前迭代次数(1≤n≤nmax),nmax表示设定的最大迭代次数,表示更新位置序列(i,j)对应子孔径的样本频谱;(ui,j,vi,j)表示位置序列(i,j)在频域中对样本的平移效应,P(u+ui,j,v+vi,j)表示平移效应结果;表示第n次迭代对应位置序列(i,j)的子频谱复振幅估计值;Where n represents the current number of iterations (1≤n≤n max ), n max represents the set maximum number of iterations, represents the sample spectrum of the sub-aperture corresponding to the updated position sequence (i, j); (u i, j , vi , j ) represents the translation effect of the position sequence (i, j) on the sample in the frequency domain, and P(u+u i, j ,v+vi , j ) represents the translation effect result; Represents the estimated value of the complex amplitude of the sub-spectrum corresponding to the position sequence (i, j) at the nth iteration;
步骤S113,更新子频谱复振幅估计值:Step S113, updating the sub-spectrum complex amplitude estimation value:
以位置序列(i,j)实际采集的低分辨强度图像替换子频谱复振幅估计值的振幅部分,并使位相部分保持不变,子频谱复振幅估计值的更新公式为:The amplitude part of the sub-spectrum complex amplitude estimate is replaced by the low-resolution intensity image actually collected at the position sequence (i, j), and the phase part is kept unchanged. The update formula of the sub-spectrum complex amplitude estimate is:
步骤S114,更新频谱内的子孔径区域:Step S114, updating the sub-aperture region in the spectrum:
对更新后的第n次迭代对应位置序列(i,j)的子频谱复振幅估计值利用二维傅里叶逆变换即获得对应子孔径频谱信息:The sub-spectrum complex amplitude estimate of the updated n-th iteration corresponding to the position sequence (i, j) is transformed using the two-dimensional inverse Fourier transform to obtain the corresponding sub-aperture spectrum information:
之后,根据位置序列(i,j)对应的子孔径位置更新整体的样本频谱:Afterwards, the overall sample spectrum is updated according to the sub-aperture positions corresponding to the position sequence (i, j):
式中,表示更新后的样本频谱;该式表示,在进行一次子频谱复振幅后,整体样本频谱只对位置序列(i,j)子孔径部分更新频谱信息,其余部分则保持不变。In the formula, Represents the updated sample spectrum; this formula indicates that after a sub-spectrum complex amplitude is performed, the overall sample spectrum only updates the spectrum information of the sub-aperture part of the position sequence (i, j), and the rest remains unchanged.
步骤S115,以步骤S112~S114更新所有位置序列{(i,j)|1≤i≤m,1≤j≤n}对应的子孔径频谱信息,得到第n次迭代更新的样本频谱作为重建结果On(u,v);Step S115, updating the sub-aperture spectrum information corresponding to all position sequences {(i,j)|1≤i≤m,1≤j≤n} according to steps S112 to S114, and obtaining the n-th iterative updated sample spectrum as the reconstruction result O n (u,v);
步骤S116,以步骤S112~S115迭代循环直至重建结果收敛或循环结束后,得到最终重建结果,即重建的带位置误差的样本频谱,表示为其中,每一次迭代循环的初始值为上一次循环更新后的样本频谱结果。Step S116, iterate the steps S112 to S115 until the reconstruction result converges or the loop ends, and obtain the final reconstruction result, that is, the reconstructed sample spectrum with position error, which is expressed as The initial value of each iteration cycle is the sample spectrum result updated in the previous cycle.
其中判断重建结果收敛的方法为:The method for judging the convergence of reconstruction results is:
对于第n次迭代循环对应的损失评判函数为:The loss judgment function corresponding to the nth iteration cycle is:
式中,En取得最小值或(En-En-1)/En-1小于设定阈值,则认为重建结果已经收敛。In the formula, when En reaches the minimum value or ( En - En-1 )/En -1 is less than the set threshold, the reconstruction result is considered to have converged.
步骤S117,将重建的带位置误差的样本频谱经过二维傅里叶逆变换,得到重建的带位置误差的样本高分辨复振幅并将样本高分辨复振幅分为强度部分与位相部分:Step S117, the reconstructed sample spectrum with position error is subjected to a two-dimensional inverse Fourier transform to obtain a reconstructed sample high-resolution complex amplitude with position error. The sample high-resolution complex amplitude It is divided into intensity part and phase part:
式中,~表示带位置误差的相关结果,即表示重建的带位置误差的样本高分辨复振幅,表示重建的带位置误差的样本高分辨复振幅中的强度部分,表示重建的带位置误差的样本高分辨复振幅中的位相部分。In the formula, ~ represents the relevant results with position error, that is, represents the reconstructed sample high-resolution complex amplitude with position error, represents the intensity part of the reconstructed sample high-resolution complex amplitude with position error, Represents the phase part of the reconstructed sample high-resolution complex amplitude with position error.
步骤S200,高倍物镜下高分辨率强度图像采集与区域配准:使用高倍物镜替换低倍物镜并完成调焦操作后,采集高倍物镜下样本的高分辨强度图像;然后对低分辨强度图像以及高分辨强度图像使用图像配准算法匹配并框选二者图像中表征相同信息区域,对高分辨强度图像中表征相同信息区域经过插值后获得配准后的高分辨强度图像;Step S200, high-resolution intensity image acquisition and regional registration under a high-power objective lens: after replacing the low-power objective lens with a high-power objective lens and completing the focusing operation, a high-resolution intensity image of the sample under the high-power objective lens is acquired; then, the low-resolution intensity image and the high-resolution intensity image are matched using an image registration algorithm and the regions representing the same information in the two images are framed, and the regions representing the same information in the high-resolution intensity image are interpolated to obtain a registered high-resolution intensity image;
由于视场差异,高倍物镜下采集的高分辨率强度图像的显示区域为低倍物镜下的捕获的低分辨强度图像的显示区域的一个子区域,为匹配二者图像的视场并表征相同信息区域,需要对高分辨强度图像进行配准,具体包括如下子步骤:Due to the difference in field of view, the display area of the high-resolution intensity image acquired under the high-power objective is a sub-area of the display area of the low-resolution intensity image captured under the low-power objective. In order to match the field of view of the two images and characterize the same information area, the high-resolution intensity image needs to be registered, which specifically includes the following sub-steps:
步骤S201,通过相关匹配操作,进行低分辨强度图像与高分辨强度图像显示区域的粗匹配,获得二者图像的粗匹配区域,也即二者图像的大致区域范围;Step S201, performing a coarse matching of the display areas of the low-resolution intensity image and the high-resolution intensity image through a correlation matching operation, and obtaining a coarse matching area of the two images, that is, an approximate area range of the two images;
步骤S202,对粗匹配区域进行二值化操作,提取用于描述区域的边界中上、下、左、右的四点坐标,以此四点框选区域即认定为表征相同信息区域;Step S202, performing a binarization operation on the rough matching area, extracting the coordinates of the top, bottom, left and right four points used to describe the boundary of the area, and the area selected by the four points is identified as the area representing the same information;
步骤S203,以FPM重建图像分辨率为基准,对高分辨强度图像中表征相同信息区域经过插值后获得配准后的高分辨强度图像Ihr。可见,由于本发明是对表征相同信息区域进行插值,在之后的位置校正过程中,也仅对高分辨强度图像中表征相同信息区域内信息作相关处理。Step S203, based on the FPM reconstructed image resolution, the regions representing the same information in the high-resolution intensity image are interpolated to obtain the registered high-resolution intensity image I hr . It can be seen that since the present invention interpolates the regions representing the same information, in the subsequent position correction process, only the information in the regions representing the same information in the high-resolution intensity image is correlated.
步骤S300,LED对应位置的虚拟低分辨强度图像生成:使用带位置误差的高分辨强度与位相复振幅以及配准后的高分辨强度图像组成样本的新频谱图;根据可编程LED阵列中每个LED理想频域位置,从新频谱图中获取对应每个LED理想频域位置的子频谱信息,并对子频谱信息通过傅里叶反变换获得一系列虚拟低分辨强度图像;具体包括如下子步骤:Step S300, generating a virtual low-resolution intensity image of the corresponding position of the LED: using the high-resolution intensity with position error and the phase complex amplitude and the registered high-resolution intensity image to form a new spectrum diagram of the sample; according to the ideal frequency domain position of each LED in the programmable LED array, obtaining the sub-spectrum information corresponding to the ideal frequency domain position of each LED from the new spectrum diagram, and obtaining a series of virtual low-resolution intensity images by Fourier inverse transforming the sub-spectrum information; specifically comprising the following sub-steps:
步骤S301,使用配准后的高分辨采集图像Ihr替换带位置误差的高分辨强度与位相复振幅中的强度部分位相部分保持不变,经二维傅里叶变换后获得虚拟频谱Ovir:Step S301, using the registered high-resolution acquisition image I hr to replace the intensity part of the high-resolution intensity and phase complex amplitude with position error The phase part remains unchanged, and the virtual spectrum Ovir is obtained after two-dimensional Fourier transform:
步骤S302,仿照步骤S100中FPM采集过程,根据位置序列(i,j)对应的理想频域位置(u+ui,j,v+vi,j),进行子孔径采样处理:Step S302, following the FPM acquisition process in step S100, sub-aperture sampling is performed according to the ideal frequency domain position (u+u i,j ,v+vi ,j ) corresponding to the position sequence (i,j):
式中,表示位置序列(i,j)虚拟的采样子孔径频谱;In the formula, represents the virtual sampling sub-aperture spectrum of the position sequence (i, j);
步骤S303,将虚拟的采样子孔径频谱经二维傅里叶变换,获得对应的虚拟低分辨强度图 Step S303: Perform a two-dimensional Fourier transform on the virtual sampling sub-aperture spectrum to obtain a corresponding virtual low-resolution intensity map.
步骤S304,重复步骤S302~S303直至所有位置序列LED采样完毕,生成一系列虚拟低分辨强度图像 Step S304, repeat steps S302 to S303 until all position sequence LEDs are sampled, generating a series of virtual low-resolution intensity images
步骤S400,阵列中独立LED位置参数的搜索:根据空域中LED对应位置的平移效应等效于频域中孔径位置的平移效应,对每个LED引入频域位置误差模型;由此,将当前LED理想频域位置作为搜索中心,规定搜索区域,并以二维粒子群算法进行最佳位置参数搜索;当所产生的虚拟低分辨强度图像与当前实际采集的低分辨强度图像之间差异最小时,即认为此位置为该LED对应的实际频域位置,完成该LED的位置校正;具体包括如下子步骤:Step S400, search for position parameters of independent LEDs in the array: based on the fact that the translation effect of the corresponding position of the LED in the spatial domain is equivalent to the translation effect of the aperture position in the frequency domain, a frequency domain position error model is introduced for each LED; thus, the current ideal frequency domain position of the LED is taken as the search center, the search area is specified, and the optimal position parameter search is performed using a two-dimensional particle swarm algorithm; when the difference between the generated virtual low-resolution intensity image and the currently actually collected low-resolution intensity image is the smallest, it is considered that this position is the actual frequency domain position corresponding to the LED, and the position correction of the LED is completed; specifically, the following sub-steps are included:
步骤S401,为了对每个LED进行位置误差精确校正,本发明对每个位置序列(i,j)引入独立的频域位置误差模型(Δui,j,Δvi,j),那么,引入频域位置误差模型后对应的虚拟低分辨强度图像表示为:Step S401, in order to accurately correct the position error of each LED, the present invention introduces an independent frequency domain position error model (Δu i,j , Δv i,j ) for each position sequence (i,j). Then, the corresponding virtual low-resolution intensity image after the introduction of the frequency domain position error model is expressed as:
式中,Δui,j与Δvi,j分别表示二维频域中位置序列(i,j)的位置误差分量;Where Δu i,j and Δv i,j represent the position error components of the position sequence (i, j) in the two-dimensional frequency domain;
步骤S402,使用二维相关函数Corr2评价位置序列(i,j)对应的虚拟低分辨强度图像与步骤S100实际采集的低分辨强度图像之间的差异性:Step S402, using the two-dimensional correlation function Corr2 to evaluate the difference between the virtual low-resolution intensity image corresponding to the position sequence (i, j) and the low-resolution intensity image actually acquired in step S100:
式中,表示位置序列(i,j)对应的虚拟低分辨强度图像的均值,表示位置序列(i,j)对应的步骤S100实际采集的低分辨强度图像的均值。In the formula, represents the mean of the virtual low-resolution intensity image corresponding to the position sequence (i, j), Represents the mean value of the low-resolution intensity image actually acquired in step S100 corresponding to the position sequence (i, j).
步骤S403,使用二维粒子群算法(PSO)搜索位置序列(i,j)在频域中的最佳频域位置参数:Step S403, using a two-dimensional particle swarm algorithm (PSO) to search for the best frequency domain position parameters of the position sequence (i, j) in the frequency domain:
(Δui,j,Δvi,j)=argmin(fitness)(Δu i,j ,Δv i,j )=argmin(fitness)
fitness=1-Corr2 for(i,j)fitness=1-Corr2 for(i,j)
式中,fitness表示描述粒子群的适应函数,即损失函数;当全体粒子的适应函数值收敛于最小值时,即表示所产生的虚拟低分辨强度图像与当前实际采集的低分辨强度图像之间差异最小,此时的(Δui,j,Δvi,j)为位置序列(i,j)的频域校正参数;然后使用频域校正参数对位置序列(i,j)的频域位置参数(二维频域中的坐标分量)进行校正,得到校正后的最佳频域位置参数;Where fitness represents the fitness function describing the particle swarm, i.e., the loss function. When the fitness function value of all particles converges to the minimum value, it means that the difference between the generated virtual low-resolution intensity image and the currently actually collected low-resolution intensity image is the smallest. At this time, (Δu i,j ,Δv i,j ) is the frequency domain correction parameter of the position sequence (i,j). Then, the frequency domain correction parameter is used to correct the frequency domain position parameter (coordinate component in the two-dimensional frequency domain) of the position sequence (i,j) to obtain the corrected optimal frequency domain position parameter.
步骤S404,使用校正后的最佳频域位置参数再次按照步骤S100的方法进行FPM采集与重建,即获得校正后的重建的带位置误差的高分辨强度与位相复振幅。Step S404, using the corrected optimal frequency domain position parameters, perform FPM acquisition and reconstruction again according to the method of step S100, that is, obtain the corrected and reconstructed high-resolution intensity and phase complex amplitude with position error.
至此,本发明基于傅里叶叠层显微成像的频域光源位置精确校正方法中,(1)针对校正位置不精确的问题,对LED阵列中每个LED引入独立的频域位置误差模型进行精确校正;(2)针对校正过程需要参与图像重建过程而带来的时间消耗过长的问题,引入一幅高倍物镜采集的高分辨率强度图像当做参考图像,模拟傅里叶叠层显微成像技术的图像采集过程,生成每个LED对应的虚拟低分辨强度图像。结合虚拟与实际采集的图像,建立损失函数,以二维粒子群算法搜索每个LED对应的最佳频域位置参数。因此,本发明利用引入的高倍物镜下高分辨强度图像与频域位置误差模型实现了基于傅里叶叠层成像原理的LED光源频域位置精确校正,具有实现简易、鲁棒性高、位置精确等优点。So far, in the method for accurate correction of the frequency domain light source position based on Fourier stack microscopy imaging of the present invention, (1) in order to solve the problem of inaccurate correction position, an independent frequency domain position error model is introduced for each LED in the LED array for accurate correction; (2) in order to solve the problem that the correction process needs to participate in the image reconstruction process and consumes too much time, a high-resolution intensity image collected by a high-power objective lens is introduced as a reference image to simulate the image acquisition process of Fourier stack microscopy imaging technology, and generate a virtual low-resolution intensity image corresponding to each LED. Combining the virtual and actual collected images, a loss function is established, and a two-dimensional particle swarm algorithm is used to search for the optimal frequency domain position parameters corresponding to each LED. Therefore, the present invention utilizes the high-resolution intensity image under the high-power objective lens and the frequency domain position error model to realize accurate correction of the frequency domain position of the LED light source based on the principle of Fourier stack imaging, which has the advantages of simple implementation, high robustness, and accurate position.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110969362.1A CN113671682B (en) | 2021-08-23 | 2021-08-23 | Frequency domain light source position accurate correction method based on Fourier laminated microscopic imaging |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110969362.1A CN113671682B (en) | 2021-08-23 | 2021-08-23 | Frequency domain light source position accurate correction method based on Fourier laminated microscopic imaging |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113671682A CN113671682A (en) | 2021-11-19 |
| CN113671682B true CN113671682B (en) | 2023-05-23 |
Family
ID=78545336
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110969362.1A Active CN113671682B (en) | 2021-08-23 | 2021-08-23 | Frequency domain light source position accurate correction method based on Fourier laminated microscopic imaging |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113671682B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114355601A (en) * | 2021-12-24 | 2022-04-15 | 北京理工大学 | LED array light source pose deviation correction method and device of microscopic imaging system |
| CN114926357B (en) * | 2022-05-07 | 2024-09-17 | 北京理工大学 | LED array light source pose self-correction method for computing microscopic imaging system |
| CN115131201B (en) * | 2022-05-13 | 2025-06-24 | 南京理工大学 | Far-field diffuse reflection synthetic aperture super-resolution imaging method based on stacked reconstruction |
| CN114998161A (en) * | 2022-06-02 | 2022-09-02 | 中国科学院西安光学精密机械研究所 | A high-precision image reconstruction method for Fourier stack microscopy based on perfect Fourier transform |
| CN115115515B (en) * | 2022-06-24 | 2025-07-25 | 北京理工大学重庆创新中心 | Iterative reconstruction method based on self-adaptive moment estimation FPM |
| CN117147551B (en) * | 2023-10-30 | 2024-02-20 | 中国科学院苏州生物医学工程技术研究所 | A chromosome scanning imaging method and device |
| CN118067001B (en) * | 2024-02-27 | 2025-09-30 | 北京理工大学重庆创新中心 | A method for accurate correction of light source position combined with pupil function |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106127767A (en) * | 2016-06-24 | 2016-11-16 | 南京理工大学 | A kind of method for correcting position for Fourier lamination micro-imaging technique |
| CN111062889A (en) * | 2019-12-17 | 2020-04-24 | 北京理工大学 | A light intensity correction method for Fourier stack microscopy imaging |
| CN111158131A (en) * | 2019-12-31 | 2020-05-15 | 杭州电子科技大学 | An LED matrix calibration method based on Fourier stack imaging |
| CN111338068A (en) * | 2020-03-13 | 2020-06-26 | 中国科学院长春光学精密机械与物理研究所 | Fourier laminated imaging system based on telecentric scanning lens |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CA2889495A1 (en) * | 2012-10-30 | 2014-05-08 | California Institute Of Technology | Fourier ptychographic imaging systems, devices, and methods |
| US9864184B2 (en) * | 2012-10-30 | 2018-01-09 | California Institute Of Technology | Embedded pupil function recovery for fourier ptychographic imaging devices |
-
2021
- 2021-08-23 CN CN202110969362.1A patent/CN113671682B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106127767A (en) * | 2016-06-24 | 2016-11-16 | 南京理工大学 | A kind of method for correcting position for Fourier lamination micro-imaging technique |
| CN111062889A (en) * | 2019-12-17 | 2020-04-24 | 北京理工大学 | A light intensity correction method for Fourier stack microscopy imaging |
| CN111158131A (en) * | 2019-12-31 | 2020-05-15 | 杭州电子科技大学 | An LED matrix calibration method based on Fourier stack imaging |
| CN111338068A (en) * | 2020-03-13 | 2020-06-26 | 中国科学院长春光学精密机械与物理研究所 | Fourier laminated imaging system based on telecentric scanning lens |
Non-Patent Citations (1)
| Title |
|---|
| 傅里叶叠层显微术的照明光强校正研究;杨佳琪;马骁;林锦新;钟金钢;;激光与光电子学进展(第03期);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113671682A (en) | 2021-11-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113671682B (en) | Frequency domain light source position accurate correction method based on Fourier laminated microscopic imaging | |
| CN107065159B (en) | A large field of view high resolution microscopic imaging device and iterative reconstruction method based on large illumination numerical aperture | |
| CN107966801A (en) | A kind of high speed Fourier lamination imaging device and reconstructing method based on ring illumination | |
| Zheng et al. | Fourier ptychographic microscopy: a gigapixel superscope for biomedicine | |
| CN106127767B (en) | A kind of method for correcting position for Fourier lamination micro-imaging technique | |
| Herbert et al. | LocalZProjector and DeProj: a toolbox for local 2D projection and accurate morphometrics of large 3D microscopy images | |
| CN114926357B (en) | LED array light source pose self-correction method for computing microscopic imaging system | |
| WO2020258434A1 (en) | Phase imaging method and device employing tie, and readable storage medium | |
| CN118067001B (en) | A method for accurate correction of light source position combined with pupil function | |
| CN108196357A (en) | A kind of multi-angle illumination light source and the Fourier stacking imaging system based on this light source | |
| CN111158131A (en) | An LED matrix calibration method based on Fourier stack imaging | |
| Lee et al. | Color-coded LED microscopy for quantitative phase imaging: Implementation and application to sperm motility analysis | |
| CN111105415A (en) | A large-field-of-view image detection system and method for white blood cells based on deep learning | |
| Kondra et al. | Integration of confocal and atomic force microscopy images | |
| CN116704070A (en) | Method and system for reconstructing jointly optimized image | |
| CN107421639A (en) | Plasma three-dimensional information diagnostic system during material surface handling process | |
| CN107145052B (en) | A Holographic Microscopic Imaging Method Based on Digital Interpolation and Phase Iteration | |
| CN112666697B (en) | Single-frame differential phase contrast quantitative phase imaging method based on color multiplex illumination | |
| CN114341926A (en) | Methods for High Performance Electron Microscopy | |
| Sun et al. | 3DCNAS: A universal method for predicting the location of fluorescent organelles in living cells in three-dimensional space | |
| Chen et al. | Fast full-color pathological imaging using Fourier ptychographic microscopy via closed-form model-based colorization | |
| Rychtáriková et al. | Super-resolved 3-D imaging of live cells’ organelles from bright-field photon transmission micrographs | |
| CN111474698A (en) | Double-light-source optical microscopic imaging system and image processing method | |
| Huang et al. | Accurate and fast registration algorithm for multi-height lensless in-line on-chip holographic microscopy | |
| CN112130306B (en) | CMOS holographic microscope imaging device and method used in cell segmentation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |