[go: up one dir, main page]

CN115773997A - Portable transparent turbid medium imaging device and imaging method - Google Patents

Portable transparent turbid medium imaging device and imaging method Download PDF

Info

Publication number
CN115773997A
CN115773997A CN202211485753.7A CN202211485753A CN115773997A CN 115773997 A CN115773997 A CN 115773997A CN 202211485753 A CN202211485753 A CN 202211485753A CN 115773997 A CN115773997 A CN 115773997A
Authority
CN
China
Prior art keywords
image
guessed
spectrum information
spectrum
frequency spectrum
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.)
Pending
Application number
CN202211485753.7A
Other languages
Chinese (zh)
Inventor
宾强
何盛昆
张舒姗
孟思齐
王锦非
蒋志龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangnan University
Original Assignee
Jiangnan University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jiangnan University filed Critical Jiangnan University
Priority to CN202211485753.7A priority Critical patent/CN115773997A/en
Publication of CN115773997A publication Critical patent/CN115773997A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种便携式透过浑浊介质成像装置和成像方法,属于散射介质成像技术领域。所述装置包括具备拍摄功能的智能终端、卡槽和激光器。通过采集多张激光照射下通过浑浊介质后的模糊图像,从每张模糊图像分理出对应的点扩散函数,继而采用迭代反卷积方法对多张数据中的信息进行整合重建,抑制高频噪声同时,实现了在浑浊介质下,将多张图片所具有的信息进行融合,提高了算法重建质量,且该装置操作简单,可有效降低成像成本,可用于日常生活,增加了该装置的实用性。

Figure 202211485753

The invention discloses a portable imaging device and imaging method through a turbid medium, belonging to the technical field of scattering medium imaging. The device includes an intelligent terminal with a shooting function, a card slot and a laser. By collecting multiple fuzzy images after passing through the turbid medium under laser irradiation, the corresponding point spread function is separated from each fuzzy image, and then the information in the multiple data is integrated and reconstructed by iterative deconvolution method to suppress the high frequency At the same time, the information of multiple pictures can be fused under the turbid medium, which improves the reconstruction quality of the algorithm, and the device is easy to operate, which can effectively reduce the cost of imaging, and can be used in daily life, increasing the practicality of the device sex.

Figure 202211485753

Description

一种便携式透过浑浊介质成像装置和成像方法A portable imaging device and imaging method through turbid media

技术领域technical field

本发明涉及一种便携式透过浑浊介质成像装置和成像方法,属于散射介质成像技术领域。The invention relates to a portable imaging device and an imaging method through a turbid medium, belonging to the technical field of scattering medium imaging.

背景技术Background technique

在日常生活中,通常可以通过可见光来观测物体的宏观与微观结构,而在观测物体与观测者之间,有时需要隔着河流、牛奶溶液、皮肤组织等浑浊介质去观测物体,由于这些浑浊介质在空间分布上的无序性,光在其中传播时光的传播方向发生变化,即光线发生散射,可见光在浑浊介质中只能传播非常有限的距离,使得入射到浑浊介质中的光线在出射时失去原有入射光场的空间相对位置,进而导致观测物体图像质量下降,从而无法获取被观测物体的直观信息。因此,如何从河流、牛奶溶液、皮肤组织等实际透过浑浊介质成像的场景中实现被观测物体的清晰成像,在生物学、医学等领域具有重要的研究意义。In daily life, it is usually possible to observe the macroscopic and microscopic structures of objects through visible light, and sometimes it is necessary to observe objects through turbid media such as rivers, milk solutions, and skin tissues between the observed object and the observer. In the disorder of spatial distribution, the propagation direction of light in which the light propagates changes, that is, the light is scattered, and visible light can only travel a very limited distance in the turbid medium, so that the light incident into the turbid medium is lost when it exits. The spatial relative position of the original incident light field will lead to the degradation of the image quality of the observed object, so that the intuitive information of the observed object cannot be obtained. Therefore, how to achieve clear imaging of the observed object from the scene of river, milk solution, skin tissue and other scenes that are actually imaged through the turbid medium has important research significance in the fields of biology and medicine.

目前透过浑浊介质获得高质量目标图像的方法主要有两类:At present, there are two main methods for obtaining high-quality target images through turbid media:

(1)改进成像设备或依据不同场合选用不同的成像设备。主流的成像设备存在价格昂贵,设备庞大、操作繁琐等缺陷,其余小型的成像设备,如CCD、CMOS等成像元件也存在价格过高、需与电脑配备、数据处理不便的问题。在日常生活中,移动式的成像装置可以被广泛的使用于雾天拍照、水下摄影等应用场景,但因为成像设备与图像处理设备的成本、体积等因素制约并未实际推广。(1) Improve imaging equipment or choose different imaging equipment according to different occasions. The mainstream imaging equipment has defects such as expensive, bulky equipment, and cumbersome operation. Other small imaging equipment, such as CCD, CMOS and other imaging components, also have the problems of high price, need to be equipped with a computer, and inconvenient data processing. In daily life, mobile imaging devices can be widely used in foggy weather photography, underwater photography and other application scenarios, but due to the cost and volume constraints of imaging equipment and image processing equipment, they have not been practically promoted.

