WO2023071302A1 - Image synthesis method and apparatus, electronic device and storage medium - Google Patents

Image synthesis method and apparatus, electronic device and storage medium Download PDF

Info

Publication number
WO2023071302A1
WO2023071302A1 PCT/CN2022/105773 CN2022105773W WO2023071302A1 WO 2023071302 A1 WO2023071302 A1 WO 2023071302A1 CN 2022105773 W CN2022105773 W CN 2022105773W WO 2023071302 A1 WO2023071302 A1 WO 2023071302A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
sample
local
dimensional
images
Prior art date
Application number
PCT/CN2022/105773
Other languages
French (fr)
Chinese (zh)
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 WO2023071302A1 publication Critical patent/WO2023071302A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10056Microscopic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Definitions

  • the present application relates to the technical field of digital image processing, in particular to an image synthesis method, device, electronic equipment and storage medium.
  • Ordinary optical microscopes are only suitable for extremely thin samples, or can only obtain clear images of the sample surface. For larger and thicker samples, it is impossible to analyze the surface and interior of the sample without destroying the overall structure of the sample. Perform sharp optical imaging and obtain the 3D structure of your sample.
  • the light sheet microscope can obtain a micron-scale illumination source with a limited length and a diameter through a laser and lens system. With the help of transparent and fluorescent labeling technology, it can be used to detect local areas of biological tissues or organs while maintaining the integrity of the basic structure. , to achieve micron-scale three-dimensional imaging.
  • the purpose of this application is to provide a method for synthesizing pictures of a light sheet imaging microscope, the method comprising:
  • the three-dimensional images are stitched corresponding to different regions of the sample based on the stitching parameters to obtain a complete three-dimensional image of the sample.
  • the step of acquiring local three-dimensional images of different regions of the sample includes:
  • planar image information of the sample including time stamp label data and planar image
  • the position of the beam waist area of the excitation light sheet is obtained
  • the planar image is reconstructed into the local three-dimensional image based on the physical position of the planar image and the position of the target beam waist area of the excitation light sheet.
  • the step of acquiring local three-dimensional images of different regions of the sample further includes:
  • the support vector machine method is used to cluster the displacement of the optical zoom system of the shooting device and the displacement stage of the sample during the generation interval of adjacent pictures, and obtain all the physical features of the planar images. location and location of the beam waist region of all excitation beams;
  • planar image is reconstructed into a local three-dimensional image based on all physical positions of the planar image and target beam waist region positions of all excitation light sheets.
  • the step of acquiring local three-dimensional images of different regions of the sample includes:
  • the planar image is three-dimensionally reconstructed based on the physical position of the sample.
  • the step of performing relative reliability screening on the local 3D images to obtain stitching parameters includes:
  • the preset key area is an overlapping area between the local 3D image and adjacent 3D images
  • the boundary and the overlapping image are used as the stitching parameters.
  • the step of calculating the relative reliability data of the local 3D image based on the brightness of the 3D image includes:
  • the brightness ratio of all effective pixels of the three-dimensional image is normalized, and the normal distribution of the negative exponential power term is used to fit the excitation light energy distribution of different images to obtain a two-dimensional normal distribution;
  • the variance of the excitation light energy density of each effective pixel point is calculated according to the characteristic that the excitation light energy density obeys the two-dimensional normal distribution;
  • the variance is used as the relative reliability data.
  • the step of calculating the relative reliability data of the local 3D image based on the resolution of the 3D image includes:
  • the resolution is taken as the relative reliability data.
  • the step of stitching the three-dimensional images corresponding to different regions of the sample based on the stitching parameters includes:
  • the three-dimensional images are stitched based on the overlapping three-dimensional images.
  • the embodiment of the present application provides an image synthesis device of a light-sheet imaging microscope, the device comprising:
  • the reconstruction module is used to obtain local three-dimensional images of different regions of the sample, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheet objects of a light-sheet imaging microscope;
  • a screening module configured to perform relative reliability screening on the partial three-dimensional image to obtain splicing parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the partial three-dimensional image;
  • a stitching module configured to stitch the three-dimensional images corresponding to different regions of the sample based on the stitching parameters, to obtain a complete three-dimensional image of the sample.
  • an embodiment of the present application provides an electronic device, including: a processor, a storage medium, and a bus, the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the The processor communicates with the storage medium through a bus, and the processor executes the machine-readable instructions, so as to perform the steps of the image synthesis method of the light-sheet imaging microscope as described above.
  • an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the image synthesis of the above-mentioned light-sheet imaging microscope is performed. method steps.
  • the image synthesis method and device of the light-sheet imaging microscope replace manual analysis of original image data and calculation of image synthesis parameters, and realize the automation of the preprocessing process.
  • it solves the technical problem that the prior art relying on manual acquisition of image synthesis parameters leads to poor repeatability of the data preprocessing process and is greatly affected by the differences of experimenters, and significantly simplifies the operation process, reducing time and labor costs.
  • the accuracy of the picture stitching is improved, human errors are avoided, and the accuracy of the complete three-dimensional image obtained through the light-sheet imaging microscope is improved.
  • FIG. 1 shows a flow chart of an image synthesis method for a light-sheet imaging microscope provided in an embodiment of the present application
  • Fig. 2 shows a schematic structural diagram of an image synthesis device of a light-sheet imaging microscope provided in an embodiment of the present application
  • FIG. 3 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application
  • FIG. 4 shows a schematic structural diagram of a storage medium provided by an embodiment of the present application.
  • This application can be applied to a light sheet microscope. Through the laser and lens system, a micron-scale illumination source with a limited length can be obtained. Cooperating with the transparent and fluorescent labeling technology, it can be used on the premise of maintaining the integrity of the basic structure. Biological tissue Or a part of the inside of an organ to achieve micron-scale three-dimensional imaging scenes.
  • the embodiment of the present application provides an image synthesis method of a light-sheet imaging microscope, which uses a computer to completely replace all the manual links in the image synthesis step, improves the consistency and accuracy of the image processing link, and improves the automation. To a certain extent, the labor cost and time cost are reduced.
  • FIG. 1 is a flow chart of an image synthesis method of a light-sheet imaging microscope provided in an embodiment of the present application.
  • the image synthesis method of the light-sheet imaging microscope provided in the embodiment of the present application includes:
  • the step of acquiring local three-dimensional images of different regions of the sample includes:
  • planar image information of the sample including time stamp label data and planar image
  • the position of the beam waist area of the excitation light sheet is obtained
  • the planar image is reconstructed into the local three-dimensional image based on the physical position of the planar image and the position of the target beam waist area of the excitation light sheet.
  • the label information of the planar image information has a time stamp
  • the time interval between the generation times of adjacent images is obtained
  • the time interval between the optical zoom system and the sample displacement stage is determined according to the optical zoom of the microscope and the mechanical characteristics of the sample displacement stage.
  • the physical position of the picture and the position of the target beam waist area of the excitation light sheet can be obtained, based on the physical position of the picture and the position of the target beam waist area of the excitation light sheet, the planar image is reconstructed into the local three-dimensional image.
  • the step of acquiring local three-dimensional images of different regions of the sample further includes:
  • the support vector machine method is used to cluster the displacement of the optical zoom system of the shooting device and the displacement stage of the sample during the generation interval of adjacent pictures, and obtain all the physical features of the planar images. location and location of the beam waist region of all excitation beams;
  • planar image is reconstructed into a local three-dimensional image based on all physical positions of the planar image and target beam waist region positions of all excitation light sheets.
  • the SVM direct vector machine
  • the actions of the optical zoom system and the sample displacement stage are clustered during the generation intervals of adjacent pictures, and according to the order in which the pictures are taken, the result of the picture can be obtained
  • the physical location and location of the beam waist area of the excitation light sheet are obtained.
  • the pictures with similar positions of the target beam waist area of the excitation light sheet are reconstructed into three-dimensional images, and several three-dimensional images with different positions of the target beam waist area under the same field of view are obtained.
  • the step of acquiring local three-dimensional images of different regions of the sample includes:
  • the planar image is three-dimensionally reconstructed based on the physical position of the sample.
  • the change direction and period of the beam waist position can be used to know the physical position of the sample corresponding to each picture, so as to realize the three-dimensional reconstruction of the image.
  • the excitation light passes through the lens system, there is a relatively concentrated area when the sample is irradiated.
  • the light distribution in this area is relatively concentrated and the resolution is high. The farther away from this area, the more dispersed the light and the lower the resolution.
  • the resolution of each position in a 3D image is different.
  • the step of screening the partial three-dimensional image for relative reliability includes:
  • the preset key area is an overlapping area between the local 3D image and adjacent 3D images
  • the boundary and the overlapping image are used as the stitching parameters.
  • the excitation light source is a laser
  • the energy density of the excitation light obeys a two-dimensional normal distribution.
  • the energy of the excitation light decreases with the increase of the optical path.
  • the relationship between the remaining energy of the light and the optical path is approximately a negative exponential power. Therefore, a normal distribution with a negative exponential power term can be used to fit the excitation light energy distribution in the focal plane of the eyepiece. In order to simplify the calculation, this step can also be directly fitted with a polynomial with a negative degree.
  • the step of calculating the relative reliability data of the local 3D image based on the attribute information of the 3D image includes:
  • the variance of the excitation light energy density of each effective pixel point is calculated according to the characteristic that the excitation light energy density obeys the two-dimensional normal distribution;
  • the variance is used as the relative reliability data.
  • the brightness of a tiny region in the sample in the picture is approximately proportional to the energy density of the excitation light in the tiny region.
  • Exclude the background fluorescence take all effective pixels, calculate the brightness ratio of all effective pixels under the excitation light in the beam waist area of different purposes, and then normalize the overall brightness, and then use the focal plane of the eyepiece obtained from the above analysis
  • the internal excitation light energy distribution is fitted to the excitation light energy distribution of different images, and then the variance of the excitation light energy density at each position is calculated according to the characteristic that the excitation light energy density obeys the two-dimensional normal distribution.
  • the higher the relative reliability of the larger the variance, the lower the relative reliability of the image information. In this way, the relative reliability data of all three-dimensional images at any position can be obtained.
  • the step of calculating the relative reliability data of the local 3D image based on the attribute information of the 3D image includes:
  • the sharpness was taken as the relative reliability data.
  • the excitation light is scanned in parallel within the focal plane of the eyepiece, and the optical axis of the eyepiece is perpendicular to the scanning plane of the excitation light. Therefore, from the analysis of the illumination thickness of the sample, the illumination thickness of the target beam waist area of the excitation light is thinner, and the farther away from the target beam waist area The greater the thickness of the illumination, so the difference in image resolution at different positions of the sample is more reflected in the direction parallel to the optical axis of the eyepiece. The closer to the beam waist area of the excitation light, the higher the resolution and the more principle the beam waist of the excitation light. area, the lower the resolution.
  • the sharpness of different positions can also be used as the relative reliability data of image information.
  • the step of stitching the three-dimensional images based on different areas of the sample corresponding to the stitching parameters includes:
  • the three-dimensional images are stitched based on the overlapping three-dimensional images.
  • the image at the position with the highest relative reliability on the local three-dimensional image is taken to obtain the boundary between different image data, and according to the relative reliability of the image of the pixel points attached to the boundary data, to the two Take some pixels on each side as the overlapping area of the splicing boundary.
  • the point where the relative reliability difference of the image reaches 30% to 60% is used as the end point of the overlapping area, which can be adjusted according to the actual imaging situation.
  • an interpolation method is used to synthesize images of overlapping regions.
  • the regions on both sides can be interpolated separately.
  • the data interpolation weights from the two images are equal.
  • the data with higher reliability has a weight of 1
  • the data with lower reliability has a weight of 0.
  • the data between the boundary point and the edge are weighted according to the linear interpolation of the weights on both sides, and other interpolation methods can also be used to calculate the weights.
  • the data with the highest relative reliability of the image at this position is taken to obtain the synthesized image.
  • the computer is used for automatic processing, and each step can be carried out continuously. Therefore, the processing of the same image file only needs to be read and written from the memory once, which can significantly save network bandwidth and processing time.
  • the stitching parameters obtained from the same image data can be guaranteed to be stable, and will not change due to differences in time, space, and experimenters, significantly reducing error sources, and ensuring high repeatability of experimental data.
  • the relative reliability of the image information of all the images in all parts is compared, so the relative reliability of the stitching parameters can be evaluated, which provides a reference for evaluating the imaging quality of the sample.
  • the overlapping parts of different regions can be adjusted according to the difference in image reliability of the region, so as to preserve as much original image information as possible while ensuring image smoothness, and better restore the three-dimensional structure of the sample.
  • the embodiment of the present application provides an image synthesis device 200 of a light-sheet imaging microscope, and the device includes:
  • the reconstruction module 201 is used to obtain local three-dimensional images of different regions of the sample, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheets of a light-sheet imaging microscope;
  • a screening module 202 configured to perform relative reliability screening on the local 3D image to obtain splicing parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the local 3D image;
  • the stitching module 203 is configured to stitch the target three-dimensional image based on the different regions of the sample corresponding to the stitching parameters to obtain a complete three-dimensional image of the sample.
  • the embodiment of the present application provides an electronic device 300, including: a processor 310, a memory 320, and a bus 330, and the memory 320 stores the information of the processor 310 Executable machine-readable instructions, when the electronic device is running, the processor 310 communicates with the memory 310 through the bus 330, and the processor 310 executes the machine-readable instructions to perform sample acquisition Local three-dimensional images of different regions, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheet objects of a light-sheet imaging microscope; the relative reliability of the local three-dimensional images is screened to obtain Stitching parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the local three-dimensional image; based on the stitching parameters, the three-dimensional images are stitched corresponding to different regions of the sample to obtain a complete image of the sample 3D image.
  • the embodiment of the present application provides a computer-readable storage medium 400, on which a computer program 411 is stored, and the computer program 411 is executed by a processor Perform the acquisition of local three-dimensional images of different regions of the sample during operation, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheets of the light-sheet imaging microscope; compare the local three-dimensional images Reliability screening to obtain splicing parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the local three-dimensional image; splicing the three-dimensional images corresponding to different regions of the sample based on the splicing parameters to obtain A full 3D image of the sample.
  • the disclosed systems, devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor.
  • the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Microscoopes, Condenser (AREA)
  • Investigating, Analyzing Materials By Fluorescence Or Luminescence (AREA)

