[go: up one dir, main page]

HK40067194A - Slide-free histological imaging method and system - Google Patents

Slide-free histological imaging method and system

Info

Publication number
HK40067194A
HK40067194A HK62022056274.3A HK62022056274A HK40067194A HK 40067194 A HK40067194 A HK 40067194A HK 62022056274 A HK62022056274 A HK 62022056274A HK 40067194 A HK40067194 A HK 40067194A
Authority
HK
Hong Kong
Prior art keywords
image
images
speckle
autom
generated
Prior art date
Application number
HK62022056274.3A
Other languages
Chinese (zh)
Other versions
HK40067194B (en
Inventor
黄子维
张艳
康雷
李秀丰
黄希雯
Original Assignee
香港科技大学
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 香港科技大学 filed Critical 香港科技大学
Publication of HK40067194A publication Critical patent/HK40067194A/en
Publication of HK40067194B publication Critical patent/HK40067194B/en

Links

Description

无载玻片组织学成像方法和系统Slide-free histological imaging methods and systems

相关申请Related applications

本申请要求于2019年9月19日提交的美国临时专利申请第62/973,101号的优先权,其内容通过引用整体并入本文。This application claims priority to U.S. Provisional Patent Application No. 62/973,101, filed September 19, 2019, the contents of which are incorporated herein by reference in their entirety.

技术领域Technical Field

本发明涉及无载玻片组织学成像方法和系统。This invention relates to slide-free histological imaging methods and systems.

背景技术Background Technology

组织学检查仍然是恶性肿瘤手术切缘评估的黄金标准。然而,常规组织学分析涉及漫长且代价高的样本制备过程,会产生有毒试剂废物,耗尽小样本,并将组织病理学报告的生成时间延长数小时至数天。这个漫长且代价高的过程包括福尔马林固定和石蜡包埋(FFPE),然后是高质量的切片、染色、并且然后将样本安装在载玻片上。这些不可避免的步骤需要数天才能完成,导致生成准确诊断报告的延迟从数小时到数天。尽管术中冰冻切片通过在物理切片之前冰冻新鲜组织而提供了比FFPE组织学更快的替代方法,但术中冰冻切片仍需要20到30分钟的准备和周转时间。此外,冷冻切片的样本具有固有的冰冻伪影的问题,尤其是在处理富含脂质的组织时,这会导致术中误解和诊断陷阱。Histological examination remains the gold standard for assessing surgical margins in malignant tumors. However, routine histological analysis involves a lengthy and costly sample preparation process that generates toxic reagent waste, depletes small samples, and extends the time to generate histopathology reports by hours to days. This lengthy and costly process includes formalin fixation and paraffin embedding (FFPE), followed by high-quality sectioning, staining, and then mounting the sample onto a slide. These unavoidable steps can take several days to complete, resulting in delays of hours to days in generating accurate diagnostic reports. While intraoperative frozen sections offer a faster alternative to FFPE histology by freezing fresh tissue before physical sectioning, intraoperative frozen sections still require 20 to 30 minutes of preparation and turnaround time. Furthermore, frozen sections have inherent problems with freezing artifacts, especially when dealing with lipid-rich tissues, which can lead to intraoperative misinterpretations and diagnostic traps.

组织病理学的巨大需求激发了许多努力以实现对未染色新鲜组织的快速和非侵入性诊断。某些用于对非切片的组织成像的显微术技术,包括紫外(UV)表面激发显微术、共聚焦激光扫描显微术和光片显微术,减少了在常规FFPE组织学中制备大量载玻片所涉及的繁重任务和处理成本。然而,这些方法都需要特定的荧光标记来提高分子特异性。荧光成像尽管无疑会对于提供有关细胞中不同生物分子的形态和动力学信息的很高效,但会导致使用外源标记或基因转染,这会干扰细胞代谢并对随后的临床实施产生不利影响。此外,用荧光标记长期监测细胞会导致对细胞的光毒性和荧光团本身的光漂白。The immense demand in histopathology has spurred numerous efforts to achieve rapid and non-invasive diagnosis of unstained fresh tissue. Certain microsurgical techniques for imaging non-sectioned tissues, including ultraviolet (UV) surface excitation microscopy, confocal laser scanning microscopy, and light slide microscopy, have reduced the arduous task and processing costs associated with preparing large numbers of slides in routine FFPE histology. However, these methods require specific fluorescent labeling to enhance molecular specificity. While fluorescence imaging is undoubtedly highly efficient for providing information on the morphology and dynamics of different biomolecules within cells, it necessitates the use of exogenous labelers or gene transfections, which can interfere with cellular metabolism and adversely affect subsequent clinical implementation. Furthermore, long-term monitoring of cells with fluorescent labels can lead to phototoxicity of cells and photobleaching of the fluorophores themselves.

图像结构通过特定化学键的固有分子振动来表征的受激拉曼散射(SRS)和相干反斯托克斯拉曼散射(CARS)为检查富含脂质的结构中的C-H拉伸提供了无标记的替代方案。此外,非线性过程起源于非中心对称界面,包括二次谐波产生(SHG)、三次谐波产生(THG)及其组合模态,其已显示出对胶原和微管结构的内在表征的巨大潜力。然而,这些方法都需要高功率超快激光来保持检测灵敏度和分子对比度,这在大多数情况下可能并不容易获得。光谱共聚焦反射显微术允许对有髓轴突进行无标记的高分辨率体内成像,但是由于分子特异性低,仍然需要具有可调波长功能的共聚焦显微术。定量相位成像技术也通过测量未染色样本的相位变化为快速折射率映射提供了巨大的可能性。然而,它们大多集成到传输系统中,并受到样品厚度的严格限制。此外,基于反射的成像技术,例如光学相干断层扫描,已被转化为用于对人体乳腺组织进行无标记成像的术中诊断工具,然而,它的设计目的不是实现亚细胞分辨率,也不适合探测标准护理临床病理学期望的分子标靶。Stimulated Raman scattering (SRS) and coherent anti-Stokes Raman scattering (CARS), which characterize image structures through intrinsic molecular vibrations of specific chemical bonds, offer label-free alternatives for examining C-H stretching in lipid-rich structures. Furthermore, nonlinear processes originating from non-centrosymmetric interfaces, including second-harmonic generation (SHG), third-harmonic generation (THG), and their combined modes, have shown great potential for intrinsic characterization of collagen and microtubule structures. However, these methods require high-power ultrafast lasers to maintain detection sensitivity and molecular contrast, which may not be readily available in most cases. Spectroscopic confocal reflectance microscopy allows for label-free, high-resolution in vivo imaging of myelinated axons, but due to low molecular specificity, confocal microscopy with tunable wavelengths remains necessary. Quantitative phase imaging techniques also offer significant possibilities for rapid refractive index mapping by measuring phase changes in unstained samples. However, they are mostly integrated into transport systems and are strictly limited by sample thickness. Furthermore, reflection-based imaging techniques, such as optical coherence tomography, have been adapted into intraoperative diagnostic tools for label-free imaging of human breast tissue; however, they are not designed to achieve subcellular resolution and are not suitable for probing the molecular targets expected in standard care clinicopathology.

发明内容Summary of the Invention

本发明的目的是解决上面或本文描述的一个或多个缺点,或者至少提供有用的替代方案。The purpose of this invention is to address one or more of the disadvantages described above or herein, or at least to provide a useful alternative.

在第一方面,提供了一种生成伪苏木精和伊红(H&E)染色图像的计算机实现的方法,其中,该方法包括:接收输入图像,该输入图像是未标记样本的基于紫外的自发荧光显微术(UV-AutoM)图像或基于紫外的光声显微术(UV-PAM)图像,其中,该输入图像是灰度图像;使用生成式对抗网络将输入图像变换为输入图像的伪H&E染色图像;和输出伪H&E染色图像。In a first aspect, a computer-implemented method for generating pseudo-hematoxylin and eosin (H&E) staining images is provided, wherein the method includes: receiving an input image, which is an unlabeled sample-based ultraviolet-based autofluorescence microscopy (UV-AutoM) image or an ultraviolet-based photoacoustic microscopy (UV-PAM) image, wherein the input image is a grayscale image; transforming the input image into a pseudo-H&E staining image of the input image using a generative adversarial network; and outputting the pseudo-H&E staining image.

在某些实施方式中,生成式对抗网络是具有循环一致性的生成式对抗网络。In some implementations, generative adversarial networks are generative adversarial networks with cycle consistency.

在某些实施方式中,该方法包括使用未配对的输入和H&E染色图像来训练生成式对抗网络。In some implementations, the method includes training a generative adversarial network using unpaired input and H&E-stained images.

在某些实施方式中,生成式对抗网络包括四个深度卷积神经网络,包括:第一生成器深度卷积神经网络,其被配置为将输入图像变换为生成的H&E图像;第二生成器深度卷积神经网络,其被配置为将H&E图像变换为生成的UV-AutoM或UV-PAM图像;第一鉴别器深度卷积神经网络,其被配置为区分训练集的H&E图像和由第一生成器深度卷积神经网络生成的生成的H&E图像;和第二鉴别器深度卷积神经网络,其被配置为区分训练集的UV-AutoM或UV-PAM图像和由第二生成器深度卷积神经网络生成的生成的UV-AutoM或UV-PAM图像。In some implementations, the generative adversarial network includes four deep convolutional neural networks: a first generator deep convolutional neural network configured to transform an input image into a generated H&E image; a second generator deep convolutional neural network configured to transform the H&E image into a generated UV-AutoM or UV-PAM image; a first discriminator deep convolutional neural network configured to distinguish between H&E images in the training set and generated H&E images generated by the first generator deep convolutional neural network; and a second discriminator deep convolutional neural network configured to distinguish between UV-AutoM or UV-PAM images in the training set and generated UV-AutoM or UV-PAM images generated by the second generator deep convolutional neural network.

在某些实施方式中,第一和第二生成器深度卷积神经网络是基于ResNet或基于U-Net的生成器网络。In some implementations, the first and second generator deep convolutional neural networks are ResNet-based or U-Net-based generator networks.

在某些实施方式中,第一和第二鉴别器深度卷积神经网络是PatchGAN鉴别器网络。In some implementations, the first and second discriminator deep convolutional neural networks are PatchGAN discriminator networks.

在某些实施方式中,以UV-PAM图像的形式接收的输入图像通过以下方式生成:控制聚焦组件的振镜扫描仪以根据扫描轨迹将紫外光聚焦在样本上;通过至少一个换能器接收样本响应于紫外光而发射的光声波;和基于光声波生成UV-PAM图像。In some implementations, the input image received in the form of a UV-PAM image is generated by: controlling a galvanometer scanner of a focusing component to focus ultraviolet light onto the sample according to a scanning trajectory; receiving photoacoustic waves emitted by the sample in response to ultraviolet light through at least one transducer; and generating a UV-PAM image based on the photoacoustic waves.

在某些实施方式中,以UV-AutoM图像的形式接收的输入图像是从根据扫描轨迹捕获的散斑照射的图像的序列生成的估计的UV-AutoM图像,其中,与序列中的每个散斑照射的图像相比,估计的UV-AutoM图像具有更高的分辨率。In some implementations, the input image received in the form of a UV-AutoM image is an estimated UV-AutoM image generated from a sequence of speckle-lit images captured according to a scan trajectory, wherein the estimated UV-AutoM image has a higher resolution compared to each speckle-lit image in the sequence.

在某些实施方式中,通过以下方式生成估计的UV-AutoM图像:a)基于对散斑照射的图像的序列的平均值进行插值来初始化高分辨率图像对象;b)对于序列中的每个散斑照射的图像:i)通过在计算上将高分辨率图像对象移位到扫描轨迹中的特定位置来生成估计的散斑照射的图像;ii)基于频域中的估计的散斑照射的图像和光学传递函数,确定频域中的经滤波的对象-图案复合;iii)基于频域中的估计的散斑照射的图像、频域中的相应的捕获的散斑照射的图像、频域中的经滤波的对象-图案复合和光学传递函数确定频域中的更新的估计的散斑照射的图像;iv)基于更新的估计的散斑照射的图像、空间域中的估计的散斑照射的图像和散斑图案更新高分辨率对象;v)基于更新的估计的散斑照射的图像、估计的散斑照射的图像和高分辨率图像对象更新散斑图案;vi)将Nesterov动量加速度应用于高分辨率图像对象和散斑图案;和c)迭代地执行步骤b)直到检测到重构高分辨率图像对象的收敛,该高分辨率图像对象是估计的UV-AutoM图像,在厘米尺度成像区域具有增强的亚细胞分辨率。In some implementations, the estimated UV-AutoM image is generated by: a) initializing a high-resolution image object based on interpolation of the average value of a sequence of speckle-illuminated images; b) for each speckle-illuminated image in the sequence: i) generating the estimated speckle-illuminated image by computationally shifting the high-resolution image object to a specific position in the scan trajectory; ii) determining the filtered object-pattern composite in the frequency domain based on the estimated speckle-illuminated image in the frequency domain and the optical transfer function; iii) based on the estimated speckle-illuminated image in the frequency domain, the corresponding captured speckle-illuminated image in the frequency domain, and the filtered object-pattern composite in the frequency domain. The optical transfer function is used to determine the updated estimated speckle-illuminated image in the frequency domain; iv) the high-resolution object is updated based on the updated estimated speckle-illuminated image, the estimated speckle-illuminated image in the spatial domain, and the speckle pattern; v) the speckle pattern is updated based on the updated estimated speckle-illuminated image, the estimated speckle-illuminated image, and the high-resolution image object; vi) Nesterov momentum acceleration is applied to the high-resolution image object and the speckle pattern; and c) step b) is performed iteratively until convergence of the reconstructed high-resolution image object is detected, which is the estimated UV-AutoM image with enhanced subcellular resolution in the centimeter-scale imaging region.

在第二方面,提供了一种被配置为生成伪苏木精和伊红(H&E)染色图像的计算机系统,其中,该计算机系统包括其中存储有可执行指令的一个或多个存储器,以及一个或多个处理器,其中,处理器执行可执行指令使处理器:接收输入图像,该输入图像是未标记样本的基于紫外的自发荧光显微术(UV-AutoM)图像或基于紫外的光声显微术(UV-PAM)图像,其中,该输入图像是灰度图像;使用生成式对抗网络将输入图像变换为输入图像的伪H&E染色图像;和输出伪H&E染色图像。In a second aspect, a computer system configured to generate pseudo-hematoxylin and eosin (H&E) staining images is provided, wherein the computer system includes one or more memories storing executable instructions, and one or more processors, wherein the processors execute the executable instructions to cause the processors to: receive an input image, which is an unlabeled sample-based ultraviolet-based autofluorescence microscopy (UV-AutoM) image or an ultraviolet-based photoacoustic microscopy (UV-PAM) image, wherein the input image is a grayscale image; transform the input image into a pseudo-H&E staining image of the input image using a generative adversarial network; and output the pseudo-H&E staining image.

在某些实施方式中,生成式对抗网络是具有循环一致性的生成式对抗网络。In some implementations, generative adversarial networks are generative adversarial networks with cycle consistency.

在某些实施方式中,一个或多个处理器被配置为使用未配对的输入灰度图像和H&E染色图像来训练生成式对抗网络。In some implementations, one or more processors are configured to train a generative adversarial network using unpaired input grayscale images and H&E-stained images.

在某些实施方式中,生成式对抗网络包括四个深度卷积神经网络,包括:第一生成器深度卷积神经网络,其被配置为将输入图像变换为生成的H&E图像;第二生成器深度卷积神经网络,其被配置为将H&E图像变换为生成的UV-AutoM或UV-PAM图像;第一鉴别器深度卷积神经网络,其被配置为区分训练集的H&E图像和由第一生成器深度卷积神经网络生成的生成的H&E图像;和第二鉴别器深度卷积神经网络,其被配置为区分训练集的UV-AutoM或UV-PAM图像和由第二生成器深度卷积神经网络生成的生成的UV-AutoM或UV-PAM图像。In some implementations, the generative adversarial network includes four deep convolutional neural networks: a first generator deep convolutional neural network configured to transform an input image into a generated H&E image; a second generator deep convolutional neural network configured to transform the H&E image into a generated UV-AutoM or UV-PAM image; a first discriminator deep convolutional neural network configured to distinguish between H&E images in the training set and generated H&E images generated by the first generator deep convolutional neural network; and a second discriminator deep convolutional neural network configured to distinguish between UV-AutoM or UV-PAM images in the training set and generated UV-AutoM or UV-PAM images generated by the second generator deep convolutional neural network.

在某些实施方式中,第一和第二生成器深度卷积神经网络是基于ResNet或基于U-Net的生成器网络。In some implementations, the first and second generator deep convolutional neural networks are ResNet-based or U-Net-based generator networks.

在某些实施方式中,第一和第二鉴别器深度卷积神经网络是PatchGAN鉴别器网络。In some implementations, the first and second discriminator deep convolutional neural networks are PatchGAN discriminator networks.

在某些实施方式中,以UV-PAM图像的形式接收的输入图像通过以下方式生成:控制聚焦组件的振镜扫描仪以根据扫描轨迹将紫外光聚焦在样本上;通过至少一个换能器接收样本响应于紫外光而发射的光声波;和基于光声波生成UV-PAM图像。In some implementations, the input image received in the form of a UV-PAM image is generated by: controlling a galvanometer scanner of a focusing component to focus ultraviolet light onto the sample according to a scanning trajectory; receiving photoacoustic waves emitted by the sample in response to ultraviolet light through at least one transducer; and generating a UV-PAM image based on the photoacoustic waves.

在某些实施方式中,以估计的UV-AutoM图像的形式接收的输入图像从根据扫描轨迹捕获的散斑照射的图像的序列生成,其中,与序列中的每个散斑照射的图像相比,估计的UV-AutoM具有更高的分辨率。In some implementations, the input image received in the form of an estimated UV-AutoM image is generated from a sequence of speckle-lit images captured according to a scan trajectory, wherein the estimated UV-AutoM has a higher resolution compared to each speckle-lit image in the sequence.

在某些实施方式中,通过以下方式生成估计的UV-AutoM图像:a)基于对散斑照射的图像的序列的平均值进行插值来初始化高分辨率图像对象;b)对于序列中的每个散斑照射的图像:i)通过在计算上将高分辨率图像移位到扫描轨迹中的特定位置来生成估计的散斑照射的图像;ii)基于频域中的估计的散斑照射的图像和光学传递函数,确定频域中的经滤波的对象-图案复合;iii)基于频域中的估计的散斑照射的图像、频域中的相应的捕获的散斑照射的图像、频域中的经滤波的对象-图案复合和光学传递函数确定频域中的更新的估计的散斑照射的图像;iv)基于更新的估计的散斑照射的图像、空间域中的估计的散斑照射的图像和散斑图案更新高分辨率对象;v)基于更新的估计的散斑照射的图像、估计的散斑照射的图像和高分辨率图像对象更新散斑图案;vi)将Nesterov动量加速度应用于高分辨率图像对象和散斑图案;和c)迭代地执行步骤b)直到检测到重构高分辨率图像对象的收敛,该高分辨率图像对象是估计的UV-AutoM图像,在厘米尺度成像区域上具有增强的亚细胞分辨率。In some implementations, the estimated UV-AutoM image is generated by: a) initializing a high-resolution image object based on interpolation of the average value of a sequence of speckle-illuminated images; b) for each speckle-illuminated image in the sequence: i) generating the estimated speckle-illuminated image by computationally shifting the high-resolution image to a specific position in the scan trajectory; ii) determining the filtered object-pattern composite in the frequency domain based on the estimated speckle-illuminated image in the frequency domain and the optical transfer function; iii) based on the estimated speckle-illuminated image in the frequency domain, the corresponding captured speckle-illuminated image in the frequency domain, the filtered object-pattern composite in the frequency domain, and the optical transfer function. The transfer function is used to determine the updated estimated speckle-illuminated image in the frequency domain; iv) the high-resolution object is updated based on the updated estimated speckle-illuminated image, the estimated speckle-illuminated image in the spatial domain, and the speckle pattern; v) the speckle pattern is updated based on the updated estimated speckle-illuminated image, the estimated speckle-illuminated image, and the high-resolution image object; vi) Nesterov momentum acceleration is applied to the high-resolution image object and the speckle pattern; and c) step b) is performed iteratively until convergence of the reconstructed high-resolution image object is detected, which is the estimated UV-AutoM image with enhanced subcellular resolution in the centimeter-scale imaging region.