(2)改进目标检测算法,在后期对采集的图像有针对性地进行图像处理。科研工作者不断改进光学成像技术,发明了波前调制法、图像重建法以及散斑相关法等方法来处理透过浑浊介质后的图像。但是,基于光透过浑浊介质后的散射特性,探测器仅能接收到有限的散射物体信息,导致这几类方法重构出物体的分辨率通常都相对较低。而且,采用常规的光学成像技术,存在算法计算复杂度高,计算时间长,所需数据量大等诸多问题,往往不能达到观测目的。尤其不适合日常拍摄等场景,比如日常雾天拍照、水下摄影等应用场景下,拍摄者所使用的设备可能只是手机等便携设备,不具备较好的算力。(2) Improve the target detection algorithm, and perform targeted image processing on the collected images in the later stage. Scientific researchers have continuously improved optical imaging technology, and invented methods such as wavefront modulation, image reconstruction, and speckle correlation to process images transmitted through turbid media. However, based on the scattering characteristics of light passing through turbid media, detectors can only receive limited information about scattered objects, resulting in relatively low resolutions of objects reconstructed by these methods. Moreover, the use of conventional optical imaging technology has many problems such as high computational complexity, long calculation time, and large amount of data required, which often cannot achieve the purpose of observation. Especially not suitable for daily shooting and other scenarios, such as daily foggy photography, underwater photography and other application scenarios, the equipment used by the photographer may only be mobile phones and other portable devices, which do not have good computing power.

发明内容Contents of the invention

为了解决日常雾天拍照、水下摄影等应用场景下拍摄照片模糊的问题,本发明提供了一种便携式透过浑浊介质成像装置,所述装置包括智能终端、卡槽和激光器;其中,所述智能终端具备拍照功能,所述卡槽用于将所述激光器固定在智能终端上,使得智能终端可采集激光照射下的图像。In order to solve the problem of blurred photos taken in daily foggy photography, underwater photography and other application scenarios, the present invention provides a portable imaging device through turbid media, the device includes a smart terminal, a card slot and a laser; wherein, the The smart terminal has a camera function, and the card slot is used to fix the laser on the smart terminal, so that the smart terminal can collect images irradiated by the laser.

可选的,所述智能终端包括:智能手机、掌上电脑以及智能手表。Optionally, the smart terminal includes: a smart phone, a handheld computer and a smart watch.

可选的,所述激光器工作波长范围为390nm-780nm,光束直径<10mm,光束发散角<0.5mrad,线宽<1.0cm-1Optionally, the working wavelength range of the laser is 390nm-780nm, the beam diameter is <10mm, the beam divergence angle is <0.5mrad, and the line width is <1.0cm -1 .

本申请还提供一种便携式透过浑浊介质成像方法,所述方法基于上述装置实现,所述方法包括:The present application also provides a portable method for imaging through turbid media, the method is realized based on the above-mentioned device, and the method includes:

步骤S1:采集n张激光照射下通过浑浊介质后的模糊图像,标记为I(x,y;n),n=1,2,3…;Step S1: Collect n fuzzy images after passing through the turbid medium under laser irradiation, marked as I(x,y;n), n=1,2,3...;

步骤S2:从所采集的n张模糊图像中分别分离出对应的强度点扩散函数并进行更新,得到更新后的强度点扩散函数Ipr(x,y;n);Step S2: Separate the corresponding intensity point spread functions from the collected n blurred images and update them to obtain the updated intensity point spread function I pr (x, y; n);

步骤S3:对更新后的强度点扩散函数Ipr(x,y;n)以及模糊图像I(x,y;n)分别进行傅里叶变换,得到各自的频谱,分别记为H(u,v;n)和I(u,v;n);Step S3: Perform Fourier transform on the updated intensity point spread function I pr (x, y; n) and the blurred image I (x, y; n) respectively to obtain their respective spectra, which are denoted as H(u, v; n) and I(u, v; n);

步骤S4:设定一个随机的物体频谱猜测值,作为物体猜测频谱信息的初值Og(u,v,1);Step S4: Set a random object spectrum guess value as the initial value O g (u, v, 1) of the object guess spectrum information;

步骤S5:根据所述物体猜测频谱信息和步骤S3中得到的更新后的强度点扩散函数Ipr(x,y;n)的频谱表示猜测的模糊图像的频谱Ig(u,v;n);Step S5: According to the spectral information of the object and the frequency spectrum of the updated intensity point spread function I pr (x, y; n) obtained in step S3, it represents the spectrum I g (u, v; n) of the guessed blurred image ;

步骤S6:计算步骤S5中得到的猜测的模糊图像的频谱Ig(u,v;n)与步骤S3得到的模糊图像的频谱I(u,v;n)之间的差值Id(u,v;n);Step S6: Calculate the difference I d (u) between the spectrum I g (u, v; n) of the guessed blurred image obtained in step S5 and the spectrum I (u, v; n) of the blurred image obtained in step S3 , v; n);

步骤S7:根据步骤S6计算出的差值更新物体猜测频谱信息,得到迭代更新后的物体猜测频谱信息,重复步骤S5至S7至所采集到的n张模糊图像迭代更新完成得到最终迭代更新后的物体猜测频谱信息Og′(u,v;n),或者满足预设条件后得到最终迭代更新后的物体猜测频谱信息Og′(u,v;k),k≤n;Step S7: Update the guessed spectrum information of the object according to the difference calculated in step S6, obtain the guessed spectrum information of the object after iterative update, repeat steps S5 to S7 until the iterative update of the collected n fuzzy images is completed to obtain the final iteratively updated Spectrum information O g ′(u,v;n) guessed by the object, or the guessed spectrum information O g ′(u,v;k) of the object after the final iterative update is obtained after satisfying the preset conditions, k≤n;