Abstract

The present application provides an image synthesis method and apparatus, an electronic device and a storage medium, comprising: obtaining local three-dimensional images of different areas of a sample, where the local three-dimensional images are taken under different excitation light sources at target beam waist positions of a plurality of light sheets of a light sheet imaging microscope; performing relative reliability screening on the local three-dimensional images to obtain splicing parameters, where the relative reliability is calculated according to the brightness and/or the resolution of the local three-dimensional images; and splicing the three-dimensional images on the basis of different sample areas corresponding to the splicing parameters, so as to obtain a complete three-dimensional image of the sample. The present application solves the problem in the prior art of poor repeatability of a data preprocessing process due to image synthesis parameters being manually obtained, simplifies an operation process, improves the accuracy of the image synthesis process, and saves time and labor.

Description

一种图片合成方法、装置、电子设备及存储介质A picture synthesis method, device, electronic equipment and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年10月28日提交中国专利局的申请号为202111258879.6、名称为“一种图片合成方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111258879.6 and titled "A method, device, electronic device and storage medium for picture synthesis" filed with the China Patent Office on October 28, 2021, the entire contents of which are incorporated by reference incorporated in this application.
技术领域technical field
本申请涉及数字图像处理技术领域,尤其是涉及一种图片合成方法、装置、电子设备及存储介质。The present application relates to the technical field of digital image processing, in particular to an image synthesis method, device, electronic equipment and storage medium.
背景技术Background technique
通常的光学显微镜只适用于极薄的样品,或者只能获取样品表面的清晰图像,对于体积较大,厚度较厚的样品,无法在不破坏样品的整体结构的前提下,对其表面和内部进行清晰的光学成像,并获得样品的三维结构。光片式显微镜通过激光和透镜系统,可以获得有限长度的直径为微米级的照明光源,配合透明化和荧光标记技术,能够在保持基本结构完整的前提下,可以对生物组织或器官内部的局部,实现微米级的三维成像。Ordinary optical microscopes are only suitable for extremely thin samples, or can only obtain clear images of the sample surface. For larger and thicker samples, it is impossible to analyze the surface and interior of the sample without destroying the overall structure of the sample. Perform sharp optical imaging and obtain the 3D structure of your sample. The light sheet microscope can obtain a micron-scale illumination source with a limited length and a diameter through a laser and lens system. With the help of transparent and fluorescent labeling technology, it can be used to detect local areas of biological tissues or organs while maintaining the integrity of the basic structure. , to achieve micron-scale three-dimensional imaging.
为了得到较大样品整体高分辨率的三维图像,目前通常的做法时,使用光片式显微镜多次采集图像,每次获得样品不同局部清晰图像,选取清晰图像并拼接的方法,最终获得样品整体的清晰图像。但在这一过程中,图像拼接所需参数依靠人工识别,包括清晰图像的位置、范围、数量等参数,存在不同实验人员识别标准不统一、误差大,耗时长,步骤繁琐,人工成本高等缺点。In order to obtain a high-resolution three-dimensional image of a large sample as a whole, the current common practice is to use a light-sheet microscope to collect images multiple times, each time to obtain clear images of different parts of the sample, select clear images and stitch them together, and finally obtain the overall sample. clear image. However, in this process, the parameters required for image stitching rely on manual identification, including the position, range, and quantity of clear images. There are shortcomings such as inconsistent identification standards for different experimenters, large errors, long time-consuming, cumbersome steps, and high labor costs. .
发明内容Contents of the invention
有鉴于此,本申请的目的在于提供一种光片式成像显微镜的图片合成方法,所述方法包括:In view of this, the purpose of this application is to provide a method for synthesizing pictures of a light sheet imaging microscope, the method comprising:
获取样品不同区域的局部三维图像,其中,所述局部三维图像为在光片式成像显微镜若干个光片目的束腰位置不同的激发光源下拍摄的;Acquiring local three-dimensional images of different regions of the sample, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheets of a light sheet imaging microscope;
对所述局部三维图像进行相对可靠性筛选,得到拼接参数,其中,所述相对可靠性由所述局部三维图像的亮度和/或分辨率计算得出;performing relative reliability screening on the local 3D image to obtain splicing parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the local 3D image;
基于所述拼接参数对应样品不同区域将所述三维图像进行拼接,得到所述样品的完整三维图像。The three-dimensional images are stitched corresponding to different regions of the sample based on the stitching parameters to obtain a complete three-dimensional image of the sample.
可选的,所述获取样品不同区域的局部三维图像的步骤,包括:Optionally, the step of acquiring local three-dimensional images of different regions of the sample includes:
获取样品的平面图像信息,所述平面图像信息包括时间戳标签数据和平面图像;Obtaining planar image information of the sample, the planar image information including time stamp label data and planar image;
基于所述时间戳标签数据计算得到相邻平面图像之间的时间间隔;Calculate the time interval between adjacent planar images based on the time stamp tag data;
根据所述时间间隔与品位移台的位移数据,得到所述平面图像的物理位置;Obtaining the physical position of the planar image according to the time interval and the displacement data of the product displacement platform;
根据所述时间间隔与拍摄设备的光学变焦数据,得到激发光光片目的束腰区域位置;According to the time interval and the optical zoom data of the shooting device, the position of the beam waist area of the excitation light sheet is obtained;
基于所述平面图像的物理位置和所述激发光光片目的束腰区域位置将所述平面图像重构为所述局部三维图像。The planar image is reconstructed into the local three-dimensional image based on the physical position of the planar image and the position of the target beam waist area of the excitation light sheet.
可选的,所述获取样品不同区域的局部三维图像的步骤,还包括:Optionally, the step of acquiring local three-dimensional images of different regions of the sample further includes:
基于所述时间戳标签数据计算得到所有相邻平面图像之间的时间间隔;calculating time intervals between all adjacent planar images based on the timestamp tag data;
基于所有相邻平面图像之间的时间间隔采用支持向量机方法,对相邻图片生成间隔期间所述拍摄设备的光学变焦系统和样品位移台的位移进行聚类,得到所述平面图像的所有物理位置和所有激发光光片目的束腰区域位置;Based on the time interval between all adjacent planar images, the support vector machine method is used to cluster the displacement of the optical zoom system of the shooting device and the displacement stage of the sample during the generation interval of adjacent pictures, and obtain all the physical features of the planar images. location and location of the beam waist region of all excitation beams;
基于所述平面图像的所有物理位置和所述所有激发光光片目的束腰区域位置将所述平面图像重构为局部三维图像。The planar image is reconstructed into a local three-dimensional image based on all physical positions of the planar image and target beam waist region positions of all excitation light sheets.
可选的,所述获取样品不同区域的局部三维图像的步骤,包括:Optionally, the step of acquiring local three-dimensional images of different regions of the sample includes:
将所述平面图像按照垂直于所述拍摄设备的光学变焦系统发出的光线的方向分割成至少两个小区域;dividing the planar image into at least two small areas according to the direction perpendicular to the light emitted by the optical zoom system of the shooting device;
采用梯度函数对每一个所述小区域的清晰度进行评价,得到每个小区域的评价结果;Evaluating the definition of each small region by using a gradient function to obtain an evaluation result for each small region;
通过对比所述评价结果,得到所述平面图像的相对清晰度变化趋势;By comparing the evaluation results, the relative definition change trend of the planar image is obtained;
分析所述平面图像的相对清晰度变化趋势,得到激发光目的束腰位置变化方向及变化周期;Analyzing the change trend of the relative definition of the planar image to obtain the change direction and change period of the beam waist position of the excitation light target;
根据样品位移台位移方向、所述激发光目的束腰位置变化方向及变化周期,得到所述平面图像所对映的样品物理位置;Obtain the physical position of the sample corresponding to the planar image according to the displacement direction of the sample displacement stage, the change direction and change period of the beam waist position of the excitation light target;
基于所述样品物理位置将所述平面图像进行三维重构。The planar image is three-dimensionally reconstructed based on the physical position of the sample.
可选的,所述对所述局部三维图像进行相对可靠性筛选,得到拼接参数的步骤,包括:Optionally, the step of performing relative reliability screening on the local 3D images to obtain stitching parameters includes:
基于所述三维图像的的亮度和/或分辨率计算局部三维图像的相对可靠性数据;calculating relative reliability data of the local 3D image based on the brightness and/or resolution of the 3D image;
选择所述可靠性数据中的最高值作为所述预设关键区域的边界,其中,所述预设关键区域为所述局部三维图像与相邻的三维图像之间的重合区域;Selecting the highest value in the reliability data as the boundary of the preset key area, wherein the preset key area is an overlapping area between the local 3D image and adjacent 3D images;
选择所述边界两侧相对可靠性差异在预设范围内的三维图像作为所述重合区域内的重合图像;Selecting a three-dimensional image with a relative reliability difference on both sides of the boundary within a preset range as the overlapping image in the overlapping area;
将所述边界和所述重合图像作为所述拼接参数。The boundary and the overlapping image are used as the stitching parameters.
可选的,所述基于所述三维图像的的亮度计算局部三维图像的相对可靠性数据的步骤,包括:Optionally, the step of calculating the relative reliability data of the local 3D image based on the brightness of the 3D image includes:
获取所述三维图像的所有有效像素点,得出不同目的束腰区域在激发光照射下所有有效像素点的亮度比;Obtaining all effective pixels of the three-dimensional image, and obtaining the brightness ratio of all effective pixels of beam waist regions of different purposes under excitation light irradiation;
对所述三维图像的所有有效像素点的亮度比进行归一化处理,采用负指数幂项的正态 分布对不同图像的激发光能量分布进行拟合,得到二维正态分布;The brightness ratio of all effective pixels of the three-dimensional image is normalized, and the normal distribution of the negative exponential power term is used to fit the excitation light energy distribution of different images to obtain a two-dimensional normal distribution;
再由激发光能量密度服从二维正态分布的特性计算每个有效像素点激发光能量密度的方差;Then, the variance of the excitation light energy density of each effective pixel point is calculated according to the characteristic that the excitation light energy density obeys the two-dimensional normal distribution;
将所述方差作为所述相对可靠性数据。The variance is used as the relative reliability data.
可选的,所述基于所述三维图像的的分辨率计算局部三维图像的相对可靠性数据的步骤,包括:Optionally, the step of calculating the relative reliability data of the local 3D image based on the resolution of the 3D image includes:
使用梯度函数在垂直于激发光光轴的方向上比对不同三维图像在同一位置的图像分辨率;Using a gradient function to compare the image resolutions of different three-dimensional images at the same position in a direction perpendicular to the optical axis of the excitation light;
将所述分辨率作为所述相对可靠性数据。The resolution is taken as the relative reliability data.
可选的,所述基于所述拼接参数对应样品不同区域将所述三维图像进行拼接的步骤,包括:Optionally, the step of stitching the three-dimensional images corresponding to different regions of the sample based on the stitching parameters includes:
基于边界和所述重合图像采用插值法合成重叠三维图像;Synthesizing overlapping three-dimensional images by interpolation based on the boundary and the overlapping images;
基于所述重叠三维图像将所述三维图像进行拼接。The three-dimensional images are stitched based on the overlapping three-dimensional images.
第二方面,本申请实施例提供了一种光片式成像显微镜的图片合成装置,所述装置包括:In the second aspect, the embodiment of the present application provides an image synthesis device of a light-sheet imaging microscope, the device comprising:
重构模块,用于获取样品不同区域的局部三维图像,其中,所述局部三维图像为光片式成像显微镜若干个光片目的束腰位置不同的激发光源下拍摄的;The reconstruction module is used to obtain local three-dimensional images of different regions of the sample, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheet objects of a light-sheet imaging microscope;
筛选模块,用于对所述局部三维图像进行相对可靠性筛选,得到拼接参数,其中,所述相对可靠性由所述局部三维图像的亮度和/或分辨率计算得出;A screening module, configured to perform relative reliability screening on the partial three-dimensional image to obtain splicing parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the partial three-dimensional image;
拼接模块,用于基于所述拼接参数对应样品不同区域将所述三维图像进行拼接,得到所述样品的完整三维图像。A stitching module, configured to stitch the three-dimensional images corresponding to different regions of the sample based on the stitching parameters, to obtain a complete three-dimensional image of the sample.
第三方面,本申请实施例提供了一种电子设备,包括:处理器、存储介质和总线,所述存储介质存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储介质之间通过总线通信,所述处理器执行所述机器可读指令,以执行时执行如上述的光片式成像显微镜的图片合成方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a storage medium, and a bus, the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the The processor communicates with the storage medium through a bus, and the processor executes the machine-readable instructions, so as to perform the steps of the image synthesis method of the light-sheet imaging microscope as described above.
第四方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如上述的光片式成像显微镜的图片合成方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the image synthesis of the above-mentioned light-sheet imaging microscope is performed. method steps.
本申请实施例提供的光片式成像显微镜的图片合成方法及装置,代替人工分析原始图像数据和计算图像合成参数,实现预处理流程自动化。与现有技术中的图片拼接方法相比,解决了现有技术依靠人工获得图像合成参数导致的数据预处理过程重复性较差,受实验人员差异影响较大的技术问题,而且显著简化了操作流程,降低了时间成本和人力成本。提 高了图片拼接处的准确率,避免了人为误差,进而提高了通过光片式成像显微镜得到完整三维图像的准确性。The image synthesis method and device of the light-sheet imaging microscope provided in the embodiments of the present application replace manual analysis of original image data and calculation of image synthesis parameters, and realize the automation of the preprocessing process. Compared with the image mosaic method in the prior art, it solves the technical problem that the prior art relying on manual acquisition of image synthesis parameters leads to poor repeatability of the data preprocessing process and is greatly affected by the differences of experimenters, and significantly simplifies the operation process, reducing time and labor costs. The accuracy of the picture stitching is improved, human errors are avoided, and the accuracy of the complete three-dimensional image obtained through the light-sheet imaging microscope is improved.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned purpose, features and advantages of the present application more comprehensible, preferred embodiments will be described in detail below together with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, so It should be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings based on these drawings without creative work.
图1示出了本申请实施例所提供的一种光片式成像显微镜的图片合成方法的流程图;FIG. 1 shows a flow chart of an image synthesis method for a light-sheet imaging microscope provided in an embodiment of the present application;
图2示出了本申请实施例所提供的一种光片式成像显微镜的图片合成装置的结构示意图;Fig. 2 shows a schematic structural diagram of an image synthesis device of a light-sheet imaging microscope provided in an embodiment of the present application;
图3示出了本申请实施例所提供的一种电子设备的结构示意图;FIG. 3 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图4示出了本申请实施例所提供的一种存储介质的结构示意图。FIG. 4 shows a schematic structural diagram of a storage medium provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的每个其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, every other embodiment obtained by those skilled in the art without making creative efforts falls within the protection scope of the present application.
首先,对本申请可适用的应用场景进行介绍。本申请可应用于光片式显微镜通过激光和透镜系统,可以获得有限长度的直径为微米级的照明光源,配合透明化和荧光标记技术,能够在保持基本结构完整的前提下,可以对生物组织或器官内部的局部,实现微米级的三维成像的场景。First, the applicable application scenarios of this application are introduced. This application can be applied to a light sheet microscope. Through the laser and lens system, a micron-scale illumination source with a limited length can be obtained. Cooperating with the transparent and fluorescent labeling technology, it can be used on the premise of maintaining the integrity of the basic structure. Biological tissue Or a part of the inside of an organ to achieve micron-scale three-dimensional imaging scenes.
经研究发现,为了得到较大样品整体高分辨率的三维图像,目前通常的做法时,使用光片式显微镜多次采集图像,每次获得样品不同局部清晰图像,选取清晰图像并拼接的方法,最终获得样品整体的清晰图像。但在这一过程中,图像拼接所需参数依靠人工识别,包括清晰图像的位置、范围、数量等参数,因此,存在不同实验人员识别标准不统一、误差大,耗时长,步骤繁琐,人工成本高等缺点。It has been found through research that in order to obtain overall high-resolution three-dimensional images of larger samples, the current common practice is to use a light sheet microscope to collect images multiple times, each time to obtain clear images of different parts of the sample, select clear images and stitch them together, Ultimately, a clear image of the sample as a whole is obtained. However, in this process, the parameters required for image stitching rely on manual identification, including the position, range, and quantity of clear images. High disadvantage.
基于此,本申请实施例提供了一种光片式成像显微镜的图片合成方法,采用计算机完 全取代了图像合成步骤中所有的人工环节,提升了图像处理环节的一致性和准确性,提高了自动化程度,降低了人力成本和时间成本。Based on this, the embodiment of the present application provides an image synthesis method of a light-sheet imaging microscope, which uses a computer to completely replace all the manual links in the image synthesis step, improves the consistency and accuracy of the image processing link, and improves the automation. To a certain extent, the labor cost and time cost are reduced.
请参阅图1,图1为本申请实施例所提供的一种光片式成像显微镜的图片合成方法的流程图。所如图1中所示,本申请实施例提供的光片式成像显微镜的图片合成方法,包括:Please refer to FIG. 1 . FIG. 1 is a flow chart of an image synthesis method of a light-sheet imaging microscope provided in an embodiment of the present application. As shown in Figure 1, the image synthesis method of the light-sheet imaging microscope provided in the embodiment of the present application includes:
S101、获取样品不同区域的局部三维图像,其中,所述局部三维图像为在光片式成像显微镜若干个光片目的束腰位置不同的激发光源下拍摄的;S101. Acquire local three-dimensional images of different regions of the sample, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheets of a light-sheet imaging microscope;
在一种可能的实施方式中,所述获取样品不同区域的局部三维图像的步骤,包括:In a possible implementation manner, the step of acquiring local three-dimensional images of different regions of the sample includes:
获取样品的平面图像信息,所述平面图像信息包括时间戳标签数据和平面图像;Obtaining planar image information of the sample, the planar image information including time stamp label data and planar image;
基于所述时间戳标签数据计算得到相邻平面图像之间的时间间隔;Calculate the time interval between adjacent planar images based on the time stamp tag data;
根据所述时间间隔与品位移台的位移数据,得到所述平面图像的物理位置;Obtaining the physical position of the planar image according to the time interval and the displacement data of the product displacement platform;
根据所述时间间隔与拍摄设备的光学变焦数据,得到激发光光片目的束腰区域位置;According to the time interval and the optical zoom data of the shooting device, the position of the beam waist area of the excitation light sheet is obtained;
基于所述平面图像的物理位置和所述激发光光片目的束腰区域位置将所述平面图像重构为所述局部三维图像。The planar image is reconstructed into the local three-dimensional image based on the physical position of the planar image and the position of the target beam waist area of the excitation light sheet.
示例性的,若平面图像信息的标签信息带有时间戳,得到相邻图片生成时间的时间间隔,根据显微镜的光学变焦及样品位移台的机械特征,判断该时间间隔光学变焦系统和样品位移台的动作,即可得到该张图片的物理位置和激发光光片目的束腰区域位置,基于图片的物理位置和激发光光片目的束腰区域位置将所述平面图像重构为所述局部三维图像。Exemplarily, if the label information of the planar image information has a time stamp, the time interval between the generation times of adjacent images is obtained, and the time interval between the optical zoom system and the sample displacement stage is determined according to the optical zoom of the microscope and the mechanical characteristics of the sample displacement stage. The physical position of the picture and the position of the target beam waist area of the excitation light sheet can be obtained, based on the physical position of the picture and the position of the target beam waist area of the excitation light sheet, the planar image is reconstructed into the local three-dimensional image.
在一种可能的实施方式中,所述获取样品不同区域的局部三维图像的步骤,还包括:In a possible implementation manner, the step of acquiring local three-dimensional images of different regions of the sample further includes:
基于所述时间戳标签数据计算得到所有相邻平面图像之间的时间间隔;calculating time intervals between all adjacent planar images based on the timestamp tag data;
基于所有相邻平面图像之间的时间间隔采用支持向量机方法,对相邻图片生成间隔期间所述拍摄设备的光学变焦系统和样品位移台的位移进行聚类,得到所述平面图像的所有物理位置和所有激发光光片目的束腰区域位置;Based on the time interval between all adjacent planar images, the support vector machine method is used to cluster the displacement of the optical zoom system of the shooting device and the displacement stage of the sample during the generation interval of adjacent pictures, and obtain all the physical features of the planar images. location and location of the beam waist region of all excitation beams;
基于所述平面图像的所有物理位置和所述所有激发光光片目的束腰区域位置将所述平面图像重构为局部三维图像。The planar image is reconstructed into a local three-dimensional image based on all physical positions of the planar image and target beam waist region positions of all excitation light sheets.
示例性的,对所有时间间隔应用SVM(直接向量机)方法,对相邻图片生成间隔期间光学变焦系统和样品位移台的动作进行聚类,在根据图片拍摄顺序,即可得到该张图片的物理位置和激发光光片目的束腰区域位置。然后,根据图片的对映物理位置,将激发光光片目的束腰区域位置相似的图片重构为三维图像,得到若干张同一视野下,目的束腰区域位置不同的三维图像。Exemplarily, the SVM (direct vector machine) method is applied to all time intervals, and the actions of the optical zoom system and the sample displacement stage are clustered during the generation intervals of adjacent pictures, and according to the order in which the pictures are taken, the result of the picture can be obtained The physical location and location of the beam waist area of the excitation light sheet. Then, according to the corresponding physical positions of the pictures, the pictures with similar positions of the target beam waist area of the excitation light sheet are reconstructed into three-dimensional images, and several three-dimensional images with different positions of the target beam waist area under the same field of view are obtained.
在一种可能的实施方式中,所述获取样品不同区域的局部三维图像的步骤,包括:In a possible implementation manner, the step of acquiring local three-dimensional images of different regions of the sample includes:
将所述平面图像按照垂直于所述拍摄设备的光学变焦系统发出的光线的方向分割成至少两个小区域;dividing the planar image into at least two small areas according to the direction perpendicular to the light emitted by the optical zoom system of the shooting device;
采用梯度函数对每一个所述小区域的清晰度进行评价,得到每个小区域的评价结果;Evaluating the definition of each small region by using a gradient function to obtain an evaluation result for each small region;
通过对比所述评价结果,得到所述平面图像的相对清晰度变化趋势;By comparing the evaluation results, the relative definition change trend of the planar image is obtained;
分析所述平面图像的相对清晰度变化趋势,得到激发光目的束腰位置变化方向及变化周期;Analyzing the change trend of the relative definition of the planar image to obtain the change direction and change period of the beam waist position of the excitation light target;
根据样品位移台位移方向、所述激发光目的束腰位置变化方向及变化周期,得到所述平面图像所对映的样品物理位置;Obtain the physical position of the sample corresponding to the planar image according to the displacement direction of the sample displacement stage, the change direction and change period of the beam waist position of the excitation light target;
基于所述样品物理位置将所述平面图像进行三维重构。The planar image is three-dimensionally reconstructed based on the physical position of the sample.
示例性的,若图像的标签信息中无时间戳信息或选择不使用时间戳作为三维图像重构依据,则使用图片的图像信息作为三维重构的依据,同一视野中,越靠近目的束腰区域位置中心的图像具有越高的分辨率,图像细节越清晰,峰值亮度越高。因此,将图片按照垂直于光线的方向分割成小区域,使用Tenengrad梯度函数对每一个部分的清晰度进行评价,对比全部图像中所有或者部分图片的相对清晰度变化趋势,即可得到激发光目的束腰位置变化方向以及周期,结合样品位移台位移方向,可知每张图片所对映的样品物理位置,从而实现图像的三维重构。其中,对每一个部分的清晰度进行评价时,有多种无参考的清晰度评价方法可供选择,包括但不限于Tenengrad梯度函数、Laplacian梯度函数、SMD(灰度方差)函数、Vollath函数、熵函数。For example, if there is no time stamp information in the tag information of the image or you choose not to use the time stamp as the basis for 3D image reconstruction, then use the image information of the picture as the basis for 3D reconstruction. In the same field of view, the closer to the target beam waist area Images in the center of the position have higher resolution, sharper image details, and higher peak brightness. Therefore, divide the picture into small areas according to the direction perpendicular to the light, use the Tenengrad gradient function to evaluate the sharpness of each part, and compare the relative sharpness changes of all or part of the pictures in all images to obtain the purpose of excitation light. The change direction and period of the beam waist position, combined with the displacement direction of the sample stage, can be used to know the physical position of the sample corresponding to each picture, so as to realize the three-dimensional reconstruction of the image. Among them, when evaluating the sharpness of each part, there are a variety of non-referenced sharpness evaluation methods to choose from, including but not limited to Tenengrad gradient function, Laplacian gradient function, SMD (gray variance) function, Vollath function, entropy function.
S102、对所述局部三维图像进行相对可靠性筛选,得到拼接参数,其中,所述相对可靠性由所述局部三维图像的亮度和/或分辨率计算得出;S102. Perform relative reliability screening on the local 3D image to obtain splicing parameters, where the relative reliability is calculated from the brightness and/or resolution of the local 3D image;
示例性的,激发光经过透镜系统,照射样品时存在一个汇聚较为集中的区域,该区域内光分布较为集中,分辨率较高,距离该区域越远,光越分散,分辨率越低,每一张三维图像中各个位置的分辨率不相同。Exemplarily, when the excitation light passes through the lens system, there is a relatively concentrated area when the sample is irradiated. The light distribution in this area is relatively concentrated and the resolution is high. The farther away from this area, the more dispersed the light and the lower the resolution. The resolution of each position in a 3D image is different.
在一种可能的实施方式中,所述对所述局部三维图像进行相对可靠性筛选的步骤,包括:In a possible implementation manner, the step of screening the partial three-dimensional image for relative reliability includes:
基于所述三维图像的的亮度和/或分辨率计算局部三维图像的相对可靠性数据;calculating relative reliability data of the local 3D image based on the brightness and/or resolution of the 3D image;
选择所述可靠性数据中的最高值作为所述预设关键区域的边界,其中,所述预设关键区域为所述局部三维图像与相邻的三维图像之间的重合区域;Selecting the highest value in the reliability data as the boundary of the preset key area, wherein the preset key area is an overlapping area between the local 3D image and adjacent 3D images;
选择所述边界两侧相对可靠性差异在预设范围内的三维图像作为所述重合区域内的重合图像;Selecting a three-dimensional image with a relative reliability difference on both sides of the boundary within a preset range as the overlapping image in the overlapping area;
将所述边界和所述重合图像作为所述拼接参数。The boundary and the overlapping image are used as the stitching parameters.
示例性的,激发光光源是激光,激发光能量密度服从二维正态分布,分布方差越小处的分辨率越高,分布方差越大处的分辨率越低,因为成像时激发光在目镜焦平面内扫射,所以,在目镜焦平面上,激发光能量分布近似服从一维正态分布,考虑到在实际成像时, 随着光线穿透样品,激发光的能量随光路的增长而减少,光线剩余能量与光路近似成负指数幂的关系,因此,可使用带负指数幂项的正态分布对目镜焦平面内的激发光能量分布进行拟合。为简化计算,这一步也可以直接用次数为负的多项式对其进行拟合。Exemplarily, the excitation light source is a laser, and the energy density of the excitation light obeys a two-dimensional normal distribution. The smaller the distribution variance, the higher the resolution, and the larger the distribution variance, the lower the resolution, because the excitation light is in the eyepiece during imaging. Therefore, on the focal plane of the eyepiece, the energy distribution of the excitation light approximately obeys a one-dimensional normal distribution. Considering that in actual imaging, as the light penetrates the sample, the energy of the excitation light decreases with the increase of the optical path. The relationship between the remaining energy of the light and the optical path is approximately a negative exponential power. Therefore, a normal distribution with a negative exponential power term can be used to fit the excitation light energy distribution in the focal plane of the eyepiece. In order to simplify the calculation, this step can also be directly fitted with a polynomial with a negative degree.
在一种可能的实施方式中,所述基于所述三维图像的属性信息计算局部三维图像的相对可靠性数据的步骤,包括:In a possible implementation manner, the step of calculating the relative reliability data of the local 3D image based on the attribute information of the 3D image includes:
获取所述三维图像的所有有效像素点,得出不同目的束腰区域在激发光照射下所有有效像素点的亮度比;Obtaining all effective pixels of the three-dimensional image, and obtaining the brightness ratio of all effective pixels of beam waist regions of different purposes under excitation light irradiation;
对所述三维图像的所有有效像素点的亮度比进行归一化处理,采用负指数幂项的正态分布对不同图像的激发光能量分布进行拟合,得到二维正态分布;performing normalization processing on the brightness ratios of all effective pixels of the three-dimensional image, and fitting the excitation light energy distribution of different images by using a normal distribution with a negative exponential power term to obtain a two-dimensional normal distribution;
再由激发光能量密度服从二维正态分布的特性计算每个有效像素点激发光能量密度的方差;Then, the variance of the excitation light energy density of each effective pixel point is calculated according to the characteristic that the excitation light energy density obeys the two-dimensional normal distribution;
将所述方差作为所述相对可靠性数据。The variance is used as the relative reliability data.
示例性的,样品中某一微小区域在图片中的亮度,近似正比于激发光在该微小区域内的能量密度。排除背景荧光,取所有有效的像素点,计算不同目的束腰区域的激发光照射下所有有效像素点的亮度比,然后对整体亮度进行归一化处理,进而用上述分析得出的目镜焦平面内激发光能量分布对不同图像的激发光能量分布进行拟合,再由激发光能量密度服从二维正态分布的特性计算每个位置激发光能量密度的方差,方差越小,该处图像信息的相对可靠性越高,方差越大,该处图像信息的相对可靠性越低。从而获得所有三维图像在任意位置的相对可靠性数据。Exemplarily, the brightness of a tiny region in the sample in the picture is approximately proportional to the energy density of the excitation light in the tiny region. Exclude the background fluorescence, take all effective pixels, calculate the brightness ratio of all effective pixels under the excitation light in the beam waist area of different purposes, and then normalize the overall brightness, and then use the focal plane of the eyepiece obtained from the above analysis The internal excitation light energy distribution is fitted to the excitation light energy distribution of different images, and then the variance of the excitation light energy density at each position is calculated according to the characteristic that the excitation light energy density obeys the two-dimensional normal distribution. The higher the relative reliability of , the larger the variance, the lower the relative reliability of the image information. In this way, the relative reliability data of all three-dimensional images at any position can be obtained.
在一种可能的实施方式中,所述基于所述三维图像的属性信息计算局部三维图像的相对可靠性数据的步骤,包括:In a possible implementation manner, the step of calculating the relative reliability data of the local 3D image based on the attribute information of the 3D image includes:
使用梯度函数在垂直于激发光光轴的方向上比对不同三维图像在同一位置的图像清晰度;Using the gradient function to compare the image clarity of different three-dimensional images at the same position in the direction perpendicular to the optical axis of the excitation light;
将所述清晰度作为所述相对可靠性数据。The sharpness was taken as the relative reliability data.
示例性的,激发光在目镜焦平面内平行扫射,目镜光轴与激发光扫射平面垂直,所以从样品的照明厚度分析,激发光目的束腰区域的照明厚度较薄,越远离目的束腰区域照明厚度越大,所以,样品不同位置图像分辨率的差异更多的体现在平行与目镜光轴的方向上,越靠近激发光目的束腰区域,分辨率越高,越原理激发光目的束腰区域,分辨率越低。使用Tenengrad梯度函数在垂直于激发光光轴的方向上比对不同三维图像在同一位置的图像清晰度,清晰度的差异与分辨率的差异具有近似相同的趋势,因此以Tenengrad梯度函数计算得出的不同位置的清晰度也可作为图像信息相对可靠性数据。其中,对每一个部分的清晰度进行评价时,有多种无参考的清晰度评价方法可供选择,包括但不限于Tenengrad梯度 函数、Laplacian梯度函数、SMD(灰度方差)函数、Vollath函数、熵函数。Exemplarily, the excitation light is scanned in parallel within the focal plane of the eyepiece, and the optical axis of the eyepiece is perpendicular to the scanning plane of the excitation light. Therefore, from the analysis of the illumination thickness of the sample, the illumination thickness of the target beam waist area of the excitation light is thinner, and the farther away from the target beam waist area The greater the thickness of the illumination, so the difference in image resolution at different positions of the sample is more reflected in the direction parallel to the optical axis of the eyepiece. The closer to the beam waist area of the excitation light, the higher the resolution and the more principle the beam waist of the excitation light. area, the lower the resolution. Use the Tenengrad gradient function to compare the image sharpness of different 3D images at the same position in the direction perpendicular to the optical axis of the excitation light. The difference in sharpness and the difference in resolution have approximately the same trend, so it is calculated with the Tenengrad gradient function The sharpness of different positions can also be used as the relative reliability data of image information. Among them, when evaluating the sharpness of each part, there are a variety of non-referenced sharpness evaluation methods to choose from, including but not limited to Tenengrad gradient function, Laplacian gradient function, SMD (gray variance) function, Vollath function, entropy function.
S103、基于所述拼接参数对应样品不同区域将所述三维图像进行拼接,得到所述样品的完整三维图像。S103. Stitch the three-dimensional images corresponding to different regions of the sample based on the stitching parameters to obtain a complete three-dimensional image of the sample.
在一种可能的实施方式中,所述基于所述拼接参数对应的样品不同区域将所述三维图像进行拼接的步骤,包括:In a possible implementation manner, the step of stitching the three-dimensional images based on different areas of the sample corresponding to the stitching parameters includes:
基于所述边界和所述重合图像采用插值法合成重叠三维图像;synthesizing overlapping three-dimensional images by interpolation based on the boundaries and the overlapping images;
基于所述重叠三维图像将所述三维图像进行拼接。The three-dimensional images are stitched based on the overlapping three-dimensional images.
示例性的,对于样品的任意位置区域都取所述局部三维图像上相对可靠性最高处的图像,得到来自不同图像数据之间的边界,根据边界数据附件像素点的图像相对可靠性,向两侧各取部分像素点作为拼接边界的重叠区域,本例采用取到图像相对可靠性差异达到30%到60%处作为重叠区域的结束点,根据成像实际情况亦可做调整。Exemplarily, for any position area of the sample, the image at the position with the highest relative reliability on the local three-dimensional image is taken to obtain the boundary between different image data, and according to the relative reliability of the image of the pixel points attached to the boundary data, to the two Take some pixels on each side as the overlapping area of the splicing boundary. In this example, the point where the relative reliability difference of the image reaches 30% to 60% is used as the end point of the overlapping area, which can be adjusted according to the actual imaging situation.
示例性的,用插值法合成重叠区域的图像。可以对两侧区域分别进行插值,图像合成的边界点处,来自两个图像的数据插值权重相等,重叠区域边缘处以可靠性较高的数据权重为1,可靠性较低的数据权重为0,位于边界点和边缘之间的数据按两侧权重的线性插值分别计算权重,也可以采用其他插值法分别计算权重。接着,其他非重叠区域取该位置图像相对可靠性最高的数据,得到合成后的图像。Exemplarily, an interpolation method is used to synthesize images of overlapping regions. The regions on both sides can be interpolated separately. At the boundary point of image synthesis, the data interpolation weights from the two images are equal. At the edge of the overlapping region, the data with higher reliability has a weight of 1, and the data with lower reliability has a weight of 0. The data between the boundary point and the edge are weighted according to the linear interpolation of the weights on both sides, and other interpolation methods can also be used to calculate the weights. Next, for other non-overlapping areas, the data with the highest relative reliability of the image at this position is taken to obtain the synthesized image.
采用计算机进行自动化处理,各个步骤可以连续进行,因此,对于同一图像文件的处理只需从存储器读取和写入一次,能够显著的节约网络带宽和处理时间。利用计算机计算拼接参数,同一图像数据所得的拼接参数可以保证稳定,不因时间、空间、实验人员的差异而发生变化,显著的减少误差来源,保证了实验数据的高可重复性。计算拼接参数的同时比对了所有图像在全部局部的图像信息相对可靠性,因而可以评价拼接参数的相对可靠性,为评价该样品的成像质量提供参考。在图像合成步骤中,不同区域的重叠部分可以依据该区域的图像可靠性差异进行调整,使得在保证图像平滑性的前提下尽量保存更多的图像原始信息,更好的还原样品三维结构。The computer is used for automatic processing, and each step can be carried out continuously. Therefore, the processing of the same image file only needs to be read and written from the memory once, which can significantly save network bandwidth and processing time. Using the computer to calculate the stitching parameters, the stitching parameters obtained from the same image data can be guaranteed to be stable, and will not change due to differences in time, space, and experimenters, significantly reducing error sources, and ensuring high repeatability of experimental data. While calculating the stitching parameters, the relative reliability of the image information of all the images in all parts is compared, so the relative reliability of the stitching parameters can be evaluated, which provides a reference for evaluating the imaging quality of the sample. In the image synthesis step, the overlapping parts of different regions can be adjusted according to the difference in image reliability of the region, so as to preserve as much original image information as possible while ensuring image smoothness, and better restore the three-dimensional structure of the sample.
在一种可能的实施方式中,如图2所示,本申请实施例提供了一种光片式成像显微镜的图片合成装置200,所述装置包括:In a possible implementation, as shown in FIG. 2 , the embodiment of the present application provides an image synthesis device 200 of a light-sheet imaging microscope, and the device includes:
重构模块201,用于获取样品不同区域的局部三维图像,其中,所述局部三维图像为光片式成像显微镜若干个光片目的束腰位置不同的激发光源下拍摄的;The reconstruction module 201 is used to obtain local three-dimensional images of different regions of the sample, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheets of a light-sheet imaging microscope;
筛选模块202,用于对所述局部三维图像进行相对可靠性筛选,得到拼接参数,其中,所述相对可靠性由所述局部三维图像的亮度和/或分辨率计算得出;A screening module 202, configured to perform relative reliability screening on the local 3D image to obtain splicing parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the local 3D image;
拼接模块203,用于基于所述拼接参数对应的样品不同区域将所述目标三维图像进行拼接,得到所述样品的完整三维图像。The stitching module 203 is configured to stitch the target three-dimensional image based on the different regions of the sample corresponding to the stitching parameters to obtain a complete three-dimensional image of the sample.
在一种可能的实施方式中,如图3所示,本申请实施例提供了一种电子设备300,包括:处理器310、存储器320和总线330,所述存储器320存储有所述处理器310可执行的机器可读指令,当电子设备运行时,所述处理器310与所述存储器310之间通过总线330通信,所述处理器310执行所述机器可读指令,以执行时执行获取样品不同区域的局部三维图像,其中,所述局部三维图像为在光片式成像显微镜若干个光片目的束腰位置不同的激发光源下拍摄的;对所述局部三维图像进行相对可靠性筛选,得到拼接参数,其中,所述相对可靠性由所述局部三维图像的亮度和/或分辨率计算得出;基于所述拼接参数对应样品不同区域将所述三维图像进行拼接,得到所述样品的完整三维图像。In a possible implementation, as shown in FIG. 3 , the embodiment of the present application provides an electronic device 300, including: a processor 310, a memory 320, and a bus 330, and the memory 320 stores the information of the processor 310 Executable machine-readable instructions, when the electronic device is running, the processor 310 communicates with the memory 310 through the bus 330, and the processor 310 executes the machine-readable instructions to perform sample acquisition Local three-dimensional images of different regions, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheet objects of a light-sheet imaging microscope; the relative reliability of the local three-dimensional images is screened to obtain Stitching parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the local three-dimensional image; based on the stitching parameters, the three-dimensional images are stitched corresponding to different regions of the sample to obtain a complete image of the sample 3D image.
在一种可能的实施方式中,如图4所示,本申请实施例提供了一种计算机可读存储介质400,该计算机可读存储介质上存储有计算机程序411,该计算机程序411被处理器运行时执行获取样品不同区域的局部三维图像,其中,所述局部三维图像为在光片式成像显微镜若干个光片目的束腰位置不同的激发光源下拍摄的;对所述局部三维图像进行相对可靠性筛选,得到拼接参数,其中,所述相对可靠性由所述局部三维图像的亮度和/或分辨率计算得出;基于所述拼接参数对应样品不同区域将所述三维图像进行拼接,得到所述样品的完整三维图像。In a possible implementation, as shown in FIG. 4 , the embodiment of the present application provides a computer-readable storage medium 400, on which a computer program 411 is stored, and the computer program 411 is executed by a processor Perform the acquisition of local three-dimensional images of different regions of the sample during operation, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheets of the light-sheet imaging microscope; compare the local three-dimensional images Reliability screening to obtain splicing parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the local three-dimensional image; splicing the three-dimensional images corresponding to different regions of the sample based on the splicing parameters to obtain A full 3D image of the sample.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计 算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。Finally, it should be noted that: the above-described embodiments are only specific implementations of the application, used to illustrate the technical solutions of the application, rather than limiting it, and the scope of protection of the application is not limited thereto, although referring to the aforementioned The embodiment has described this application in detail, and those of ordinary skill in the art should understand that any person familiar with this technical field can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in this application Changes can be easily imagined, or equivalent replacements can be made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be covered by this application. within the scope of protection. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (11)

  1. 一种光片式成像显微镜的图片合成方法,其特征在于,所述方法包括:A method for synthesizing pictures of a light sheet imaging microscope, characterized in that the method comprises:
    获取样品不同区域的局部三维图像,其中,所述局部三维图像为在光片式成像显微镜若干个光片目的束腰位置不同的激发光源下拍摄的;Acquiring local three-dimensional images of different regions of the sample, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheets of a light sheet imaging microscope;
    对所述局部三维图像进行相对可靠性筛选,得到拼接参数,其中,所述相对可靠性由所述局部三维图像的亮度和/或分辨率计算得出;performing relative reliability screening on the local 3D image to obtain splicing parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the local 3D image;
    基于所述拼接参数对应样品不同区域将所述三维图像进行拼接,得到所述样品的完整三维图像。The three-dimensional images are stitched corresponding to different regions of the sample based on the stitching parameters to obtain a complete three-dimensional image of the sample.
  2. 根据权利要求1所述的方法,其特征在于,所述获取样品不同区域的局部三维图像的步骤,包括:The method according to claim 1, wherein the step of acquiring local three-dimensional images of different regions of the sample comprises:
    获取样品的平面图像信息,所述平面图像信息包括时间戳标签数据和平面图像;Obtaining planar image information of the sample, the planar image information including time stamp label data and planar image;
    基于所述时间戳标签数据计算得到相邻平面图像之间的时间间隔;Calculate the time interval between adjacent planar images based on the time stamp tag data;
    根据所述时间间隔与样品位移台的位移数据,得到所述平面图像的物理位置;Obtaining the physical position of the planar image according to the time interval and the displacement data of the sample displacement stage;
    根据所述时间间隔与拍摄设备的光学变焦数据,得到激发光光片目的束腰区域位置;According to the time interval and the optical zoom data of the shooting device, the position of the beam waist area of the excitation light sheet is obtained;
    基于所述平面图像的物理位置和所述激发光光片目的束腰区域位置将所述平面图像重构为所述局部三维图像。The planar image is reconstructed into the local three-dimensional image based on the physical position of the planar image and the position of the target beam waist area of the excitation light sheet.
  3. 根据权利要求2所述的方法,其特征在于,所述获取样品不同区域的局部三维图像的步骤,还包括:The method according to claim 2, wherein the step of acquiring local three-dimensional images of different regions of the sample further comprises:
    基于所述时间戳标签数据计算得到所有相邻平面图像之间的时间间隔;calculating time intervals between all adjacent planar images based on the timestamp tag data;
    基于所有相邻平面图像之间的时间间隔采用支持向量机方法,对相邻图片生成间隔期间所述拍摄设备的光学变焦系统和样品位移台的位移进行聚类,得到所述平面图像的所有物理位置和所有激发光光片目的束腰区域位置;Based on the time interval between all adjacent planar images, the support vector machine method is used to cluster the displacement of the optical zoom system of the shooting device and the displacement stage of the sample during the generation interval of adjacent pictures, and obtain all the physical features of the planar images. location and location of the beam waist region of all excitation beams;
    基于所述平面图像的所有物理位置和所述所有激发光光片目的束腰区域位置将所述平面图像重构为局部三维图像。The planar image is reconstructed into a local three-dimensional image based on all physical positions of the planar image and target beam waist region positions of all excitation light sheets.
  4. 根据权利要求1所述的方法,其特征在于,所述获取样品不同区域的局部三维图像的步骤,包括:The method according to claim 1, wherein the step of acquiring local three-dimensional images of different regions of the sample comprises:
    将所述平面图像按照垂直于所述拍摄设备的光学变焦系统发出的光线的方向分割成至少两个小区域;dividing the planar image into at least two small areas according to the direction perpendicular to the light emitted by the optical zoom system of the shooting device;
    采用梯度函数对每一个所述小区域的清晰度进行评价,得到每个小区域的评价结果;Evaluating the definition of each small region by using a gradient function to obtain an evaluation result for each small region;
    通过对比所述评价结果,得到所述平面图像的相对清晰度变化趋势;By comparing the evaluation results, the relative definition change trend of the planar image is obtained;
    分析所述平面图像的相对清晰度变化趋势,得到激发光目的束腰位置变化方向及变化 周期;Analyzing the relative definition change trend of the planar image, obtaining the change direction and change period of the beam waist position of the excitation light object;
    根据样品位移台位移方向、所述激发光目的束腰位置变化方向及变化周期,得到所述平面图像所对映的样品物理位置;Obtain the physical position of the sample corresponding to the planar image according to the displacement direction of the sample displacement stage, the change direction and change period of the beam waist position of the excitation light target;
    基于所述样品物理位置将所述平面图像进行三维重构。The planar image is three-dimensionally reconstructed based on the physical position of the sample.
  5. 根据权利要求1所述的方法,其特征在于,所述对所述局部三维图像进行相对可靠性筛选,得到拼接参数的步骤,包括:The method according to claim 1, wherein the step of performing relative reliability screening on the partial three-dimensional image to obtain stitching parameters includes:
    基于所述三维图像的的亮度和/或分辨率计算局部三维图像的相对可靠性数据;calculating relative reliability data of the local 3D image based on the brightness and/or resolution of the 3D image;
    选择所述可靠性数据中的最高值作为所述预设关键区域的边界,其中,所述预设关键区域为所述局部三维图像与相邻的三维图像之间的重合区域;Selecting the highest value in the reliability data as the boundary of the preset key area, wherein the preset key area is an overlapping area between the local 3D image and adjacent 3D images;
    选择所述边界两侧相对可靠性差异在预设范围内的三维图像作为所述重合区域内的重合图像;Selecting a three-dimensional image with a relative reliability difference on both sides of the boundary within a preset range as the overlapping image in the overlapping area;
    将所述边界和所述重合图像作为所述拼接参数。The boundary and the overlapping image are used as the stitching parameters.
  6. 根据权利要求5所述的方法,其特征在于,所述基于所述三维图像的的亮度计算局部三维图像的相对可靠性数据的步骤,包括:The method according to claim 5, wherein the step of calculating the relative reliability data of the local 3D image based on the brightness of the 3D image comprises:
    获取所述三维图像的所有有效像素点,得出不同目的束腰区域在激发光照射下所有有效像素点的亮度比;Obtaining all effective pixels of the three-dimensional image, and obtaining the brightness ratio of all effective pixels of beam waist regions of different purposes under excitation light irradiation;
    对所述三维图像的所有有效像素点的亮度比进行归一化处理,采用负指数幂项的正态分布对不同图像的激发光能量分布进行拟合,得到二维正态分布;performing normalization processing on the brightness ratios of all effective pixels of the three-dimensional image, and fitting the excitation light energy distribution of different images by using a normal distribution with a negative exponential power term to obtain a two-dimensional normal distribution;
    再由激发光能量密度服从二维正态分布的特性计算每个有效像素点激发光能量密度的方差;Then, the variance of the excitation light energy density of each effective pixel point is calculated according to the characteristic that the excitation light energy density obeys the two-dimensional normal distribution;
    将所述方差作为所述相对可靠性数据。The variance is used as the relative reliability data.
  7. 根据权利要求5所述的方法,其特征在于,所述基于所述三维图像的的分辨率计算局部三维图像的相对可靠性数据的步骤,包括:The method according to claim 5, wherein the step of calculating the relative reliability data of the local 3D image based on the resolution of the 3D image comprises:
    使用梯度函数在垂直于激发光光轴的方向上比对不同三维图像在同一位置的图像分辨率;Using a gradient function to compare the image resolutions of different three-dimensional images at the same position in a direction perpendicular to the optical axis of the excitation light;
    将所述分辨率作为所述相对可靠性数据。The resolution is taken as the relative reliability data.
  8. 根据权利要求5所述的方法,其特征在于,所述基于所述拼接参数对应的样品不同区域将所述目标三维图像进行拼接的步骤,包括:The method according to claim 5, wherein the step of stitching the target three-dimensional image based on different areas of the sample corresponding to the stitching parameters includes:
    基于所述边界和所述重合图像采用插值法合成重叠三维图像;synthesizing overlapping three-dimensional images by interpolation based on the boundaries and the overlapping images;
    基于所述重叠三维图像将所述三维图像进行拼接。The three-dimensional images are stitched based on the overlapping three-dimensional images.
  9. 一种光片式成像显微镜的图片合成装置,其特征在于,所述装置包括:A picture synthesis device of a light sheet imaging microscope, characterized in that the device comprises:
    重构模块,用于获取样品不同区域的局部三维图像,其中,所述局部三维图像为光片 式成像显微镜若干个光片目的束腰位置不同的激发光源下拍摄的;The reconstruction module is used to obtain local three-dimensional images of different regions of the sample, wherein the local three-dimensional images are taken under excitation light sources with different beam waist positions of several light sheet objects of the light-sheet imaging microscope;
    筛选模块,用于对所述局部三维图像进行相对可靠性筛选,得到拼接参数,其中,所述相对可靠性由所述局部三维图像的亮度和/或分辨率计算得出;A screening module, configured to perform relative reliability screening on the partial three-dimensional image to obtain splicing parameters, wherein the relative reliability is calculated from the brightness and/or resolution of the partial three-dimensional image;
    拼接模块,用于基于所述拼接参数对应的样品不同区域将所述目标三维图像进行拼接,得到所述样品的完整三维图像。A stitching module, configured to stitch the target three-dimensional image based on different regions of the sample corresponding to the stitching parameters, to obtain a complete three-dimensional image of the sample.
  10. 一种电子设备,其特征在于,包括:处理器、存储介质和总线,所述存储介质存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储介质之间通过总线通信,所述处理器执行所述机器可读指令,以执行时执行如权利要求1至8任一所述的光片式成像显微镜的图片合成方法的步骤。An electronic device, characterized in that it includes: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the The storage media communicate with each other through a bus, and the processor executes the machine-readable instructions to execute the steps of the image synthesis method for a light-sheet imaging microscope according to any one of claims 1 to 8.
  11. 一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如权利要求1至8任一所述的光片式成像显微镜的图片合成方法的步骤。A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the light-sheet imaging microscope according to any one of claims 1 to 8 is executed. The steps of the image synthesis method.
