CN114839789A - Diffraction focusing method and device based on binarized spatial modulation - Google Patents
Diffraction focusing method and device based on binarized spatial modulation Download PDFInfo
- Publication number
- CN114839789A CN114839789A CN202210553808.7A CN202210553808A CN114839789A CN 114839789 A CN114839789 A CN 114839789A CN 202210553808 A CN202210553808 A CN 202210553808A CN 114839789 A CN114839789 A CN 114839789A
- Authority
- CN
- China
- Prior art keywords
- binarized
- model
- array
- evaluation model
- diffracted wave
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B27/00—Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
- G02B27/42—Diffraction optics, i.e. systems including a diffractive element being designed for providing a diffractive effect
- G02B27/4266—Diffraction theory; Mathematical models
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B27/00—Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
- G02B27/0012—Optical design, e.g. procedures, algorithms, optimisation routines
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Optical Modulation, Optical Deflection, Nonlinear Optics, Optical Demodulation, Optical Logic Elements (AREA)
Abstract
本发明公开了一种基于二值化空间调制的衍射聚焦方法以及装置,方法包括:随机生成若干二值化数组并分别控制二值化空间调制器对入射波波面进行空间调制,在衍射波强度采集区域内获取与所述若干二值化数组对应的若干衍射波强度;构建评价模型,根据所述若干衍射波强度、所选择的待聚焦位置以及若干二值化数组,对所述评价模型进行训练;构建策略模型,采用训练完备的评价模型对所述策略模型进行训练;采用训练完备的策略模型获取最优数组,对最优数组进行二值化并设置各个二值化空间调制器的调制状态,以实现在待聚焦位置的聚焦。本发明具备实现方式简单、模型构建方法可扩展性强、计算时间短,受噪声影响较小等优点。
The invention discloses a diffraction focusing method and device based on binarized spatial modulation. The method comprises: randomly generating several binarized arrays and respectively controlling the binarized spatial modulator to spatially modulate the incident wave wave surface, and the diffracted wave intensity Obtain several diffracted wave intensities corresponding to the several binarized arrays in the collection area; build an evaluation model, and perform the evaluation model according to the several diffracted wave intensities, the selected position to be focused, and several binarized arrays. training; constructing a strategy model, and using a well-trained evaluation model to train the strategy model; using the well-trained strategy model to obtain the optimal array, binarizing the optimal array and setting the modulation of each binarized spatial modulator state to achieve focusing at the position to be focused. The invention has the advantages of simple implementation, strong scalability of the model construction method, short calculation time, and less influence by noise.
Description
技术领域technical field
本发明涉及计算成像技术领域,具体涉及一种基于二值化空间调制的衍射聚焦方法以及装置。The invention relates to the technical field of computational imaging, in particular to a diffraction focusing method and device based on binarization spatial modulation.
背景技术Background technique
利用空间调制的方式将空间中传播的波面分为多个独立单元,对每个单元施加振幅或者相位调制,可以调控后续波面的衍射传播,进而实现在指定位置的聚焦。相比连续相位或者连续振幅调制,二值化调制更容易实现,且调制速度更快。例如对于极紫外光或者X射线都难以进行连续相位调制,但可以通过控制空间中不同位置的“透过”与“不透过”来实现二值化调制,典型的例子是波带片。在可见光波段,基于数字微镜器件的二值化空间调制器可以达到数万赫兹的调制频率,远高于目前基于液晶的连续相位或者连续振幅空间光调制器。The wavefront propagating in space is divided into multiple independent units by means of spatial modulation, and amplitude or phase modulation is applied to each unit to control the diffraction propagation of the subsequent wavefront, thereby achieving focusing at a specified position. Compared with continuous phase or continuous amplitude modulation, binary modulation is easier to implement and the modulation speed is faster. For example, it is difficult to perform continuous phase modulation for extreme ultraviolet light or X-rays, but binary modulation can be achieved by controlling the "transmission" and "non-transmission" of different positions in space. A typical example is a zone plate. In the visible light band, the binary spatial modulator based on digital micromirror device can reach the modulation frequency of tens of thousands of hertz, which is much higher than the current liquid crystal-based continuous phase or continuous amplitude spatial light modulator.
当波面具有未知的振幅及相位空间分布,或者传播过程中经历散射等非自由传播的过程时,则需要结合波前校正技术来实现聚焦。例如在光学领域,基于逐点尝试或者遗传算法的二值化波前校正技术可以利用数字微镜器件实现光透过散射体的聚焦,但无法灵活改变聚焦位置;如果需要改变聚焦位置则需要重新进行整个波前校正过程。基于传输矩阵测量的二值化波前校正技术在多次测量获得散射传输特性矩阵后可以实现在多个位置的聚焦,但存在计算耗时较长、易受噪声影响等缺点。本发明可以有效实现基于二值化空间调制的聚焦,且实现方式简单、模型构建方法可扩展性强、计算时间短,受噪声影响较小。When the wavefront has an unknown spatial distribution of amplitude and phase, or undergoes a process of non-free propagation such as scattering during the propagation process, it is necessary to combine the wavefront correction technology to achieve focusing. For example, in the field of optics, the binarized wavefront correction technology based on point-by-point trial or genetic algorithm can use digital micromirror devices to realize the focusing of light passing through the scatterer, but it cannot flexibly change the focusing position; if the focusing position needs to be changed, it needs to be re- Carry out the entire wavefront correction process. The binary wavefront correction technology based on transmission matrix measurement can realize focusing at multiple positions after obtaining the scattering transmission characteristic matrix by multiple measurements, but it has the disadvantages of long calculation time and easy to be affected by noise. The present invention can effectively realize the focusing based on the binarized spatial modulation, and has the advantages of simple implementation, strong scalability of the model construction method, short calculation time, and less influence by noise.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种基于二值化空间调制的衍射聚焦方法及装置,具备实现方式简单、模型构建方法可扩展性强、计算时间短,受噪声影响较小等优点。The purpose of the present invention is to provide a diffraction focusing method and device based on binarized spatial modulation, which has the advantages of simple implementation, strong scalability of the model building method, short calculation time, and less influence by noise.
为达到上述技术目的,本发明采取了以下技术方案:In order to achieve the above-mentioned technical purpose, the present invention has adopted the following technical solutions:
第一方面,本发明提供了一种衍射聚焦方法,包括如下步骤:In a first aspect, the present invention provides a diffraction focusing method, comprising the following steps:
随机生成若干二值化数组并配置二值化空间调制器的调制状态,对入射波波面进行空间调制并获取若干衍射波强度,其中各衍射波强度均在预设的衍射波强度采集范围内获取;Randomly generate several binarized arrays and configure the modulation state of the binarized spatial modulator, spatially modulate the incident wave surface and obtain a number of diffracted wave intensities, where each diffracted wave intensity is obtained within the preset diffracted wave intensity collection range ;
构建评价模型,根据选择的待聚焦位置、所述随机二值化数组以及对应的衍射波强度,对所述评价模型进行训练;其中,所述评价模型用于反映二值化数组与衍射波强度中待聚焦位置的衍射波强度的映射关系;Build an evaluation model, and train the evaluation model according to the selected position to be focused, the random binarization array and the corresponding diffracted wave intensity; wherein, the evaluation model is used to reflect the binarization array and the diffracted wave intensity The mapping relationship of the diffracted wave intensity at the position to be focused;
构建策略模型,采用训练完备的评价模型对所述策略模型进行训练,其中,策略模型用于产生一个最优数组,所述最优数组作为所述评价模型的输入时可以使评价模型的输出最大化;Build a strategy model, and use a well-trained evaluation model to train the strategy model, wherein the strategy model is used to generate an optimal array, and the optimal array can maximize the output of the evaluation model when the optimal array is used as the input of the evaluation model change;
对所述最优数组进行二值化并配置二值化空间调制器的调制状态,以实现在待聚焦位置的聚焦。The optimal array is binarized and the modulation state of the binarized spatial modulator is configured to realize focusing at the position to be focused.
在其中一些实施例中,所述随机生成若干二值化数组并配置二值化空间调制器的调制状态,对入射波波面进行空间调制并获取若干衍射波强度,包括:In some of the embodiments, the random generation of several binarized arrays and the configuration of the modulation state of the binarized spatial modulator, the spatial modulation of the incident wave front and the acquisition of several diffracted wave intensities, including:
步骤一、随机生成二值化数组;
步骤二、根据所述二值化数组改变二值化空间调制器的调制状态;
步骤三、获取传感器采集的空间调制器之后有效衍射区域内、与所述调制状态对应的入射波波面的衍射波强度;Step 3: Obtain the diffracted wave intensity of the incident wave front corresponding to the modulation state in the effective diffraction region after the spatial modulator collected by the sensor;
步骤四、重复步骤一至步骤三,得到若干个衍射波强度以及与所述衍射波强度对应的二值化数组。Step 4: Repeat
在其中一些实施例中,所述构建评价模型,根据选择的待聚焦位置、所述随机二值化数组以及对应的衍射波强度,对所述评价模型进行训练,包括:In some of the embodiments, the building an evaluation model, and the evaluation model is trained according to the selected position to be focused, the random binarization array and the corresponding diffracted wave intensity, including:
选择待聚焦位置,分别获取每一个衍射波强度中待聚焦位置的衍射波强度,以得到若干个训练对,所述训练对为二值化数组与待聚焦位置衍射波强度;Selecting the position to be focused, respectively acquiring the diffracted wave intensity at the position to be focused in each diffracted wave intensity, so as to obtain several training pairs, where the training pair is a binary array and the diffracted wave intensity at the position to be focused;
采用若干个训练对对构建的评价模型进行训练,其中,所述评价模型的输入为二值化数组,所述评价模型的输出为衍射波强度中待聚焦位置的衍射波强度。The constructed evaluation model is trained by several trainings, wherein the input of the evaluation model is a binarized array, and the output of the evaluation model is the diffracted wave intensity at the position to be focused in the diffracted wave intensity.
在其中一些实施例中,所述构建策略模型,采用训练完备的评价模型对所述策略模型进行训练,包括:In some of the embodiments, the building a policy model, and using a fully trained evaluation model to train the policy model, including:
构建策略模型,并随机生成一个输入数组;Build a policy model and randomly generate an input array;
以所述输入数组作为策略模型的输入,以所述策略模型的输出作为评价模型的输入,以所述评价模型的输出结果最大化作为训练目标,根据所述评价模型的输出更新所述策略模型,直至策略模型输出一个最优数组,所述最优数组作为所述评价模型的输入时可以使评价模型的输出最大化。Take the input array as the input of the strategy model, take the output of the strategy model as the input of the evaluation model, take the maximization of the output of the evaluation model as the training target, and update the strategy model according to the output of the evaluation model , until the policy model outputs an optimal array, which can maximize the output of the evaluation model when the optimal array is used as the input of the evaluation model.
在其中一些实施例中,所述对所述最优数组进行二值化并配置二值化空间调制器的调制状态,以实现在待聚焦位置的聚焦,包括:In some of these embodiments, the performing binarization on the optimal array and configuring the modulation state of the binarized spatial modulator to achieve focusing at the position to be focused includes:
获取最优数组,并将所述最优数组进行二值化处理,根据二值化处理后的最优数组配置二值化空间调制器的调制状态,以实现待聚焦位置的聚焦。The optimal array is obtained, and the optimal array is subjected to binarization processing, and the modulation state of the binarized spatial modulator is configured according to the optimal array after the binarization processing, so as to realize the focusing of the position to be focused.
在其中一些实施例中,所述评价模型和所述策略模型为机器学习模型,所述机器学习模型包括但不限于神经网络模型。In some of these embodiments, the evaluation model and the policy model are machine learning models, and the machine learning models include but are not limited to neural network models.
在其中一些实施例中,当所述选择的待聚焦位置变化时,重新进行评价模型的训练、策略模型的训练、模型输出最优数组的二值化以及二值化空间调制器的配置,即可。In some of these embodiments, when the selected position to be focused changes, the training of the evaluation model, the training of the policy model, the binarization of the model output optimal array, and the configuration of the binarized spatial modulator are performed again, that is, Can.
第二方面,本发明还提供一种基于二值化空间调制的衍射聚焦装置,包括:In a second aspect, the present invention also provides a diffraction focusing device based on binarization spatial modulation, comprising:
波的产生源,二值化空间调制器、波的强度探测装置,以及执行如上所述的基于二值化空间调制的衍射聚焦方法所需要的计算及存储设备,其中,计算及存储设备执行数组的生成以及模型的构建及训练,并读取强度探测装置的强度以及控制二值化空间调制设备的调制状态,所述波的产生源用于产生入射波。Wave generation source, binarized spatial modulator, wave intensity detection device, and computing and storage device required to perform the above-described binary spatial modulation-based diffraction focusing method, wherein the computing and storage device executes an array generation, model building and training, and reading the intensity of the intensity detection device and controlling the modulation state of the binarized spatial modulation device, the wave generating source is used to generate incident waves.
与现有技术相比,本发明提供的衍射聚焦方法以及装置,通过构建评价模型和策略模型,利用评价模型和策略模型可以对二值化空间调制器的调制状态进行优化,可以对难以进行连续相位或者振幅调制的波进行控制,进而完成在指定位置的有效聚焦,此外,随机衍射强度信号采集时不需要指定具体聚焦位置,因此改变不同的聚焦位置时,不需要重新进行随机衍射强度信号采集,节省了流程,而且实现方式简单,模型构建方法可扩展性强,在空间调制单元数较多时仍具有较高的效率。Compared with the prior art, the diffraction focusing method and device provided by the present invention can optimize the modulation state of the binarized spatial modulator by constructing an evaluation model and a strategy model, and can make continuous The phase or amplitude modulated wave is controlled to complete the effective focusing at the specified position. In addition, the random diffraction intensity signal does not need to specify a specific focusing position when collecting the random diffraction intensity signal. Therefore, when changing different focusing positions, it is not necessary to re-collect the random diffraction intensity signal. , the process is saved, and the implementation method is simple, the model construction method is highly scalable, and still has high efficiency when the number of spatial modulation units is large.
附图说明Description of drawings
图1是本发明提供的衍射聚焦方法的一实施例的流程图;1 is a flowchart of an embodiment of a diffraction focusing method provided by the present invention;
图2是实施例中的装置示意图;Fig. 2 is the schematic diagram of the device in the embodiment;
图3是实施例中散射光在所选择聚焦位置的聚焦效果图。FIG. 3 is a focusing effect diagram of scattered light at a selected focusing position in an embodiment.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
本发明所涉及的基于二值化空间调制的衍射聚焦方法及装置可用于光学散射聚焦系统中。在光学散射聚焦系统中,由于散射体对入射光进行了复杂且未知的振幅以及相位调制。出射光波经衍射后变为散斑的形式,无法形成有效聚焦。因此,需要把入射光在空间上划分为独立单元,保留能在所选择的聚焦位置上发生相长干涉的单元,去除发生相消干涉的单元,这种单元划分以及是否保留的选择可以由空间光调制器实现,结合本发明的方法可以对每个单元的保留状态进行优化,以实现在所选择聚焦位置的聚焦。The diffraction focusing method and device based on binarization spatial modulation involved in the present invention can be used in an optical scattering focusing system. In an optical scattering focusing system, complex and unknown amplitude and phase modulation of the incident light occurs due to the scatterer. The outgoing light wave is diffracted into speckle and cannot be effectively focused. Therefore, it is necessary to spatially divide the incident light into independent units, keep the units that can interfere constructively at the selected focus position, and remove the units that cause destructive interference. The choice of such unit division and whether to keep it can be determined by the space The light modulator implementation, combined with the method of the present invention, can optimize the retention state of each cell to achieve focusing at the selected focus position.
根据本发明内容,可以提供一种光的散射聚焦方法,请参阅图1,包括如下步骤:According to the content of the present invention, a light scattering focusing method can be provided, please refer to FIG. 1 , including the following steps:
S100、随机生成若干二值化数组并配置二值化空间调制器的调制状态,对入射波波面进行空间调制并获取若干衍射波强度,其中各衍射波强度均在预设的衍射波强度采集范围内获取。S100: Randomly generate several binarized arrays and configure the modulation state of the binarized spatial modulator, perform spatial modulation on the incident wave wavefront and obtain several diffracted wave intensities, wherein the diffracted wave intensities are all within a preset diffracted wave intensity collection range obtained within.
在具体实施时,所述步骤S100具体包括:During specific implementation, the step S100 specifically includes:
步骤一、随机生成二值化数组,其中,本实施例中,所述二值化数组为-1,1随机组成的二值化数组,需要理解的是,二值化数组不限于-1,1组成,在其它的实施例中,还可由例如-0.1,0.1组成的方式,本发明实施例对此不做限定;
步骤二、根据所述二值化数组改变二值化空间调制器的调制状态;
步骤三、获取传感器采集的位于所述二值化空间调制器之后有效区域内、与所述调制状态对应的入射波波面的衍射波强度;
步骤四、重复步骤一至步骤三,得到若干个衍射波强度以及与所述衍射波强度对应的二值化数组。Step 4: Repeat
具体的,请参阅图2,半导体激光器产生中心波长为635nm的激光,入射至DMD空间光调制器1表面。空间光调制器1照明区被划分为100×100个独立调制单元,每个调制单元可以使照射至其上的光按光路前进或者偏转出光路。然后经聚焦透镜2聚焦后,入射至普通A4打印纸表面3并发生散射,聚焦区域直径约1.5mm。图像传感器4的中心距离聚焦区域约6cm,成像区域大小为5.7mm×4.8mm。计算机5产生2200个由-1,1随机组成的二值数组S,数组大小为100×100,分别控制DMD的各调制单元的调制状态;使用图像传感器4采集散射光强度I,并对散射光强度I进行归一化。Specifically, please refer to FIG. 2 , the semiconductor laser generates laser light with a center wavelength of 635 nm, which is incident on the surface of the DMD
S200、构建评价模型,根据选择的待聚焦位置、所述随机二值化数组以及对应的衍射波强度,对所述评价模型进行训练;其中,所述评价模型用于反映二值化数组与衍射波强度中待聚焦位置的衍射波强度的映射关系。S200. Build an evaluation model, and train the evaluation model according to the selected position to be focused, the random binarization array and the corresponding diffracted wave intensity; wherein, the evaluation model is used to reflect the binarization array and diffraction The mapping relationship of the diffracted wave intensity at the position to be focused in the wave intensity.
在一些实施例中,步骤S200具体包括:In some embodiments, step S200 specifically includes:
选择待聚焦位置,分别获取每一个衍射波强度中待聚焦位置的衍射波强度,以得到若干个训练对,所述训练对为二值化数组与待聚焦位置的衍射波强度;Selecting the position to be focused, respectively acquiring the diffracted wave intensity at the position to be focused in each diffracted wave intensity, so as to obtain several training pairs, where the training pair is the binarized array and the diffracted wave intensity of the position to be focused;
采用若干个训练对对构建的评价模型进行训练,其中,所述评价模型的输入为二值化数组,所述评价模型的输出为衍射波强度中待聚焦位置的衍射波强度。The constructed evaluation model is trained by several trainings, wherein the input of the evaluation model is a binarized array, and the output of the evaluation model is the diffracted wave intensity at the position to be focused in the diffracted wave intensity.
其中,所述评价模型为机器学习模型,所述机器学习模型包括但不限于神经网络模型。Wherein, the evaluation model is a machine learning model, and the machine learning model includes but is not limited to a neural network model.
具体的,在图像传感器成像区选择待聚焦位置,分别计算每一个I中待聚焦位置的衍射信号强度之和Ic,并与其对应的S组成训练数据对;待聚焦位置可以选择图像传感器成像平面任意位置,例如图3所示位置,包含5×5个相邻像素。评价模型采用全连接神经网络作为评价模型,包含输入层、2层隐藏层以及输出层,输出层神经元数量为1,其余各层神经元数量均为64。所述输入层、隐藏层的激活函数为ReLU,输出层不使用激活函数。初始化评价神经网络,以S为输入,计算评价神经网络的输出与Ic之间的误差,使用平方和误差作为误差函数,采用梯度下降方法进行训练。评价神经网络参数采用均方根传播方法进行优化,学习率设置为2×10-3。Specifically, the position to be focused is selected in the imaging area of the image sensor, the sum of the diffraction signal intensities Ic of the position to be focused in each I is calculated respectively, and the corresponding S is formed into a training data pair; the position to be focused can be selected arbitrarily on the imaging plane of the image sensor. A location, such as the one shown in Figure 3, contains 5×5 adjacent pixels. The evaluation model uses a fully connected neural network as the evaluation model, including an input layer, two hidden layers and an output layer. The number of neurons in the output layer is 1, and the number of neurons in the other layers is 64. The activation function of the input layer and the hidden layer is ReLU, and the output layer does not use an activation function. Initialize the evaluation neural network, take S as the input, calculate the error between the output of the evaluation neural network and Ic, use the square sum error as the error function, and use the gradient descent method for training. The parameters of the evaluation neural network are optimized using the root mean square propagation method, and the learning rate is set to 2×10 -3 .
S300、构建策略模型,采用训练完备的评价模型对所述策略模型进行训练,其中,策略模型用于产生一个最优数组,所述最优数组作为所述评价模型的输入时可以使评价模型的输出最大化。S300, constructing a strategy model, and using a well-trained evaluation model to train the strategy model, wherein the strategy model is used to generate an optimal array, and when the optimal array is used as the input of the evaluation model, the evaluation model can be maximize output.
在一些实施例中,步骤S300具体包括:In some embodiments, step S300 specifically includes:
构建策略模型,并随机生成一个输入数组;Build a policy model and randomly generate an input array;
以所述输入数组作为策略模型的输入,以所述策略模型的输出作为评价模型的输入,以所述评价模型的输出结果最大化作为训练目标,根据所述评价模型的输出更新所述策略模型,直至策略模型输出一个最优数组,所述最优数组作为所述训练完备的评价模型的输入时可以使评价模型的输出最大化。Take the input array as the input of the strategy model, take the output of the strategy model as the input of the evaluation model, take the maximization of the output of the evaluation model as the training target, and update the strategy model according to the output of the evaluation model , until the policy model outputs an optimal array, which can maximize the output of the evaluation model when the optimal array is used as the input of the fully trained evaluation model.
其中,所述策略模型为机器学习模型,所述机器学习模型包括但不限于神经网络模型。在策略模型为神经网络模型时,可采用梯度上升的方法来实现模型的更新,当然,在其它的实施例中,还可采用其它可实现策略模型更新的方法,本发明实施例对此不做限定。Wherein, the strategy model is a machine learning model, and the machine learning model includes but is not limited to a neural network model. When the strategy model is a neural network model, the method of gradient ascent can be used to update the model. Of course, in other embodiments, other methods that can realize the update of the strategy model can also be used, which is not done in this embodiment of the present invention. limited.
具体的,使用全连接神经网络为策略模型并进行初始化,包含输入层、2层隐藏层以及输出层,所述输入层、隐藏层的激活函数为ReLU,输出层不使用激活函数;随机生成一个数组为输入,策略神经网络的输出作为评价模型的输入,采用梯度上升方法,以最大化评价模型输出作为训练目标;策略神经网络采用均方根传播方法进行训练,学习率设置为2×10-5。训练完成后策略神经网络的输出数组为最优数组,最优数组可以最大化评价模型的输出。Specifically, a fully connected neural network is used as the strategy model and initialized, including an input layer, two hidden layers, and an output layer. The activation functions of the input and hidden layers are ReLU, and the output layer does not use an activation function; randomly generate a The array is the input, the output of the policy neural network is used as the input of the evaluation model, and the gradient ascent method is used to maximize the output of the evaluation model as the training target; the policy neural network is trained by the root mean square propagation method, and the learning rate is set to 2×10 − 5 . After the training is completed, the output array of the policy neural network is the optimal array, and the optimal array can maximize the output of the evaluation model.
S400、对所述最优数组进行二值化并配置二值化空间调制器的调制状态,以实现在待聚焦位置的聚焦。S400. Binarize the optimal array and configure the modulation state of the binarized spatial modulator, so as to realize focusing at the position to be focused.
具体的,步骤S400具体包括:Specifically, step S400 specifically includes:
获取最优数组,并将所述最优数组进行二值化处理,根据二值化处理后的最优数组配置二值化空间调制器的调制状态,以实现待聚焦位置的聚焦。The optimal array is obtained, and the optimal array is subjected to binarization processing, and the modulation state of the binarized spatial modulator is configured according to the optimal array after the binarization processing, so as to realize the focusing of the position to be focused.
其中,所述二值化方法为,将最优数组中的正值变为1,负值变为-1。Wherein, the binarization method is to change the positive value in the optimal array to 1, and the negative value to -1.
基于上述基于二值化空间调制的衍射聚焦方法,本发明还相应的提供一种基于二值化空间调制的衍射聚焦装置,包括波的产生源,二值化空间调制器、波的强度探测装置,以及执行如上述各实施例所述的基于二值化空间调制的衍射聚焦方法所需要的计算及存储设备,其中,计算及存储设备执行数组的生成以及模型的构建及训练,并读取强度探测装置的强度以及控制二值化空间调制设备的调制状态,所述波的产生源用于产生入射波。Based on the above-mentioned diffraction focusing method based on binarized spatial modulation, the present invention also provides a diffraction focusing device based on binarized spatial modulation, including a wave generating source, a binarized spatial modulator, and a wave intensity detection device. , and the computing and storage devices required to perform the diffraction focusing method based on binarization spatial modulation as described in the above-mentioned embodiments, wherein the computing and storage devices perform the generation of arrays and the construction and training of models, and read the intensity Detecting the intensity of the device and controlling the modulation state of the binarized spatial modulation device, the wave generating source is used to generate the incident wave.
由于上文已对基于二值化空间调制的光散射聚焦方法以及装置进行详细描述,在此不再赘述。Since the light scattering focusing method and device based on binarization spatial modulation have been described in detail above, they will not be repeated here.
以上已将本发明做一详细说明,以上所述,仅为本发明之实施例而已,当不能限定本发明实施范围,即凡依本申请范围所作均等变化与修饰,皆应仍属本发明涵盖范围内。The present invention has been described in detail above. The above are only examples of the present invention, and should not limit the scope of implementation of the present invention, that is, all equivalent changes and modifications made according to the scope of the application should still be covered by the present invention. within the range.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210553808.7A CN114839789B (en) | 2022-05-20 | 2022-05-20 | Diffraction focusing method and device based on binarization spatial modulation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210553808.7A CN114839789B (en) | 2022-05-20 | 2022-05-20 | Diffraction focusing method and device based on binarization spatial modulation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114839789A true CN114839789A (en) | 2022-08-02 |
CN114839789B CN114839789B (en) | 2023-09-12 |
Family
ID=82572664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210553808.7A Active CN114839789B (en) | 2022-05-20 | 2022-05-20 | Diffraction focusing method and device based on binarization spatial modulation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114839789B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020060831A1 (en) * | 1999-11-08 | 2002-05-23 | Gerchberg Ralph W. | System and method for recovering phase information of a wave front |
US20120029829A1 (en) * | 2010-07-28 | 2012-02-02 | Nellcor Puritan Bennett Llc | Light Focusing Continuous Wave Photoacoustic Spectroscopy And Its Applications To Patient Monitoring |
CN103299166A (en) * | 2010-10-27 | 2013-09-11 | 康奈尔大学 | Light field image sensor, method and applications |
CN109459852A (en) * | 2019-01-07 | 2019-03-12 | 史丽 | A kind of scattering medium optical imaging method neural network based |
CN109528161A (en) * | 2018-11-06 | 2019-03-29 | 浙江大学 | A kind of high speed and high resoltuion scanning microscopy imaging System and method for based on machine learning |
DE102018108628A1 (en) * | 2018-04-11 | 2019-10-17 | Stiftung Caesar Center Of Advanced European Studies And Research | Method and system for generating a desired light distribution when passing through a diffuser |
CN111354055A (en) * | 2020-03-13 | 2020-06-30 | 西南科技大学 | Optical coherence tomography depth reconstruction method based on depth learning |
CN111552069A (en) * | 2020-04-21 | 2020-08-18 | 中国人民解放军国防科技大学 | A method and system for automatic focusing of microscopic images based on deep reinforcement learning |
WO2020244952A1 (en) * | 2019-06-07 | 2020-12-10 | Ecole Polytechnique Federale De Lausanne (Epfl) | System and method for projecting images through scattering media |
US20210073959A1 (en) * | 2018-05-22 | 2021-03-11 | Ramot At Tel-Aviv University Ltd. | Method and system for imaging and image processing |
CN113296258A (en) * | 2021-04-29 | 2021-08-24 | 中国科学院西安光学精密机械研究所 | Focusing light spot scanning endoscopic imaging system and method based on multimode fiber coupler |
CN113574438A (en) * | 2019-02-03 | 2021-10-29 | 巴伊兰大学 | System and method for imaging through scattering media |
CN113985566A (en) * | 2021-09-10 | 2022-01-28 | 西南科技大学 | Scattered light focusing method based on spatial light modulation and neural network |
CN114118361A (en) * | 2021-10-29 | 2022-03-01 | 北京宇航系统工程研究所 | Situation assessment method based on deep learning parameter anchoring |
US20220082529A1 (en) * | 2020-09-15 | 2022-03-17 | Supersonic Imagine | Method and system for ultrasonic characterization of a medium |
-
2022
- 2022-05-20 CN CN202210553808.7A patent/CN114839789B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020060831A1 (en) * | 1999-11-08 | 2002-05-23 | Gerchberg Ralph W. | System and method for recovering phase information of a wave front |
US20120029829A1 (en) * | 2010-07-28 | 2012-02-02 | Nellcor Puritan Bennett Llc | Light Focusing Continuous Wave Photoacoustic Spectroscopy And Its Applications To Patient Monitoring |
CN103299166A (en) * | 2010-10-27 | 2013-09-11 | 康奈尔大学 | Light field image sensor, method and applications |
DE102018108628A1 (en) * | 2018-04-11 | 2019-10-17 | Stiftung Caesar Center Of Advanced European Studies And Research | Method and system for generating a desired light distribution when passing through a diffuser |
US20210073959A1 (en) * | 2018-05-22 | 2021-03-11 | Ramot At Tel-Aviv University Ltd. | Method and system for imaging and image processing |
CN109528161A (en) * | 2018-11-06 | 2019-03-29 | 浙江大学 | A kind of high speed and high resoltuion scanning microscopy imaging System and method for based on machine learning |
CN109459852A (en) * | 2019-01-07 | 2019-03-12 | 史丽 | A kind of scattering medium optical imaging method neural network based |
CN113574438A (en) * | 2019-02-03 | 2021-10-29 | 巴伊兰大学 | System and method for imaging through scattering media |
WO2020244952A1 (en) * | 2019-06-07 | 2020-12-10 | Ecole Polytechnique Federale De Lausanne (Epfl) | System and method for projecting images through scattering media |
CN111354055A (en) * | 2020-03-13 | 2020-06-30 | 西南科技大学 | Optical coherence tomography depth reconstruction method based on depth learning |
CN111552069A (en) * | 2020-04-21 | 2020-08-18 | 中国人民解放军国防科技大学 | A method and system for automatic focusing of microscopic images based on deep reinforcement learning |
US20220082529A1 (en) * | 2020-09-15 | 2022-03-17 | Supersonic Imagine | Method and system for ultrasonic characterization of a medium |
CN113296258A (en) * | 2021-04-29 | 2021-08-24 | 中国科学院西安光学精密机械研究所 | Focusing light spot scanning endoscopic imaging system and method based on multimode fiber coupler |
CN113985566A (en) * | 2021-09-10 | 2022-01-28 | 西南科技大学 | Scattered light focusing method based on spatial light modulation and neural network |
CN114118361A (en) * | 2021-10-29 | 2022-03-01 | 北京宇航系统工程研究所 | Situation assessment method based on deep learning parameter anchoring |
Non-Patent Citations (3)
Title |
---|
DUYGU AKBULUT ET,AL: "Focusing light through turbid media by binary amplitude modulation", pages 1 * |
YUNQI LUO ET,AL: "Towards smart optical focusing:deep learning-empowered dynamic wavefront shaping through nonstationary scattering media", vol. 9, no. 8, pages 262 - 278 * |
方兆翔: "光场波前调控及其在散射介质中聚焦特性的研究", no. 5, pages 1 - 91 * |
Also Published As
Publication number | Publication date |
---|---|
CN114839789B (en) | 2023-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Goy et al. | Low photon count phase retrieval using deep learning | |
CN111582435B (en) | Diffraction depth neural network system based on residual error network | |
Luo et al. | Focusing light through scattering media by reinforced hybrid algorithms | |
CN111832721A (en) | All-optical neural network | |
CN109459852B (en) | Scattering medium optical imaging method based on neural network | |
CN108332866B (en) | On-line fast reconstruction device and reconstruction method of wavefront based on amplitude modulation | |
JP6862255B2 (en) | Imaging device, imaging method and imaging program | |
CN117252247A (en) | Sensor display device | |
CN106094487A (en) | Terahertz in-line holographic imaging systems based on multiple recording distances and formation method | |
CN103674264A (en) | Image fusion device and method based on period diffraction correlated imaging | |
CN111812672A (en) | An image reconstruction method and reflection terahertz ghost imaging system | |
CN113985566B (en) | Scattered light focusing method based on spatial light modulation and neural network | |
US20230048377A1 (en) | Data processing array | |
CN109883986B (en) | Laser galvanometer-based single-pixel terahertz imaging system and imaging method | |
CN114839789B (en) | Diffraction focusing method and device based on binarization spatial modulation | |
CN115685565A (en) | Method and device for regulating and controlling complex light field penetrating through scattering medium | |
CN109253997B (en) | A Raman Tomography System Based on Frequency Modulation and Spatial Coding | |
CN108303039B (en) | A Light Intensity Compensation Method for Gaussian Optical Ghost Imaging | |
CN111652372B (en) | Wavefront restoration method and system based on diffractive optical neural network | |
CN115942100B (en) | Differential single-pixel imaging system and method based on untrained neural network constraint | |
CN117451190A (en) | Deep learning defocusing scattering wavefront sensing method | |
CN111553971B (en) | Fast full-field complex-number domain imaging method and device based on triple binarization modulation | |
CN114924410B (en) | Focusing method and device based on small phase modulation and phase compensation | |
CN118364662B (en) | Wavefront sensor construction method based on codec joint optimization | |
JP7313682B2 (en) | Evaluation method of optical properties |
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 |