步骤S8:对最终迭代更新后的物体猜测频谱值Og′(u,v;n)或Og′(u,v;k)进行傅立叶逆变换,得到重建的物体图像o(x,y)。Step S8: Perform inverse Fourier transform on the estimated spectral value O g ′(u,v;n) or O g ′(u,v;k) of the object after the final iterative update to obtain the reconstructed object image o(x,y) .

可选的,所述步骤S2包括:Optionally, the step S2 includes:

2.1将激光束照射在物体表面的亮斑区域作为强度点扩散函数图像,标记为Ip(x,y;n);2.1 The bright spot area irradiated by the laser beam on the surface of the object is used as the intensity point spread function image, which is marked as I p (x, y; n);

所述亮斑区域根据激光器的光束直径、光束发散角以及线宽确定具体大小;The specific size of the bright spot area is determined according to the beam diameter, beam divergence angle and line width of the laser;

2.2:设定一个零矩阵Ipr,矩阵大小与I(x,y;n)相同,将零矩阵Ipr中心位置处范围大小与I(x,y;n)相同的区域用强度点扩散函数图像Ip(x,y;n)替代,得到更新的强度点扩散函数图像Ipr(x,y;n)。2.2: Set a zero matrix I pr , the matrix size is the same as I(x, y; n), use the intensity point spread function to use the intensity point spread function for the area at the center of the zero matrix I pr whose size is the same as I (x, y; n) The image I p (x, y; n) is replaced to obtain an updated intensity point spread function image I pr (x, y; n).

可选的,所述步骤S5包括:Optionally, the step S5 includes:

根据下式得到猜测的模糊图像的频谱Ig(u,v;n):The spectrum I g (u, v; n) of the guessed blurred image is obtained according to the following formula:

Ig(u,v;n)=Og(u,v;n)H(u,v;n)I g (u, v; n) = O g (u, v; n) H (u, v; n)

其中,H(u,v;n)=F{Ipr(x,y;n)},为更新的强度点扩散函数图像Ipr(x,y;n)进行傅里叶变换后的频谱,F{}为傅里叶变换运算符。Wherein, H(u, v; n)=F{I pr (x, y; n)}, is the frequency spectrum after the Fourier transform of the updated intensity point spread function image I pr (x, y; n), F{} is the Fourier transform operator.

可选的,所述步骤S7中根据步骤S6计算出的差值更新物体猜测频谱信息,得到迭代更新后的物体猜测频谱信息,包括:Optionally, in the step S7, the guessed spectrum information of the object is updated according to the difference calculated in the step S6, and the guessed spectrum information of the object after iterative update is obtained, including:

根据下式更新物体猜测频谱信息:Update the guessed spectral information of the object according to the following formula:

Figure BDA0003962203820000031
Figure BDA0003962203820000031

其中,H*(u,v;n)代表强度点扩散函数的频谱H(u,v;n)的复共轭函数,ξ表示正则化参数。where H * (u,v;n) represents the complex conjugate function of the spectrum H(u,v;n) of the intensity point spread function, and ξ represents the regularization parameter.

可选的,所述步骤S7中重复步骤S5至S7至所采集到的n张模糊图像迭代更新完成得到最终迭代更新后的物体猜测频谱信息Og′(u,v;n)时,将前一张模糊图像迭代更新得到的物体猜测频谱信息作为下一张模糊图像迭代更新时计算猜测的模糊图像的频谱时的基础。Optionally, in step S7, repeating steps S5 to S7 until the iterative update of the collected n fuzzy images is completed to obtain the guessed spectral information O g '(u, v; n) of the object after the final iterative update, the previous The guessed spectrum information of the object obtained by the iterative update of a blurred image is used as the basis for calculating the spectrum of the guessed blurred image when the next blurred image is iteratively updated.

可选的,所述步骤S7中预设条件指重构图像满足预定精度,判断方法包括:Optionally, the preset condition in step S7 means that the reconstructed image meets a predetermined accuracy, and the judging method includes:

计算每次更新迭代后的物体猜测频谱信息Og′(u,v;n)的均值E(u,v;n)与方差σ(u,v;n),引入基于tamura系数的聚焦标准TC:Calculate the mean E(u,v;n) and variance σ(u,v;n) of the guessed spectral information O g ′(u,v;n) of the object after each update iteration, and introduce the focusing standard TC based on the tamura coefficient :

Figure BDA0003962203820000032
Figure BDA0003962203820000032

设定临界条件n0,当计算所得的TC大于n0时,输出此时的物体猜测频谱信息Og′(u,v;k),k≤n。The critical condition n 0 is set, and when the calculated TC is greater than n 0 , the guessed spectrum information O g ′(u,v;k) of the object at this time is output, where k≤n.

可选的,所述浑浊介质包括雾、水、牛奶溶液、血液和皮肤组织。Optionally, the turbid medium includes mist, water, milk solution, blood and skin tissue.

本发明有益效果是:The beneficial effects of the present invention are:

(1)本发明公开了一种便携式透过浑浊介质成像装置,成像装置将智能手机、卡槽、小型激光器进行集成,利用智能手机自带的摄像头快速采集实验数据。成像装置操作简单,可有效降低成像成本,不仅适用于科研领域,也可用于日常生活,增加了该装置的实用性。(1) The present invention discloses a portable imaging device through turbid media. The imaging device integrates a smart phone, a card slot, and a small laser, and uses the camera that comes with the smart phone to quickly collect experimental data. The imaging device is easy to operate, can effectively reduce the cost of imaging, is not only applicable to the field of scientific research, but also can be used in daily life, increasing the practicability of the device.