在第三方面,提供了一种或多种非暂时性计算机可读介质,其包括配置计算机系统以生成伪苏木精和伊红(H&E)染色图像的可执行指令,其中,该计算机系统具有一个或多个处理器,其中,一个或多个处理器执行可执行指令将计算机系统配置为:接收输入图像,该输入图像是未标记样本的基于紫外的自发荧光显微术(UV-AutoM)图像或基于紫外的光声显微术(UV-PAM)图像,其中,该输入图像是灰度图像;使用生成式对抗网络将输入图像变换为输入图像的伪H&E染色图像;和输出伪H&E染色图像。In a third aspect, one or more non-transitory computer-readable media are provided, comprising executable instructions for configuring a computer system to generate pseudo-hematoxylin and eosin (H&E) staining images, wherein the computer system has one or more processors, wherein the one or more processors execute the executable instructions to configure the computer system to: receive an input image, which is an unlabeled sample-based ultraviolet-based autofluorescence microscopy (UV-AutoM) image or an ultraviolet-based photoacoustic microscopy (UV-PAM) image, wherein the input image is a grayscale image; transform the input image into a pseudo-H&E staining image of the input image using a generative adversarial network; and output the pseudo-H&E staining image.

在某些实施方式中,生成式对抗网络是具有循环一致性的生成式对抗网络。In some implementations, generative adversarial networks are generative adversarial networks with cycle consistency.

在某些实施方式中,一个或多个处理器执行可执行指令将计算机系统配置为使用未配对的输入灰度图像和H&E染色图像来训练生成式对抗网络。In some implementations, one or more processors execute executable instructions to configure a computer system to train a generative adversarial network using unpaired input grayscale images and H&E-stained images.

在某些实施方式中,生成式对抗网络包括四个深度卷积神经网络,包括:第一生成器深度卷积神经网络,其被配置为将输入图像变换为生成的H&E图像;第二生成器深度卷积神经网络,其被配置为将H&E图像变换为生成的UV-AutoM或UV-PAM图像;第一鉴别器深度卷积神经网络,其被配置为区分训练集的H&E图像和由第一生成器深度卷积神经网络生成的生成的H&E图像;和第二鉴别器深度卷积神经网络,其被配置为区分训练集的UV-AutoM或UV-PAM图像和由第二生成器深度卷积神经网络生成的生成的UV-AutoM或UV-PAM图像。In some implementations, the generative adversarial network includes four deep convolutional neural networks: a first generator deep convolutional neural network configured to transform an input image into a generated H&E image; a second generator deep convolutional neural network configured to transform the H&E image into a generated UV-AutoM or UV-PAM image; a first discriminator deep convolutional neural network configured to distinguish between H&E images in the training set and generated H&E images generated by the first generator deep convolutional neural network; and a second discriminator deep convolutional neural network configured to distinguish between UV-AutoM or UV-PAM images in the training set and generated UV-AutoM or UV-PAM images generated by the second generator deep convolutional neural network.

在某些实施方式中,第一和第二生成器深度卷积神经网络是基于ResNet或基于U-Net的生成器网络。In some implementations, the first and second generator deep convolutional neural networks are ResNet-based or U-Net-based generator networks.

在某些实施方式中,第一和第二鉴别器深度卷积神经网络是PatchGAN鉴别器网络。In some implementations, the first and second discriminator deep convolutional neural networks are PatchGAN discriminator networks.

在某些实施方式中,以UV-PAM图像的形式接收的输入图像通过以下方式生成:控制聚焦组件的振镜扫描仪以根据扫描轨迹将紫外光聚焦在样本上;通过至少一个换能器接收样本响应于紫外光而发射的光声波;和基于光声波生成UV-PAM图像。In some implementations, the input image received in the form of a UV-PAM image is generated by: controlling a galvanometer scanner of a focusing component to focus ultraviolet light onto the sample according to a scanning trajectory; receiving photoacoustic waves emitted by the sample in response to ultraviolet light through at least one transducer; and generating a UV-PAM image based on the photoacoustic waves.

在某些实施方式中,以估计的UV-AutoM图像的形式接收的输入图像从根据扫描轨迹捕获的散斑照射的图像的序列生成,其中,与序列中的每个散斑照射的图像相比,估计的UV-AutoM具有更高的分辨率。In some implementations, the input image received in the form of an estimated UV-AutoM image is generated from a sequence of speckle-lit images captured according to a scan trajectory, wherein the estimated UV-AutoM has a higher resolution compared to each speckle-lit image in the sequence.

在某些实施方式中,通过以下方式生成估计的UV-AutoM图像:a)基于对散斑照射的图像的序列的平均值进行插值来初始化高分辨率图像对象;b)对于序列中的每个散斑照射的图像:i)通过在计算上将高分辨率图像移位到扫描轨迹中的特定位置来生成估计的散斑照射的图像;ii)基于频域中的估计的散斑照射的图像和光学传递函数,确定频域中的经滤波的对象-图案复合;iii)基于频域中的估计的散斑照射的图像、频域中的相应的捕获的散斑照射的图像、频域中的经滤波的对象-图案复合和光学传递函数确定频域中的更新的估计的散斑照射的图像;iv)基于更新的估计的散斑照射的图像、空间域中的估计的散斑照射的图像和散斑图案更新高分辨率对象;v)基于更新的估计的散斑照射的图像、估计的散斑照射的图像和高分辨率图像对象更新散斑图案;vi)将Nesterov动量加速度应用于高分辨率图像对象和散斑图案;和c)迭代地执行步骤b)直到检测到重构高分辨率图像对象的收敛,该高分辨率图像对象是估计的UV-AutoM图像,在厘米尺度成像区域上具有增强的亚细胞分辨率。In some implementations, the estimated UV-AutoM image is generated by: a) initializing a high-resolution image object based on interpolation of the average value of a sequence of speckle-illuminated images; b) for each speckle-illuminated image in the sequence: i) generating the estimated speckle-illuminated image by computationally shifting the high-resolution image to a specific position in the scan trajectory; ii) determining the filtered object-pattern composite in the frequency domain based on the estimated speckle-illuminated image in the frequency domain and the optical transfer function; iii) based on the estimated speckle-illuminated image in the frequency domain, the corresponding captured speckle-illuminated image in the frequency domain, the filtered object-pattern composite in the frequency domain, and the optical transfer function. The transfer function is used to determine the updated estimated speckle-illuminated image in the frequency domain; iv) the high-resolution object is updated based on the updated estimated speckle-illuminated image, the estimated speckle-illuminated image in the spatial domain, and the speckle pattern; v) the speckle pattern is updated based on the updated estimated speckle-illuminated image, the estimated speckle-illuminated image, and the high-resolution image object; vi) Nesterov momentum acceleration is applied to the high-resolution image object and the speckle pattern; and c) step b) is performed iteratively until convergence of the reconstructed high-resolution image object is detected, which is the estimated UV-AutoM image with enhanced subcellular resolution in the centimeter-scale imaging region.

通过对实施例的描述将理解其他方面和实施例。Other aspects and embodiments will be understood through the description of the embodiments.

附图说明Attached Figure Description

现在将参考附图仅通过示例来描述本发明的优选实施例。Preferred embodiments of the invention will now be described by way of example only with reference to the accompanying drawings.

图1A和1B是通用计算机系统的示例的示意图,在该通用计算机系统上实现本文描述的各种布置。Figures 1A and 1B are schematic diagrams of examples of general-purpose computer systems on which the various arrangements described herein are implemented.

图2A和2B是嵌入式系统的示例的示意图,在该嵌入式系统上实现本文描述的各种布置。Figures 2A and 2B are schematic diagrams of examples of embedded systems on which the various arrangements described herein are implemented.

图3是示例UV-PAM系统的示意图。Figure 3 is a schematic diagram of an example UV-PAM system.

图4A是具有200nm直径的金纳米颗粒的UV-PAM图像的示例,其中,提取沿着白色虚线的轮廓进行平均。Figure 4A is an example of a UV-PAM image of gold nanoparticles with a diameter of 200 nm, in which the contour extracted along the white dashed line is averaged.

图4B是四个金纳米颗粒的平均的线轮廓的示例,其中,高斯拟合(实线)的FWHM(半峰全宽)约为613nm,表示图3的UV-PAM系统的横向分辨率。Figure 4B is an example of the average line profile of four gold nanoparticles, where the FWHM (full width at half maximum) of the Gaussian fit (solid line) is approximately 613 nm, representing the lateral resolution of the UV-PAM system in Figure 3.

图4C是图4A中金纳米颗粒的中心位置的A线信号的示例,其中A线信号的包络的FWHM为38ns,其对应于58μm,表示图3的UV-PAM系统的轴向分辨率。Figure 4C is an example of the A-line signal at the center of the gold nanoparticle in Figure 4A, where the envelope of the A-line signal has an FWHM of 38 ns, which corresponds to 58 μm, representing the axial resolution of the UV-PAM system in Figure 3.

图5A是示例UV-AutoM系统的示意图。Figure 5A is a schematic diagram of an example UV-AutoM system.

图5B和5C是表示通过散斑照射的低分辨率图像的序列重构UV-AutoM图像的示例计算机实现的方法的流程图。Figures 5B and 5C are flowcharts illustrating an example computer-implemented method for reconstructing a UV-AutoM image from a sequence of low-resolution images illuminated by speckle lighting.

图5D是表示通过散斑照射的低分辨率图像的序列重构UV-AutoM图像的计算机实现的方法的伪代码的示例。Figure 5D is an example of pseudocode illustrating a computer-implemented method for reconstructing UV-AutoM images from a sequence of low-resolution images illuminated by speckle lighting.

图6示出了用于重构UV-AutoM图像的SI重构方法和系统的示例的图形表示。Figure 6 shows a graphical representation of an example of an SI reconstruction method and system for reconstructing UV-AutoM images.

图7A是由4X/0.1NA物镜捕获的低分辨率UV-AutoM图像的示例。Figure 7A is an example of a low-resolution UV-AutoM image captured by a 4X/0.1NA objective lens.

图7B是通过图5B和5C的方法重构的高分辨率UV-AutoM图像的示例。Figure 7B is an example of a high-resolution UV-AutoM image reconstructed using the methods in Figures 5B and 5C.

图7C是分别在图7A和7B中标记的线700和710的线轮廓。Figure 7C shows the line outlines of lines 700 and 710, which are marked in Figures 7A and 7B, respectively.

图8A和8B示出了由4X/0.1NA物镜捕获的具有粗糙表面的两个叶子样品的UV-AutoM图像的示例。Figures 8A and 8B show examples of UV-AutoM images of two leaf samples with rough surfaces captured by a 4X/0.1NA objective lens.

图8C和8D示出了使用图5B和5C的方法从多个散斑照射的低分辨率图像重构的高分辨率UV-AutoM图像的示例。Figures 8C and 8D show examples of high-resolution UV-AutoM images reconstructed from low-resolution images with multiple speckle illuminations using the methods of Figures 5B and 5C.

图8E和8F示出了使用10X/0.3NA物镜在图8A和8B中捕获的两个叶片样品的高分辨率参考图像。Figures 8E and 8F show high-resolution reference images of the two leaf samples captured in Figures 8A and 8B using a 10X/0.3NA objective lens.

图9A是整个小鼠脑的UV-AutoM图像(脱蜡之后的FFPE切片,厚度为4μm),比例尺为500μm。Figure 9A is a UV-AutoM image of the entire mouse brain (FFPE slice after dewaxing, 4 μm thick), with a scale bar of 500 μm.

图9B和9C是图9A中的框910和920的放大图,每个都具有50μm的比例尺。Figures 9B and 9C are enlarged views of boxes 910 and 920 in Figure 9A, each with a scale bar of 50 μm.

图9D和9E是对应于图9B和9C的明场H&E染色图像,每个都具有50μm的比例尺。Figures 9D and 9E are bright-field H&E staining images corresponding to Figures 9B and 9C, each with a scale bar of 50 μm.

图10A是小鼠脑的俯视图的示例图像。Figure 10A is an example image of a top view of a mouse brain.

图10B和10C是重构的UV-AutoM图像的示例,每个图像描绘了切过图10A的小鼠脑的线A-A和B-B的横截面。Figures 10B and 10C are examples of reconstructed UV-AutoM images, each depicting a cross-section of the mouse brain along lines A-A and B-B cut through Figure 10A.

图10D到10H示出了图10C的重构的UV-AutoM图像中所描绘的小鼠脑的五个功能区域的高通量子视图。Figures 10D to 10H show high-pass quantum views of five functional regions of the mouse brain depicted in the reconstructed UV-AutoM image of Figure 10C.

图11A是表示用于生成伪染色组织学图像(即虚拟染色组织学图像)的示例计算机实现的系统的功能框图。Figure 11A is a functional block diagram of an example computer implementation of a system for generating pseudo-stained histological images (i.e., virtual stained histological images).

图11B是表示用于生成伪苏木精和伊红(H&E)染色图像的示例计算机实现的方法1150的流程图。Figure 11B is a flowchart illustrating an example computer-implemented method 1150 for generating pseudohematoxylin and eosin (H&E) stained images.

图12是表示Cycle-GAN的前向循环和后向循环的详细工作流程的功能框图。Figure 12 is a functional block diagram showing the detailed workflow of the forward and backward loops of Cycle-GAN.

图13是表示图11的Cycle-GAN的示例生成器的功能框图。Figure 13 is a functional block diagram representing the example generator of Cycle-GAN in Figure 11.

图14A是使用图3的系统生成的小鼠脑切片的灰度UV-PAM图像的示例,其作为输入提供给根据图11到13配置的经训练Cycle-GAN。Figure 14A is an example of a grayscale UV-PAM image of a mouse brain slice generated using the system of Figure 3, which is fed as input to a trained Cycle-GAN configured according to Figures 11 to 13.

图14B是由Cycle-GAN使用灰度UV-PAM图像作为输入图像生成的作为输出图像的虚拟染色的组织学图像的示例。Figure 14B is an example of a virtually stained histological image generated by Cycle-GAN using a grayscale UV-PAM image as the input image and serving as the output image.

图14C是在H&E染色之后使用明场显微术获得的在图14A中成像的相同样本的组织学图像的示例。Figure 14C is an example of a histological image of the same sample imaged in Figure 14A, obtained using bright-field microscopy after H&E staining.

图15A是厚度为7μm的脱蜡FFPE小鼠脑切片的UV-AutoM图像的示例。Figure 15A is an example of a UV-AutoM image of a dewaxed FFPE mouse brain slice with a thickness of 7 μm.

图15B是利用基于GAN的网络的图15A的UV-AutoM图像的虚拟染色版本。Figure 15B is a virtual tinting version of the UV-AutoM image of Figure 15A using a GAN-based network.

图15C是相对于图15A成像的小鼠脑切片的明场H&E图像。Figure 15C is a bright-field H&E image of a mouse brain slice compared to Figure 15A.

图16A和16B是SI重构的高分辨率UV-AutoM图像,其用图5B和5C的方法生成,分别示出了厚度为100μm和200μm的小鼠脑样品。Figures 16A and 16B are high-resolution UV-AutoM images reconstructed by SI, generated using the methods in Figures 5B and 5C, showing mouse brain samples with thicknesses of 100 μm and 200 μm, respectively.

图16C和16D是使用图11到13的计算机实现的方法和系统生成的虚拟染色的H&E图像的示例。Figures 16C and 16D are examples of virtually stained H&E images generated using the computer-implemented methods and systems shown in Figures 11 to 13.

图17A示出了来自具有7μm厚度的脱蜡FFPE小鼠脑样品的海马区的无标记UV-PAM图像的示例,其中,UV-PAM图像是使用图3的系统生成的。Figure 17A shows an example of label-free UV-PAM images of the hippocampus from a dewaxed FFPE mouse brain sample with a thickness of 7 μm, where the UV-PAM images were generated using the system in Figure 3.

图17B示出了在图17A中成像的海马区的UV-AutoM图像的示例。Figure 17B shows an example of a UV-AutoM image of the hippocampus region imaged in Figure 17A.

图17C示出了对应于图17A和17B中成像的小鼠脑样品的明场H&E染色图像的示例。Figure 17C shows an example of a bright-field H&E stained image of a mouse brain sample corresponding to the images in Figures 17A and 17B.

具体实施方式Detailed Implementation

在任何一幅或多幅附图中参考具有相同附图标记的步骤和/或特征的情况下,这些步骤和/或特征出于本说明的目的具有相同的功能或操作,除非出现相反的意图。In any one or more accompanying drawings, where steps and/or features with the same reference numerals are referenced, these steps and/or features have the same function or operation for the purposes of this description, unless the contrary intention is present.

应当注意,包含在“背景技术”部分中的讨论以及以上与现有技术布置相关的讨论涉及通过它们各自的公开和/或使用形成公共知识的文档或设备的讨论。这不应被解释为本发明人或专利申请人的此类文档或设备以任何方式构成本领域公知常识的一部分的表示。It should be noted that the discussions included in the "Background Art" section and the above discussions relating to the prior art arrangement relate to discussions of documents or devices that form public knowledge through their respective disclosures and/or uses. This should not be construed as an indication that such documents or devices of the inventor or patent applicant constitute part of common general knowledge in the art in any way.

参考图1A和1B,示出了通用计算机系统100的示例的示意图,在该通用计算机系统上实现本文描述的各种布置。Referring to Figures 1A and 1B, schematic diagrams of an example of a general-purpose computer system 100 are shown, on which various arrangements described herein are implemented.

如图1A所示,计算机系统100包括:计算机模块101;输入设备,例如键盘102、鼠标指针设备103、扫描仪126、相机127和麦克风180;和输出设备,包括打印机115、显示设备114和扬声器117。计算机模块101可以使用外部调制器-解调器(调制解调器)收发器设备116来通过连接121与通信网络120进行通信。通信网络120可以是广域网(WAN),例如因特网,蜂窝电信网络或专用WAN。在连接121是电话线的情况下,调制解调器116可以是传统的“拨号”调制解调器。替代地,在连接121是高容量(例如,电缆)连接的情况下,调制解调器116可以是宽带调制解调器。无线调制解调器也可用于无线连接到通信网络120。As shown in Figure 1A, computer system 100 includes: a computer module 101; input devices, such as a keyboard 102, a mouse pointer device 103, a scanner 126, a camera 127, and a microphone 180; and output devices, including a printer 115, a display device 114, and a speaker 117. Computer module 101 can communicate with communication network 120 via connection 121 using an external modem transceiver device 116. Communication network 120 can be a wide area network (WAN), such as the Internet, a cellular telecommunications network, or a dedicated WAN. If connection 121 is a telephone line, modem 116 can be a conventional "dial-up" modem. Alternatively, if connection 121 is a high-capacity (e.g., cable) connection, modem 116 can be a broadband modem. Wireless modems can also be used for wireless connection to communication network 120.

计算机模块101通常包括至少一个处理器单元105和存储器单元106。例如,存储器单元106可以具有半导体随机存取存储器(RAM)和半导体只读存储器(ROM)。计算机模块101还包括多个输入/输出(I/O)接口,包括:联接到视频显示器114、扬声器117和麦克风180的音频-视频接口107;联接到键盘102、鼠标103、扫描仪126、相机127和可选的操纵杆或其他人机接口设备(未示出)或投影仪的I/O接口113;以及用于外部调制解调器116和打印机115的接口108。在一些实施方式中,调制解调器116可以被并入计算机模块101内,例如在接口108内。计算机模块101还具有局域网络接口111,其允许计算机系统100通过连接123而联接到被称为局域网(LAN)的局域通信网络122。如图1A所示,局域通信网络122还可以通过连接124而联接到广域网120,该连接124将通常包括所谓的“防火墙”设备或具有类似功能的设备。局域网络接口111可以包括以太网电路卡、无线装置或IEEE 802.11无线装置;然而,可以对接口111实践许多其他类型的接口。Computer module 101 typically includes at least one processor unit 105 and a memory unit 106. For example, memory unit 106 may have semiconductor random access memory (RAM) and semiconductor read-only memory (ROM). Computer module 101 also includes multiple input/output (I/O) interfaces, including: an audio-video interface 107 for connecting to a video display 114, speakers 117, and microphone 180; an I/O interface 113 for connecting to a keyboard 102, mouse 103, scanner 126, camera 127, and optional joysticks or other human-machine interface devices (not shown) or projectors; and an interface 108 for external modems 116 and printers 115. In some embodiments, modem 116 may be incorporated into computer module 101, for example, within interface 108. Computer module 101 also has a local area network interface 111, which allows computer system 100 to be connected to a local area communication network 122, referred to as a local area network (LAN), via connection 123. As shown in Figure 1A, the local area communication network 122 can also be connected to the wide area network 120 via connection 124, which will typically include a so-called "firewall" device or a device with similar functionality. The local area network interface 111 may include an Ethernet circuit card, a wireless device, or an IEEE 802.11 wireless device; however, many other types of interfaces can be implemented for interface 111.