PCT/CN2022/105773 2021-10-28 2022-07-14 Image synthesis method and apparatus, electronic device and storage medium WO2023071302A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111258879.6A CN113706433B (en) 2021-10-28 2021-10-28 Picture synthesis method and device, electronic equipment and storage medium
CN202111258879.6 2021-10-28

Publications (1)

Publication Number Publication Date
WO2023071302A1 true WO2023071302A1 (en) 2023-05-04

Family

ID=78647122

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/105773 WO2023071302A1 (en) 2021-10-28 2022-07-14 Image synthesis method and apparatus, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113706433B (en)
WO (1) WO2023071302A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116912429A (en) * 2023-09-13 2023-10-20 江苏普旭科技股份有限公司 Three-dimensional reconstruction method and system for high-definition video IG (inter-group) material
CN117495984A (en) * 2023-12-27 2024-02-02 临沂大学 Intelligent calibration method for coaxial hybrid optical zoom pinhole lens

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113706433B (en) * 2021-10-28 2022-02-08 千乘镜像(北京)科技有限公司 Picture synthesis method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150371420A1 (en) * 2014-06-19 2015-12-24 Samsung Electronics Co., Ltd. Systems and methods for extending a field of view of medical images
CN107764204A (en) * 2017-11-30 2018-03-06 苏州优函信息科技有限公司 Based on the microscopical three-dimensional surface topography instrument of mating plate and 3-D view joining method
CN110581956A (en) * 2019-08-26 2019-12-17 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN111626933A (en) * 2020-05-14 2020-09-04 湖南国科智瞳科技有限公司 Accurate and rapid microscopic image splicing method and system
CN112750078A (en) * 2020-12-28 2021-05-04 广州市明美光电技术有限公司 Microscopic image real-time splicing method and storage medium based on electric platform
CN113470167A (en) * 2021-06-28 2021-10-01 平湖莱顿光学仪器制造有限公司 Method and equipment for presenting three-dimensional microscopic image
CN113706433A (en) * 2021-10-28 2021-11-26 千乘镜像(北京)科技有限公司 Picture synthesis method and device, electronic equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7128203B2 (en) * 2017-04-14 2022-08-30 ヴェンタナ メディカル システムズ, インク. Local tile-based registration and global placement for stitching

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150371420A1 (en) * 2014-06-19 2015-12-24 Samsung Electronics Co., Ltd. Systems and methods for extending a field of view of medical images
CN107764204A (en) * 2017-11-30 2018-03-06 苏州优函信息科技有限公司 Based on the microscopical three-dimensional surface topography instrument of mating plate and 3-D view joining method
CN110581956A (en) * 2019-08-26 2019-12-17 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN111626933A (en) * 2020-05-14 2020-09-04 湖南国科智瞳科技有限公司 Accurate and rapid microscopic image splicing method and system
CN112750078A (en) * 2020-12-28 2021-05-04 广州市明美光电技术有限公司 Microscopic image real-time splicing method and storage medium based on electric platform
CN113470167A (en) * 2021-06-28 2021-10-01 平湖莱顿光学仪器制造有限公司 Method and equipment for presenting three-dimensional microscopic image
CN113706433A (en) * 2021-10-28 2021-11-26 千乘镜像(北京)科技有限公司 Picture synthesis method and device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116912429A (en) * 2023-09-13 2023-10-20 江苏普旭科技股份有限公司 Three-dimensional reconstruction method and system for high-definition video IG (inter-group) material
CN116912429B (en) * 2023-09-13 2023-12-08 江苏普旭科技股份有限公司 Three-dimensional reconstruction method and system for high-definition video IG (inter-group) material
CN117495984A (en) * 2023-12-27 2024-02-02 临沂大学 Intelligent calibration method for coaxial hybrid optical zoom pinhole lens
CN117495984B (en) * 2023-12-27 2024-03-29 临沂大学 Intelligent calibration method for coaxial hybrid optical zoom pinhole lens