(2)本发明提供的便携式透过浑浊介质成像方法,将开发的成像重构算法在手机APP上进行了集成,成像重构算法是在维纳滤波方法压制噪声的基础上,采用迭代反卷积方法对多张数据中的信息进行整合重建,抑制高频噪声同时,实现了在浑浊介质下,将多张图片所具有的信息进行融合,提高了算法重建质量。成像平台使用方便,成像重构效率高,可高质量重构出图像,从而提高透过浑浊介质成像的效果。(2) The portable imaging method through the turbid medium provided by the present invention integrates the developed imaging reconstruction algorithm on the mobile phone APP. The imaging reconstruction algorithm is based on the Wiener filter method to suppress noise, and uses iterative rollback The product method integrates and reconstructs the information in multiple data, suppresses high-frequency noise, and realizes the fusion of information in multiple pictures under turbid media, improving the reconstruction quality of the algorithm. The imaging platform is easy to use, has high imaging reconstruction efficiency, and can reconstruct images with high quality, thereby improving the imaging effect through turbid media.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1为本发明便携式透过浑浊介质成像装置示意图;Figure 1 is a schematic diagram of a portable imaging device through a turbid medium of the present invention;

图2为本发明便携式透过浑浊介质成像装置正面图;其中,1-智能手机,2-卡槽,3-小型激光器。Fig. 2 is a front view of the portable imaging device through turbid media of the present invention; wherein, 1-smart phone, 2-card slot, 3-small laser.

图3为本发明便携式透过浑浊介质成像装置在实际使用时的操作流程图。FIG. 3 is a flow chart of the actual use of the portable imaging device through turbid media of the present invention.

图4是本申请一个实施例中仿真实验过程所采集的模糊图像;Fig. 4 is the fuzzy image that simulation experiment process gathers in one embodiment of the present application;

图5是本申请一个实施例中仿真实验过程参考图样和重构图像对比图,其中,(a)为参考图样,(b)为重构图像。Fig. 5 is a comparison diagram of the reference pattern and the reconstructed image in the simulation experiment process in one embodiment of the present application, wherein (a) is the reference pattern, and (b) is the reconstructed image.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

实施例一:Embodiment one:

本实施例提供一种便携式透过浑浊介质成像装置,参见图1,所述装置包括智能终端1,卡槽2和小型激光器3。所述智能终端1具备拍照功能,可以是具备拍照功能的智能手机、掌上电脑或者其他便携智能设备,本实施例后续以目前常用的便携设备智能手机为例进行说明,所述卡槽2用于将所述小型激光器3固定在手机上,使得智能手机1可拍摄在激光照射下的图像。This embodiment provides a portable imaging device through turbid media, as shown in FIG. 1 , the device includes an intelligent terminal 1 , a card slot 2 and a small laser 3 . The smart terminal 1 has a camera function, and can be a smart phone, a handheld computer or other portable smart devices with a camera function. This embodiment will be described later by taking a currently commonly used portable device, a smart phone, as an example. The card slot 2 is used for The small laser 3 is fixed on the mobile phone, so that the smart phone 1 can take images under laser irradiation.

小型激光器3具体要求为:The specific requirements for small lasers 3 are:

工作波长:390nm-780nm;Working wavelength: 390nm-780nm;

最高重复频率:50Hz;Maximum repetition rate: 50Hz;

单脉冲能量:100-500Mj;Single pulse energy: 100-500Mj;

脉冲宽度:3ns-8ns;Pulse width: 3ns-8ns;

短期能量稳定性:±3%;Short-term energy stability: ±3%;

长期功率稳漂移定性:<5%;Long-term power stability drift qualitative: <5%;

光斑模式:单横模;Spot mode: single transverse mode;

高斯符合率:>70%(近场),>90%(远场);Gaussian coincidence rate: >70% (near field), >90% (far field);

调制度:<40%;Modulation degree: <40%;

光束直径:<10mm;Beam diameter: <10mm;

光束指向稳定性:<±50μrad;Beam pointing stability: <±50μrad;

光束发散角:<0.5mrad;Beam divergence angle: <0.5mrad;

线宽:<1.0cm-1Line width: <1.0cm -1 ;

时间抖动:<0.5ns。Timing Jitter: <0.5ns.

所述智能手机1根据下述方法实现根据多幅激光照射下的模糊图像重构出清晰的图像。The smart phone 1 reconstructs a clear image from multiple blurred images under laser irradiation according to the following method.

所述方法包括:The methods include:

步骤S1:采集n张激光照射下通过浑浊介质后的模糊图像,标记为I(x,y;n),n=1,2,3…;Step S1: Collect n fuzzy images after passing through the turbid medium under laser irradiation, marked as I(x,y;n), n=1,2,3...;

步骤S2:从所采集的n张模糊图像中分别分离出对应的强度点扩散函数并进行更新,得到更新后的强度点扩散函数Ipr(x,y;n);Step S2: Separate the corresponding intensity point spread functions from the collected n blurred images and update them to obtain the updated intensity point spread function I pr (x, y; n);

步骤S3:对更新后的强度点扩散函数Ipr(x,y;n)以及模糊图像I(x,y;n)分别进行傅里叶变换,得到各自的频谱,分别记为H(u,v;n)和I(u,v;n);Step S3: Perform Fourier transform on the updated intensity point spread function I pr (x, y; n) and the blurred image I (x, y; n) respectively to obtain their respective spectra, which are denoted as H(u, v; n) and I(u, v; n);