I/O接口108和113可以提供串行和并行连接中的任一个或两者,前者通常根据通用串行总线(USB)标准实现并且具有对应的USB连接器(未示出)。提供存储设备109并且其通常包括硬盘驱动器(HDD)110。也可以使用其他存储设备,例如软盘驱动器和磁带驱动器(未示出)。通常提供光盘驱动器112以充当非易失性数据源。便携式存储器设备,例如光盘(例如,CD-ROM、DVD、蓝光盘TM)、USB-RAM、便携式外部硬盘驱动器和软盘,例如可以用作系统100的适当数据源。I/O interfaces 108 and 113 can provide either or both of serial and parallel connections, the former typically implemented according to the Universal Serial Bus (USB) standard and having a corresponding USB connector (not shown). Storage device 109 is provided, and it typically includes a hard disk drive (HDD) 110. Other storage devices, such as floppy disk drives and tape drives (not shown), may also be used. Optical disk drive 112 is typically provided to serve as a non-volatile data source. Portable storage devices, such as optical discs (e.g., CD-ROM, DVD, Blu-ray Disc ), USB-RAM, portable external hard disk drives, and floppy disks, may be used as suitable data sources for system 100.

计算机模块101的部件105到113通常通过互连总线104并且以导致相关领域技术人员已知的计算机系统100的常规操作模式的方式进行通信。例如,处理器105使用连接118而联接到系统总线104。同样地,存储器106和光盘驱动器112通过连接119而联接到系统总线104。可以在其上实施所描述的布置的计算机的示例包括IBM-PC和兼容机、SunSparcstation、Apple MacTM或类似的计算机系统。Components 105 to 113 of computer module 101 typically communicate via interconnect bus 104 and in a manner consistent with the conventional operating mode of computer system 100 known to those skilled in the art. For example, processor 105 is connected to system bus 104 via connection 118. Similarly, memory 106 and optical disc drive 112 are connected to system bus 104 via connection 119. Examples of computers on which the described arrangement may be implemented include IBM-PC and compatible machines, SunSparcstation, Apple Mac , or similar computer systems.

本文描述的方法可以使用计算机系统100来实现,其中,本文描述的过程可以实现为在计算机系统100内可执行的一个或多个软件应用程序133。特别地,本文描述的方法的步骤由在计算机系统100内执行的软件133中的指令131(参见图1B)实现。软件指令131可以形成为一个或多个代码模块,每个代码模块用于执行一个或多个特定任务。The method described herein can be implemented using a computer system 100, wherein the process described herein can be implemented as one or more software applications 133 executable within the computer system 100. Specifically, the steps of the method described herein are implemented by instructions 131 (see Figure 1B) in the software 133 executing within the computer system 100. The software instructions 131 can be formed as one or more code modules, each code module being used to perform one or more specific tasks.

软件可以存储在计算机可读介质中,例如包括以下描述的存储设备。软件从计算机可读介质加载到计算机系统100中,然后由计算机系统100执行。在计算机可读介质上记录有这样的软件或计算机程序的计算机可读介质是计算机程序产品。在计算机系统100中使用计算机程序产品优选地实现了用于检测和/或共享写入动作的有利装置。Software can be stored in a computer-readable medium, such as a storage device as described below. The software is loaded from the computer-readable medium into computer system 100 and then executed by computer system 100. A computer-readable medium on which such software or a computer program is recorded is a computer program product. The use of a computer program product in computer system 100 preferably implements advantageous means for detecting and/or sharing write operations.

软件133通常存储在HDD 110或存储器106中。软件从计算机可读介质加载到计算机系统100中,并由计算机系统100执行。因此,例如,软件133可以被存储在由光盘驱动器112读取的光学可读盘存储介质(例如,CD-ROM)125上。其上记录有这样的软件或计算机程序的计算机可读介质是计算机程序产品。Software 133 is typically stored in HDD 110 or memory 106. The software is loaded from a computer-readable medium into computer system 100 and executed by computer system 100. Therefore, for example, software 133 may be stored on an optically readable disk storage medium (e.g., CD-ROM) 125 read by optical disk drive 112. A computer-readable medium on which such software or computer programs are recorded is a computer program product.

在一些情况下,应用程序133可以被提供给用户,该应用程序编码在一个或多个CD-ROM 125上并通过对应的驱动器112读取,或者替代地可以由用户从网络120或122读取。进一步地,该软件也可以从其他计算机可读介质加载到计算机系统100中。计算机可读存储介质是指向计算机系统100提供记录的指令和/或数据以供执行和/或处理的任何非暂时性有形存储介质。这样的存储介质的示例包括软盘、磁带、CD-ROM、DVD、Blu-rayTM盘、硬盘驱动器、ROM或集成电路、USB存储器、磁光盘或计算机可读卡,例如PCMCIA卡等,无论这样的设备是在计算机模块101的内部还是外部。也可以参与向计算机模块101提供软件、应用程序、指令和/或数据的暂时性或无形计算机可读传输介质的示例包括无线电或红外传输信道以及到另一计算机或联网设备的网络连接,以及互联网或内联网,包括电子邮件传输和记录在网站上的信息等。In some cases, application 133 may be provided to the user, encoded on one or more CD-ROMs 125 and read through a corresponding drive 112, or alternatively, may be read by the user from network 120 or 122. Furthermore, the software may also be loaded into computer system 100 from other computer-readable media. Computer-readable storage media are any non-transitory tangible storage media that provides recorded instructions and/or data to computer system 100 for execution and/or processing. Examples of such storage media include floppy disks, magnetic tapes, CD-ROMs, DVDs, Blu-ray discs, hard disk drives, ROMs or integrated circuits, USB storage devices, magneto-optical discs, or computer-readable cards, such as PCMCIA cards, whether such devices are internal or external to computer module 101. Examples of temporary or intangible computer-readable transmission media that may also participate in providing software, applications, instructions, and/or data to computer module 101 include radio or infrared transmission channels and network connections to another computer or networked device, as well as the Internet or intranets, including email transmissions and information recorded on websites, etc.

可以执行应用程序133的第二部分和上述对应的代码模块实现一个或多个图形用户界面(GUI)以在显示器114上呈现或以其他方式表示。通常通过操纵键盘102以及鼠标103,计算机系统100和应用的用户可以以功能上可适应的方式操纵界面以向与GUI关联的应用提供控制命令和/或输入。也可以实现其他形式的在功能上可适应的用户界面,例如利用通过扬声器117输出的语音提示和通过麦克风180输入的用户语音命令的音频接口。The second part of application 133 and the corresponding code modules described above can be executed to implement one or more graphical user interfaces (GUIs) for presentation on display 114 or otherwise represented. Typically, by manipulating keyboard 102 and mouse 103, users of computer system 100 and applications can manipulate the interface in a functionally adaptable manner to provide control commands and/or input to the application associated with the GUI. Other forms of functionally adaptable user interfaces can also be implemented, such as an audio interface utilizing voice prompts output through speaker 117 and user voice commands input through microphone 180.

图1B是处理器105和“存储器”134的详细示意框图。存储器134表示可由图1A中的计算机模块101访问的所有存储器模块(包括HDD 109和半导体存储器106)的逻辑聚合。Figure 1B is a detailed schematic block diagram of processor 105 and "memory" 134. Memory 134 represents the logical aggregation of all memory modules (including HDD 109 and semiconductor memory 106) that can be accessed by computer module 101 in Figure 1A.

当计算机模块101初始通电时,通电自检(POST)程序150执行。POST程序150通常存储在图1A的半导体存储器106的ROM 149中。诸如存储软件的ROM 149的硬件设备有时被称为固件。POST程序150检查计算机模块101内的硬件以确保正常运行并且通常检查处理器105、存储器134(109、106)和基本输入-输出系统软件(BIOS)模块151,其通常也存储在ROM149中,以进行正确操作。一旦POST程序150成功运行,BIOS 151就激活图1A的硬盘驱动器110。硬盘驱动器110的激活导致驻留在硬盘驱动器110上的引导加载程序152通过处理器105执行。这将操作系统153加载到RAM存储器106中,操作系统153在该RAM存储器上开始操作。操作系统153是系统级应用,可由处理器105执行,以实现各种高级功能,包括处理器管理、存储器管理、设备管理、存储管理、软件应用界面和通用用户界面。When computer module 101 is initially powered on, a Power-On Self-Test (POST) program 150 is executed. POST program 150 is typically stored in ROM 149 of semiconductor memory 106 in Figure 1A. Hardware devices such as ROM 149 storing software are sometimes referred to as firmware. POST program 150 checks the hardware within computer module 101 to ensure proper functioning and typically checks processor 105, memories 134 (109, 106), and the Basic Input/Output System Software (BIOS) module 151, which is also typically stored in ROM 149, to ensure correct operation. Once POST program 150 has successfully run, BIOS 151 activates hard disk drive 110 in Figure 1A. Activation of hard disk drive 110 causes bootloader 152 residing on hard disk drive 110 to be executed by processor 105. This loads operating system 153 into RAM memory 106, where operating system 153 begins operation. Operating system 153 is a system-level application that can be executed by processor 105 to implement various advanced functions, including processor management, memory management, device management, storage management, software application interface, and general user interface.

操作系统153管理存储器134(109、106)以确保在计算机模块101上运行的每个进程或应用具有足够的存储器来在其中执行,而不会与分配给另一进程的存储器发生冲突。此外,必须正确使用图1A的系统100中可用的不同类型的存储器,以便每个进程能够有效地运行。因此,聚合的存储器134并非旨在说明如何分配特定的存储器段(除非另有说明),而是提供计算机系统100可访问的存储器以及如何使用存储器的一般视图。Operating system 153 manages memory 134 (109, 106) to ensure that each process or application running on computer module 101 has sufficient memory to execute without conflicting with memory allocated to another process. Furthermore, the different types of memory available in system 100 of Figure 1A must be used correctly so that each process can run efficiently. Therefore, the aggregated memory 134 is not intended to illustrate how specific memory segments are allocated (unless otherwise stated), but rather to provide a general view of the memory accessible to computer system 100 and how that memory is used.

如图1B所示,处理器105包括多个功能模块,包括控制单元139、算术逻辑单元(ALU)140和本地或内部存储器148,有时称为高速缓冲存储器。高速缓冲存储器148通常在寄存器部分中包括多个存储寄存器144-146。一个或多个内部总线141在功能上将这些功能模块互连。处理器105通常还具有一个或多个接口142,用于使用连接118通过系统总线104与外部设备通信。存储器134使用连接119而联接到总线104。As shown in Figure 1B, processor 105 includes multiple functional modules, including a control unit 139, an arithmetic logic unit (ALU) 140, and local or internal memory 148, sometimes referred to as cache memory. Cache memory 148 typically includes multiple storage registers 144-146 in its register section. One or more internal buses 141 functionally interconnect these functional modules. Processor 105 also typically has one or more interfaces 142 for communicating with external devices via system bus 104 using connection 118. Memory 134 is connected to bus 104 using connection 119.

应用程序133包括指令序列131,其可以包括条件分支和循环指令。程序133还可包括在程序133执行时使用的数据132。指令131和数据132分别存储在存储器位置128、129、130和135、136、137中。取决于指令131和存储位置128-130的相对大小,特定指令可以存储在单个存储位置中,如存储位置130中所示的指令所描绘的那样。替代地,可以将指令分段为多个部分,其中的每个部分存储在单独的存储位置中,如存储位置128和129中所示的指令段所描绘的那样。Application program 133 includes a sequence of instructions 131, which may include conditional branching and loop instructions. Program 133 may also include data 132 used during its execution. Instructions 131 and data 132 are stored in memory locations 128, 129, 130 and 135, 136, 137, respectively. Depending on the relative size of instructions 131 and memory locations 128-130, a particular instruction may be stored in a single memory location, as depicted in the instruction representation shown in memory location 130. Alternatively, instructions may be segmented into multiple parts, each stored in a separate memory location, as depicted in the instruction segments shown in memory locations 128 and 129.

通常,处理器105被给予一组在其中执行的指令。处理器105等待后续输入,处理器105通过执行另一组指令对后续输入作出反应。每个输入可以从多个源中的一个或多个提供,包括由一个或多个输入设备102、103生成的数据、在网络120、102之一上从外部源接收的数据、从存储设备106、109之一检索的数据或从插入对应读取器112的存储介质125检索的数据,全部在图1A中示出。在某些情况下,一组指令的执行可以导致数据的输出。执行还可以涉及将数据或变量存储到存储器134。Typically, processor 105 is given a set of instructions to execute therein. Processor 105 waits for subsequent input, responding to it by executing another set of instructions. Each input can be provided from one or more of a plurality of sources, including data generated by one or more input devices 102, 103, data received from an external source on one of networks 120, 102, data retrieved from one of storage devices 106, 109, or data retrieved from storage medium 125 inserted into a corresponding reader 112, all shown in FIG1A. In some cases, the execution of a set of instructions can result in the output of data. Execution may also involve storing data or variables into memory 134.

所公开的写入检测和共享布置使用输入变量154,其存储在存储器134中的对应存储器位置155、156、157中。写入检测和共享布置产生输出变量161,其存储在存储器134中的对应存储位置162、163、164中。中间变量158可以存储在存储位置159、160、166和167中。The disclosed write detection and shared arrangement uses input variable 154, which is stored in corresponding memory locations 155, 156, and 157 within memory 134. The write detection and shared arrangement produces output variable 161, which is stored in corresponding memory locations 162, 163, and 164 within memory 134. Intermediate variable 158 can be stored in memory locations 159, 160, 166, and 167.

参考图1B的处理器105,寄存器144、145、146、算术逻辑单元(ALU)140和控制单元139一起工作以执行对于构成程序133的指令组中的每个指令执行“取指、解码和执行”循环所需的微操作序列。每个取指、解码和执行循环包括:取指操作,其从存储器位置128、129、130提取或读取指令131;解码操作,其中,控制单元139确定已提取哪个指令;以及执行操作,其中,控制单元139和/或ALU 140执行该指令。Referring to the processor 105 of Figure 1B, registers 144, 145, 146, arithmetic logic unit (ALU) 140, and control unit 139 work together to execute the sequence of micro-operations required to perform a "fetch, decode, and execute" cycle for each instruction in the instruction set constituting program 133. Each fetch, decode, and execute cycle includes: a fetch operation, which fetches or reads instruction 131 from memory locations 128, 129, 130; a decode operation, in which control unit 139 determines which instruction has been fetched; and an execute operation, in which control unit 139 and/or ALU 140 execute the instruction.

此后,可以执行下一指令的进一步的取指、解码和执行循环。类似地,可以执行存储循环,通过该存储循环,控制单元139将值存储或写入存储位置162。After this, a further fetch, decode, and execution loop can be executed for the next instruction. Similarly, a storage loop can be executed, through which the control unit 139 stores or writes values to storage location 162.

本文描述的过程中的每个步骤或子过程与程序133的一个或多个段关联并且由处理器105中的寄存器部分144、145、147、ALU 140和控制单元139执行,它们一起工作以对于程序133的所述段的指令组中的每个指令执行取指、解码和执行循环。Each step or sub-process described herein is associated with one or more segments of program 133 and is executed by register portions 144, 145, 147, ALU 140, and control unit 139 in processor 105, which work together to perform instruction fetch, decode, and execution loops for each instruction in the instruction set of the segment of program 133.

本文描述的方法可以替代地在专用硬件中实现,例如执行写入检测和共享方法的功能或子功能的一个或多个集成电路。这样的专用硬件可以包括图形处理器、数字信号处理器或一个或多个微处理器和关联的存储器。The methods described herein can alternatively be implemented in dedicated hardware, such as one or more integrated circuits that perform the write detection and sharing methods, or their sub-functions. Such dedicated hardware may include a graphics processor, a digital signal processor, or one or more microprocessors and associated memory.

图2A和2B共同形成了包括嵌入式部件的通用电子设备201的示意框图,在其上合意地实践要描述的写入检测和/或共享方法。电子设备201可以是例如移动电话、便携式媒体播放器、虚拟现实眼镜或数码相机,其中处理资源是有限的。然而,要描述的方法也可以在更高级别的设备上执行,例如台式计算机、服务器计算机和具有显著更多的处理资源的其他此类设备。Figures 2A and 2B together form a schematic block diagram of a general-purpose electronic device 201 including embedded components, on which the write detection and/or sharing method to be described is deliberately practiced. The electronic device 201 may be, for example, a mobile phone, a portable media player, virtual reality glasses, or a digital camera, where processing resources are limited. However, the method to be described can also be implemented on higher-level devices, such as desktop computers, server computers, and other such devices with significantly more processing resources.

如图2A所示,电子设备201包括嵌入式控制器202。因此,电子设备201可被称为“嵌入式设备”。在本示例中,控制器202具有双向联接到内部存储模块209的处理单元(或处理器)205。存储模块209可以由非易失性半导体只读存储器(ROM)260和半导体随机存取存储器(RAM)270形成,如图2B所示。RAM 270可以是易失性的、非易失性的或易失性和非易失性存储器的组合。As shown in Figure 2A, the electronic device 201 includes an embedded controller 202. Therefore, the electronic device 201 can be referred to as an "embedded device". In this example, the controller 202 has a processing unit (or processor) 205 bidirectionally connected to an internal storage module 209. The storage module 209 may be formed of a non-volatile semiconductor read-only memory (ROM) 260 and a semiconductor random access memory (RAM) 270, as shown in Figure 2B. The RAM 270 may be volatile, non-volatile, or a combination of volatile and non-volatile memory.

电子设备201包括显示控制器207,其连接到显示器214,例如液晶显示(LCD)面板等。显示控制器207被配置为根据从显示控制器207连接到的嵌入式控制器202接收的指令在显示器214上显示图形图像。Electronic device 201 includes a display controller 207 connected to a display 214, such as a liquid crystal display (LCD) panel. The display controller 207 is configured to display graphic images on the display 214 according to instructions received from an embedded controller 202 to which the display controller 207 is connected.

电子设备201还包括用户输入设备213,其通常由键、小键盘或类似控件形成。在一些实施方式中,用户输入设备213可以包括与显示器214物理地关联的触敏面板以共同形成触摸屏。这样的触摸屏因此可以作为图形用户界面(GUI)的一种形式操作,而不是通常与小键盘-显示器组合一起使用的提示或菜单驱动的GUI。也可以使用其他形式的用户输入设备,例如用于语音命令的麦克风(未示出)或用于易于关于菜单的导航的操纵杆/拇指轮(未示出)。Electronic device 201 also includes a user input device 213, which is typically formed by keys, a keypad, or similar controls. In some embodiments, the user input device 213 may include a touch-sensitive panel physically associated with display 214 to collectively form a touchscreen. Such a touchscreen can therefore operate as a form of graphical user interface (GUI) rather than a prompt- or menu-driven GUI typically used with a keypad-display combination. Other forms of user input devices may also be used, such as a microphone (not shown) for voice commands or a joystick/thumb wheel (not shown) for easy navigation of menus.

如图2A所示,电子设备201还包括便携式存储器接口206,其通过连接219而联接到处理器205。便携式存储器接口206允许互补的便携式存储器设备225联接到电子设备201,以充当数据的源或目的地或补充内部存储模块209。这样的接口的示例允许与便携式存储设备联接,例如通用串行总线(USB)存储器设备、安全数字(SD)卡、个人计算机存储卡国际协会(PCMIA)卡、光盘和磁盘。As shown in Figure 2A, the electronic device 201 also includes a portable storage interface 206, which is connected to the processor 205 via a connection 219. The portable storage interface 206 allows complementary portable storage devices 225 to be connected to the electronic device 201 to act as a source or destination of data or to supplement the internal storage module 209. Examples of such interfaces allow connection to portable storage devices such as Universal Serial Bus (USB) storage devices, Secure Digital (SD) cards, PCMIA cards, optical discs, and hard disks.

电子设备201还具有通信接口208以允许设备201通过连接221联接到计算机或通信网络220。连接221可以是有线的或无线的。例如,连接221可以是射频或光学的。有线连接的示例包括以太网。此外,无线连接的示例包括蓝牙TM型本地互连、Wi-Fi(包括基于IEEE802.11族标准的协议)、红外数据协会(IrDa)等。Electronic device 201 also has a communication interface 208 to allow device 201 to be connected to a computer or communication network 220 via connection 221. Connection 221 can be wired or wireless. For example, connection 221 can be radio frequency or optical. Examples of wired connections include Ethernet. Furthermore, examples of wireless connections include Bluetooth type local interconnect, Wi-Fi (including protocols based on the IEEE 802.11 family of standards), Infrared Data Association (IrDa), etc.