Also Published As

Publication number Publication date
CN113706433A (en) 2021-11-26
CN113706433B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
WO2023071302A1 (en) Image synthesis method and apparatus, electronic device and storage medium
Qiao et al. Evaluation and development of deep neural networks for image super-resolution in optical microscopy
JP7422825B2 (en) Focus-weighted machine learning classifier error prediction for microscope slide images
Hugonnet et al. Multiscale label-free volumetric holographic histopathology of thick-tissue slides with subcellular resolution
Kandel et al. Label-free tissue scanner for colorectal cancer screening
US9881373B2 (en) Image generating apparatus and image generating method
TW201428339A (en) Fourier ptychographic imaging systems, devices, and methods
JP2010243597A (en) Device and method for presenting biological image, program, and biological image presentation system
Piccinini et al. Automated image mosaics by non‐automated light microscopes: the MicroMos software tool
US7003143B1 (en) Tomographic microscope for high resolution imaging and method of analyzing specimens
Chang et al. Real-time multi-angle projection imaging of biological dynamics
Hess et al. Application of multi-modal 2D and 3D imaging and analytical techniques to document and examine coins on the example of two Roman silver denarii
Schmied et al. Open-source solutions for SPIMage processing
US20220343463A1 (en) Changing the size of images by means of a neural network
Zhao et al. Quantitatively mapping local quality of super-resolution microscopy by rolling Fourier ring correlation
Piccinini et al. Colour vignetting correction for microscopy image mosaics used for quantitative analyses
Carozza et al. An incremental method for mosaicing of optical microscope imagery
Lang et al. Multichannel correlation improves the noise tolerance of real-time hyperspectral microimage mosaicking
Huber et al. 3D light scanning macrography
WO2022050109A1 (en) Image processing device, image processing method, and image processing system
Trusk 3D reconstruction of confocal image data
Gong et al. Intensity-mosaic: automatic panorama mosaicking of disordered images with insufficient features
Berger Haladová et al. Finding the Best Lighting Mode for Daguerreotype, Ambrotype, and Tintype Photographs and Their Deterioration on the Cruse Scanner Based on Selected Methods
Bhaskar et al. Live cell imaging: a computational perspective
WO2022202233A1 (en) Information processing device, information processing method, information processing system and conversion model

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22885206

Country of ref document: EP

Kind code of ref document: A1