步骤S4:设定一个随机的物体频谱猜测值,作为物体猜测频谱信息的初值Og(u,v,1);Step S4: Set a random object spectrum guess value as the initial value O g (u, v, 1) of the object guess spectrum information;

步骤S5:根据所述物体猜测频谱信息和步骤S3中得到的更新后的强度点扩散函数Ipr(x,y;n)的频谱表示猜测的模糊图像的频谱Ig(u,v;n);Step S5: According to the spectral information of the object and the frequency spectrum of the updated intensity point spread function I pr (x, y; n) obtained in step S3, it represents the spectrum I g (u, v; n) of the guessed blurred image ;

步骤S6:计算步骤S5中得到的猜测的模糊图像的频谱Ig(u,v;n)与步骤S3得到的模糊图像的频谱I(u,v;n)之间的差值Id(u,v;n);Step S6: Calculate the difference I d (u) between the spectrum I g (u, v; n) of the guessed blurred image obtained in step S5 and the spectrum I (u, v; n) of the blurred image obtained in step S3 , v; n);

步骤S7:根据步骤S6计算出的差值更新物体猜测频谱信息,得到迭代更新后的物体猜测频谱信息,重复步骤S5至S7至所采集到的n张模糊图像迭代更新完成得到最终迭代更新后的物体猜测频谱信息Og′(u,v;n),或者满足预设条件后得到最终迭代更新后的物体猜测频谱信息Og′(u,v;k),k≤n;Step S7: Update the guessed spectrum information of the object according to the difference calculated in step S6, obtain the guessed spectrum information of the object after iterative update, repeat steps S5 to S7 until the iterative update of the collected n fuzzy images is completed to obtain the final iteratively updated Spectrum information O g ′(u,v;n) guessed by the object, or the guessed spectrum information O g ′(u,v;k) of the object after the final iterative update is obtained after satisfying the preset conditions, k≤n;

步骤S8:对最终迭代更新后的物体猜测频谱值Og′(u,v;n)或Og′(u,v;k)进行傅立叶逆变换,得到重建的物体图像o(x,y)。Step S8: Perform inverse Fourier transform on the estimated spectral value O g ′(u,v;n) or O g ′(u,v;k) of the object after the final iterative update to obtain the reconstructed object image o(x,y) .

实施例二:Embodiment two:

本实施例提供一种便携式透过浑浊介质成像方法,该方法包括:This embodiment provides a portable imaging method through turbid media, the method comprising:

步骤一:打开小型激光器3,通过智能手机1采集多幅通过浑浊介质后的模糊图像,标记为I(x,y;n),其中n=1,2,3…,表示所拍摄图像的序号;浑浊介质包括雾、水、牛奶溶液、皮肤组织等。Step 1: Turn on the small laser 3, and use the smart phone 1 to collect multiple fuzzy images after passing through the turbid medium, marked as I(x,y;n), where n=1,2,3..., indicating the sequence number of the captured images ; Turbid media include fog, water, milk solution, skin tissue, etc.

本实施例后续试验中采集5张模糊图像,如图4所示,为隔着牛奶溶液进行拍摄得到。In the follow-up experiment of this embodiment, 5 fuzzy images were collected, as shown in FIG. 4 , which were obtained by shooting through the milk solution.

步骤二:从所采集的多幅模糊图像中分别分离出对应的强度点扩散函数并进行更新,具体的,包括:Step 2: Separate the corresponding intensity point spread functions from the multiple blurred images collected and update them, specifically, including:

2.1将激光束照射在物体表面的亮斑区域作为强度点扩散函数图像,标记为Ip(x,y;n);2.1 The bright spot area irradiated by the laser beam on the surface of the object is used as the intensity point spread function image, which is marked as I p (x, y; n);

所述亮斑区域可根据激光器的光束直径、光束发散角以及线宽确定具体大小。The specific size of the bright spot area can be determined according to the beam diameter, beam divergence angle and line width of the laser.

2.2:设定一个零矩阵Ipr,矩阵大小与I(x,y;n)相同,将零矩阵Ipr中心位置处范围大小与I(x,y;n)相同的区域用强度点扩散函数图像Ip(x,y;n)替代,得到更新的强度点扩散函数图像Ipr(x,y;n);2.2: Set a zero matrix I pr , the matrix size is the same as I(x, y; n), use the intensity point spread function to use the intensity point spread function for the area at the center of the zero matrix I pr whose size is the same as I (x, y; n) The image I p (x, y; n) is replaced, and the updated intensity point spread function image I pr (x, y; n) is obtained;

利用该更新的强度点扩散函数图像Ipr(x,y;n)表示整幅图像的传输特性。The updated intensity point spread function image I pr (x, y; n) is used to represent the transmission characteristics of the entire image.

步骤三:对更新的强度点扩散函数图像Ipr(x,y;n)和模糊强度图像I(x,y;n)分别进行傅里叶变换;Step 3: performing Fourier transform on the updated intensity point spread function image I pr (x, y; n) and the blurred intensity image I (x, y; n) respectively;

3.1根据下式对更新的强度点扩散函数图像Ipr(x,y;n)进行傅里叶变换:3.1 Perform Fourier transform on the updated intensity point spread function image I pr (x, y; n) according to the following formula:

H(u,v;n)=F{Ipr(x,y;n)}H(u,v;n)=F{I pr (x,y;n)}

其中,F{}为傅里叶变换运算符,H(u,v;n)为更新的强度点扩散函数图像Ipr(x,y;n)进行傅里叶变换后的频谱。Wherein, F{} is a Fourier transform operator, H(u, v; n) is the spectrum of the updated intensity point spread function image I pr (x, y; n) after Fourier transform.