通常,电子设备201被配置为执行一些特殊功能。嵌入式控制器202,可能与另外的特殊功能部件210结合,被提供来执行该特殊功能。例如,在设备201是数码相机的情况下,部件210可以表示相机的镜头、对焦控制和图像传感器。特殊功能部件210连接到嵌入式控制器202。作为另一示例,设备201可以是移动电话手机。在这种情况下,部件210可以表示蜂窝电话环境中的通信所需的那些部件。在设备201是便携式设备的情况下,特殊功能部件210可以表示包括联合图像专家组(JPEG)、(运动图像专家组)MPEG、MPEG-1音频层3(MP3)等在内类型的多个编码器和解码器。Typically, electronic device 201 is configured to perform certain special functions. An embedded controller 202, possibly in conjunction with additional special function components 210, is provided to perform these special functions. For example, in the case of device 201 being a digital camera, component 210 could represent the camera lens, focus control, and image sensor. Special function components 210 are connected to the embedded controller 202. As another example, device 201 could be a mobile phone. In this case, component 210 could represent those components required for communication in a cellular phone environment. In the case of device 201 being a portable device, special function components 210 could represent multiple encoders and decoders of types including Joint Group of Picture Experts (JPEG), Moving Picture Experts Group (Moving Picture Experts Group) MPEG, MPEG-1 Audio Layer 3 (MP3), etc.

下文描述的方法可以使用嵌入式控制器202来实现,其中,本文描述的过程可实现为可在嵌入式控制器202内执行的一个或多个软件应用程序233。图2A的电子设备201实现所描述的方法。特别地,参考图2B,所描述的方法的步骤由在控制器202内执行的软件233中的指令实现。软件指令可以形成为一个或多个代码模块,每个代码模块用于执行一个或多个特定任务。软件也可以被分成两个单独的部分,其中,第一部分和对应的代码模块执行所描述的方法,并且第二部分和对应的代码模块管理第一部分和用户之间的用户界面。The methods described below can be implemented using an embedded controller 202, wherein the processes described herein can be implemented as one or more software applications 233 executable within the embedded controller 202. The electronic device 201 of FIG. 2A implements the described methods. Specifically, referring to FIG. 2B, the steps of the described methods are implemented by instructions in the software 233 executing within the controller 202. The software instructions can be formed as one or more code modules, each code module performing one or more specific tasks. The software can also be divided into two separate parts, wherein a first part and its corresponding code modules execute the described methods, and a second part and its corresponding code modules manage the user interface between the first part and the user.

嵌入式控制器202的软件233通常存储在内部存储模块209的非易失性ROM 260中。存储在ROM 260中的软件233可以在需要时从计算机可读介质进行更新。软件233可以被加载到处理器205中并且由处理器205执行。在一些情况下,处理器205可以执行位于RAM 270中的软件指令。可以通过处理器205将一个或多个代码模块的副本从ROM 260加入到RAM270中来将软件指令加载到RAM 270中。替代地,一个或多个代码模块的软件指令可以由制造商预先安装在RAM 270的非易失性区域中。在一个或多个代码模块已位于RAM 270中之后,处理器205可执行该一个或多个代码模块的软件指令。The software 233 of the embedded controller 202 is typically stored in the non-volatile ROM 260 of the internal storage module 209. The software 233 stored in ROM 260 can be updated from a computer-readable medium as needed. The software 233 can be loaded into and executed by the processor 205. In some cases, the processor 205 can execute software instructions located in RAM 270. Software instructions can be loaded into RAM 270 by adding copies of one or more code modules from ROM 260 to RAM 270 via the processor 205. Alternatively, the software instructions for one or more code modules can be pre-installed by the manufacturer in a non-volatile area of RAM 270. After one or more code modules are located in RAM 270, the processor 205 can execute the software instructions of those one or more code modules.

在分发电子设备201之前,应用程序233通常由制造商预先安装并存储在ROM 260中。然而,在一些情况下,应用程序233可以被提供给用户,其编码在一个或多个CD-ROM(未示出)上并在存储在内部存储模块209或便携式存储器225中之前通过图2A的便携式存储器接口206读取。在另一替代方案中,软件应用程序233可以由处理器205从网络220读取,或从其他计算机可读介质加载到控制器202或便携式存储介质225中。计算机可读存储介质是指参与向控制器202提供指令和/或数据以供执行和/或处理的任何非暂时性有形存储介质。这样的存储介质的示例包括软盘、磁带、CD-ROM、硬盘驱动器、ROM或集成电路、USB存储器、磁光盘、闪存或计算机可读卡,例如PCMCIA卡等,无论这样的设备是在设备201的内部还是外部。也可以参与向设备201提供软件、应用程序、指令和/或数据的暂时性或无形计算机可读传输介质的示例包括无线电或红外传输信道以及到另一计算机或联网设备的网络连接,以及互联网或内联网,包括电子邮件传输和记录在网站上的信息等。其上记录有这样的软件或计算机程序的计算机可读介质是计算机程序产品。Prior to distribution of electronic device 201, application 233 is typically pre-installed by the manufacturer and stored in ROM 260. However, in some cases, application 233 may be provided to the user, encoded on one or more CD-ROMs (not shown) and read via portable storage interface 206 of FIG2A before being stored in internal storage module 209 or portable storage device 225. Alternatively, software application 233 may be read by processor 205 from network 220 or loaded from other computer-readable media into controller 202 or portable storage medium 225. Computer-readable storage medium refers to any non-transitory tangible storage medium that participates in providing instructions and/or data to controller 202 for execution and/or processing. Examples of such storage media include floppy disks, magnetic tapes, CD-ROMs, hard disk drives, ROMs or integrated circuits, USB storage devices, magneto-optical disks, flash memory, or computer-readable cards, such as PCMCIA cards, whether such devices are internal or external to device 201. Examples of temporary or intangible computer-readable transmission media that may also be used to provide software, applications, instructions, and/or data to device 201 include radio or infrared transmission channels and network connections to another computer or networked device, as well as the Internet or intranet, including email transmissions and information recorded on websites. A computer-readable medium on which such software or computer programs are recorded is a computer program product.

可以执行应用程序233的第二部分和上述对应的代码模块实现一个或多个图形用户界面(GUI)以在图2A的显示器214上呈现或以其他方式表示。通过操纵用户输入设备213(例如小键盘),设备201和应用程序233的用户可以以功能上可适应的方式操纵界面以向与GUI关联的应用提供控制命令和/或输入。也可以实现其他形式的在功能上可适应的用户界面,例如利用通过扬声器(未示出)输出的语音提示和通过麦克风(未示出)输入的用户语音命令的音频接口。The second part of application 233 and the corresponding code modules described above can be executed to implement one or more graphical user interfaces (GUIs) for presentation or other representation on display 214 of FIG. 2A. By manipulating user input device 213 (e.g., keypad), the user of device 201 and application 233 can manipulate the interface in a functionally adaptable manner to provide control commands and/or input to the application associated with the GUI. Other forms of functionally adaptable user interfaces can also be implemented, such as an audio interface utilizing voice prompts output through a speaker (not shown) and user voice commands input through a microphone (not shown).

图2B详细示出了具有用于执行应用程序233的处理器205和内部存储装置209的嵌入式控制器202。内部存储装置209包括只读存储器(ROM)260和随机存取存储器(RAM)270。处理器205能够执行存储在连接的存储器260和270之一或两者中的应用程序233。当电子设备201初始通电时,驻留在ROM 260中的系统程序被执行。永久存储在ROM 260中的应用程序233有时被称为“固件”。处理器205执行固件可以实现各种功能,包括处理器管理、存储器管理、设备管理、存储管理和用户界面。Figure 2B illustrates in detail an embedded controller 202 having a processor 205 for executing application program 233 and internal storage 209. Internal storage 209 includes read-only memory (ROM) 260 and random access memory (RAM) 270. The processor 205 is capable of executing application program 233 stored in one or both of the connected memories 260 and 270. When the electronic device 201 is initially powered on, the system program residing in ROM 260 is executed. The application program 233, permanently stored in ROM 260, is sometimes referred to as "firmware." The processor 205 executing the firmware can implement various functions, including processor management, memory management, device management, storage management, and user interface.

处理器205通常包括多个功能模块,包括控制单元(CU)251、算术逻辑单元(ALU)252、数字信号处理器(DSP)253和包括通常包含原子数据元素256、257的一组寄存器的本地或内部存储器254,以及内部缓冲器或高速缓冲存储器255。一个或多个内部总线259将这些功能模块互连。处理器205通常还具有一个或多个接口258,用于使用连接261通过系统总线281与外部设备通信。Processor 205 typically includes multiple functional modules, including a control unit (CU) 251, an arithmetic logic unit (ALU) 252, a digital signal processor (DSP) 253, and local or internal memory 254 including a set of registers typically containing atomic data elements 256, 257, as well as internal buffers or cache memory 255. One or more internal buses 259 interconnect these functional modules. Processor 205 also typically has one or more interfaces 258 for communicating with external devices via system bus 281 using connection 261.

应用程序233包括指令262到263的序列,其可以包括条件分支和循环指令。程序233还可以包括在程序233执行时使用的数据。该数据可以作为指令的一部分存储或存储在ROM 260或RAM 270内的单独位置264中。Application program 233 includes a sequence of instructions 262 to 263, which may include conditional branching and looping instructions. Application program 233 may also include data used during its execution. This data may be stored as part of the instructions or in a separate location 264 within ROM 260 or RAM 270.

通常,处理器205被给予一组指令,该组指令在处理器中执行。这组指令可以被组织成块,其执行特定任务或处理在电子设备201中发生的特定事件。一般地,应用程序233等待事件并且随后执行与该事件关联的代码块。事件可以响应于通过图2A的用户输入设备213来自用户的输入而被触发,该输入由处理器205检测。事件也可以响应于电子设备201中的其他传感器和接口而被触发。Typically, processor 205 is given a set of instructions that are executed within the processor. These instructions can be organized into blocks that perform a specific task or handle a specific event occurring in electronic device 201. Generally, application 233 waits for an event and then executes the code block associated with that event. An event may be triggered in response to input from a user via user input device 213 of FIG. 2A, which is detected by processor 205. Events may also be triggered in response to other sensors and interfaces in electronic device 201.

一组指令的执行可能需要读取和修改数值变量。这样的数值变量存储在RAM 270中。所公开的方法使用存储在存储器270中已知位置272、273中的输入变量271。处理输入变量271以产生存储在存储器270中已知位置278中的输出变量277,279。中间变量274可以存储在存储器270的位置275、276中的附加存储器位置中。替代地,一些中间变量可以仅存在于处理器205的寄存器254中。The execution of a set of instructions may require reading and modifying numerical variables. Such numerical variables are stored in RAM 270. The disclosed method uses input variable 271 stored at known locations 272 and 273 in memory 270. Input variable 271 is processed to produce output variables 277 and 279 stored at known locations 278 in memory 270. Intermediate variable 274 may be stored in additional memory locations 275 and 276 in memory 270. Alternatively, some intermediate variables may exist only in register 254 of processor 205.

指令序列的执行在处理器205中通过取指-执行循环的重复应用来实现。处理器205的控制单元251维护称为程序计数器的寄存器,该寄存器包含要执行的下一个指令在ROM 260或RAM 270中的地址。在取指执行循环开始时,由程序计数器索引的存储器地址的内容被加载到控制单元251中。这样加载的指令控制处理器205的后续操作,使得例如数据从ROM存储器260被加载到处理器寄存器254中、寄存器的内容与另一寄存器的内容进行算术组合、寄存器的内容要被写入存储在另一寄存器中的位置等。在取指执行循环结束时,程序计数器被更新以指向系统程序代码中的下一个指令。取决于刚执行的指令,这可能涉及递增包含在程序计数器中的地址或用新地址加载程序计数器以实现分支操作。The execution of the instruction sequence is achieved in processor 205 through the repeated application of a fetch-execute loop. The control unit 251 of processor 205 maintains a register called the program counter, which contains the address of the next instruction to be executed in ROM 260 or RAM 270. At the beginning of the fetch-execute loop, the contents of the memory address indexed by the program counter are loaded into control unit 251. The loaded instruction controls subsequent operations of processor 205, such as loading data from ROM memory 260 into processor register 254, performing arithmetic combinations of register contents with the contents of another register, and writing register contents to a location stored in another register. At the end of the fetch-execute loop, the program counter is updated to point to the next instruction in the system program code. Depending on the instruction just executed, this may involve incrementing the address contained in the program counter or loading the program counter with a new address to implement a branch operation.

下面描述的方法的过程中的每个步骤或子过程与应用程序233的一个或多个段关联,并且通过在处理器205中重复执行取指-执行循环或电子设备201中的其他独立处理器块的类似程序操作来执行。Each step or sub-procedure in the process of the method described below is associated with one or more segments of application 233 and is executed by repeatedly executing an instruction fetch-execution loop in processor 205 or similar program operations of other independent processor blocks in electronic device 201.

各方面提供了基于紫外光照射下的固有光吸收对比度的高通量、无标记和无载玻片的成像方法和系统,以直接探测组织学染色的生物分子。公开了两种方法,即基于紫外的(i)光声显微术(UV-PAM)和(ii)自发荧光显微术(UV-AutoM)。为了实现UV-PAM的高通量,可以使用高速光学扫描配置。与UV-AutoM相关,利用散斑照射(SI),其允许使用低倍率物镜估计高分辨率图像,提供在厘米尺度成像区域上的亚细胞分辨率图像,同时允许对组织表面形态、载玻片放置误差和厚度引起的图像模糊的高容忍度。Various methods and systems are provided for high-throughput, label-free, and slide-free imaging based on the inherent light absorption contrast under ultraviolet (UV) illumination to directly probe histologically stained biomolecules. Two methods are disclosed: (i) photoacoustic microscopy (UV-PAM) and (ii) autofluorescence microscopy (UV-AutoM). To achieve high throughput in UV-PAM, a high-speed optical scanning configuration can be used. Related to UV-AutoM, speckle illumination (SI) is utilized, which allows for estimation of high-resolution images using low-magnification objectives, providing subcellular resolution images over centimeter-scale imaging areas, while allowing high tolerance to image blurring caused by tissue surface morphology, slide placement errors, and thickness.

对于UV-PAM和UV-AutoM这两种类型的图像,公开了基于深度学习的虚拟染色方法和系统,其可用于以亚细胞分辨率生成大的未处理的新鲜/固定组织的组织学样图像。虚拟染色方法和系统利用生成式对抗网络(GAN),该生成式对抗网络被配置为能够通过配对/未配对的训练示例将未标记组织的UV-PAM或UV-AutoM图像变换为组织学染色图像。所公开的方法和系统可以将标准护理组织病理学的工作流程从几天简化到不到十分钟,能够进行术中手术切缘评估,从而减少或消除由于切缘阳性而导致的第二次手术的需要。For both UV-PAM and UV-AutoM images, a deep learning-based virtual staining method and system are disclosed, which can be used to generate large histological images of untreated fresh/fixed tissue at subcellular resolution. The virtual staining method and system utilize a generative adversarial network (GAN) configured to transform UV-PAM or UV-AutoM images of unlabeled tissue into histologically stained images using paired/unpaired training examples. The disclosed method and system can streamline the workflow of standard care histopathology from days to less than ten minutes, enabling intraoperative surgical margin assessment and reducing or eliminating the need for a second surgery due to positive margins.

基于紫外的光声显微术(UV-PAM)UV-based photoacoustic microscopy (UV-PAM)

与常规的光学显微术不同,PAM利用了高度特异性的光学吸收对比度的优势。通过使用UV脉冲激光(波长范围为~240–280nm)作为激发光束,可以突出显示细胞核,从而提供无标记的组织学样图像。Unlike conventional optical microscopy, PAM takes advantage of highly specific optical absorption contrast. By using a UV pulsed laser (wavelength range of ~240–280 nm) as the excitation beam, cell nuclei can be highlighted, thus providing label-free histological images.