3.2根据下式对所采集的模糊强度图像I(x,y;n)进行傅里叶变换:3.2 Perform Fourier transform on the acquired blur intensity image I(x, y; n) according to the following formula:

I(u,v;n)=F{I(x,y;n)}I(u,v;n)=F{I(x,y;n)}

I(u,v;n)为模糊强度图像I(x,y;n)进行傅里叶变换后的频谱。I(u,v;n) is the spectrum of the fuzzy intensity image I(x,y;n) after Fourier transform.

步骤四:设定一个随机的物体频谱信息猜测Og(u,v,1),即物体猜测频谱值的初值;Step 4: Set a random object spectrum information guess O g (u, v, 1), which is the initial value of the object guess spectrum value;

步骤五:根据物体猜测频谱值Og(u,v;n)以及步骤三中得到的更新的强度点扩散函数图像Ipr(x,y;n)进行傅里叶变换后的频谱表示猜测的模糊图像的频谱Ig(u,v;n):Step 5: According to the guessed spectrum value O g (u, v; n) of the object and the updated intensity point spread function image I pr (x, y; n) obtained in step 3, the spectrum after Fourier transform represents the guessed Spectrum Ig (u,v;n) of blurred image:

Ig(u,v;n)=Og(u,v;n)H(u,v;n)I g (u, v; n) = O g (u, v; n) H (u, v; n)

步骤六:计算步骤五中得到的猜测的模糊图像的频谱Ig(u,v;n)与步骤一采集的模糊图像的频谱I(u,v;n)之间的差值Id(x,y;n):Step 6: Calculate the difference I d ( x ,y;n):

Id(u,v;n)=Ig(u,v;n)-I(u,v;n)I d (u, v; n) = I g (u, v; n) - I (u, v; n)

步骤七:根据步骤六计算出的差值更新猜测的物体频谱信息,得到迭代更新后的猜测频谱值Og′(u,v;n):Step 7: Update the guessed object spectrum information according to the difference calculated in step 6, and get the guessed spectrum value O g ′(u,v;n) after iterative update:

Figure BDA0003962203820000071
Figure BDA0003962203820000071

其中,H*(u,v;n)代表强度点扩散函数的频谱H(u,v;n)的复共轭函数,ξ表示正则化参数。where H * (u,v;n) represents the complex conjugate function of the spectrum H(u,v;n) of the intensity point spread function, and ξ represents the regularization parameter.

步骤八:将更新后的猜测频谱值Og (u,v;n)赋值给Og(u,v,n+1),得到更新的物体频谱信息;Step 8: Assign the updated guessed spectrum value O g (u, v; n) to O g (u, v, n+1) to obtain the updated spectrum information of the object;

步骤九:计算每次更新迭代后的物体猜测频谱值Og′(u,v;n)的均值E(u,v;n)与方差σ(u,v;n),引入基于tamura系数的聚焦标准(TC):Step 9: Calculate the mean value E(u,v;n) and variance σ(u,v;n) of the guessed spectral value O g ′(u,v;n) of the object after each update iteration, and introduce the method based on the tamura coefficient Focus Criteria (TC):

Figure BDA0003962203820000072
Figure BDA0003962203820000072

步骤十:设定临界条件n0,当通过步骤九计算所得的TC大于设定的阈值n0时,输出此时物体的频谱为Og′(u,v;k),k≤n。Step ten: set the critical condition n 0 , when the TC calculated in step nine is greater than the set threshold n 0 , output the spectrum of the object at this time as O g ′(u,v;k), k≤n.

步骤十一:对Og′(u,v;k)进行傅立叶逆变换,得到重建的物体图像为:o(x,y)=F-1{Og′(u,v;k)},其中F-1{}为傅里叶逆变换运算符。Step 11: Perform inverse Fourier transform on O g ′(u, v; k), and obtain the reconstructed object image as: o(x, y)=F -1 {O g ′(u, v; k)}, where F -1 {} is the inverse Fourier transform operator.

需要进行说明的是,上述步骤九中临界条件可根据重建精度要求进行设定,或者可以省略步骤九到步骤十一,当对所采集的n张图片执行完步骤三至步骤八,直至所有强度点扩散函数图像和模糊强度图像都用于计算得到第n次更新后的物体猜测频谱值Og′(u,v;n),对其进行傅立叶逆变换,即得到重建的物体图像o(x,y)。It should be noted that the critical conditions in the above step 9 can be set according to the reconstruction accuracy requirements, or step 9 to step 11 can be omitted, when the collected n pictures are executed from step 3 to step 8, until all intensity Both the point spread function image and the blur intensity image are used to calculate the guessed spectral value O g ′(u,v;n) of the object after the nth update, and perform Fourier inverse transform on it, that is, the reconstructed object image o(x ,y).

本申请实施例中因前述步骤一只采集了5张模糊图像,因此采用对所采集的5张图片执行完步骤三至步骤八,得到第5次更新后的物体猜测频谱值Og′(u,v;5),进而通过傅立叶逆变换得到重建的物体图像,如图5所示,对比图4可以看出,通过本申请方法,重构图像相对于前述所采集的5张模糊图像,重构精度较高,可以满足日常精度要求。In the embodiment of the present application, only 5 fuzzy images have been collected in the aforementioned steps, so steps 3 to 8 are performed on the 5 collected images to obtain the guessed spectrum value of the object after the 5th update O g '(u , v; 5), and then the reconstructed object image is obtained by inverse Fourier transform, as shown in Figure 5, and compared with Figure 4, it can be seen that through the method of the present application, the reconstructed image is compared with the aforementioned five blurred images collected. The structural precision is high, which can meet the daily precision requirements.

本发明实施例中的部分步骤,可以利用软件实现,相应的软件程序可以存储在可读取的存储介质中,如光盘或硬盘等。Part of the steps in the embodiments of the present invention can be realized by software, and the corresponding software program can be stored in a readable storage medium, such as an optical disk or a hard disk.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (10)

1. A portable imaging device for penetrating turbid media is characterized by comprising an intelligent terminal, a card slot and a laser; the intelligent terminal has a photographing function, and the clamping groove is used for fixing the laser on the intelligent terminal, so that the intelligent terminal can acquire images under laser irradiation.
2. The apparatus of claim 1, wherein the smart terminal comprises: smart phones, palm computers, and smart watches.
3. The apparatus of claim 1, wherein the laser operates in a wavelength range of 390nm to 780nm with a beam diameter<10mm, beam divergence angle<0.5mrad, line width<1.0cm -1
4. A portable method for imaging through turbid media, the method being implemented on the basis of the device according to any one of claims 1-3, the method comprising:
step S1: acquiring n blurred images passing through a turbid medium under laser irradiation, wherein the blurred images are marked as I (x, y; n), and n =1,2,3 \8230;
step S2: respectively separating corresponding intensity point diffusion functions from the acquired n blurred images and updating to obtain updated intensity point diffusion functions I pr (x,y;n);
And step S3: to the updated intensity point spread function I pr (x, y; n) and the blurred image I (x, y; n) are respectively subjected to Fourier transform to obtain respective frequency spectrums which are respectively marked as H (u, v; n) and I (u, v; n);
and step S4: setting a random object frequency spectrum guess value as an initial value O of the object guess frequency spectrum information g (u,v,1);
Step S5: guessing frequency spectrum information according to the object and the updated intensity point spread function I obtained in the step S3 pr The spectrum of (x, y; n) represents the spectrum I of the guessed blurred image g (u,v;n);
Step S6: computingThe spectrum I of the guessed blurred image obtained in step S5 g (u, v; n) and the spectrum I (u, v; n) of the blurred image obtained in step S3 d (u,v;n);
Step S7: updating the object guessed frequency spectrum information according to the difference calculated in the step S6 to obtain the object guessed frequency spectrum information after iterative updating, and repeating the steps S5 to S7 until the iteration updating of the acquired n fuzzy images is finished to obtain the object guessed frequency spectrum information O after the final iterative updating g ' (u, v; n) or obtaining the final iteration updated object guess frequency spectrum information O after meeting the preset condition g ′(u,v;k),k≤n;
Step S8: guessing the frequency spectrum value O of the object after the final iteration update g ' (u, v; n) or O g ' (u, v; k) is inverse Fourier transformed to obtain a reconstructed object image o (x, y).
5. The method according to claim 4, wherein the step S2 comprises:
2.1 irradiating the laser beam on the bright spot area of the object surface as the image of the intensity point spread function, marked I p (x,y;n);
The specific size of the bright spot area is determined according to the beam diameter, the beam divergence angle and the line width of the laser;
2.2: setting a zero matrix I pr The matrix size is the same as I (x, y; n), zero matrix I pr Image I (x, y; n) of intensity point spread function for region with the same range size as I (x, y; n) at center position p (x, y; n) substitution to obtain an updated intensity point spread function image I pr (x,y;n)。
6. The method according to claim 5, wherein the step S5 comprises:
the guessed spectrum I of the blurred image is obtained according to the following formula g (u,v;n):
I g (u,v;n)=O g (u,v;n)H(u,v;n)
Wherein H (u, v; n) = F { I pr (x, y; n) }, H (u, v; n) is updatedIntensity point spread function image I pr (x, y; n) spectrum after Fourier transform, F { } is the Fourier transform operator.
7. The method according to claim 6, wherein the step S7 of updating the object guessed spectrum information according to the difference calculated in step S6 to obtain the iteratively updated object guessed spectrum information includes:
calculating the frequency spectrum difference value of the guess image and the real image and updating the guess frequency spectrum information of the object according to the following formula:
I d (u,v;n)=I g (u,v;n)-I(u,v;n)
Figure FDA0003962203810000021
wherein H * (u, v; n) represents the complex conjugate function of the spectrum H (u, v; n) of the intensity point spread function, ξ represents the regularization parameter.
8. The method according to claim 7, wherein the step S7 is repeated from step S5 to step S7 until the iteration update of the acquired n blurred images is completed to obtain the final iteration updated object guess frequency spectrum information O g ' (u, v; n), the object-guessed spectrum information obtained by the previous blurred image iterative update is used as a basis for calculating the spectrum of the guessed blurred image at the next blurred image iterative update.
9. The method according to claim 7, wherein the preset condition in step S7 is that the reconstructed image satisfies a predetermined precision, and the determining method includes:
calculating object guess frequency spectrum information O after each update iteration g ' (u, v; n) and variance σ (u, v; n), introducing a focusing criterion TC based on tamura coefficients:
Figure FDA0003962203810000031
setting a critical condition n 0 When the calculated TC is greater than n 0 Then, the guessed spectrum information O of the object at the moment is output g ′(u,v;k),k≤n。
10. The method according to claim 4, wherein the turbid medium comprises mist, water, milk solution, blood and skin tissue.
CN202211485753.7A 2022-11-24 2022-11-24 Portable transparent turbid medium imaging device and imaging method Pending CN115773997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211485753.7A CN115773997A (en) 2022-11-24 2022-11-24 Portable transparent turbid medium imaging device and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211485753.7A CN115773997A (en) 2022-11-24 2022-11-24 Portable transparent turbid medium imaging device and imaging method