参考图3,示出了UV-PAM系统300的示例。特别地,纳秒脉冲UV激光器302(例如,WEDGE-HF 266nm,可从Bright Solution有限责任公司获得)通过聚焦组件303而聚焦。特别地,由UV激光器302发射的光被一对透镜304、308(例如,LA4647-UV和LA4663-UV,可从Thorlabs公司获得)扩展。UV光束的质量可以通过位于该对透镜304、308之间的针孔306来提高。针孔306的尺寸的直径可以是10μm到100μm(例如,P25C,可从Thorlabs公司获得)。光束随后被1D振镜扫描仪310反射,然后被物镜310(例如,Thorlabs公司的MicroSpotTM聚焦物镜(LMU-20X-UVB))聚焦在样本312的底部。样本312被放置在水箱314的底部,水箱314由附接到XYZ平移台318的样品架315保持。水箱314充满水以允许光声波向上传播并被浸水超声换能器316(例如,V324-SU,可从Olympus NDT公司获得)检测。Referring to Figure 3, an example of a UV-PAM system 300 is shown. Specifically, a nanosecond pulsed UV laser 302 (e.g., WEDGE-HF 266nm, available from Bright Solution LLC) is focused by a focusing assembly 303. Specifically, the light emitted by the UV laser 302 is broadened by a pair of lenses 304, 308 (e.g., LA4647-UV and LA4663-UV, available from Thorlabs). The quality of the UV beam can be enhanced by a pinhole 306 located between these lenses 304, 308. The diameter of the pinhole 306 can be from 10 μm to 100 μm (e.g., P25C, available from Thorlabs). The beam is then reflected by a 1D galvanometer scanner 310 and then focused onto the bottom of a sample 312 by an objective lens 310 (e.g., Thorlabs' MicroSpot focusing objective lens (LMU-20X-UVB)). Sample 312 is placed at the bottom of water tank 314, which is held by sample holder 315 attached to XYZ translation stage 318. Water tank 314 is filled with water to allow photoacoustic waves to propagate upward and be detected by immersion ultrasonic transducer 316 (e.g., V324-SU, available from Olympus NDT).

接收的声压被转换为电信号,然后由放大器320(例如,两个ZFL-500LN-BNC+,可从Mini-circuits公司获得)放大,最后通过数据采集系统322(例如,ATS9350,可从AlazarTechnologies公司获得)由计算机系统100或201接收。为了生成二维图像,首先要识别每个A线信号的最大幅度投影(MAP)。然后根据扫描过程中的顺序重新排列最大幅度投影以生成灰度图像。The received sound pressure is converted into an electrical signal, which is then amplified by amplifier 320 (e.g., two ZFL-500LN-BNC+ amplifiers, available from Mini-Circuits), and finally received by computer system 100 or 201 via data acquisition system 322 (e.g., an ATS9350, available from Alazar Technologies). To generate a two-dimensional image, the maximum amplitude projection (MAP) of each A-line signal is first identified. The MAPs are then rearranged according to the order during the scanning process to generate a grayscale image.

在操作中,可以控制聚焦组件的振镜扫描仪310以根据扫描轨迹将紫外光聚焦在样本312上。对振镜扫描仪310的控制可以由计算机系统100或计算机化嵌入式设备201的一部分来执行。换能器316被配置为接收样本312响应于紫外光而发射的光声波。计算机系统100或嵌入式设备201基于光声波生成UV-PAM图像。In operation, the galvanometer scanner 310, with its focusing component, can be controlled to focus ultraviolet light onto the sample 312 according to a scanning trajectory. Control of the galvanometer scanner 310 can be performed by a part of the computer system 100 or a computerized embedded device 201. The transducer 316 is configured to receive photoacoustic waves emitted by the sample 312 in response to ultraviolet light. The computer system 100 or the embedded device 201 generates a UV-PAM image based on the photoacoustic waves.

为了测量UV-PAM系统的横向和轴向分辨率,在x轴和y轴上以0.15μm的步长对金纳米颗粒(直径200nm)进行成像(图4(a))。选择四个金纳米颗粒的数据点并进行平均以通过高斯曲线拟合测量横向分辨率,如图4(b)所示。高斯拟合曲线的半峰全宽(FWHM)为~0.6μm。为了评估轴向分辨率,可以提取中心位置的A线信号的包络。图4(c)示出了(a)中金纳米颗粒的中心位置的A线信号。A线信号的包络的FWHM为38ns,其对应于58μm,表示UV-PAM系统的轴向分辨率。To measure the lateral and axial resolution of the UV-PAM system, gold nanoparticles (200 nm in diameter) were imaged along the x and y axes with a step size of 0.15 μm (Fig. 4(a)). Data points from four gold nanoparticles were selected and averaged to measure the lateral resolution by Gaussian curve fitting, as shown in Fig. 4(b). The full width at half maximum (FWHM) of the Gaussian fitted curve was ~0.6 μm. To evaluate the axial resolution, the envelope of the A-line signal at the center position was extracted. Fig. 4(c) shows the A-line signal at the center position of the gold nanoparticle in (a). The FWHM of the A-line signal envelope was 38 ns, which corresponds to 58 μm, representing the axial resolution of the UV-PAM system.

基于紫外的自发荧光显微术(UV-AutoM)UV-based autofluorescence microscopy (UV-AutoM)

在组织病理学检查中,通常需要具有20X-40X放大因数的物镜来实现亚细胞分辨率以观察细胞形态和代谢活动。然而,这样的放大因数将视场(FOV)限制在1mm2以内。此外,高放大倍率物镜更容易受到空间变化像差的影响,并且具有浅景深(DOF),这导致对显微镜载玻片的放置误差和样本粗糙度的容忍度较低。出于这些原因,通过使用高放大倍率物镜进行图像拼接来捕获大组织表面是次优的。In histopathological examination, objectives with a magnification factor of 20X-40X are typically required to achieve subcellular resolution for observing cell morphology and metabolic activity. However, such a magnification factor limits the field of view (FOV) to less than 1 mm² . Furthermore, high-magnification objectives are more susceptible to spatial variation aberrations and have a shallow depth of field (DOF), resulting in lower tolerance for errors in microscope slide placement and sample roughness. For these reasons, using high-magnification objectives for image stitching to capture large tissue surfaces is suboptimal.

公开了一种散斑照射(SI)方法,以缓解数字显微镜中大FOV和高分辨率(HR)之间的固有折中,从而实现具有亚细胞分辨率的对不同感兴趣区域的高通量可视化。A speckle illumination (SI) method is disclosed to alleviate the inherent trade-off between large FOV and high resolution (HR) in digital microscopy, thereby enabling high-throughput visualization of different regions of interest with subcellular resolution.

如图5A所示,示出了示例UV-AutoM系统500,未染色的新鲜组织312被放置在连接到XYZ电动载物台318(例如,三个L-509,可从PI miCos公司获得)的顶部打开的样品架上。UV激光器302(例如,WEDGE-HF266nm,可从Bright Solution有限责任公司获得)被准直并投射到熔融石英漫射器(例如,DGUV10-600,可从Thorlabs公司获得)上以产生散斑图案。所产生的波通过作为聚焦组件303的一部分的数值孔径(NA)为0.69的非球面UV聚光透镜512(例如,#33-957,可从Edmund Optics公司获得)聚焦。通过UV透明窗514(例如,从200nm到1500nm的透射率大于90%)倾斜地照射样品312。激发的自发荧光信号(主要来自NADH和FAD,峰值发射在450nm)然后通过配备有4X物镜518(例如NA=0.1,平面消色差物镜,可从Olympus NDT公司获得)和无限远校正管透镜520(TTL180-A,可从Thorlabs公司获得)的倒置显微镜517收集,最后由单色科学互补金属氧化物半导体(sCMOS)相机522(例如,PCOedge 4.2,6.5μm像素间距,可从PCO公司获得)成像。Figure 5A illustrates an example UV-AutoM system 500, in which unstained fresh tissue 312 is placed on a top-open sample holder connected to an XYZ motorized stage 318 (e.g., three L-509s, available from PI miCos). A UV laser 302 (e.g., WEDGE-HF 266nm, available from Bright Solution LLC) is collimated and projected onto a fused silica diffuser (e.g., DGUV10-600, available from Thorlabs) to produce a speckle pattern. The resulting wave is focused through an aspherical UV condenser lens 512 (e.g., #33-957, available from Edmund Optics) with a numerical aperture (NA) of 0.69, which is part of a focusing assembly 303. The sample 312 is obliquely illuminated through a UV transparency window 514 (e.g., with a transmittance greater than 90% from 200nm to 1500nm). The excited autofluorescence signal (primarily from NADH and FAD, with peak emission at 450 nm) is then collected by an inverted microscope 517 equipped with a 4X objective 518 (e.g., NA=0.1, a planar achromatic objective, available from Olympus NDT) and an infinity correction tube lens 520 (TTL180-A, available from Thorlabs), and finally imaged by a monochrome scientific complementary metal-oxide-semiconductor (sCMOS) camera 522 (e.g., PCOedge 4.2, 6.5 μm pixel pitch, available from PCO).

低放大倍率物镜在大FOV上受空间变化的像差影响较小,并且具有更大的DOF和更长的工作距离,这允许对载玻片放置误差的高容忍度并能够实现在样品台上的灵活操作。然而,其空间分辨率在很大程度上受到低NA值的限制,NA值是根据瑞利准则(即成像系统可以解析的最小距离为0.61λ/NA,其中,λ是荧光发射波长,且NA是物镜的数值孔径)对于成像系统的可实现分辨率的确定因素。为此,SI重构被用来绕过这种配置中由低NA物镜设置的这样的分辨率限制。Low-magnification objectives are less affected by spatially varying aberrations at large fields of view (FOV) and offer greater distances of focus (DOF) and working distances, allowing for high tolerance to slide placement errors and flexible stage handling. However, their spatial resolution is largely limited by their low numerical aperture (NA) value, which is a determinant of the achievable resolution of the imaging system according to the Rayleigh criterion (i.e., the minimum distance at which the imaging system can be resolved is 0.61λ/NA, where λ is the fluorescence emission wavelength and NA is the numerical aperture of the objective). Therefore, spatial resolution (SI) reconstruction is used to circumvent this resolution limitation imposed by low-NA objectives in this configuration.

公开了基于散斑照射实现自发荧光显微术的计算成像方法。在优选实施例中,该方法实现了高通量显微术。特别地,“高通量显微术”涉及使用自动化显微术和图像分析来在大尺度可视化和定量捕获细胞特征。更具体地说,由于散斑照射的应用,高通量输出的空间带宽积(即视场/分辨率2)约或等于常规荧光显微术的10倍,后者通常限于百万像素级别。低放大倍率物镜更有利于对大组织表面进行成像,因为它受空间变化的像差影响较小。此外,由于低放大倍率透镜具有大景深,因此可以通过实现低放大倍率透镜最大限度地减少由表面不规则、组织厚度或载玻片放置误差引起的离焦图像模糊。然而,这样的透镜的低数值孔径(NA)值在很大程度上限制了可实现的分辨率,从而阻碍了它们在亚细胞水平成像目标上的应用。所提出的方法通过散斑照射的低分辨率自发荧光图像的序列执行迭代重构,以绕过由NA物镜设置的分辨率限制,从而促进具有任意表面形态的大成像区域上的快速高分辨率成像。A computational imaging method for autofluorescence microscopy based on speckle illumination is disclosed. In a preferred embodiment, the method achieves high-throughput microscopy. Specifically, "high-throughput microscopy" involves using automated microscopy and image analysis to visualize and quantitatively capture cellular features at large scales. More specifically, due to the application of speckle illumination, the spatial bandwidth product (i.e., field of view/ resolution² ) of the high-throughput output is approximately or equal to 10 times that of conventional fluorescence microscopy, which is typically limited to the megapixel level. Low-magnification objectives are more advantageous for imaging large tissue surfaces because they are less affected by spatially varying aberrations. Furthermore, since low-magnification lenses have a large depth of field, defocused image blur caused by surface irregularities, tissue thickness, or slide placement errors can be minimized by implementing low-magnification lenses. However, the low numerical aperture (NA) value of such lenses significantly limits the achievable resolution, thus hindering their application to subcellular imaging targets. The proposed method performs iterative reconstruction from a sequence of low-resolution autofluorescence images illuminated by speckle illumination to bypass the resolution limitations set by the NA objective, thereby facilitating rapid high-resolution imaging over large imaging areas with arbitrary surface morphologies.

参考图5B和5C,示出了表示从散斑照射的图像的序列重构UV激发的自发荧光图像(UV-AutoM)的示例计算机实现的方法530的流程图。计算机实现的方法530可以由关于图1A和1B所描述的计算机系统100或由关于图2A和2B所描述的嵌入式设备201来执行。图5D提供了进一步表示从散斑照射的图像的序列重构高通量UV激发的自发荧光图像(UV-AutoM)的更具体的实施方式的伪代码。这里将参考图5D的伪代码来描述图5B和5C的流程图。Referring to Figures 5B and 5C, flowcharts are shown of an example computer-implemented method 530 representing the reconstruction of UV-excited autofluorescence images (UV-AutoM) from a sequence of speckle-illuminated images. The computer-implemented method 530 can be performed by the computer system 100 described with respect to Figures 1A and 1B or by the embedded device 201 described with respect to Figures 2A and 2B. Figure 5D provides pseudocode further illustrating a more specific implementation of the reconstruction of high-throughput UV-excited autofluorescence images (UV-AutoM) from a sequence of speckle-illuminated images. The flowcharts of Figures 5B and 5C will be described here with reference to the pseudocode of Figure 5D.

特别地,在步骤530-1,方法530包括记录被平移到平面中沿着扫描轨迹的相应位置序列的样本的散斑照射的图像的序列Ij(j=1,2,...,N)。在方法530的输出是高分辨率图像的意义上,散斑照射的图像的序列I是低分辨率图像,与低分辨率散斑照射的图像中的每一个Ij相比,具有更高的分辨率。在一个示例中,可以使用4X/0.1NA物镜捕获散斑照射的图像的序列。Specifically, in step 530-1, method 530 includes recording a sequence Ij (j = 1, 2, ..., N) of speckle-illuminated images of samples translated into a plane along a scanning trajectory at corresponding positions. In the sense that the output of method 530 is a high-resolution image, the sequence I of speckle-illuminated images is a low-resolution image with higher resolution compared to each Ij in the low-resolution speckle-illuminated image. In one example, the sequence of speckle-illuminated images can be captured using a 4X/0.1NA objective lens.

在步骤530-2,方法530包括初始化图像对象o(x,y)和散斑图案,图像对象o(x,y)在这里称为高分辨率图像对象。如伪代码第3行所示,对散斑照射的图像的序列进行平均并对平均的散斑照射的图像进行插值,其中,高分辨率图像对象o(x,y)被设置为平均的散斑照射的图像的插值结果。散斑图案被初始化为1的矩阵。In step 530-2, method 530 includes initializing an image object o(x, y) and a speckle pattern, where the image object o(x, y) is referred to herein as a high-resolution image object. As shown in line 3 of the pseudocode, the sequence of speckle-illuminated images is averaged and the averaged speckle-illuminated image is interpolated, wherein the high-resolution image object o(x, y) is set to the interpolated result of the averaged speckle-illuminated image. The speckle pattern is initialized to a matrix of 1s.

在步骤530-3,当前位置被设置为位置序列中的第一位置。图5D伪代码中的当前位置由(xj,yj)表示。In step 530-3, the current position is set as the first position in the position sequence. The current position in the pseudocode of Figure 5D is represented by ( xj , yj ).

以图5B和5C所示的流程图的内循环的形式,对捕获的序列中的每个散斑照射的图像执行步骤530-4到530-11。参考图5D的伪代码,内循环表示第6到14行,而外循环由第5到17行表示。对于内循环,有效地将当前位置变量递增到位置序列中的下一个位置并且在相应当前位置处的对应散斑照射的图像用于图像处理步骤以修改高分辨率图像对象和散斑图案。Steps 530-4 to 530-11 are performed on each speckle-illuminated image in the captured sequence, in the form of an inner loop of the flowcharts shown in Figures 5B and 5C. Referring to the pseudocode in Figure 5D, the inner loop is represented by lines 6 to 14, while the outer loop is represented by lines 5 to 17. For the inner loop, the current position variable is effectively incremented to the next position in the position sequence, and the corresponding speckle-illuminated image at the corresponding current position is used for the image processing steps to modify the high-resolution image object and the speckle pattern.

更具体地,在步骤530-4,方法530包括通过在计算上将高分辨率对象移位到当前位置o(x-xj,y-yj),然后乘以散斑图案p(x,y)来生成估计的散斑照射的图像这在图5D的伪代码的第7行中示出。More specifically, in steps 530-4, method 530 includes generating an estimated image of speckle illumination by computationally shifting the high-resolution object to the current position o(xx j , yy j ) and then multiplying it by the speckle pattern p(x, y), as shown in line 7 of the pseudocode in Figure 5D.

在步骤530-5,方法530包括基于频域中的估计的散斑照射的图像其乘以光学传递函数OTF(kx,ky),确定频域中的经滤波的对象-图案复合ψj(kx,ky),其中,kx和ky是频域中的空间坐标。光学传递函数是用于捕获样本的散斑照射的图像的序列的装置的已知光学传递函数。In steps 530-5, method 530 includes determining the filtered object-pattern composite ψj ( kx , ky ) in the frequency domain based on the estimated speckle-illuminated image multiplied by the optical transfer function OTF( kx , ky ), where kx and ky are spatial coordinates in the frequency domain. The optical transfer function is a known optical transfer function of the means for capturing a sequence of speckle-illuminated images of the sample.

需要说明的是,步骤530-4和530-5中的移位操作统称为角频谱的应用。It should be noted that the shift operations in steps 530-4 and 530-5 are collectively referred to as the application of the angular spectrum.

下面描述的步骤530-6到530-8是基于称为叠层迭代引擎(Ptychographiciterative engine,PIE)的相位检索算法的重构过程。Steps 530-6 to 530-8 described below are the reconstruction process based on a phase retrieval algorithm called the Ptychographiciterative engine (PIE).

在步骤530-6,方法530包括基于频域中的估计的散斑照射的图像、频域中在当前位置的捕获的散斑照射的图像、频域中的经滤波的对象-图案复合、光学传递函数和自适应学习率参数α,确定频域中的更新的估计的散斑照射的图像更具体地,图5D伪代码的第9行示出了在频域中的更新的估计的散斑照射的图像的具体计算,其如下面的等式1所示:In steps 530-6, method 530 includes determining an updated estimated speckle illumination image in the frequency domain based on the estimated speckle illumination image in the frequency domain, the captured speckle illumination image at the current location in the frequency domain, the filtered object-pattern composite in the frequency domain, the optical transfer function, and the adaptive learning rate parameter α. More specifically, line 9 of the pseudocode in Figure 5D illustrates the specific calculation of the updated estimated speckle illumination image in the frequency domain, as shown in Equation 1 below:

特别地,计算频域中的更新的估计的散斑照射的图像等于:频域中的估计的散斑照射的图像加上自适应学习率参数乘以光学传递函数的共轭乘以频域中在当前位置捕获的散斑照射的图像与频域中经滤波的对象-图案复合之间的差除以光学传递函数的绝对最大值的平方。Specifically, the updated estimated speckle illumination image in the frequency domain is calculated as: the estimated speckle illumination image in the frequency domain plus the adaptive learning rate parameter multiplied by the conjugate of the optical transfer function multiplied by the difference between the speckle illumination image captured at the current location in the frequency domain and the filtered object-pattern composite in the frequency domain divided by the square of the absolute maximum value of the optical transfer function.

在步骤530-7,方法530包括基于空间域中的更新的估计的散斑照射的图像和散斑图案来更新高分辨率对象。这显示在图5D伪代码的第10行中,并由下面的等式2表示:In steps 530-7, method 530 includes updating the high-resolution object based on the updated estimated speckle illumination image and speckle pattern in the spatial domain. This is shown in line 10 of the pseudocode in Figure 5D and is represented by Equation 2 below:

特别地,高分辨率对象被设置为等于:高分辨率对象加上散斑图案的共轭乘以空间域中的更新的估计的散斑照射的图像与空间域中的估计的散斑照射的图像之间的差除以散斑图案的最大值的绝对值的平方。Specifically, the high-resolution object is set to be equal to: the high-resolution object plus the conjugate multiplier of the speckle pattern, divided by the difference between the updated estimated speckle-illuminated image in the spatial domain and the estimated speckle-illuminated image in the spatial domain, and the square of the absolute value of the maximum value of the speckle pattern.

在步骤530-8,方法530包括基于更新的估计的散斑照射的图像、估计的散斑照射的图像和高分辨率对象更新散斑图案。这显示在图5D伪代码的第11行中,并由下面的等式3表示:In steps 530-8, method 530 includes updating the speckle pattern based on the updated estimated speckle illumination image, the estimated speckle illumination image, and the high-resolution object. This is shown in line 11 of the pseudocode in Figure 5D and is represented by Equation 3 below:

特别地,散斑图案被设置为等于:散斑图案加上高分辨率对象的共轭乘以空间域中的更新的估计的散斑照射的图像与空间域中的估计的散斑照射的图像之间的差除以高分辨率对象的最大值的绝对值的平方。Specifically, the speckle pattern is set to be equal to: the speckle pattern plus the conjugate of the high-resolution object multiplied by the difference between the updated estimated speckle-illuminated image in the spatial domain and the estimated speckle-illuminated image in the spatial domain divided by the square of the absolute value of the maximum value of the high-resolution object.

在步骤530-9,基于捕获的散斑照射的图像Ij与频域中的经滤波的对象-图案复合ψj的傅立叶逆变换之间的差的绝对值,计算当前循环的总损失参数lossj。这在图5D的伪代码的第12行中显示,并由下面的等式4表示:In steps 530-9, the total loss parameter lossj for the current loop is calculated based on the absolute value of the difference between the captured speckle-illuminated image Ij and the inverse Fourier transform of the filtered object-pattern composite ψj in the frequency domain. This is shown in line 12 of the pseudocode in Figure 5D and is represented by Equation 4 below:

lossj=∑j|Ij-F-1j)|   等式4loss j = ∑ j |I j -F -1j )| Equation 4

在步骤530-10,方法530包括将Nesterov动量加速度应用于高分辨率对象和散斑图案。执行此步骤是为了加速重构过程的梯度下降以加快收敛速度。In steps 530-10, method 530 includes applying Nesterov momentum acceleration to the high-resolution object and speckle pattern. This step is performed to accelerate the gradient descent of the reconstruction process to speed up convergence.

在步骤530-11,方法530包括确定当前位置是否是位置序列中的最后一个位置。响应肯定确定(即“是”),该方法进行到步骤530-13。响应否定确定(即“否”),该方法然后进行到步骤530-12。In steps 530-11, method 530 includes determining whether the current position is the last position in the position sequence. If the response is affirmative (i.e., "yes"), the method proceeds to step 530-13. If the response is negative (i.e., "no"), the method then proceeds to step 530-12.

在步骤530-12,方法530包括将当前位置设置为位置序列中的下一个位置。方法530然后进行回到步骤530-4以执行由步骤530-4到530-11表示的内循环的一个或多个另外的迭代,直到最后一个散斑照射的图像被处理。In steps 530-12, method 530 includes setting the current position as the next position in the position sequence. Method 530 then proceeds back to step 530-4 to perform one or more additional iterations of the inner loop represented by steps 530-4 to 530-11 until the last speckle-illuminated image is processed.

在步骤530-13,方法530包括基于总损失参数确定是否已经检测到收敛。这是通过确定损失比率来确定的,该损失比率基于对于内循环的先前和当前迭代(即步骤530-4到530-11)计算的总损失参数之间的差除以内循环的先前迭代的总损失参数来计算。然后将损失比率与损失阈值进行比较,在图5D的示例伪代码中,该损失阈值被设置为0.01。如果损失比率小于或等于损失阈值,则减小自适应学习率参数α,在本示例中自适应学习率参数α减半。调整自适应学习率参数α以抑制收敛点附近损失函数的振荡,以最大限度地减少重构图像中的伪影。一旦学习率α减小到零,重构过程就将结束,使得在步骤530-14确定并输出高分辨率对象。输出的高分辨率图像对象是具有在厘米尺度成像区域上增强的亚细胞分辨率的高分辨率UV-AutoM图像,与作为重构方法530的输入提供的每个散斑照射的低分辨率图像相比,该图像具有提高的分辨率。在方法530开始时最初未知的散斑图案也在步骤530-14确定。In steps 530-13, method 530 includes determining whether convergence has been detected based on the total loss parameter. This is determined by determining a loss ratio, which is calculated based on the difference between the total loss parameter calculated for the previous and current iterations of the inner loop (i.e., steps 530-4 to 530-11) divided by the total loss parameter of the previous iteration of the inner loop. The loss ratio is then compared to a loss threshold, which is set to 0.01 in the example pseudocode of Figure 5D. If the loss ratio is less than or equal to the loss threshold, the adaptive learning rate parameter α is reduced, which is halved in this example. The adaptive learning rate parameter α is adjusted to suppress oscillations in the loss function near the convergence point to minimize artifacts in the reconstructed image. Once the learning rate α is reduced to zero, the reconstruction process ends, such that a high-resolution object is determined and output in steps 530-14. The output high-resolution image object is a high-resolution UV-AutoM image with enhanced subcellular resolution over a centimeter-scale imaging region, which has improved resolution compared to the low-resolution image provided as input to reconstruction method 530 for each speckle illumination. The initially unknown speckle pattern at the beginning of method 530 is also determined in steps 530-14.

由方法530表示的这种计算成像方法合成散斑照射的低分辨率图像的序列以重构高分辨率自发荧光图像(UV-AutoM)。该方法是通过空间域和频域的一系列更新过程实现的。该方法从对高分辨率对象的初始猜测开始。对象首先与散斑图案相乘,进行傅里叶变换到频域并通过光学传递函数进行低通滤波。然后将经滤波的光谱逆变换到空间域,其强度由对应的散斑照射的低分辨率图像替换。最后,该更新的自发荧光图像被变换到频域并进一步更新。完成一次迭代,直到涉及所有捕获的低分辨率图像,并实施Nesterov动量加速以实现更快的梯度下降。在多次迭代之后输出高分辨率UV-AutoM图像,其在厘米尺度图像区域上具有增强的亚细胞分辨率。不需要散斑图案的先验知识,只需知道每个低分辨率图像之间的相对移位即可。This computational imaging method, represented by Method 530, synthesizes a sequence of speckle-illuminated low-resolution images to reconstruct a high-resolution autofluorescence image (UV-AutoM). This method is implemented through a series of update processes in the spatial and frequency domains. The method begins with an initial guess of the high-resolution object. The object is first multiplied by the speckle pattern, Fourier transformed to the frequency domain, and low-pass filtered using an optical transfer function. The filtered spectrum is then inversely transformed to the spatial domain, its intensity replaced by the corresponding speckle-illuminated low-resolution image. Finally, this updated autofluorescence image is transformed to the frequency domain and further updated. One iteration is completed until all captured low-resolution images are involved, and Nesterov momentum acceleration is implemented for faster gradient descent. After multiple iterations, a high-resolution UV-AutoM image with enhanced subcellular resolution over centimeter-scale image regions is output. No prior knowledge of the speckle pattern is required; only the relative shifts between each low-resolution image are known.

在数次迭代之后将输出高分辨率UV-AutoM图像,其在厘米尺度图像区域上具有增强的亚细胞分辨率。不需要散斑图案的先验知识,只需要知道每个捕获的图像之间的相对移位(xj,yj)。这表明足够的扫描范围(大于~2低NA衍射极限光斑尺寸)和更精细的扫描步骤(小于目标分辨率)可以减少重构中的失真,并且最终可实现的NA是物镜NA和散斑NA之和。After several iterations, a high-resolution UV-AutoM image is output, exhibiting enhanced subcellular resolution in the centimeter-scale image region. No prior knowledge of the speckle pattern is required; only the relative shifts (xj, yj) between each captured image are needed. This indicates that sufficient scanning range (greater than ~2 low NA diffraction-limited spot sizes) and finer scanning steps (less than the target resolution) can reduce distortion in reconstruction, and the ultimately achievable NA is the sum of the objective NA and the speckle NA.

图6示出了先前关于图5A到5C描述的SI重构方法和系统的示例的图形表示。图6在610示出了在傅立叶空间中由4X/0.1NA物镜设置的物理约束以及小鼠脑样品(100μm厚度)的对应低分辨率原始图像。SI数据集620是使用4X/0.1NA物镜采集的,如图6所示,在本示例中,该数据集包括49个散斑照射的低分辨率测量,通过以500nm的扫描步长将样品平移到X-Y平面中的49个不同位置来捕获。然后可以使用SI数据集重构高通量UV-AutoM图像630,其扩展通带高达NA=0.3,与使用4X/0.1NA物镜采集的图像相比,这对应于3倍的分辨率增强。Figure 6 illustrates a graphical representation of the SI reconstruction method and system previously described in Figures 5A to 5C. Figure 6 at 610 shows the physical constraints set in Fourier space by a 4X/0.1NA objective and the corresponding low-resolution raw image of a mouse brain sample (100 μm thick). The SI dataset 620 was acquired using a 4X/0.1NA objective, and as shown in Figure 6, in this example, the dataset includes low-resolution measurements of 49 speckle illuminations, captured by translating the sample to 49 different locations in the X-Y plane with a scan step size of 500 nm. The high-throughput UV-AutoM image 630 with an extended passband up to NA = 0.3 can then be reconstructed using the SI dataset, which corresponds to a 3x resolution enhancement compared to the image acquired using a 4X/0.1NA objective.

直径为500nm(激发/发射:365nm/445nm,B500,可从Thermo Fisher获得)的荧光纳米颗粒可用于量化上述SI重构方法和系统的分辨率性能。参考图7A,示出了在均匀照射下使用4X/0.1NA物镜捕获的低分辨率荧光图像的示例,而图7B是通过以500nm步长光栅扫描的49个散斑照射的低分辨率图像重构的高分辨率荧光图像。图7A和7B均使用266nm紫外激光捕获。图7C是沿着图7A和7B中指示的实线700、710的强度图,从中我们可以量化通过所公开的SI重构方法和系统的分辨率增强。Fluorescent nanoparticles with a diameter of 500 nm (excitation/emission: 365 nm/445 nm, B500, available from Thermo Fisher) can be used to quantify the resolution performance of the aforementioned SI reconstruction method and system. Referring to Figure 7A, an example of a low-resolution fluorescence image captured using a 4X/0.1 NA objective under uniform illumination is shown, while Figure 7B is a high-resolution fluorescence image reconstructed from a low-resolution image illuminated by 49 speckle patterns scanned with a 500 nm step grating. Both Figures 7A and 7B were captured using a 266 nm UV laser. Figure 7C is an intensity map along the solid lines 700 and 710 indicated in Figures 7A and 7B, from which we can quantify the resolution enhancement achieved through the disclosed SI reconstruction method and system.

有利地,SI重构方法和系统可以高度容忍粗糙表面。为了证明我们的系统对粗糙表面的高度容忍度,图8A-8C示出了两个未处理的叶子样品的UV-AutoM图像。图8A和8B示出了使用4X/0.1NA物镜捕获的低分辨率自发荧光图像,而图8C和8D示出了高分辨率SI重构的UV-AutoM图像,其通过以500nm的步长扫描的49个散斑照射的低分辨率图像进行重构。图8E和8F示出了使用10X/0.3NA物镜捕获的对应高分辨率参考图像,与图8C和8D相比,由于高NA物镜的浅DOF,呈现出明显的离焦区域,证明经由低NA物镜通过SI方法重构的高分辨率UV-AutoM图像可以远远优于高NA物镜,尤其是在应对粗糙表面时。Advantageously, the SI reconstruction method and system are highly tolerant of rough surfaces. To demonstrate the high tolerance of our system to rough surfaces, Figures 8A-8C show UV-AutoM images of two untreated leaf samples. Figures 8A and 8B show low-resolution autofluorescence images captured using a 4X/0.1NA objective, while Figures 8C and 8D show high-resolution SI-reconstructed UV-AutoM images, reconstructed from low-resolution images illuminated by 49 speckles scanned at 500 nm steps. Figures 8E and 8F show corresponding high-resolution reference images captured using a 10X/0.3NA objective, exhibiting significant defocus areas compared to Figures 8C and 8D due to the shallow DOF of the high-NA objective, demonstrating that high-resolution UV-AutoM images reconstructed via the SI method using a low-NA objective can be far superior to those using a high-NA objective, especially when dealing with rough surfaces.

参考图9A到9F,示出了UV-AutoM和明场H&E染色图像之间的结构匹配。图9A是整个小鼠脑切片(脱蜡之后的FFPE切片,厚度为4μm)的UV-AutoM图像,图9B和9C分别是图9A中的框910和920的放大图像,而图9D和9E分别是通过数字切片扫描仪(NanoZoomerS Q,Hamamatsu)捕获的对应明场H&E组织学图像。可以看出,集中在切缘(框910)和海马体(框920)区域的细胞在具有负对比度的UV-AutoM图像中被清晰解析,即在图像上显示为黑色,并表现出与H&E染色的图像的基本完美的结构匹配(细胞形态和分布)。Referring to Figures 9A to 9F, the structural matching between UV-AutoM and bright-field H&E stained images is shown. Figure 9A is a UV-AutoM image of a whole mouse brain section (dewaxed FFPE section, 4 μm thick), Figures 9B and 9C are magnified images of boxes 910 and 920 in Figure 9A, respectively, while Figures 9D and 9E are the corresponding bright-field H&E histological images captured by a digital slide scanner (NanoZoomer SQ, Hamamatsu). It can be seen that cells concentrated in the cut margin (box 910) and hippocampal (box 920) regions are clearly resolved in the negative-contrast UV-AutoM image, i.e., appear as black on the image, and exhibit a near-perfect structural match (cell morphology and distribution) with the H&E stained image.

参考图10A到10G,示出了厚小鼠脑(100μm厚,由Leica振动切片机切割)的高通量无标记可视化。由于UV光的穿透深度较浅,激发的自发荧光表面位于在表面以下几微米内,因此允许对厚样本进行无标记和无载玻片成像。此外,应用上述SI重构方法和系统通过4X物镜实现整个小鼠脑的快速高分辨率可视化,与10X物镜相比,成像像差更少,并允许对粗糙组织表面容忍度更高。图10A示出了小鼠脑顶视图的示例图像。图10B和10C是重构的UV-AutoM图像的示例,每个图像描绘了切过图10A的小鼠脑的相应位置(线AA和BB)的横截面,其中,每个重构的UV-AutoM图像是使用包括441个散斑照射的低分辨率图像的SI数据集生成的。每个低分辨率原始图像的曝光时间为200ms,可实现快速成像,总采集时间在3分钟内。图10D到10H示出了图10C中五个功能区域的高通量子视图,包括(a)胼胝体1010、(b)海马体1020、(c)苍白球1030、(d)尾壳核1040和(e)顶叶皮层1050。Referring to Figures 10A to 10G, high-throughput label-free visualization of a thick mouse brain (100 μm thick, cut by a Leica vibratory slicer) is shown. Due to the shallow penetration depth of UV light, the excited autofluorescent surface lies within a few micrometers below the surface, allowing label-free and slide-free imaging of thick samples. Furthermore, the aforementioned SI reconstruction method and system enable rapid, high-resolution visualization of the entire mouse brain using a 4X objective, resulting in fewer imaging aberrations compared to a 10X objective and allowing for greater tolerance to rough tissue surfaces. Figure 10A shows an example image of a top view of the mouse brain. Figures 10B and 10C are examples of reconstructed UV-AutoM images, each depicting a cross-section (lines AA and BB) cut through the corresponding location of the mouse brain in Figure 10A. Each reconstructed UV-AutoM image was generated using an SI dataset comprising 441 low-resolution images with speckle illumination. The exposure time for each low-resolution raw image was 200 ms, enabling rapid imaging, with a total acquisition time within 3 minutes. Figures 10D to 10H show high-pass quantum views of five functional regions in Figure 10C, including (a) corpus callosum 1010, (b) hippocampus 1020, (c) globus pallidus 1030, (d) caudate putamen 1040 and (e) parietal cortex 1050.

伪染色组织学图像的生成Generation of pseudo-stained histological images

病理学家通常接受过检查组织学染色的组织样本以做出诊断决定的训练。但是,UV-PAM和UV-AutoM图像都是灰度图像。为了解决或缓解这个问题,公开了一种利用生成式对抗网络(GAN)的基于深度学习的虚拟染色方法,用于将未标记组织的UV-PAM或UV-AutoM图像变换为伪苏木精和伊红(H&E)染色图像。Pathologists are typically trained to examine histologically stained tissue samples to make diagnostic decisions. However, both UV-PAM and UV-AutoM images are grayscale images. To address or mitigate this issue, a deep learning-based virtual staining method utilizing generative adversarial networks (GANs) is disclosed to transform UV-PAM or UV-AutoM images of unlabeled tissue into pseudohematoxylin and eosin (H&E) stained images.

GAN允许对未配对的UV-PAM/UV-AutoM和H&E图像进行虚拟染色,从而大大简化了图像预处理过程,图像预处理过程是困难的,因为在染色过程中可能要使组织旋转或变形。配对训练方法也可以用于UV-PAM/UV-AutoM图像及对应的H&E染色图像,以执行伪着色。GANs allow for virtual staining of unpaired UV-PAM/UV-AutoM and H&E images, greatly simplifying the image preprocessing process, which is challenging because tissue rotation or deformation may be necessary during staining. Paired training methods can also be used for UV-PAM/UV-AutoM images and their corresponding H&E stained images to perform pseudo-staining.

在某些实施例中,可以提供使用关于图3描述的方法和系统生成的UV-PAM图像和使用图5A、5B和5C的系统和方法生成的SI重构UV-AutoM图像作为经训练的cycle-GAN的输入,以生成伪染色的组织学图像。附加地或替代地,使用美国专利申请No.2014/0356897(通过引用将该专利申请的内容整体并入本文)中公开的系统和方法生成的UV-PAM图像可以用作GAN的输入以生成伪染色的组织学图像。In some embodiments, UV-PAM images generated using the methods and systems described with respect to FIG3 and SI-reconstructed UV-AutoM images generated using the systems and methods of FIG5A, 5B, and 5C can be provided as input to a trained cycle-GAN to generate pseudo-stained histological images. Additionally or alternatively, UV-PAM images generated using the systems and methods disclosed in U.S. Patent Application No. 2014/0356897 (the contents of which are incorporated herein by reference in their entirety) can be used as input to a GAN to generate pseudo-stained histological images.

参考图11A,示出了表示用于生成伪染色组织学图像(即,虚拟染色组织学图像)的示例计算机实现的系统的框图。该计算机实现的系统可以使用计算机系统100或嵌入式系统201来实现。Referring to Figure 11A, a block diagram is shown illustrating an example computer-implemented system for generating pseudo-stained histological images (i.e., virtual stained histological images). This computer-implemented system can be implemented using computer system 100 or embedded system 201.

计算机实现的系统利用生成式对抗网络1100(GAN),其可以以循环一致的生成式对抗网络(Cycle-GAN)的形式提供。Cycle-GAN 1100包括四个深度卷积神经网络,即第一生成器模块G、第二生成器模块F、第一鉴别器模块X和第二鉴别器模块Y。The computer-implemented system utilizes a generative adversarial network 1100 (GAN), which can be provided in the form of a cycle-consistent generative adversarial network (Cycle-GAN). Cycle-GAN 1100 comprises four deep convolutional neural networks: a first generator module G, a second generator module F, a first discriminator module X, and a second discriminator module Y.

如图11A所示,生成器G被配置为学习将UV-AutoM/UV-PAM输入图像1110(例示为UV-PAM图像)变换为明场H&E图像1120(例示为BR-HE图像),而生成器F被配置为学习将明场H&E图像1120变换为UV-AutoM/UV-PAM图像1110。鉴别器X被配置为区分真的UV-PAM图像和生成器F生成的假UV-PAM图像,如输出1130所示,同时,鉴别器Y被配置为区分真的明场H&E图像和由生成器G产生的假明场H&E图像,如输出1140所示。一旦生成器G可以产生鉴别器Y无法与输入的真H&E图像区分的H&E图像,生成器G就已经学会这种从UV-AutoM/UV-PAM图像到H&E图像的变换。类似地,一旦生成器F可以产生鉴别器X无法与真实H&E图像区分的UV-AutoM/UV-PAM图像,生成器F就已经学会从H&E图像到UV-AutoM/UV-PAM图像的这种变换。As shown in Figure 11A, generator G is configured to learn to transform a UV-AutoM/UV-PAM input image 1110 (exemplified as a UV-PAM image) into a bright-field H&E image 1120 (exemplified as a BR-HE image), while generator F is configured to learn to transform the bright-field H&E image 1120 into a UV-AutoM/UV-PAM image 1110. Discriminator X is configured to distinguish between genuine UV-PAM images and fake UV-PAM images generated by generator F, as shown in output 1130. Simultaneously, discriminator Y is configured to distinguish between genuine bright-field H&E images and fake bright-field H&E images generated by generator G, as shown in output 1140. Once generator G can generate H&E images that discriminator Y cannot distinguish from the input genuine H&E image, generator G has learned this transformation from UV-AutoM/UV-PAM images to H&E images. Similarly, once generator F can generate UV-AutoM/UV-PAM images that discriminator X cannot distinguish from real H&E images, generator F has learned this transformation from H&E images to UV-AutoM/UV-PAM images.

参考图11B,示出了表示用于生成伪苏木精和伊红(H&E)染色图像的示例计算机实现方法1150的流程图。计算机实现的方法可以由计算机系统100或嵌入式系统201执行。Referring to Figure 11B, a flowchart illustrating an example computer implementation method 1150 for generating pseudohematoxylin and eosin (H&E) stained images is shown. The computer implementation method can be executed by computer system 100 or embedded system 201.

在步骤1160,方法1150包括接收输入图像。该输入图像是未标记样本的基于紫外的自发荧光显微术(UV-AutoM)图像或基于紫外的光声显微术(UV-PAM)图像。该输入图像是灰度图像。In step 1160, method 1150 includes receiving an input image. The input image is either a UV-based autofluorescence microscopy (UV-AutoM) image of an unlabeled sample or a UV-based photoacoustic microscopy (UV-PAM) image. The input image is a grayscale image.

在步骤1170,方法1150包括使用生成式对抗网络将输入图像变换为输入图像的伪H&E染色图像。In step 1170, method 1150 includes using a generative adversarial network to transform the input image into a pseudo-H&E staining image of the input image.

在步骤1180,方法1150包括输出伪H&E染色图像。In step 1180, method 1150 includes outputting a pseudo-H&E staining image.

优选地,该生成式对抗网络是具有循环一致性的生成式对抗网络。Preferably, the generative adversarial network is a generative adversarial network with cycle consistency.

在某些实施方式中,方法1150包括使用未配对的输入和H&E染色图像来训练生成式对抗网络。In some implementations, method 1150 includes training a generative adversarial network using unpaired input and H&E-stained images.

参考图12,示出了表示图11的Cycle-GAN 1100的前向循环1202和后向循环1204的详细工作流程1200的功能框图。该循环生成式对抗网络包括四个深度卷积神经网络,包括:第一生成器G,其被配置为将输入图像变换为生成的H&E图像;第二生成器F,其被配置为将H&E图像变换为生成的UV-AutoM或UV-PAM图像;第一鉴别器Y,其被配置为区分训练集的H&E图像和由第一生成器深度卷积神经网络生成的生成的H&E图像;第二鉴别器X,其被配置为区分训练集的UV-AutoM或UV-PAM图像和由第二生成器深度卷积神经网络生成的生成的UV-AutoM或UV-PAM图像。Referring to Figure 12, a functional block diagram of the detailed workflow 1200 of the Cycle-GAN 1100 of Figure 11, representing the forward loop 1202 and backward loop 1204, is shown. This recurrent generative adversarial network comprises four deep convolutional neural networks: a first generator G configured to transform an input image into a generated H&E image; a second generator F configured to transform the H&E image into a generated UV-AutoM or UV-PAM image; a first discriminator Y configured to distinguish between H&E images in the training set and generated H&E images generated by the first generator's deep convolutional neural network; and a second discriminator X configured to distinguish between UV-AutoM or UV-PAM images in the training set and generated UV-AutoM or UV-PAM images generated by the second generator's deep convolutional neural network.