Publications (1)

Publication Number Publication Date
CN115773997A true CN115773997A (en) 2023-03-10

Family

ID=85390170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211485753.7A Pending CN115773997A (en) 2022-11-24 2022-11-24 Portable transparent turbid medium imaging device and imaging method

Country Status (1)

Country Link
CN (1) CN115773997A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130223685A1 (en) * 2010-06-28 2013-08-29 Phase Focus Limited Calibration of a probe in ptychography
CN103839238A (en) * 2014-02-28 2014-06-04 西安电子科技大学 SAR image super-resolution method based on marginal information and deconvolution
CN104616248A (en) * 2014-11-20 2015-05-13 杭州电子科技大学 Single image deblurring method combined with margin analysis and total variation
CN204718960U (en) * 2015-06-26 2015-10-21 王平海 A kind of criminal investigation Handheld laser vestige scanner
CN107576633A (en) * 2017-08-10 2018-01-12 南京理工大学 Utilize the method for improved 3PIE technology for detection internal defect of optical element
CN107655405A (en) * 2017-08-29 2018-02-02 南京理工大学 The method that axial range error between object and CCD is eliminated using self-focusing iterative algorithm
CN108983579A (en) * 2018-09-05 2018-12-11 南京大学 Method and device thereof without lens digital holographic microscopic imaging phase recovery and reconstruction
CN110018494A (en) * 2019-04-29 2019-07-16 中国科学院西安光学精密机械研究所 A kind of system and method promoting muddy underwater laser images resolution ratio
CN215897773U (en) * 2021-08-18 2022-02-22 谷麦光电科技股份有限公司 3D laser module for mobile phone

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130223685A1 (en) * 2010-06-28 2013-08-29 Phase Focus Limited Calibration of a probe in ptychography
CN103839238A (en) * 2014-02-28 2014-06-04 西安电子科技大学 SAR image super-resolution method based on marginal information and deconvolution
CN104616248A (en) * 2014-11-20 2015-05-13 杭州电子科技大学 Single image deblurring method combined with margin analysis and total variation
CN204718960U (en) * 2015-06-26 2015-10-21 王平海 A kind of criminal investigation Handheld laser vestige scanner
CN107576633A (en) * 2017-08-10 2018-01-12 南京理工大学 Utilize the method for improved 3PIE technology for detection internal defect of optical element
CN107655405A (en) * 2017-08-29 2018-02-02 南京理工大学 The method that axial range error between object and CCD is eliminated using self-focusing iterative algorithm
CN108983579A (en) * 2018-09-05 2018-12-11 南京大学 Method and device thereof without lens digital holographic microscopic imaging phase recovery and reconstruction
CN110018494A (en) * 2019-04-29 2019-07-16 中国科学院西安光学精密机械研究所 A kind of system and method promoting muddy underwater laser images resolution ratio
CN215897773U (en) * 2021-08-18 2022-02-22 谷麦光电科技股份有限公司 3D laser module for mobile phone

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIALI GAO 等,: "Iterative Imaging through Strong Dynamic Turbulence Media", OPTICS AND LASERS IN ENGINEERING, vol. 149, 30 August 2021 (2021-08-30), pages 1 - 2 *

Similar Documents

Publication Publication Date Title
Zhang et al. A poisson-gaussian denoising dataset with real fluorescence microscopy images
Becker et al. Deconvolution of light sheet microscopy recordings
CN102203827B (en) Method and apparatus for editing image
CN207516234U (en) A kind of device of optical projection tomography
US12165288B2 (en) Frequency domain-based method for removing periodic noise from reconstructed light field image
CN109459923A (en) A kind of holographic reconstruction algorithm based on deep learning
Kanaev et al. Restoration of turbulence degraded underwater images
Yin et al. Iteratively reconstructing 4D light fields from focal stacks
Feng et al. Compact light field photography towards versatile three-dimensional vision
CN110363734B (en) Method and system for reconstructing microscopic fluorescence images of thick samples
Nian et al. CNN-based multi-focus image fusion with light field data
Hu et al. UCRNet: Underwater color image restoration via a polarization-guided convolutional neural network
Honarvar Shakibaei Asli et al. Motion blur invariant for estimating motion parameters of medical ultrasound images
Sun et al. Double‐flow convolutional neural network for rapid large field of view Fourier ptychographic reconstruction
CN115773997A (en) Portable transparent turbid medium imaging device and imaging method
Ye et al. Real-time non-line-of-sight computational imaging using spectrum filtering and motion compensation
Zhou et al. Parameter-free Gaussian PSF model for extended depth of field in brightfield microscopy
Li et al. Underwater polarization image restoration based on a partition method
Estrada et al. DeblurGAN-C: image restoration using GAN and a correntropy based loss function in degraded visual environments
Li et al. End-to-end Wiener–CNN optimization for lensless extended depth of field imaging with phase mask
Jingshan et al. Efficient Gaussian inference algorithms for phase imaging
Phan et al. A space-variant nonlinear algorithm for denoising omnidirectional images corrupted by poisson noise
Molina-Martel et al. Fast PSF estimation under anisoplanatic conditions
Wang et al. Multi-PSF fusion in image restoration of range-gated systems
Liu et al. Enhancement of low-quality reconstructed digital hologram images based on frequency extrapolation of large objects under the diffraction limit

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