更具体地,在将一个UV-AutoM/UV-PAM图像1210(这里称为输入图像)输入到生成器G之后,如图12所示示意图的顶行所示的前向循环1202,其中,生成器G输出生成的H&E图像1220。鉴别器Y被配置为确定生成的H&E图像1220是真的还是假的(即鉴别器Y被配置为识别从生成器G接收的H&E图像是否源自输入的真H&E图像还是来自生成器G)。反过来,生成器G的生成的H&E图像1220作为输入提供给生成器F,以将其变换回UV-AutoM/UV-PAM图像1230,其被称为循环图像1230。输入图像1210和循环图像1230之间的损失被称为Cycle-GAN中的循环一致性损失。如图12的示意图的底行1204所示,后向循环与前向循环对称。后向循环从输入H&E图像1240开始,其中,后向循环学习将BR-H&E图像1240变换为UV-AutoM/UV-PAM图像1250。类似地,鉴别器X被配置为通过将生成的UV-AutoM/UV-PAM图像与输入图像进行比较来确定生成的UV-AutoM/UV-PAM图像是真还是假。More specifically, after a UV-AutoM/UV-PAM image 1210 (here referred to as the input image) is input to the generator G, a forward loop 1202 is shown in the top row of the schematic diagram in Figure 12, where the generator G outputs a generated H&E image 1220. A discriminator Y is configured to determine whether the generated H&E image 1220 is real or fake (i.e., the discriminator Y is configured to identify whether the H&E image received from the generator G originates from the input real H&E image or from the generator G). Conversely, the generated H&E image 1220 from the generator G is provided as input to the generator F to transform it back into a UV-AutoM/UV-PAM image 1230, which is referred to as the recurrent image 1230. The loss between the input image 1210 and the recurrent image 1230 is called the cycle consistency loss in Cycle-GAN. As shown in the bottom row 1204 of the schematic diagram in Figure 12, the backward loop is symmetrical to the forward loop. The backward loop begins with the input H&E image 1240, where the backward loop learns to transform the BR-H&E image 1240 into a UV-AutoM/UV-PAM image 1250. Similarly, the discriminator X is configured to determine whether the generated UV-AutoM/UV-PAM image is real or fake by comparing the generated UV-AutoM/UV-PAM image with the input image.

参考图13,其示出了表示图11A的Cycle-GAN的示例生成器1300的功能框图。在一种形式中,第一和第二生成器、生成器G和F,可以配置为基于Resnet的生成器网络。在替代实施例中,生成器G和F可以被配置为基于U-Net的生成器网络。每个基于Resnet的生成器可以由以下组成:几个下采样层1320A、1330A、1330B、13330C、残差块1310A-1310I和上采样层1330D、1330E和1320B。在图13所示的示例中,9个残差块1310A-1310I用于训练UV-PAM和HE图像,每个图像的像素数为256x256。在神经网络的开头添加空间反射填充(3x3),以确保相应生成器神经网络的输入和输出具有相同的大小。填充层1320A之后,每个基于Resnet的生成器1300包括下采样路径,该下采样路径包括三个Convolution-InstanceNorm-ReLU层1330A、1330B和1330C。特别地,第一Convolution-InstanceNorm-ReLU下采样层1330A具有较大的感受野,内核大小为7x7,而其他两个层1330B、1330C具有较小的感受野,内核大小为3x3。图像大小恢复到原始图像大小,并且通道在第一层1330A之后增加到64。当图像通过另外两个层1330B、1330C时,图像大小降低2倍而通道数增加2倍。接着是下采样层1320A、1330A、1330B、1330C,它是长残差神经网络,包括9个残差块1310A-1310I。当图像通过每个残差块时,图像大小和通道数保持不变(256x64x64)。在9个残差块1310A-1310I之后,生成器1300包括上采样路径,该上采样路径包括两个Convolution-InstanceNorm-ReLU层1330D、1330E,内核大小为3x3,以及与Convolution-InstanceNorm-ReLU层1340联接的反射填充层1320B(3x3),内核大小为7x7。在每个上采样层之后,图像大小增加2倍,而通道数减少一半。在两个上采样层之后,图像大小恢复到原始图像大小,且通道数减少到64。最后联接的层1340被配置为保持图像大小不变,同时将通道数减少到3。Referring to Figure 13, a functional block diagram of an example generator 1300 representing the Cycle-GAN of Figure 11A is shown. In one form, the first and second generators, generators G and F, can be configured as ResNet-based generator networks. In an alternative embodiment, generators G and F can be configured as U-Net-based generator networks. Each ResNet-based generator can consist of several downsampling layers 1320A, 1330A, 1330B, 13330C, residual blocks 1310A-1310I, and upsampling layers 1330D, 1330E, and 1320B. In the example shown in Figure 13, nine residual blocks 1310A-1310I are used to train UV-PAM and HE images, each with 256x256 pixels. Spatial reflection padding (3x3) is added at the beginning of the neural network to ensure that the input and output of the corresponding generator neural network have the same size. Following the padding layer 1320A, each ResNet-based generator 1300 includes a downsampling path comprising three Convolution-InstanceNorm-ReLU layers 1330A, 1330B, and 1330C. Specifically, the first Convolution-InstanceNorm-ReLU downsampling layer 1330A has a larger receptive field with a kernel size of 7x7, while the other two layers 1330B and 1330C have smaller receptive fields with a kernel size of 3x3. The image size is restored to the original image size, and the number of channels increases to 64 after the first layer 1330A. As the image passes through the other two layers 1330B and 1330C, the image size is reduced by a factor of 2, while the number of channels increases by a factor of 2. Next are the downsampling layers 1320A, 1330A, 1330B, and 1330C, which is a long residual neural network comprising nine residual blocks 1310A-1310I. As the image passes through each residual block, the image size and number of channels remain unchanged (256x64x64). After nine residual blocks 1310A-1310I, generator 1300 includes an upsampling path comprising two Convolution-InstanceNorm-ReLU layers 1330D and 1330E with a kernel size of 3x3, and a reflection fill layer 1320B (3x3) with a kernel size of 7x7, connected to Convolution-InstanceNorm-ReLU layer 1340. After each upsampling layer, the image size is doubled, while the number of channels is halved. After two upsampling layers, the image size is restored to the original image size, and the number of channels is reduced to 64. The final connected layer 1340 is configured to maintain the same image size while reducing the number of channels to 3.

在特定配置中,鉴别器网络Dx和Dy可以由70x70 PatchGAN鉴别器提供,其包括四个4x4 Convolution-InstanceNorm-LeakyReLU层。PatchGAN将在最后一层之后产生一维输出(真或假)。In a specific configuration, the discriminator networks Dx and Dy can be provided by a 70x70 PatchGAN discriminator, which consists of four 4x4 Convolution-InstanceNorm-LeakyReLU layers. PatchGAN will produce a one-dimensional output (true or false) after the last layer.

所描述的GAN是使用Python版本3.7.3版,借助Pytorch版本1.0.1实现的。软件是在具有3.7GHz的Core i7-8700K CPU和32GB RAM、运行Ubuntu 18.04.2LTS操作系统的台式计算机上实现的。Cycle-GAN神经网络的训练和测试是使用具有11GB RAM的GeForce GTX1080Ti GPU执行的。然而,应当理解,可以利用其他计算机系统或嵌入式系统201。The described GAN was implemented using Python version 3.7.3 with PyTorch version 1.0.1. The software was implemented on a desktop computer with a 3.7GHz Core i7-8700K CPU and 32GB of RAM, running Ubuntu 18.04.2LTS. Training and testing of the Cycle-GAN neural network were performed using a GeForce GTX1080Ti GPU with 11GB of RAM. However, it should be understood that other computer systems or embedded systems can be utilized.

本文将讨论使用上述Cycle-GAN生成的虚拟染色组织学图像的示例。This article will discuss examples of virtual stained histological images generated using the Cycle-GAN described above.

参考图14A到14C,使用上述UV-PAM方法和系统生成小鼠脑切片的UV-PAM图像的虚拟染色图像,并使用上述Cycle-GAN 1100进行变换。将UV-PAM图像和UV-PAM图像的虚拟染色图像与H&E染色之后的相同样品的组织学图像进行比较。特别地,对从FFPE小鼠脑切下的7μm厚的样本切片进行成像,其中,所公开的UV-PAM方法和系统使用步长为0.63μm的光栅扫描进行操作。由于UV-PAM方法和系统被配置为生成灰度图像,然后使用关于图11到13描述的Cycle-GAN 1100将灰度UV-PAM图像(如图14A所示)变换为虚拟染色图像,如图14B所示。为了评估生成的虚拟染色图像是否可以提供与常规组织学图像类似的信息,在H&E染色之后使用明场显微术获得相同样本的组织学图像,如图14C所示。在检查UV-PAM系统生成的虚拟染色图像上的细胞核和其他结缔组织的颜色时,确定UV-PAM系统生成的虚拟染色图像与常规组织学图像基本相似。总体而言,UV-PAM系统与以公开的Cycle-GAN 1100形式提供的深度学习系统相结合,可生成基本准确的虚拟染色组织学图像,而无需常规染色技术。Referring to Figures 14A to 14C, virtual stained images of UV-PAM images of mouse brain slices were generated using the UV-PAM method and system described above, and transformed using the Cycle-GAN 1100 described above. The UV-PAM images and the virtual stained images of the UV-PAM images were compared with histological images of the same samples after H&E staining. Specifically, 7 μm thick sample slices excised from FFPE mouse brains were imaged, wherein the disclosed UV-PAM method and system were operated using raster scanning with a step size of 0.63 μm. Since the UV-PAM method and system were configured to generate grayscale images, the grayscale UV-PAM images (as shown in Figure 14A) were then transformed into virtual stained images using the Cycle-GAN 1100 described with respect to Figures 11 to 13, as shown in Figure 14B. To evaluate whether the generated virtual stained images could provide information similar to conventional histological images, histological images of the same samples were obtained using bright-field microscopy after H&E staining, as shown in Figure 14C. When examining the color of cell nuclei and other connective tissues in virtual stained images generated by the UV-PAM system, it was determined that the virtual stained images generated by the UV-PAM system were substantially similar to conventional histological images. Overall, the UV-PAM system, combined with the deep learning system provided in the publicly available form of Cycle-GAN 1100, can generate substantially accurate virtual stained histological images without the need for conventional staining techniques.

图15A到15C示出了利用配对训练方法对UV-AutoM图像进行虚拟染色的示例。图15A是厚度为7μm的脱蜡FFPE小鼠脑切片的UV-AutoM图像,并且图15B是UV-AutoM图像的虚拟染色版本,该图像使用基于配对pix2pix的网络形式的GAN模型,而图15C是用于比较目的的对应明场H&E图像。通过配对数据集进行颜色变换能够准确可靠地生成组织学样图像。然而,任何配对训练方法都需要对图像对齐和配准进行严格的数据预处理程序,并且难以应用于厚样品的虚拟染色。发现基于Cycle-GAN的网络允许无需配对训练示例即可进行颜色映射,并在任何厚度的生物组织上展示了巨大的潜力。可以向Cycle-GAN网络1100供给来自脱蜡FFPE小鼠脑切片的未配对UV-AutoM和H&E图像。经良好训练的Cycle-GAN1100网络能够将未标记组织的UV-AutoM图像变换为未标记组织的虚拟H&E染色版本,从而允许病理学家轻松解释UV-AutoM图像。Figures 15A to 15C illustrate examples of virtual staining of UV-AutoM images using a paired training method. Figure 15A is a UV-AutoM image of a 7 μm thick dewaxed FFPE mouse brain slice, and Figure 15B is a virtual staining version of the UV-AutoM image using a GAN model based on a paired pix2pix network. Figure 15C is the corresponding bright-field H&E image used for comparison purposes. Color transformation using paired datasets can accurately and reliably generate histological sample images. However, any paired training method requires rigorous data preprocessing procedures for image alignment and registration and is difficult to apply to virtual staining of thick samples. It was found that a Cycle-GAN-based network allows for color mapping without paired training examples and shows great potential on biological tissues of any thickness. Unpaired UV-AutoM and H&E images from dewaxed FFPE mouse brain slices can be fed into the Cycle-GAN network 1100. A well-trained Cycle-GAN1100 network can transform UV-AutoM images of unlabeled tissue into virtual H&E stained versions of unlabeled tissue, thus allowing pathologists to easily interpret UV-AutoM images.

图16A和16B涉及经训练的Cycle-GAN网络1100对具有不同厚度的小鼠脑样品的测试结果。图16A和16B分别是厚度为100μm和200μm的小鼠脑样品的SI重构高分辨率UV-AutoM图像,而图16C和16D是对应的虚拟染色H&E图像。从UV-AutoM对比到H&E染色版本的成功颜色映射极大地促进了UV-AutoM成像模态被开发为可供手术室的医生和病理学家使用的实用的术中诊断工具。Figures 16A and 16B illustrate the test results of the trained Cycle-GAN network 1100 on mouse brain samples of varying thicknesses. Figures 16A and 16B are SI-reconstructed high-resolution UV-AutoM images of mouse brain samples with thicknesses of 100 μm and 200 μm, respectively, while Figures 16C and 16D are the corresponding virtual H&E staining images. The successful color mapping from UV-AutoM contrast to the H&E staining version has greatly facilitated the development of the UV-AutoM imaging modality into a practical intraoperative diagnostic tool for use by surgeons and pathologists in the operating room.

应当理解,在UV-PAM和UV-AutoM图像之间存在互补对比度,从而实现生成UV-PAM和UV-AutoM图像的方法和系统。光子(或荧光)通过辐射弛豫生成,而热量通过非辐射弛豫生成,其中,PA波通过样品的热致压力/温度升高而被释放。因此,PA和自发荧光图像预期根据能量守恒表现出互补的对比度。这种对比度在图17A和17B中得到了实验展示。使用UV激光(266nm)激发,图17A示出了无标记PA对比度(UV-PAM),而图17B示出了来自7μm厚的脱蜡FFPE小鼠脑样品的海马区的无标记自发荧光对比度(UV-AutoM)。图17C是对应的明场H&E染色图像,其示出了与UV-PAM和UV-AutoM图像的结构相似性。由于细胞核在紫外范围内的强吸收,集中在海马体的细胞核在UV-PAM图像中显得明亮,而在UV-AutoM图像中则显得暗黑。这样的互补成像对比机制使双模态无标记成像设施能够提供未加工新鲜组织的更多结构和功能信息。It should be understood that complementary contrast exists between UV-PAM and UV-AutoM images, thus enabling methods and systems for generating UV-PAM and UV-AutoM images. Photons (or fluorescence) are generated through radiative relaxation, while heat is generated through non-radiative relaxation, where PA waves are released through thermally induced pressure/temperature increases in the sample. Therefore, PA and autofluorescence images are expected to exhibit complementary contrast according to energy conservation. This contrast is experimentally demonstrated in Figures 17A and 17B. Using UV laser excitation (266 nm), Figure 17A shows the label-free PA contrast (UV-PAM), while Figure 17B shows the label-free autofluorescence contrast (UV-AutoM) of the hippocampus from a 7 μm thick dewaxed FFPE mouse brain sample. Figure 17C is the corresponding bright-field H&E staining image, showing structural similarity to the UV-PAM and UV-AutoM images. Due to the strong absorption of cell nuclei in the ultraviolet range, cell nuclei concentrated in the hippocampus appear bright in the UV-PAM image and dark in the UV-AutoM image. This complementary imaging contrast mechanism enables dual-modal label-free imaging facilities to provide more structural and functional information about unprocessed fresh tissue.

在整个描述中,从瑞士韦伯斯特小鼠中提取脑样品,随后在室温下在10%中性缓冲福尔马林中固定24小时。对于薄切片(2-8μm),样品通过FFPE工作流程处理并通过切片机切片。FFPE组织切片使用二甲苯脱蜡,并安装在石英载玻片上,以通过所描述的UV-PAM和UV-AutoM系统成像,然后进行H&E染色过程。对于厚切片(20-200μm),样品以不同目标厚度由振动切片机直接切割。Throughout this description, brain samples were extracted from Swiss Webster mice and subsequently fixed in 10% neutral buffered formalin for 24 hours at room temperature. For thin sections (2–8 μm), samples were processed using an FFPE workflow and sectioned using a microtome. FFPE tissue sections were dewaxed using xylene and mounted on quartz slides for imaging using the described UV-PAM and UV-AutoM systems, followed by H&E staining. For thick sections (20–200 μm), samples were directly cut using a vibratory microtome at different target thicknesses.

虽然已经参考优选实施例描述了本发明,但是本领域技术人员将理解,本发明可以以其他形式实施。Although the invention has been described with reference to preferred embodiments, those skilled in the art will understand that the invention may be practiced in other forms.

上述公开的有利实施例和/或进一步的发展——除了例如在明确的相关性或不一致的替代方案的情况下——可以单独地或也以彼此的任意组合应用。The advantageous embodiments and/or further developments disclosed above—except in cases of clearly relevant or inconsistent alternatives—can be applied individually or in any combination of each other.

Claims (21)

1.一种生成伪苏木精和伊红H&E染色图像的计算机实现的方法,其中,所述方法包括:1. A computer-implemented method for generating pseudohematoxylin and eosin H&E staining images, wherein the method comprises: 接收输入图像,所述输入图像是未标记样本的基于紫外的自发荧光显微术UV-AutoM图像或基于紫外的光声显微术UV-PAM图像,其中,所述输入图像是灰度图像;Receive an input image, wherein the input image is an unlabeled sample image obtained by UV-autofluorescence microscopy (UV-AutoM) or UV-photoacoustic microscopy (UV-PAM), and the input image is a grayscale image. 使用生成式对抗网络将所述输入图像变换为所述输入图像的伪H&E染色图像;和The input image is transformed into a pseudo-H&E-stained image using a generative adversarial network; and 输出所述伪H&E染色图像,Output the pseudo-H&E staining image. 其中,以UV-AutoM图像的形式接收的所述输入图像是从根据扫描轨迹捕获的散斑照射的图像的序列生成的估计的UV-AutoM图像,其中,与所述序列中的每个散斑照射的图像相比,所述估计的UV-AutoM图像具有更高的分辨率,The input image received in the form of a UV-AutoM image is an estimated UV-AutoM image generated from a sequence of speckle-lit images captured according to a scan trajectory, wherein the estimated UV-AutoM image has a higher resolution compared to each speckle-lit image in the sequence. 其中,所述估计的UV-AutoM图像通过以下方式生成:The estimated UV-AutoM image is generated in the following manner: a)基于对所述散斑照射的图像的序列的平均值进行插值来初始化高分辨率图像对象;a) Initialize a high-resolution image object by interpolating the average value of the sequence of images illuminated by the speckle illumination; b)对于所述序列中的每个散斑照射的图像:b) For each speckle-illuminated image in the sequence: i)通过在计算上将所述高分辨率图像对象移位到所述扫描轨迹中的特定位置来生成所述估计的散斑照射的图像;i) The estimated speckle illumination image is generated by computationally shifting the high-resolution image object to a specific position in the scan trajectory; ii)基于频域中的所述估计的散斑照射的图像和光学传递函数,确定频域中的经滤波的对象-图案复合;ii) Based on the estimated speckle illumination image and optical transfer function in the frequency domain, determine the filtered object-pattern composite in the frequency domain; iii)基于频域中的所述估计的散斑照射的图像、频域中的相应的捕获的散斑照射的图像、频域中的所述经滤波的对象-图案复合和所述光学传递函数,确定频域中的更新的估计的散斑照射的图像;iii) Based on the estimated speckle illumination image in the frequency domain, the corresponding captured speckle illumination image in the frequency domain, the filtered object-pattern composite in the frequency domain, and the optical transfer function, determine the updated estimated speckle illumination image in the frequency domain; iv)基于所述更新的估计的散斑照射的图像、空间域中的所述估计的散斑照射的图像和散斑图案更新所述高分辨率图像对象;iv) Update the high-resolution image object based on the updated estimated speckle illumination image, the estimated speckle illumination image in the spatial domain, and the speckle pattern; v)基于更新的估计的散斑照射的图像、所述估计的散斑照射的图像和所述高分辨率图像对象更新散斑图案;和v) Update the speckle pattern based on the updated estimated speckle illumination image, the estimated speckle illumination image, and the high-resolution image object; and vi)将Nesterov动量加速度应用于所述高分辨率图像对象和所述散斑图案;以及vi) Apply Nesterov momentum acceleration to the high-resolution image object and the speckle pattern; and c)迭代地执行步骤b)直到检测到重构所述高分辨率图像对象的收敛,所述高分辨率图像对象是估计的UV-AutoM图像,在厘米尺度成像区域上具有增强的亚细胞分辨率。c) Iteratively execute step b) until convergence of the reconstructed high-resolution image object is detected, the high-resolution image object being an estimated UV-AutoM image with enhanced subcellular resolution in a centimeter-scale imaging region. 2.根据权利要求1所述的计算机实现的方法,其中,所述生成式对抗网络是具有循环一致性的生成式对抗网络。2. The computer-implemented method according to claim 1, wherein the generative adversarial network is a generative adversarial network with cycle consistency. 3.根据权利要求1或2所述的计算机实现的方法,其中,所述方法包括使用未配对的输入和H&E染色图像来训练所述生成式对抗网络。3. The computer-implemented method of claim 1 or 2, wherein the method includes training the generative adversarial network using unpaired inputs and H&E-stained images. 4.根据权利要求1或2所述的计算机实现的方法,其中,所述生成式对抗网络包括四个深度卷积神经网络,包括:4. The computer-implemented method according to claim 1 or 2, wherein the generative adversarial network comprises four deep convolutional neural networks, including: 第一生成器深度卷积神经网络,其被配置为将所述输入图像变换为生成的H&E图像;A first generator deep convolutional neural network is configured to transform the input image into a generated H&E image; 第二生成器深度卷积神经网络,其被配置为将H&E图像变换为生成的UV-AutoM或UV-PAM图像;The second generator is a deep convolutional neural network, which is configured to transform H&E images into generated UV-AutoM or UV-PAM images. 第一鉴别器深度卷积神经网络,其被配置为区分训练集的H&E图像和由所述第一生成器深度卷积神经网络生成的生成的H&E图像;和A first discriminator deep convolutional neural network is configured to distinguish between H&E images in the training set and generated H&E images generated by the first generator deep convolutional neural network; and 第二鉴别器深度卷积神经网络,其被配置为区分所述训练集的UV-AutoM或UV-PAM图像和由所述第二生成器深度卷积神经网络生成的生成的UV-AutoM或UV-PAM图像。The second discriminator deep convolutional neural network is configured to distinguish between UV-AutoM or UV-PAM images in the training set and generated UV-AutoM or UV-PAM images generated by the second generator deep convolutional neural network. 5.根据权利要求4所述的计算机实现的方法,其中,所述第一生成器深度卷积神经网络和第二生成器深度卷积神经网络是基于ResNet或基于U-Net的生成器网络。5. The computer-implemented method according to claim 4, wherein the first generator deep convolutional neural network and the second generator deep convolutional neural network are generator networks based on ResNet or U-Net. 6.根据权利要求4所述的计算机实现的方法,其中,所述第一鉴别器深度卷积神经网络和第二鉴别器深度卷积神经网络是PatchGAN鉴别器网络。6. The computer-implemented method according to claim 4, wherein the first discriminator deep convolutional neural network and the second discriminator deep convolutional neural network are PatchGAN discriminator networks. 7.根据权利要求1或2所述的计算机实现的方法,其中,以UV-PAM图像的形式接收的所述输入图像通过以下方式生成:7. The computer-implemented method according to claim 1 or 2, wherein the input image received in the form of a UV-PAM image is generated in the following manner: 控制聚焦组件的振镜扫描仪以根据扫描轨迹将紫外光聚焦在样本上;A galvanometer scanner that controls the focusing component focuses ultraviolet light onto the sample according to the scanning trajectory; 通过至少一个换能器接收所述样本响应于紫外光而发射的光声波;和The photoacoustic waves emitted by the sample in response to ultraviolet light are received by at least one transducer; and 基于所述光声波生成所述UV-PAM图像。The UV-PAM image is generated based on the photoacoustic waves. 8.一种被配置为生成伪苏木精和伊红H&E染色图像的计算机系统,其中,所述计算机系统包括其中存储有可执行指令的一个或多个存储器,以及一个或多个处理器,其中,所述处理器执行所述可执行指令使所述一个或多个处理器:8. A computer system configured to generate pseudohematoxylin and eosin H&E staining images, wherein the computer system includes one or more memories storing executable instructions, and one or more processors, wherein the processors execute the executable instructions to cause the one or more processors to: 接收输入图像,所述输入图像是未标记样本的基于紫外的自发荧光显微术UV-AutoM图像或基于紫外的光声显微术UV-PAM图像,其中,所述输入图像是灰度图像;Receive an input image, wherein the input image is an unlabeled sample image obtained by UV-autofluorescence microscopy (UV-AutoM) or UV-photoacoustic microscopy (UV-PAM), and the input image is a grayscale image. 使用生成式对抗网络将所述输入图像变换为所述输入图像的伪H&E染色图像;和The input image is transformed into a pseudo-H&E-stained image using a generative adversarial network; and 输出所述伪H&E染色图像,Output the pseudo-H&E staining image. 其中,以估计的UV-AutoM图像的形式接收的所述输入图像从根据扫描轨迹捕获的散斑照射的图像的序列生成,其中,与所述序列中的每个散斑照射的图像相比,所述估计的UV-AutoM具有更高的分辨率,The input image, received in the form of an estimated UV-AutoM image, is generated from a sequence of speckle-lit images captured according to a scan trajectory, wherein the estimated UV-AutoM has a higher resolution compared to each speckle-lit image in the sequence. 其中,所述UV-AutoM图像由所述一个或多个处理器通过以下方式生成:The UV-AutoM image is generated by the one or more processors in the following manner: a)基于对所述散斑照射的图像的序列的平均值进行插值来初始化高分辨率图像对象;a) Initialize a high-resolution image object by interpolating the average value of the sequence of images illuminated by the speckle illumination; b)对于所述序列中的每个散斑照射的图像:b) For each speckle-illuminated image in the sequence: i)通过在计算上将所述高分辨率图像移位到所述扫描轨迹中的特定位置来生成所述估计的散斑照射的图像;i) The estimated speckle illumination image is generated by computationally shifting the high-resolution image to a specific position in the scan trajectory; ii)基于频域中的所述估计的散斑照射的图像和光学传递函数,确定频域中的经滤波的对象-图案复合;ii) Based on the estimated speckle illumination image and optical transfer function in the frequency domain, determine the filtered object-pattern composite in the frequency domain; iii)基于频域中的所述估计的散斑照射的图像、频域中的相应的捕获的散斑照射的图像、频域中的所述经滤波的对象-图案复合和所述光学传递函数,确定频域中的更新的估计的散斑照射的图像;iii) Based on the estimated speckle illumination image in the frequency domain, the corresponding captured speckle illumination image in the frequency domain, the filtered object-pattern composite in the frequency domain, and the optical transfer function, determine the updated estimated speckle illumination image in the frequency domain; iv)基于所述更新的估计的散斑照射的图像、空间域中的所述估计的散斑照射的图像和散斑图案更新所述高分辨率图像对象;iv) Update the high-resolution image object based on the updated estimated speckle illumination image, the estimated speckle illumination image in the spatial domain, and the speckle pattern; v)基于更新的估计的散斑照射的图像、所述估计的散斑照射的图像和所述高分辨率图像对象更新散斑图案;和v) Update the speckle pattern based on the updated estimated speckle illumination image, the estimated speckle illumination image, and the high-resolution image object; and vi)将Nesterov动量加速度应用于所述高分辨率图像对象和所述散斑图案;和vi) Apply Nesterov momentum acceleration to the high-resolution image object and the speckle pattern; and c)迭代地执行步骤b)直到检测到重构高分辨率图像对象的收敛,所述高分辨率图像对象是估计的UV-AutoM图像,在厘米尺度成像区域上具有增强的亚细胞分辨率。c) Iteratively execute step b) until convergence of the reconstructed high-resolution image object is detected, the high-resolution image object being the estimated UV-AutoM image with enhanced subcellular resolution over a centimeter-scale imaging region. 9.根据权利要求8所述的计算机系统,其中,所述生成式对抗网络是具有循环一致性的生成式对抗网络。9. The computer system according to claim 8, wherein the generative adversarial network is a generative adversarial network with cycle consistency. 10.根据权利要求8或9所述的计算机系统,其中,所述一个或多个处理器被配置为使用未配对的输入灰度图像和H&E染色图像来训练所述生成式对抗网络。10. The computer system of claim 8 or 9, wherein the one or more processors are configured to train the generative adversarial network using unpaired input grayscale images and H&E-stained images. 11.根据权利要求8或9所述的计算机系统,其中,所述生成式对抗网络包括四个深度卷积神经网络,包括:11. The computer system according to claim 8 or 9, wherein the generative adversarial network comprises four deep convolutional neural networks, including: 第一生成器深度卷积神经网络,其被配置为将所述输入图像变换为生成的H&E图像;A first generator deep convolutional neural network is configured to transform the input image into a generated H&E image; 第二生成器深度卷积神经网络,其被配置为将H&E图像变换为生成的UV-AutoM或UV-PAM图像;The second generator is a deep convolutional neural network, which is configured to transform H&E images into generated UV-AutoM or UV-PAM images. 第一鉴别器深度卷积神经网络,其被配置为区分训练集的H&E图像和由所述第一生成器深度卷积神经网络生成的生成的H&E图像;和A first discriminator deep convolutional neural network is configured to distinguish between H&E images in the training set and generated H&E images generated by the first generator deep convolutional neural network; and 第二鉴别器深度卷积神经网络,其被配置为区分所述训练集的UV-AutoM或UV-PAM图像和由所述第二生成器深度卷积神经网络生成的生成的UV-AutoM或UV-PAM图像。The second discriminator deep convolutional neural network is configured to distinguish between UV-AutoM or UV-PAM images in the training set and generated UV-AutoM or UV-PAM images generated by the second generator deep convolutional neural network. 12.根据权利要求11所述的计算机系统,其中,所述第一生成器深度卷积神经网络和第二生成器深度卷积神经网络是基于ResNet或基于U-Net的生成器网络。12. The computer system of claim 11, wherein the first generator deep convolutional neural network and the second generator deep convolutional neural network are generator networks based on ResNet or U-Net. 13.根据权利要求11所述的计算机系统,其中,所述第一鉴别器深度卷积神经网络和第二鉴别器深度卷积神经网络是PatchGAN鉴别器网络。13. The computer system of claim 11, wherein the first discriminator deep convolutional neural network and the second discriminator deep convolutional neural network are PatchGAN discriminator networks. 14.根据权利要求8或9所述的计算机系统,其中,以UV-PAM图像的形式接收的所述输入图像通过以下方式生成:14. The computer system according to claim 8 or 9, wherein the input image received in the form of a UV-PAM image is generated in the following manner: 控制聚焦组件的振镜扫描仪以根据扫描轨迹将紫外光聚焦在样本上;A galvanometer scanner that controls the focusing component focuses ultraviolet light onto the sample according to the scanning trajectory; 通过至少一个换能器接收所述样本响应于紫外光而发射的光声波;和The photoacoustic waves emitted by the sample in response to ultraviolet light are received by at least one transducer; and 基于所述光声波生成所述UV-PAM图像。The UV-PAM image is generated based on the photoacoustic waves. 15.一种或多种非暂时性计算机可读介质,其包括配置计算机系统以生成伪苏木精和伊红H&E染色图像的可执行指令,其中,所述计算机系统具有一个或多个处理器,其中,所述一个或多个处理器执行所述可执行指令将所述计算机系统配置为:15. One or more non-transitory computer-readable media comprising executable instructions for configuring a computer system to generate pseudo-hematoxylin and eosin H&E staining images, wherein the computer system has one or more processors, wherein the one or more processors execute the executable instructions to configure the computer system to: 接收输入图像,所述输入图像是未标记样本的基于紫外的自发荧光显微术UV-AutoM图像或基于紫外的光声显微术UV-PAM图像,其中,所述输入图像是灰度图像;Receive an input image, wherein the input image is an unlabeled sample image obtained by UV-autofluorescence microscopy (UV-AutoM) or UV-photoacoustic microscopy (UV-PAM), and the input image is a grayscale image. 使用生成式对抗网络将所述输入图像变换为所述输入图像的伪H&E染色图像;和The input image is transformed into a pseudo-H&E-stained image using a generative adversarial network; and 输出所述伪H&E染色图像,Output the pseudo-H&E staining image. 其中,以估计的UV-AutoM图像的形式接收的所述输入图像从根据扫描轨迹捕获的散斑照射的图像的序列生成,其中,与所述序列中的每个散斑照射的图像相比,所述估计的UV-AutoM具有更高的分辨率,The input image, received in the form of an estimated UV-AutoM image, is generated from a sequence of speckle-lit images captured according to a scan trajectory, wherein the estimated UV-AutoM has a higher resolution compared to each speckle-lit image in the sequence. 其中,所述UV-AutoM图像由所述一个或多个处理器通过以下方式生成:The UV-AutoM image is generated by the one or more processors in the following manner: a)基于对所述散斑照射的图像的序列的平均值进行插值来初始化高分辨率图像对象;a) Initialize a high-resolution image object by interpolating the average value of the sequence of images illuminated by the speckle illumination; b)对于所述序列中的每个散斑照射的图像:b) For each speckle-illuminated image in the sequence: i)通过在计算上将所述高分辨率图像移位到所述扫描轨迹中的特定位置来生成所述估计的散斑照射的图像;i) The estimated speckle illumination image is generated by computationally shifting the high-resolution image to a specific position in the scan trajectory; ii)基于频域中的所述估计的散斑照射的图像和光学传递函数,确定频域中的经滤波的对象-图案复合;ii) Based on the estimated speckle illumination image and optical transfer function in the frequency domain, determine the filtered object-pattern composite in the frequency domain; iii)基于频域中的所述估计的散斑照射的图像、频域中的相应的捕获的散斑照射的图像、频域中的所述经滤波的对象-图案复合和所述光学传递函数,确定频域中的更新的估计的散斑照射的图像;iii) Based on the estimated speckle illumination image in the frequency domain, the corresponding captured speckle illumination image in the frequency domain, the filtered object-pattern composite in the frequency domain, and the optical transfer function, determine the updated estimated speckle illumination image in the frequency domain; iv)基于所述更新的估计的散斑照射的图像、空间域中的所述估计的散斑照射的图像和散斑图案更新所述高分辨率图像对象;iv) Update the high-resolution image object based on the updated estimated speckle illumination image, the estimated speckle illumination image in the spatial domain, and the speckle pattern; v)基于更新的估计的散斑照射的图像、所述估计的散斑照射的图像和所述高分辨率图像对象更新散斑图案;和v) Update the speckle pattern based on the updated estimated speckle illumination image, the estimated speckle illumination image, and the high-resolution image object; and vi)将Nesterov动量加速度应用于所述高分辨率图像对象和所述散斑图案;和vi) Apply Nesterov momentum acceleration to the high-resolution image object and the speckle pattern; and c)迭代地执行步骤b)直到检测到重构高分辨率图像对象的收敛,所述高分辨率图像对象是估计的UV-AutoM图像,在厘米尺度成像区域上具有增强的亚细胞分辨率。c) Iteratively execute step b) until convergence of the reconstructed high-resolution image object is detected, the high-resolution image object being the estimated UV-AutoM image with enhanced subcellular resolution over a centimeter-scale imaging region. 16.根据权利要求15所述的一种或多种非暂时性计算机可读介质,其中,所述生成式对抗网络是具有循环一致性的生成式对抗网络。16. One or more non-transitory computer-readable media according to claim 15, wherein the generative adversarial network is a generative adversarial network with cycle consistency. 17.根据权利要求15所述的一种或多种非暂时性计算机可读介质,其中,所述一个或多个处理器执行所述可执行指令将所述计算机系统配置为使用未配对的输入灰度图像和H&E染色图像训练所述生成式对抗网络。17. One or more non-transitory computer-readable media according to claim 15, wherein the one or more processors execute the executable instructions to configure the computer system to train the generative adversarial network using unpaired input grayscale images and H&E-stained images. 18.根据权利要求15至17中任一项所述的一种或多种非暂时性计算机可读介质,其中,所述生成式对抗网络包括四个深度卷积神经网络,包括:18. One or more non-transitory computer-readable media according to any one of claims 15 to 17, wherein the generative adversarial network comprises four deep convolutional neural networks, including: 第一生成器深度卷积神经网络,其被配置为将所述输入图像变换为生成的H&E图像;A first generator deep convolutional neural network is configured to transform the input image into a generated H&E image; 第二生成器深度卷积神经网络,其被配置为将H&E图像变换为生成的UV-AutoM或UV-PAM图像;The second generator is a deep convolutional neural network, which is configured to transform H&E images into generated UV-AutoM or UV-PAM images. 第一鉴别器深度卷积神经网络,其被配置为区分训练集的H&E图像和由所述第一生成器深度卷积神经网络生成的生成的H&E图像;和A first discriminator deep convolutional neural network is configured to distinguish between H&E images in the training set and generated H&E images generated by the first generator deep convolutional neural network; and 第二鉴别器深度卷积神经网络,其被配置为区分所述训练集的UV-AutoM或UV-PAM图像和由所述第二生成器深度卷积神经网络生成的生成的UV-AutoM或UV-PAM图像。The second discriminator deep convolutional neural network is configured to distinguish between UV-AutoM or UV-PAM images in the training set and generated UV-AutoM or UV-PAM images generated by the second generator deep convolutional neural network. 19.根据权利要求15至17中任一项所述的一种或多种非暂时性计算机可读介质,其中,所述第一生成器深度卷积神经网络和第二生成器深度卷积神经网络是基于ResNet或基于U-Net的生成器网络。19. One or more non-transitory computer-readable media according to any one of claims 15 to 17, wherein the first generator deep convolutional neural network and the second generator deep convolutional neural network are generator networks based on ResNet or U-Net. 20.根据权利要求15至17中任一项所述的一种或多种非暂时性计算机可读介质,其中,所述第一鉴别器深度卷积神经网络和第二鉴别器深度卷积神经网络是PatchGAN鉴别器网络。20. One or more non-transitory computer-readable media according to any one of claims 15 to 17, wherein the first discriminator deep convolutional neural network and the second discriminator deep convolutional neural network are PatchGAN discriminator networks. 21.根据权利要求15至17中任一项所述的一种或多种非暂时性计算机可读介质,其中,以UV-PAM图像的形式接收的所述输入图像通过以下方式生成:21. One or more non-transitory computer-readable media according to any one of claims 15 to 17, wherein the input image received in the form of a UV-PAM image is generated by: 控制聚焦组件的振镜扫描仪以根据扫描轨迹将紫外光聚焦在样本上;A galvanometer scanner that controls the focusing component focuses ultraviolet light onto the sample according to the scanning trajectory; 通过至少一个换能器接收所述样本响应于紫外光而发射的光声波;和The photoacoustic waves emitted by the sample in response to ultraviolet light are received by at least one transducer; and 基于所述光声波生成所述UV-PAM图像。The UV-PAM image is generated based on the photoacoustic waves.
HK62022056274.3A 2019-09-19 2020-08-11 Slide-free histological imaging method and system HK40067194B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US62/973,101 2019-09-19

Publications (2)

Publication Number Publication Date
HK40067194A true HK40067194A (en) 2022-09-02
HK40067194B HK40067194B (en) 2025-10-10

Family

ID=

Similar Documents

Publication Publication Date Title
CN114365179B (en) Slide-less histological imaging method and system
De Haan et al. Deep-learning-based image reconstruction and enhancement in optical microscopy
US12300006B2 (en) Method and system for digital staining of microscopy images using deep learning
Rivenson et al. Virtual histological staining of unlabelled tissue-autofluorescence images via deep learning
ES3014296T3 (en) Method and system for digital staining of label-free fluorescence images using deep learning
Shen et al. Deep learning autofluorescence-harmonic microscopy
Fereidouni et al. Microscopy with ultraviolet surface excitation for rapid slide-free histology
Boktor et al. Virtual histological staining of label-free total absorption photoacoustic remote sensing (TA-PARS)
Keikhosravi et al. Non-disruptive collagen characterization in clinical histopathology using cross-modality image synthesis
Kreiss et al. Digital staining in optical microscopy using deep learning-a review
US20230055979A1 (en) Three-dimensional contoured scanning photoacoustic imaging and virtual staining
Zhang et al. Image-to-images translation for multiple virtual histological staining of unlabeled human carotid atherosclerotic tissue
TW201942869A (en) Image synthesis method for biological sample and optical system using the same including an image inputting step, an image conversion step, a fusion operation step and a semi-H&E image outputting step
WO2016092940A1 (en) Information processing device, information acquisition system, information processing method, image information acquisition method, and program
Yoon et al. Label-free optical microscopy with artificial intelligence: a new paradigm in pathology
Fanous et al. Neural network-based processing and reconstruction of compromised biophotonic image data
Hassan et al. Cross-modality transformations in biological microscopy enabled by deep learning
Yin et al. Fast and label-free 3D virtual H&E histology via active phase modulation-assisted dynamic full-field OCT
CN117829259A (en) Training method, virtual dyeing method and virtual dyeing system
Becker et al. Visualizing minute details in light‐sheet and confocal microscopy data by combining 3D rolling ball filtering and deconvolution
Zheng et al. Diffusion-based virtual staining from polarimetric mueller matrix imaging
HK40067194B (en) Slide-free histological imaging method and system
HK40067194A (en) Slide-free histological imaging method and system
CN113724150A (en) Structured light microscopic reconstruction method and device without high signal-to-noise ratio true value image
WO2024114625A1 (en) System and method for generating digitally stained histological images