WO2020192235A1 - Two-photon fluorescence imaging method and system, and image processing device - Google Patents

Two-photon fluorescence imaging method and system, and image processing device Download PDF

Info

Publication number
WO2020192235A1
WO2020192235A1 PCT/CN2019/130895 CN2019130895W WO2020192235A1 WO 2020192235 A1 WO2020192235 A1 WO 2020192235A1 CN 2019130895 W CN2019130895 W CN 2019130895W WO 2020192235 A1 WO2020192235 A1 WO 2020192235A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
light
light field
gradient
intensity
Prior art date
Application number
PCT/CN2019/130895
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 WO2020192235A1 publication Critical patent/WO2020192235A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/62Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light
    • G01N21/63Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light optically excited
    • G01N21/64Fluorescence; Phosphorescence
    • G01N21/6402Atomic fluorescence; Laser induced fluorescence
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/62Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light
    • G01N21/63Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light optically excited
    • G01N21/64Fluorescence; Phosphorescence
    • G01N21/645Specially adapted constructive features of fluorimeters
    • G01N21/6456Spatial resolved fluorescence measurements; Imaging
    • G01N21/6458Fluorescence microscopy
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B21/00Microscopes
    • G02B21/0004Microscopes specially adapted for specific applications
    • G02B21/002Scanning microscopes
    • G02B21/0024Confocal scanning microscopes (CSOMs) or confocal "macroscopes"; Accessories which are not restricted to use with CSOMs, e.g. sample holders
    • G02B21/0052Optical details of the image generation
    • G02B21/0076Optical details of the image generation arrangements using fluorescence or luminescence

Definitions

  • the invention belongs to the technical field of two-photon fluorescence, and in particular relates to a two-photon fluorescence imaging method, system and image processing equipment.
  • the existing two-photon fluorescence microscope mainly excites the fluorescence signal only at the focal point with the highest energy through the nonlinear effect, provides optical sectioning capability, and can only image a certain depth position of the sample at a time.
  • the following three technologies are usually used:
  • Technique 1 With the help of a stepper motor or a zoom lens, the focus can be moved axially along the depth direction of the sample. This method has a slower imaging speed;
  • Technique 2 Use the characteristic of axial elongated focus of Bessel beam to scan the large-volume three-dimensional area of the sample, this method lacks axial position information;
  • the embodiments of the present invention provide a two-photon fluorescence imaging method, system and image processing equipment to solve the problems of slow imaging speed, poor resolution, and complex algorithms in the prior art for imaging a large-volume three-dimensional area of a sample .
  • the first aspect of the embodiments of the present invention provides a two-photon fluorescence imaging method, which is applied to a two-photon fluorescence imaging system, and the two-photon fluorescence imaging method includes:
  • Wavefront shaping is performed on the incident first pulsed light beam to obtain the first light beam; wherein the light field of the first light beam at the focal point of the objective lens of the two-photon fluorescence imaging system is a first gradient light field, and The light intensity distribution of a gradient light field changes in a gradient along the z-axis, and the z-axis direction is the depth direction of the sample to be tested;
  • Wavefront shaping is performed on the incident second pulsed light beam to obtain a second light beam; wherein the light field of the second light beam at the focal point of the objective lens is the first light intensity distribution opposite to the light intensity distribution of the first gradient light field Two gradient light fields;
  • performing wavefront shaping on the incident first pulse beam to obtain the first beam includes:
  • the wavefront shaping of the incident second pulse beam to obtain the second beam includes:
  • the method before the wavefront shaping of the incident first pulse beam to obtain the first beam, the method includes:
  • a genetic algorithm is used to find the phase corresponding to the light field most similar to the second gradient light field as the second preset phase.
  • the calculation formula for calculating the light field at the focal point corresponding to each phase function is:
  • P() is the phase function of the entrance pupil, which is the maximum value
  • NA is the numerical aperture of the objective lens
  • n is the immersion medium of the objective lens
  • is the wavelength of the light
  • z is the z-axis position information.
  • performing three-dimensional data reconstruction on the sample to be tested based on the first image and the second image to obtain a three-dimensional depth image of the sample to be tested includes:
  • the intensity information in the intensity image and the z-axis position information in the normalized position matrix are encoded into the same image to obtain a three-dimensional depth image of the sample to be tested; wherein, the Z-axis
  • the position information is coded as different colors, and the intensity information is coded as color saturation.
  • the second aspect of the embodiments of the present invention provides a two-photon fluorescence imaging system, including:
  • the wavefront shaping module is used to shape the wavefront of the incident first pulse beam to obtain the first beam
  • the photon fluorescence microscope is used to scan the sample to be tested through the first light beam to obtain a first image; wherein the light field of the first light beam at the focal point of the objective lens of the two-photon fluorescence microscope is a first gradient light field , The light intensity distribution of the first gradient light field changes in a gradient along the z-axis, and the z-axis direction is the depth direction of the sample to be tested;
  • the wavefront shaping module is also used to perform wavefront shaping on the incident second pulsed light beam to obtain a second light beam; wherein the light field of the second light beam at the focal point of the objective lens is the same as that of the first A second gradient light field with an opposite light intensity distribution of the gradient light field;
  • the two-photon fluorescence microscope is also used to scan the sample to be tested through the second beam to obtain a second image
  • the image processing device is used to perform three-dimensional data reconstruction according to the first image and the second image to obtain a three-dimensional depth image of the sample to be tested.
  • the wavefront shaping module includes:
  • the half-wave plate is used to rotate the polarization direction of the incident first pulsed beam to obtain the first polarized beam with the preset polarization direction;
  • a spatial light modulator configured to perform spatial phase modulation on the first polarized light beam to obtain a first light beam with a first preset phase
  • the half-wave plate is also used to rotate the polarization direction of the incident second pulsed light beam to obtain a second polarized light beam with a preset polarization direction;
  • the spatial light modulator is also used to perform spatial phase modulation on the second polarized light beam to obtain a second light beam with a second preset phase.
  • the image processing device is in communication connection with the spatial light modulator, and the image processing device includes:
  • the first design module is used to design a first focal point with light intensity distributed along the z axis; wherein the light field at the first focal point is a first gradient light field;
  • the second design module is used to design a second focal point where the light intensity is distributed along the z axis; wherein the light field at the second focal point is a second gradient light field;
  • a dividing module configured to divide the entrance pupil of the objective lens into a preset number of rings of equal area
  • a combination module configured to combine the phases of the preset number of rings with the same area as the phase function of the entrance pupil
  • a calculation module configured to calculate the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil
  • the first searching module is configured to use a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field, as the first preset phase and output to the spatial light modulator;
  • the second searching module is used to search for the phase corresponding to the light field most similar to the second gradient light field by using a genetic algorithm, as a second preset phase and output to the spatial light modulator.
  • the image processing device includes:
  • a normalization processing module configured to perform maximum normalization processing on the first image and the second image respectively;
  • the first extraction module is configured to extract intensity information of the first image and the second image after the maximum value normalization processing is performed to obtain an intensity image;
  • the second extraction module is configured to set an intensity threshold to extract intensity information from the intensity image to obtain an effective information area
  • the third extraction module is configured to extract the z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image;
  • a sorting module configured to sort the z-axis position information in the position matrix, and select a value range according to the sorting result to normalize the position matrix
  • An encoding module for encoding the intensity information in the intensity image and the z-axis position information in the normalized position matrix into the same image to obtain a three-dimensional depth image of the sample to be tested; wherein The z-axis position information is coded as different colors, and the intensity information is coded as color saturation.
  • the third aspect of the embodiments of the present invention provides an image processing device, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor executes the computer program. Realize the functions of the above-mentioned modules when programming.
  • a fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the functions of the foregoing modules are realized.
  • the wavefront shaping of the two incident pulsed light beams is performed sequentially to obtain two light beams with a gradient light field at the focal point of the objective lens, and the light intensity distributions of the gradient light fields of the two light beams are opposite.
  • the imaging speed is fast, the resolution is high, the algorithm is simple, and it is easy to implement. And because of the fast imaging speed, the photodamage and photobleaching effects of the sample to be tested are effectively reduced, and it is especially suitable for three-dimensional imaging of embryonic development samples and neural activity samples.
  • FIG. 1 is a schematic flowchart of a two-photon fluorescence imaging method according to Embodiment 1 of the present invention
  • Embodiment 2 is a schematic diagram of gradient light field imaging according to Embodiment 1 of the present invention.
  • Embodiment 3 is a schematic flow chart of a two-photon fluorescence imaging method provided by Embodiment 2 of the present invention.
  • FIG. 4 is a schematic flowchart of a method for calculating the phase of a gradient light field according to the second embodiment of the present invention.
  • 5-7 are the light intensity distributions of the first gradient light field and the second gradient light field provided by the second embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a genetic algorithm provided by Embodiment 2 of the present invention.
  • FIGS. 9 and 10 are schematic flowcharts of a three-dimensional data reconstruction method provided by Embodiment 3 of the present invention.
  • FIG. 11 is a schematic structural diagram of a two-photon fluorescence imaging system provided by Embodiment 4 of the present invention.
  • FIG. 12 is a schematic structural diagram of a wavefront shaping module provided by Embodiment 4 of the present invention.
  • FIG. 13 is a schematic structural diagram of an image processing device provided by Embodiment 5 of the present invention.
  • This embodiment provides a two-photon fluorescence imaging method, which is applied to a two-photon fluorescence imaging system.
  • the two-photon fluorescence imaging system includes a wavefront shaping module, a two-photon fluorescence microscope, and image processing equipment.
  • the wavefront shaping module can include a spatial light modulator that modulates the phase of the wavefront
  • the image processing equipment can be a fully automatic or semi-automatic microscope photography device that comes with a two-photon fluorescence microscope, or it can include an image sensor and Computing equipment such as desktop computers, notebooks, palmtop computers and cloud servers.
  • the two-photon fluorescence imaging method provided by this embodiment includes:
  • Step S101 Perform wavefront shaping on the incident first pulsed light beam to obtain the first light beam; wherein the light field of the first light beam at the focal point of the objective lens of the two-photon fluorescence imaging system is a first gradient light field, The light intensity distribution of the first gradient light field changes in a gradient along the z-axis, and the z-axis direction is the depth direction of the sample to be tested.
  • a laser can be used to generate the first pulse beam
  • the wavefront shaping module can perform wavefront shaping on the incident first pulse beam to modulate the phase of the first pulse beam to obtain a first pulse beam with a specific phase.
  • the light beam when the first light beam reaches the focal point of the objective lens of the two-photon fluorescence imaging system, forms a first gradient light field with a gradient of light intensity distribution along the z-axis.
  • the depth direction of the sample to be tested as the z-axis direction
  • the width direction of the sample to be tested as the x-axis direction
  • the length direction of the sample to be tested as the y-axis direction.
  • the x-axis, y-axis and z-axis directions can also be customized according to actual needs. Definition, as long as it follows the definition rules of the Cartesian coordinate system.
  • Step S102 Scan the sample to be tested by the first light beam to obtain a first image.
  • the first light beam can be emitted to the sample under test by a two-photon fluorescence microscope, and then the fluorescence excited by the area at the focus of the objective lens in the sample under test and the beam reflected by the sample under test can be obtained by the image processing device. Perform imaging to get the first image.
  • the light intensity distribution of the pixels in the first image in the z-axis direction is the same as the first gradient light field.
  • Step S103 performing wavefront shaping on the incident second pulsed light beam to obtain a second light beam; wherein the light field of the second light beam at the focal point of the objective lens is the same as the light intensity distribution of the first gradient light field Opposite the second gradient light field.
  • the second pulse beam can be generated by a laser, and the incident second pulse beam can be wavefront-shaped by the wavefront shaping module to modulate the phase of the second pulse beam to obtain a second pulse beam with a specific phase.
  • Two beams so that when the second beam reaches the focal point of the double objective lens, it forms a second gradient light field with a gradient of light intensity distribution along the z-axis, and the light intensity distribution of the second gradient light field is opposite to that of the first gradient light field , That is, the gradient change of the first light field in the positive z-axis direction is the same as the gradient change of the second light field in the negative z-axis direction.
  • the light intensity distribution of the first gradient light field changes from strong to weak along the positive z-axis direction
  • the light intensity distribution of the second gradient light field changes from weak to strong along the positive z-axis direction, and vice versa.
  • Step S104 Scan the sample to be tested by the second light beam to obtain a second image.
  • the second light beam can be emitted to the sample under test through a two-photon fluorescence microscope, and then the fluorescence excited by the area at the focal point of the objective lens in the sample under test and the beam reflected by the sample under test can be obtained by the image processing device. Perform imaging to obtain a second image.
  • the light intensity distribution of the pixels in the second image in the z-axis direction is the same as the second gradient light field.
  • Step S105 Perform three-dimensional data reconstruction according to the first image and the second image to obtain a three-dimensional depth image of the sample to be tested.
  • three-dimensional data reconstruction of the first image and the second image can be performed by the image processing equipment, mainly through the ratio R of the first image and the second image, which reflects the position of each position point in the sample to be tested. Then through the corresponding relationship between R and the z-axis position information z, the z-axis position information of each position point in the sample to be tested is obtained, so as to know the position of each position point in the sample to be tested in the z-axis direction, and then obtain the sample Three-dimensional depth image.
  • FIG. 2 it exemplarily shows a gradient light field imaging principle diagram that uses the first gradient light field and the second gradient light field to obtain a three-dimensional gradient image of the sample to be tested.
  • Fig. 2 exemplarily shows a sample to be tested in a rectangular shape, and the positions of two points in the sample to be tested in the z-axis direction are d1 and d2;
  • the ratio R between the first image and the second image reflects the positions of the two points in the sample to be tested; among them, or (Exemplary shown in Figure 2 ); Among them, 0 ⁇ 1 represents the numerical range of R;
  • the z-axis position information of each position in the sample to be tested is obtained, and the three-dimensional depth image of the sample to be tested is finally obtained; among them, 0-12 represents the value range of z, and the unit is ⁇ m.
  • the wavefront shaping of the two incident pulse beams is performed sequentially to obtain two beams with a gradient light field at the focal point of the objective lens, and the light intensity distributions of the gradient light fields of the two beams are opposite. Then scan the sample to be tested by two light beams to obtain two images, and reconstruct the three-dimensional data based on the two images to obtain the three-dimensional depth image of the sample to be tested.
  • the imaging speed is fast, the resolution is high, the algorithm is simple, and it is easy to implement. Due to the fast imaging speed (6-10 times of ordinary two-photon fluorescence microscope), the photodamage and photobleaching effects of the sample to be tested are effectively reduced, and it is especially suitable for three-dimensional imaging of embryonic development samples and neural activity samples.
  • step S101 in the first embodiment includes:
  • Step S301 Rotate the polarization direction of the incident first pulse beam to obtain a first polarization beam with a preset polarization direction;
  • Step S302 Perform spatial phase modulation on the first polarized light beam to obtain a first light beam with a first preset phase.
  • the wavefront shaping module may include a half-wave plate and a spatial light modulator.
  • the polarization direction of the incident first pulsed beam can be adjusted by the half-wave plate so that the polarization direction of the first polarized beam is the same as that of the spatial light.
  • the polarization direction of the modulator is consistent.
  • the first polarized light beam can be spatially phase modulated by the spatial light modulator, so that when the first light beam reaches the focal point of the objective lens of the two-photon fluorescence imaging system, the light intensity distribution changes along the z axis with a gradient.
  • the first gradient light field can be spatially phase modulated by the spatial light modulator, so that when the first light beam reaches the focal point of the objective lens of the two-photon fluorescence imaging system, the light intensity distribution changes along the z axis with a gradient.
  • Step S103 includes:
  • Step S303 Rotate the polarization direction of the incident second pulse beam to obtain a second polarization beam with a preset polarization direction;
  • Step S304 Perform spatial phase modulation on the second polarized light beam to obtain a second light beam with a second preset phase.
  • the polarization direction of the incident second pulsed beam can be adjusted by the half-wave plate, so that the polarization direction of the second polarized beam is consistent with the polarization direction of the spatial light modulator.
  • the second polarized light beam can be spatially phase modulated by the spatial light modulator, so that when the second light beam reaches the focal point of the objective lens of the two-photon fluorescence imaging system, the light intensity distribution changes along the z axis with a gradient.
  • the second gradient light field can be spatially phase modulated by the spatial light modulator, so that when the second light beam reaches the focal point of the objective lens of the two-photon fluorescence imaging system, the light intensity distribution changes along the z axis with a gradient.
  • the method further includes:
  • Step S401 Design a first focal point with light intensity distributed along the z-axis; wherein the light field at the first focal point is a first gradient light field;
  • Step S402 Design a second focal point with light intensity distributed along the z axis; wherein the light field at the second focal point is a second gradient light field;
  • Step S403 Divide the entrance pupil of the objective lens into a preset number of rings with equal areas.
  • the light intensity distribution (ie, gradient change) of the first gradient light field and the second gradient light field can be set according to actual needs, as long as the light intensity distributions of the two light fields are opposite.
  • the preset number can be set according to actual needs, and the preset number is positively correlated with the designed light intensity distribution accuracy of the gradient light field corresponding to the first focus and the second focus.
  • the preset number can be set to any value from 20 to 80, specifically 40.
  • FIG. 5 exemplarily shows the phase image of the entrance pupil divided into a preset number of rings of equal area, and the first gradient light field and the second gradient light field corresponding to the phase image of the entrance pupil;
  • GrandF1 means that the light intensity of the first gradient light field changes from strong to weak along the Z axis
  • GrandF2 means that the light intensity of the second gradient light field changes from weak to strong along the Z axis
  • 0 ⁇ 1 means the range of light intensity
  • - ⁇ ⁇ represents the phase angle
  • Fig. 6 exemplarily shows the light intensity distribution of the first gradient light field and the second gradient light field along the z axis
  • Fig. 7 exemplarily shows the light intensity distribution along the z-axis of the light field obtained by adding the first gradient light field and the second gradient light field.
  • Step S404 Combining the phases of the preset number of rings with the same area as the phase function of the entrance pupil.
  • the phase function of each ring can be regarded as a combination of the phases of each ring
  • the phase function of the entrance pupil can be regarded as a combination of the phase functions of a preset number of rings. Therefore, you can use
  • the combination of the phases of the preset number of rings represents the phase function of the entrance pupil.
  • Step S405 Calculate the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil.
  • the calculation formula of step S405 is Richards-Wolf (Richards-Wolf vector diffraction integral) calculation formula, which is specifically expressed as follows:
  • P() is the phase function of the entrance pupil, which is the maximum value
  • NA is the numerical aperture of the objective lens
  • n is the immersion medium of the objective lens
  • is the wavelength of the light
  • z is the position information of the z-axis
  • z-axis is the optical axis of the objective lens
  • the numerical aperture and immersion medium of the objective lens are different depending on the type of objective lens selected; the wavelength of the light is also different according to the type of laser selected.
  • the numerical aperture of the objective lens is 1, the wetting medium of the objective lens is 1.33, and the wavelength of the light is 920 nm.
  • Step S406 Use a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field as the first preset phase;
  • Step S407 Use a genetic algorithm to find the phase corresponding to the light field most similar to the second gradient light field as the second preset phase.
  • step S406 and step 407 are as follows:
  • Step S801 the initial population, go to step S802; wherein, the initial population is a combination of the phases of the preset number of rings of equal area;
  • Step S802 Calculate the light intensity distribution I(z) at the focal point of each individual in the population, and proceed to step S803; wherein I(z) is calculated by the above-mentioned Richards-Wolf calculation formula using the phase of each ring get;
  • Step S804 judge whether the current iteration number is less than the maximum iteration number; if yes, go to step S805; if not, go to step S808;
  • Step S805 select, and go to step S806;
  • Step S807 For a new population, go to step S802; wherein the number of individuals in the new population is less than the number of individuals in the initial population;
  • Step S808 Output the individual with the smallest F obj , and proceed to step S809; wherein the individual with the smallest F obj is the individual with the light intensity distribution most similar to the target gradient light field.
  • the target gradient light field is the first gradient light field
  • the target gradient light field is the second gradient light field
  • the maximum number of iterations and the initial population number can be set according to actual needs.
  • step S406 it includes:
  • the maximum number of iterations of the genetic algorithm is 4000, the initial population is set to 8000, and the variable accuracy of each individual is set to 28 .
  • the genetic algorithm is used to calculate and the population number is gradually reduced to speed up the number of iterations. After the iteration, the phase corresponding to the light field most similar to the target gradient light field is output and loaded on the spatial light modulator as the optimal phase. Then the corresponding gradient light field can be obtained behind the objective lens.
  • step S105 in the first embodiment includes:
  • Step S901 Perform maximum normalization processing on the first image and the second image respectively.
  • the light intensity of each pixel in the first image is divided by the maximum light intensity in the first image to realize the normalization of the maximum value of the first image; each pixel in the second image The light intensity of is divided by the maximum light intensity in the second image to achieve normalization of the maximum value of the second image.
  • Step S902 Perform intensity information extraction on the first image and the second image after the maximum value normalization process is performed to obtain an intensity image.
  • step S902 is:
  • Im is the intensity image
  • Im 1 is the first image
  • Im 2 is the second image.
  • the intensity distribution in the intensity image reflects the strength of the fluorescence signal excited by the sample to be tested.
  • Step S903 Set an intensity threshold to perform intensity information extraction on the intensity image to obtain an effective information area.
  • the light intensity distribution of the light field obtained by adding the first gradient light field and the second gradient light field shown in FIG. 7 can be used for intensity information extraction to obtain an effective information area.
  • step S903 the method includes:
  • Step S904 Extract z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image.
  • step S904 is:
  • the position matrix includes the z-axis position information of all pixels in the effective information area, that is, the position matrix is equivalent to a set of z.
  • the method further includes:
  • Gaussian filtering is performed on the intensity image to perform noise reduction processing on the intensity image.
  • the window size of the Gaussian filtering operation can be set according to actual needs.
  • the smaller the window the better the noise reduction processing effect.
  • the window size of the Gaussian filtering operation is 1 pixel.
  • Step S905 Sort the z-axis position information in the position matrix, and select a value range according to the sorting result to normalize the position matrix.
  • the z-axis position information in the position matrix can be sorted from small to large or from large to small. Since the effective ratio of noise influence is distributed in a specific interval, it is necessary to select the appropriate minimum z and maximum z.
  • the position matrix is normalized.
  • the value range of z is 0-12.
  • Step S906 Encode the intensity information in the intensity image and the z-axis position information in the position matrix after the normalization process into the same image to obtain a three-dimensional depth image of the sample to be tested; where The Z-axis position information is coded as different colors, and the intensity information is coded as color saturation.
  • step S906 can be implemented according to the colormap function used to set and obtain the current color map in MATLAB.
  • the images at each stage in step S901 to step S906 are exemplarily shown.
  • the maximum value of z shown in Figure 2, Figure 6 or Figure 10 is 12um, which is l axial . It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
  • this embodiment provides a two-photon fluorescence imaging system 100 for performing the two-photon fluorescence imaging method in any one of Embodiment 1 to Embodiment 3, including:
  • the wavefront shaping module 1 is used for wavefront shaping of the incident first pulse beam to obtain the first beam;
  • the photon fluorescence microscope 2 is used to scan the sample to be tested through the first beam to obtain the first image; wherein, the light field of the first beam at the focal point of the objective lens of the two-photon fluorescence microscope 2 is a first gradient light field, and the first gradient The light intensity distribution of the light field changes in a gradient along the z-axis, and the z-axis direction is the depth direction of the sample to be tested;
  • the wavefront shaping module 2 is also used to perform wavefront shaping on the incident second pulsed light beam to obtain a second light beam; wherein the light field of the second light beam at the focal point of the objective lens is the same as the light intensity distribution of the first gradient light field The opposite second gradient light field;
  • the two-photon fluorescence microscope 2 is also used to scan the sample to be tested with a second beam to obtain a second image;
  • the image processing device 3 is used to perform three-dimensional data reconstruction based on the first image and the second image to obtain a three-dimensional depth image of the sample to be tested.
  • the image processing equipment can be a fully automatic or semi-automatic microscope photography device that comes with a two-photon fluorescence microscope, or it can include image sensors and computing devices such as desktop computers, notebooks, palmtops, and cloud servers.
  • the image processing device 3 is in communication connection with the spatial light modulator 1, and the image processing device is used to control the spatial light modulator to change the phases of the first pulse beam and the second pulse beam in order to
  • the light field at the focal point of the objective lens is the first light beam of the first gradient light field
  • the light field at the focal point of the objective lens is the second light beam of the second gradient light field opposite to the light intensity distribution of the first gradient light field.
  • the two-photon fluorescence imaging system 100 further includes a laser 4 for generating a first pulse beam and a second pulse beam and emitting them to the wavefront shaping module 1.
  • the laser can be selected according to actual needs to be suitable for two-photon fluorescence imaging, for example, a femtosecond pulsed laser.
  • the wavefront shaping module 1 includes:
  • the half-wave plate 11 is used to rotate the polarization direction of the incident first pulsed beam to obtain the first polarized beam with a preset polarization direction;
  • the spatial light modulator 12 is configured to perform spatial phase modulation on the first polarized light beam to obtain the first light beam of the first preset phase;
  • the half-wave plate 11 is also used to rotate the polarization direction of the incident second pulsed light beam to obtain a second polarized light beam with a preset polarization direction;
  • the spatial light modulator 12 is also used to perform spatial phase modulation on the second polarized light beam to obtain a second light beam with a second preset phase.
  • the entrance surface of the half-wave plate faces the exit surface of the laser
  • the exit surface of the half-wave plate faces the entrance surface of the spatial light modulator
  • the exit surface of the spatial light modulator faces the entrance surface of the scanning galvanometer of the two-photon fluorescence microscope .
  • the wavefront shaping module 1 further includes:
  • the reflecting mirror 13 is used to reflect the first pulse beam and the second pulse beam emitted by the laser to the incident surface of the half-wave plate 12;
  • the 4f system 14 is used to make the exit surface of the spatial light modulator 12 and the entrance surface of the scanning galvanometer of the two-photon fluorescence microscope 2 conjugate.
  • the reflective surface of the mirror faces the exit surface of the laser and the entrance surface of the half-wave plate respectively
  • the exit surface of the spatial light modulator is located at the objective focal plane of the 4f system
  • the entrance surface of the scanning galvanometer is located at the 4f system Image square focal plane.
  • the image processing device includes:
  • the first design module is used to design a first focal point with light intensity distributed along the z axis; wherein the light field at the first focal point is a first gradient light field;
  • the second design module is used to design a second focal point where the light intensity is distributed along the z axis; wherein the light field at the second focal point is a second gradient light field;
  • a dividing module configured to divide the entrance pupil of the objective lens into a preset number of rings of equal area
  • a combination module configured to combine the phases of the preset number of rings with the same area as the phase function of the entrance pupil
  • a calculation module configured to calculate the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil
  • the first searching module is configured to use a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field, as the first preset phase and output to the spatial light modulator;
  • the second searching module is used to search for the phase corresponding to the light field most similar to the second gradient light field by using a genetic algorithm, as a second preset phase and output to the spatial light modulator.
  • the image processing device includes:
  • a normalization processing module configured to perform maximum normalization processing on the first image and the second image respectively;
  • the first extraction module is configured to extract intensity information of the first image and the second image after the maximum value normalization processing is performed to obtain an intensity image;
  • the second extraction module is configured to set an intensity threshold to extract intensity information from the intensity image to obtain an effective information area
  • the third extraction module is configured to extract the z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image;
  • a sorting module configured to sort the z-axis position information in the position matrix, and select a value range according to the sorting result to normalize the position matrix
  • An encoding module for encoding the intensity information in the intensity image and the z-axis position information in the normalized position matrix into the same image to obtain a three-dimensional depth image of the sample to be tested; wherein The z-axis position information is coded as different colors, and the intensity information is coded as color saturation.
  • the modules included in the image processing device may be software program modules stored in the memory of the image processing device and executed by the processor of the image processing device.
  • the processor implements the corresponding computer program when it executes The function of each module.
  • the wavefront shaping of the two incident pulse beams is performed sequentially to obtain two beams with a gradient light field at the focal point of the objective lens, and the light intensity distributions of the gradient light fields of the two beams are opposite. Then scan the sample to be tested by two light beams to obtain two images, and reconstruct the three-dimensional data based on the two images to obtain the three-dimensional depth image of the sample to be tested.
  • the imaging speed is fast, the resolution is high, the algorithm is simple, and it is easy to implement. Due to the fast imaging speed (6-10 times of ordinary two-photon fluorescence microscope), the photodamage and photobleaching effects of the sample to be tested are effectively reduced, and it is especially suitable for three-dimensional imaging of embryonic development samples and neural activity samples.
  • this embodiment provides an image processing device 3, which includes: an image sensor 30, a processor 31, a memory 32, and a computer program stored in the memory 32 and running on the processor 31 33, such as a three-dimensional data reconstruction program.
  • a computer program stored in the memory 32 and running on the processor 31 33, such as a three-dimensional data reconstruction program.
  • the processor 31 executes the computer program 33, the function of each module in the fourth embodiment is realized.
  • the computer program 33 may be divided into one or more modules, and the one or more modules are stored in the memory 32 and executed by the processor 31 to complete the present invention.
  • the one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 33 in the image processing device.
  • the computer program 33 can be divided into the following modules:
  • the first design module is used to design a first focal point with light intensity distributed along the z axis; wherein the light field at the first focal point is a first gradient light field;
  • the second design module is used to design a second focal point where the light intensity is distributed along the z axis; wherein the light field at the second focal point is a second gradient light field;
  • a dividing module configured to divide the entrance pupil of the objective lens into a preset number of rings of equal area
  • a combination module configured to combine the phases of the preset number of rings with the same area as the phase function of the entrance pupil
  • a calculation module configured to calculate the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil
  • the first searching module is configured to use a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field, as the first preset phase and output to the spatial light modulator;
  • the second searching module is used to search for the phase corresponding to the light field most similar to the second gradient light field by using a genetic algorithm, as a second preset phase and output to the spatial light modulator.
  • the computer program 33 can also be divided into the following modules:
  • a normalization processing module configured to perform maximum normalization processing on the first image and the second image respectively;
  • the first extraction module is configured to extract intensity information of the first image and the second image after the maximum value normalization processing is performed to obtain an intensity image;
  • the second extraction module is configured to set an intensity threshold to extract intensity information from the intensity image to obtain an effective information area
  • the third extraction module is configured to extract the z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image;
  • a sorting module configured to sort the z-axis position information in the position matrix, and select a value range according to the sorting result to normalize the position matrix
  • An encoding module for encoding the intensity information in the intensity image and the z-axis position information in the normalized position matrix into the same image to obtain a three-dimensional depth image of the sample to be tested; wherein The z-axis position information is coded as different colors, and the intensity information is coded as color saturation.
  • the image processing device may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server with an image sensor.
  • the image processing device may include, but is not limited to, a processor 31 and a memory 32.
  • FIG. 13 is only an example of an image processing device, and does not constitute a limitation on the image processing device. It may include more or less components than shown in the figure, or a combination of certain components, or different components.
  • the image processing device may also include input and output devices, network access devices, buses, and the like.
  • the so-called processor 31 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory 32 may be an internal storage unit of the image processing device, such as a hard disk or memory of the image processing device.
  • the memory 32 may also be an external storage device of the image processing device, such as a plug-in hard disk equipped on the image processing device, a smart memory card (Smart Media Card, SMC), or a Secure Digital (SD). Card, Flash Card, etc.
  • the memory 32 may also include both an internal storage unit of the image processing device and an external storage device.
  • the memory 32 is used to store the computer program and other programs and data required by the image processing device.
  • the memory 32 can also be used to temporarily store data that has been output or will be output.
  • the disclosed device/terminal device and method may be implemented in other ways.
  • the device/terminal device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units.
  • components can be combined or integrated into another system, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the present invention implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signal telecommunications signal
  • software distribution media any entity or device capable of carrying the computer program code
  • recording medium U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media.

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Analytical Chemistry (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Biochemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Optics & Photonics (AREA)
  • Investigating, Analyzing Materials By Fluorescence Or Luminescence (AREA)
  • Microscoopes, Condenser (AREA)

Abstract

Provided are a two-photon fluorescence imaging method and system, and an image processing device, which are applicable to the technical field of two-photon fluorescence. The method comprises: performing wavefront shaping on two incident pulsed light beams in sequence to obtain two light beams, light fields of which at a focal point of an objective lens are gradient light fields, and making light intensity distributions of the gradient light fields of the two light beams be opposite; and then scanning a sample to be tested through the two light beams sequentially to obtain two images, and performing three-dimensional data reconstruction according to the two images to obtain a three-dimensional depth image of the sample to be tested. According to the method, the imaging speed is high, the resolution is high, and the algorithm is simple, and the present application is easily implemented; furthermore, since the imaging speed is high, light damage and a photobleaching effect on the sample to be tested are effectively reduced, and the present application is especially applicable to performing three-dimensional imaging on embryonic development samples and neural activity samples.

Description

一种双光子荧光成像方法、系统及图像处理设备Two-photon fluorescence imaging method, system and image processing equipment 技术领域Technical field
本发明属于双光子荧光技术领域,尤其涉及一种双光子荧光成像方法、系统及图像处理设备。The invention belongs to the technical field of two-photon fluorescence, and in particular relates to a two-photon fluorescence imaging method, system and image processing equipment.
背景技术Background technique
现有的双光子荧光显微镜主要通过非线性效应只在能量最高的焦点处激发荧光信号,提供光学切片能力,一次只能对样品的某一深度位置进行成像。要实现对样品的大体积三维区域成像,通常采用以下三种技术实现:The existing two-photon fluorescence microscope mainly excites the fluorescence signal only at the focal point with the highest energy through the nonlinear effect, provides optical sectioning capability, and can only image a certain depth position of the sample at a time. To achieve imaging of a large-volume three-dimensional area of a sample, the following three technologies are usually used:
技术一、借助步进电机或者变焦透镜使焦点可以沿样品的深度方向轴向移动,这种方式成像速度较慢;Technique 1: With the help of a stepper motor or a zoom lens, the focus can be moved axially along the depth direction of the sample. This method has a slower imaging speed;
技术二、利用贝塞尔光束的焦点轴向拉长的特点实现对样品的大体积三维区域的扫描,这种方式缺乏轴向的位置信息;Technique 2: Use the characteristic of axial elongated focus of Bessel beam to scan the large-volume three-dimensional area of the sample, this method lacks axial position information;
技术三、将两个入射光束的焦点设计成V型,使同一个荧光信号在图像中有两个对应的位置,这两个对应的位置的间距和荧光信号的轴向位置有关,从而可以将荧光信号的轴向位置信息转化为两个对应的位置的横向位置信息,实现三维成像,这种方式为了实现V型的焦点,每一个入射光束只用了不到1/4的数值孔径,分辨率很差,还需要使用复杂的算法来进行位置配对。Technology 3: Design the focus of the two incident beams into a V shape, so that the same fluorescent signal has two corresponding positions in the image. The distance between these two corresponding positions is related to the axial position of the fluorescent signal, so that the The axial position information of the fluorescence signal is converted into the lateral position information of two corresponding positions to realize three-dimensional imaging. In this way, in order to realize the V-shaped focus, each incident beam only uses less than 1/4 of the numerical aperture. The rate is very poor, and complex algorithms are needed for location matching.
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种双光子荧光成像方法、系统及图像处理设备,以解决对样品进行大体积三维区域成像的现有技术成像速度慢、分辨率差、算法复杂的问题。In view of this, the embodiments of the present invention provide a two-photon fluorescence imaging method, system and image processing equipment to solve the problems of slow imaging speed, poor resolution, and complex algorithms in the prior art for imaging a large-volume three-dimensional area of a sample .
本发明实施例的第一方面提供了一种双光子荧光成像方法,应用于双光子荧光成像系统,所述双光子荧光成像方法包括:The first aspect of the embodiments of the present invention provides a two-photon fluorescence imaging method, which is applied to a two-photon fluorescence imaging system, and the two-photon fluorescence imaging method includes:
对入射的第一脉冲光束进行波前整形,得到第一光束;其中,所述第一光束在所述双光子荧光成像系统的物镜的焦点处的光场为第一梯度光场,所述第一梯度光场的光强分布沿z轴呈梯度变化,z轴方向为待测样品的深度方向;Wavefront shaping is performed on the incident first pulsed light beam to obtain the first light beam; wherein the light field of the first light beam at the focal point of the objective lens of the two-photon fluorescence imaging system is a first gradient light field, and The light intensity distribution of a gradient light field changes in a gradient along the z-axis, and the z-axis direction is the depth direction of the sample to be tested;
通过所述第一光束扫描待测样品,得到第一图像;Scan the sample to be tested by the first light beam to obtain a first image;
对入射的第二脉冲光束进行波前整形,得到第二光束;其中,所述第二光束在所述物镜的焦点处的光场为与所述第一梯度光场的光强分布相反的第二梯度光场;Wavefront shaping is performed on the incident second pulsed light beam to obtain a second light beam; wherein the light field of the second light beam at the focal point of the objective lens is the first light intensity distribution opposite to the light intensity distribution of the first gradient light field Two gradient light fields;
通过所述第二光束扫描待测样品,得到第二图像;Scan the sample to be tested by the second light beam to obtain a second image;
根据所述第一图像和所述第二图像进行三维数据重建,得到所述待测样品的三维深度图像。Perform three-dimensional data reconstruction according to the first image and the second image to obtain a three-dimensional depth image of the sample to be tested.
在一个实施例中,对入射的第一脉冲光束进行波前整形,得到第一光束,包括:In an embodiment, performing wavefront shaping on the incident first pulse beam to obtain the first beam includes:
对入射的第一脉冲光束的偏振方向进行旋转,得到预设偏振方向的第一偏振光束;Rotating the polarization direction of the incident first pulsed beam to obtain a first polarized beam with a preset polarization direction;
对所述第一偏振光束进行空间相位调制,得到第一预设相位的第一光束;Performing spatial phase modulation on the first polarized light beam to obtain a first light beam with a first preset phase;
对入射的第二脉冲光束进行波前整形,得到第二光束,包括:The wavefront shaping of the incident second pulse beam to obtain the second beam includes:
对入射的第二脉冲光束的偏振方向进行旋转,得到预设偏振方向的第二偏振光束;Rotating the polarization direction of the incident second pulse beam to obtain a second polarization beam with a preset polarization direction;
对所述第二偏振光束进行空间相位调制,得到第二预设相位的第二光束。Performing spatial phase modulation on the second polarized light beam to obtain a second light beam with a second preset phase.
在一个实施例中,对入射的第一脉冲光束进行波前整形,得到第一光束之前,包括:In one embodiment, before the wavefront shaping of the incident first pulse beam to obtain the first beam, the method includes:
设计光强沿z轴分布的第一焦点;其中,所述第一焦点处的光场为第一梯度光场;Design a first focal point with light intensity distributed along the z axis; wherein the light field at the first focal point is a first gradient light field;
设计光强沿z轴分布的第二焦点;其中,所述第二焦点处的光场为第二梯度光场;Design a second focal point with light intensity distributed along the z-axis; wherein the light field at the second focal point is a second gradient light field;
将所述物镜的入瞳分割为预设数量个面积相等的圆环;Dividing the entrance pupil of the objective lens into a preset number of rings of equal area;
将所述预设数量个面积相等的圆环的相位的组合,作为所述入瞳的相位函数;Combining the phases of the preset number of rings with equal areas as the phase function of the entrance pupil;
根据所述入瞳的相位函数,计算每个所述圆环的相位函数对应的焦点处的光场;Calculating the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil;
利用遗传算法寻找与所述第一梯度光场最相似的光场对应的相位,作为第一预设相位;Using a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field as the first preset phase;
利用遗传算法寻找与所述第二梯度光场最相似的光场对应的相位,作为第二预设相位。A genetic algorithm is used to find the phase corresponding to the light field most similar to the second gradient light field as the second preset phase.
在一个实施例中,根据所述相位函数,计算每个所述相位函数对应的焦点处的光场的计算公式为:In an embodiment, according to the phase function, the calculation formula for calculating the light field at the focal point corresponding to each phase function is:
Figure PCTCN2019130895-appb-000001
Figure PCTCN2019130895-appb-000001
其中,是光线的汇聚角度,P()是入瞳的相位函数,是的最大值,
Figure PCTCN2019130895-appb-000002
k=2π/λ是波数,NA为物镜的数值孔径,n为物镜的浸润介质,λ为光线的波长,z是z轴位置信息。
Where is the convergence angle of light, P() is the phase function of the entrance pupil, which is the maximum value,
Figure PCTCN2019130895-appb-000002
k=2π/λ is the wave number, NA is the numerical aperture of the objective lens, n is the immersion medium of the objective lens, λ is the wavelength of the light, and z is the z-axis position information.
在一个实施例中,根据所述第一图像和所述第二图像,对所述待测样品进行三维数据重建,得到所述待测样品的三维深度图像,包括:In an embodiment, performing three-dimensional data reconstruction on the sample to be tested based on the first image and the second image to obtain a three-dimensional depth image of the sample to be tested includes:
分别对所述第一图像和所述第二图像进行最大值归一化处理;Performing maximum normalization processing on the first image and the second image respectively;
对进行最大值归一化处理后的所述第一图像和所述第二图像进行强度信息提取,得到强度图像;Performing intensity information extraction on the first image and the second image after the maximum value normalization processing is performed to obtain an intensity image;
设置强度阈值对所述强度图像进行强度信息提取,得到有效信息区域;Setting an intensity threshold to extract intensity information from the intensity image to obtain an effective information area;
提取所述有效信息区域的z轴位置信息,得到与所述强度图像的像素大小相同的位置矩阵;Extracting the z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image;
对所述位置矩阵中的z轴位置信息进行排序,并根据排序结果选择取值范围对所述位置矩阵进行归一化处理;Sorting the z-axis position information in the position matrix, and selecting a value range according to the sorting result to normalize the position matrix;
将所述强度图像中的强度信息和进行归一化处理后的所述位置矩阵中的z轴位置信息编码到同一图像中,得到所述待测样品的三维深度图像;其中,所述Z轴位置信息编码为不同颜色,所述强度信息编码为色彩饱和度。The intensity information in the intensity image and the z-axis position information in the normalized position matrix are encoded into the same image to obtain a three-dimensional depth image of the sample to be tested; wherein, the Z-axis The position information is coded as different colors, and the intensity information is coded as color saturation.
本发明实施例的第二方面提供了一种双光子荧光成像系统,包括:The second aspect of the embodiments of the present invention provides a two-photon fluorescence imaging system, including:
波前整形模组,用于对入射的第一脉冲光束进行波前整形,得到第一光束;The wavefront shaping module is used to shape the wavefront of the incident first pulse beam to obtain the first beam;
光子荧光显微镜,用于通过所述第一光束扫描待测样品,得到第一图像;其中,所述第一光束在所述双光子荧光显微镜的物镜的焦点处的光场为第一梯度光场,所述第一梯度光场的光强分布沿z轴呈梯度变化,z轴方向为待测样品的深度方向;The photon fluorescence microscope is used to scan the sample to be tested through the first light beam to obtain a first image; wherein the light field of the first light beam at the focal point of the objective lens of the two-photon fluorescence microscope is a first gradient light field , The light intensity distribution of the first gradient light field changes in a gradient along the z-axis, and the z-axis direction is the depth direction of the sample to be tested;
所述波前整形模组还用于对入射的第二脉冲光束进行波前整形,得到第二光束;其中,所述第二光束在所述物镜的焦点处的光场为与所述第一梯度光场的光强分布相反的第二梯度光场;The wavefront shaping module is also used to perform wavefront shaping on the incident second pulsed light beam to obtain a second light beam; wherein the light field of the second light beam at the focal point of the objective lens is the same as that of the first A second gradient light field with an opposite light intensity distribution of the gradient light field;
所述双光子荧光显微镜还用于通过所述第二光束扫描待测样品,得到第二图像;The two-photon fluorescence microscope is also used to scan the sample to be tested through the second beam to obtain a second image;
图像处理设备,用于根据所述第一图像和所述第二图像进行三维数据重建,得到所述待测样品的三维深度图像。The image processing device is used to perform three-dimensional data reconstruction according to the first image and the second image to obtain a three-dimensional depth image of the sample to be tested.
在一个实施例中,所述波前整形模组包括:In an embodiment, the wavefront shaping module includes:
半波片,用于对入射的第一脉冲光束的偏振方向进行旋转,得到预设偏振方向的第一偏振光束;The half-wave plate is used to rotate the polarization direction of the incident first pulsed beam to obtain the first polarized beam with the preset polarization direction;
空间光调制器,用于对所述第一偏振光束进行空间相位调制,得到第一预设相位的第一光束;A spatial light modulator, configured to perform spatial phase modulation on the first polarized light beam to obtain a first light beam with a first preset phase;
所述半波片还用于对入射的第二脉冲光束的偏振方向进行旋转,得到预设偏振方向的第二偏振光束;The half-wave plate is also used to rotate the polarization direction of the incident second pulsed light beam to obtain a second polarized light beam with a preset polarization direction;
所述空间光调制器还用于对所述第二偏振光束进行空间相位调制,得到第二预设相位的第二光束。The spatial light modulator is also used to perform spatial phase modulation on the second polarized light beam to obtain a second light beam with a second preset phase.
在一个实施例中,所述图像处理设备与所述空间光调制器通信连接,所述图像处理设备包括:In an embodiment, the image processing device is in communication connection with the spatial light modulator, and the image processing device includes:
第一设计模块,用于设计光强沿z轴分布的第一焦点;其中,所述第一焦点处的光场为第一梯度光场;The first design module is used to design a first focal point with light intensity distributed along the z axis; wherein the light field at the first focal point is a first gradient light field;
第二设计模块,用于设计光强沿z轴分布的第二焦点;其中,所述第二焦点处的光场为第二梯度光场;The second design module is used to design a second focal point where the light intensity is distributed along the z axis; wherein the light field at the second focal point is a second gradient light field;
分割模块,用于将所述物镜的入瞳分割为预设数量个面积相等的圆环;A dividing module, configured to divide the entrance pupil of the objective lens into a preset number of rings of equal area;
组合模块,用于将所述预设数量个面积相等的圆环的相位的组合,作为所述入瞳的相位函数;A combination module, configured to combine the phases of the preset number of rings with the same area as the phase function of the entrance pupil;
计算模块,用于根据所述入瞳的相位函数,计算每个所述圆环的相位函数对应的焦点处的光场;A calculation module, configured to calculate the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil;
第一寻找模块,用于利用遗传算法寻找与所述第一梯度光场最相似的光场对应的相位,作为第一预设相位并输出至所述空间光调制器;The first searching module is configured to use a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field, as the first preset phase and output to the spatial light modulator;
第二寻找模块,用于利用遗传算法寻找与所述第二梯度光场最相似的光场对应的相位,作为第二预设相位并输出至所述空间光调制器。The second searching module is used to search for the phase corresponding to the light field most similar to the second gradient light field by using a genetic algorithm, as a second preset phase and output to the spatial light modulator.
在一个实施例中,所述图像处理设备包括:In an embodiment, the image processing device includes:
归一化处理模块,用于分别对所述第一图像和所述第二图像进行最大值归一化处理;A normalization processing module, configured to perform maximum normalization processing on the first image and the second image respectively;
第一提取模块,用于对进行最大值归一化处理后的所述第一图像和所述第二图像进行强度信息提取,得到强度图像;The first extraction module is configured to extract intensity information of the first image and the second image after the maximum value normalization processing is performed to obtain an intensity image;
第二提取模块,用于设置强度阈值对所述强度图像进行强度信息提取,得到有效信息区域;The second extraction module is configured to set an intensity threshold to extract intensity information from the intensity image to obtain an effective information area;
第三提取模块,用于提取所述有效信息区域的z轴位置信息,得到与所述强度图像的像素大小相同的位置矩阵;The third extraction module is configured to extract the z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image;
排序模块,用于对所述位置矩阵中的z轴位置信息进行排序,并根据排序结果选择取值范围对所述位置矩阵进行归一化处理;A sorting module, configured to sort the z-axis position information in the position matrix, and select a value range according to the sorting result to normalize the position matrix;
编码模块,用于将所述强度图像中的强度信息和进行归一化处理后的所述位置矩阵中的z轴位置信息编码到同一图像中,得到所述待测样品的三维深度图像;其中,所述z轴位置信息编码为不同颜色,所述强度信息编码为色彩饱和度。An encoding module for encoding the intensity information in the intensity image and the z-axis position information in the normalized position matrix into the same image to obtain a three-dimensional depth image of the sample to be tested; wherein The z-axis position information is coded as different colors, and the intensity information is coded as color saturation.
本发明实施例的第三方面提供了一种图像处理设备,包括包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述各模块的功能。The third aspect of the embodiments of the present invention provides an image processing device, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor executes the computer program. Realize the functions of the above-mentioned modules when programming.
本发明实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述各模块的功能。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the functions of the foregoing modules are realized.
本发明实施例通过依次对入射的两个脉冲光束进行波前整形,得到在物镜的焦点处的光场为梯度光场的两个光束,并使两个光束的梯度光场的光强分布相反,然后依次通过两个光束对待测样品进行扫描得到两幅图像,并根据两幅图像进行三维数据重建,得到待测样品的三维深度图像,成像速度快、分辨率高且算法简单,易于实现,并且由于成像速度快,有效降低了对待测样品的光损伤和光漂白作用,尤其适用于对胚胎发育样品和神经活动样品进行三维成像。In the embodiment of the present invention, the wavefront shaping of the two incident pulsed light beams is performed sequentially to obtain two light beams with a gradient light field at the focal point of the objective lens, and the light intensity distributions of the gradient light fields of the two light beams are opposite. , And then scan the sample under test through two light beams to obtain two images, and reconstruct the three-dimensional data according to the two images to obtain the three-dimensional depth image of the sample under test. The imaging speed is fast, the resolution is high, the algorithm is simple, and it is easy to implement. And because of the fast imaging speed, the photodamage and photobleaching effects of the sample to be tested are effectively reduced, and it is especially suitable for three-dimensional imaging of embryonic development samples and neural activity samples.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can obtain other drawings based on these drawings without creative work.
图1是本发明实施例一提供的双光子荧光成像方法的流程示意图;FIG. 1 is a schematic flowchart of a two-photon fluorescence imaging method according to Embodiment 1 of the present invention;
图2是本发明实施例一提供的梯度光场成像原理图;2 is a schematic diagram of gradient light field imaging according to Embodiment 1 of the present invention;
图3是本发明实施例二提供的双光子荧光成像方法的流程示意图;3 is a schematic flow chart of a two-photon fluorescence imaging method provided by Embodiment 2 of the present invention;
图4是本发明实施例二提供的梯度光场的相位计算方法的流程示意图;4 is a schematic flowchart of a method for calculating the phase of a gradient light field according to the second embodiment of the present invention;
图5~图7是本发明实施例二提供的第一梯度光场和第二梯度光场的光强分布;5-7 are the light intensity distributions of the first gradient light field and the second gradient light field provided by the second embodiment of the present invention;
图8是本发明实施例二提供的遗传算法的流程示意图;FIG. 8 is a schematic flowchart of a genetic algorithm provided by Embodiment 2 of the present invention;
图9和图10是本发明实施例三提供的三维数据重建方法的流程示意图;9 and 10 are schematic flowcharts of a three-dimensional data reconstruction method provided by Embodiment 3 of the present invention;
图11是本发明实施例四提供的双光子荧光成像系统的结构示意图;FIG. 11 is a schematic structural diagram of a two-photon fluorescence imaging system provided by Embodiment 4 of the present invention;
图12是本发明实施例四提供的波前整形模组的结构示意图;FIG. 12 is a schematic structural diagram of a wavefront shaping module provided by Embodiment 4 of the present invention;
图13是本发明实施例五提供的图像处理设备的结构示意图。FIG. 13 is a schematic structural diagram of an image processing device provided by Embodiment 5 of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the present invention. Part of the embodiment, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含一系列步骤或单元的过程、方法或系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。The term "comprising" in the description and claims of the present invention and the above-mentioned drawings and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally includes Other steps or units inherent in these processes, methods, products or equipment. In addition, the terms "first", "second", and "third" are used to distinguish different objects, rather than describing a specific order.
实施例一Example one
本实施例提供一种双光子荧光成像方法,应用于双光子荧光成像系统,双光子荧光成像系统包括波前整形模组、双光子荧光显微镜和图像处理设备。This embodiment provides a two-photon fluorescence imaging method, which is applied to a two-photon fluorescence imaging system. The two-photon fluorescence imaging system includes a wavefront shaping module, a two-photon fluorescence microscope, and image processing equipment.
在具体应用中,波前整形模块可以包括对波前相位进行调制的空间光调制器,图像处理设备可以是双光子荧光显微镜自带的全自动的或半自动显微镜摄影装置,也可包括图像传感器和桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。In specific applications, the wavefront shaping module can include a spatial light modulator that modulates the phase of the wavefront, and the image processing equipment can be a fully automatic or semi-automatic microscope photography device that comes with a two-photon fluorescence microscope, or it can include an image sensor and Computing equipment such as desktop computers, notebooks, palmtop computers and cloud servers.
如图1所示,本实施例提供的双光子荧光成像方法包括:As shown in Fig. 1, the two-photon fluorescence imaging method provided by this embodiment includes:
步骤S101、对入射的第一脉冲光束进行波前整形,得到第一光束;其中,所述第一光束在所述双光子荧光成像系统的物镜的焦点处的光场为第一梯度光场,所述第一梯度光场的光强分布沿z轴呈梯度变化,z轴方向为待测样品的深度方向。Step S101: Perform wavefront shaping on the incident first pulsed light beam to obtain the first light beam; wherein the light field of the first light beam at the focal point of the objective lens of the two-photon fluorescence imaging system is a first gradient light field, The light intensity distribution of the first gradient light field changes in a gradient along the z-axis, and the z-axis direction is the depth direction of the sample to be tested.
在具体应用中,可以通过激光器产生第一脉冲光束,通过波前整形模组对入射的第一脉冲光束进行波前整形,以对第一脉冲光束的相位进行调制,得到具有特定相位的第一光束,使第一光束在到达双光子荧光成像系统的物镜的焦点处时,形成光强分布沿z轴呈梯度变化的第一梯度光场。定义待测样品的深度方向为z轴方向,待测样品的宽度方向为x轴方向,待测样品的长度方向为y轴方向,x轴、y轴和z轴方向也可以根据实际需要进行自定义,只要遵循笛卡尔坐标系的定义规则即可。In specific applications, a laser can be used to generate the first pulse beam, and the wavefront shaping module can perform wavefront shaping on the incident first pulse beam to modulate the phase of the first pulse beam to obtain a first pulse beam with a specific phase. The light beam, when the first light beam reaches the focal point of the objective lens of the two-photon fluorescence imaging system, forms a first gradient light field with a gradient of light intensity distribution along the z-axis. Define the depth direction of the sample to be tested as the z-axis direction, the width direction of the sample to be tested as the x-axis direction, and the length direction of the sample to be tested as the y-axis direction. The x-axis, y-axis and z-axis directions can also be customized according to actual needs. Definition, as long as it follows the definition rules of the Cartesian coordinate system.
步骤S102、通过所述第一光束扫描待测样品,得到第一图像。Step S102: Scan the sample to be tested by the first light beam to obtain a first image.
在具体应用中,可以通过双光子荧光显微镜使第一光束出射至待测样品,然后通过图像处理设备获取待测样品中位于物镜的焦点处的区域激发出的荧光和待测样品反射的光束并进行成像,得到第一图像。第一图像内的像素点在z 轴方向上的光强分布与第一梯度光场相同。In a specific application, the first light beam can be emitted to the sample under test by a two-photon fluorescence microscope, and then the fluorescence excited by the area at the focus of the objective lens in the sample under test and the beam reflected by the sample under test can be obtained by the image processing device. Perform imaging to get the first image. The light intensity distribution of the pixels in the first image in the z-axis direction is the same as the first gradient light field.
步骤S103、对入射的第二脉冲光束进行波前整形,得到第二光束;其中,所述第二光束在所述物镜的焦点处的光场为与所述第一梯度光场的光强分布相反的第二梯度光场。Step S103, performing wavefront shaping on the incident second pulsed light beam to obtain a second light beam; wherein the light field of the second light beam at the focal point of the objective lens is the same as the light intensity distribution of the first gradient light field Opposite the second gradient light field.
在具体应用中,可以可以通过激光器产生第二脉冲光束,通过波前整形模组对入射的第二脉冲光束进行波前整形,以对第二脉冲光束的相位进行调制,得到具有特定相位的第二光束,使第二光束在到达双物镜的焦点处时,形成光强分布沿z轴呈梯度变化的第二梯度光场,并且第二梯度光场与第一梯度光场的光强分布相反,即第一光场在z轴正方向上的梯度变化和第二光场在z轴负方向上的梯度变化相同。例如,假设第一梯度光场的光强分布沿z轴正方向由强变弱,则第二梯度光场的光强分布沿z轴正方向由弱变强,反之亦然。In specific applications, the second pulse beam can be generated by a laser, and the incident second pulse beam can be wavefront-shaped by the wavefront shaping module to modulate the phase of the second pulse beam to obtain a second pulse beam with a specific phase. Two beams, so that when the second beam reaches the focal point of the double objective lens, it forms a second gradient light field with a gradient of light intensity distribution along the z-axis, and the light intensity distribution of the second gradient light field is opposite to that of the first gradient light field , That is, the gradient change of the first light field in the positive z-axis direction is the same as the gradient change of the second light field in the negative z-axis direction. For example, assuming that the light intensity distribution of the first gradient light field changes from strong to weak along the positive z-axis direction, the light intensity distribution of the second gradient light field changes from weak to strong along the positive z-axis direction, and vice versa.
步骤S104、通过所述第二光束扫描待测样品,得到第二图像。Step S104: Scan the sample to be tested by the second light beam to obtain a second image.
在具体应用中,可以通过双光子荧光显微镜使第二光束出射至待测样品,然后通过图像处理设备获取待测样品中位于物镜的焦点处的区域激发出的荧光和待测样品反射的光束并进行成像,得到第二图像。第二图像内的像素点在z轴方向上的光强分布与第二梯度光场相同。In specific applications, the second light beam can be emitted to the sample under test through a two-photon fluorescence microscope, and then the fluorescence excited by the area at the focal point of the objective lens in the sample under test and the beam reflected by the sample under test can be obtained by the image processing device. Perform imaging to obtain a second image. The light intensity distribution of the pixels in the second image in the z-axis direction is the same as the second gradient light field.
步骤S105、根据所述第一图像和所述第二图像进行三维数据重建,得到所述待测样品的三维深度图像。Step S105: Perform three-dimensional data reconstruction according to the first image and the second image to obtain a three-dimensional depth image of the sample to be tested.
在具体应用中,可以通过图像处理设备对第一图像和第二图像进行三维数据重建,主要是通过第一图像和第二图像的比例R,反映出待测样品中各位置点所在的位置,然后通过R与z轴位置信息z的对应关系,得到待测样品中各位置点的z轴位置信息,从而获知待测样品中各位置点在z轴方向上的位置,进而得到待测样品的三维深度图像。In specific applications, three-dimensional data reconstruction of the first image and the second image can be performed by the image processing equipment, mainly through the ratio R of the first image and the second image, which reflects the position of each position point in the sample to be tested. Then through the corresponding relationship between R and the z-axis position information z, the z-axis position information of each position point in the sample to be tested is obtained, so as to know the position of each position point in the sample to be tested in the z-axis direction, and then obtain the sample Three-dimensional depth image.
如图2所示,示例性的示出了利用第一梯度光场和第二梯度光场得到待测样品的三维梯度图像的梯度光场成像原理图。As shown in FIG. 2, it exemplarily shows a gradient light field imaging principle diagram that uses the first gradient light field and the second gradient light field to obtain a three-dimensional gradient image of the sample to be tested.
图2中示例性的示出了矩形体形状的待测样品,待测样品中的两个位置点在z轴方向上的位置分别为d1和d2;Fig. 2 exemplarily shows a sample to be tested in a rectangular shape, and the positions of two points in the sample to be tested in the z-axis direction are d1 and d2;
通过第一光束Scan1扫描待测样品,在物镜的焦点处形成光强在x-z平面内呈梯度分布的第一梯度光场,并得到x-y平面内的第一图像Im1;Scan the sample to be tested by the first beam Scan1 to form a first gradient light field with a gradient distribution of light intensity in the x-z plane at the focal point of the objective lens, and obtain the first image Im1 in the x-y plane;
通过第二光束Scan2扫描待测样品,在物镜的焦点处形成光强在x-z平面内呈梯度分布的第二梯度光场,并得到x-y平面内的第二图像Im2;Scan the sample to be tested by the second beam Scan2 to form a second gradient light field with a gradient distribution of light intensity in the x-z plane at the focal point of the objective lens, and obtain a second image Im2 in the x-y plane;
通过第一图像和第二图像的比例R,反映出待测样品中两个位置点所在的位置;其中,
Figure PCTCN2019130895-appb-000003
Figure PCTCN2019130895-appb-000004
(图2中示例性的示出
Figure PCTCN2019130895-appb-000005
的情况);其中,0~1表示R的数值范围;
The ratio R between the first image and the second image reflects the positions of the two points in the sample to be tested; among them,
Figure PCTCN2019130895-appb-000003
or
Figure PCTCN2019130895-appb-000004
(Exemplary shown in Figure 2
Figure PCTCN2019130895-appb-000005
); Among them, 0~1 represents the numerical range of R;
然后通过R与z轴位置信息z的对应关系,得到待测样品中各位置点的z轴位置信息,最终得到待测样品的三维深度图像;其中,0~12表示z的数值范围,单位为μm。Then through the corresponding relationship between R and z-axis position information z, the z-axis position information of each position in the sample to be tested is obtained, and the three-dimensional depth image of the sample to be tested is finally obtained; among them, 0-12 represents the value range of z, and the unit is μm.
本实施例通过依次对入射的两个脉冲光束进行波前整形,得到在物镜的焦点处的光场为梯度光场的两个光束,并使两个光束的梯度光场的光强分布相反, 然后依次通过两个光束对待测样品进行扫描得到两幅图像,并根据两幅图像进行三维数据重建,得到待测样品的三维深度图像,成像速度快、分辨率高且算法简单,易于实现,并且由于成像速度快(为普通双光子荧光显微镜的6-10倍),有效降低了对待测样品的光损伤和光漂白作用,尤其适用于对胚胎发育样品和神经活动样品进行三维成像。In this embodiment, the wavefront shaping of the two incident pulse beams is performed sequentially to obtain two beams with a gradient light field at the focal point of the objective lens, and the light intensity distributions of the gradient light fields of the two beams are opposite. Then scan the sample to be tested by two light beams to obtain two images, and reconstruct the three-dimensional data based on the two images to obtain the three-dimensional depth image of the sample to be tested. The imaging speed is fast, the resolution is high, the algorithm is simple, and it is easy to implement. Due to the fast imaging speed (6-10 times of ordinary two-photon fluorescence microscope), the photodamage and photobleaching effects of the sample to be tested are effectively reduced, and it is especially suitable for three-dimensional imaging of embryonic development samples and neural activity samples.
实施例二Example two
如图3所示,在本实施例中,实施例一中的步骤S101包括:As shown in FIG. 3, in this embodiment, step S101 in the first embodiment includes:
步骤S301、对入射的第一脉冲光束的偏振方向进行旋转,得到预设偏振方向的第一偏振光束;Step S301: Rotate the polarization direction of the incident first pulse beam to obtain a first polarization beam with a preset polarization direction;
步骤S302、对所述第一偏振光束进行空间相位调制,得到第一预设相位的第一光束。Step S302: Perform spatial phase modulation on the first polarized light beam to obtain a first light beam with a first preset phase.
在具体应用中,波前整形模块可以包括半波片和空间光调制器,可以通过半波片对入射的第一脉冲光束的偏振方向进行调整,以使第一偏振光束的偏振方向与空间光调制器的偏振方向一致。In specific applications, the wavefront shaping module may include a half-wave plate and a spatial light modulator. The polarization direction of the incident first pulsed beam can be adjusted by the half-wave plate so that the polarization direction of the first polarized beam is the same as that of the spatial light. The polarization direction of the modulator is consistent.
在具体应用中,可以通过空间光调制器对第一偏振光束进行空间相位调制,以使第一光束在到达双光子荧光成像系统的物镜的焦点处时,形成光强分布沿z轴呈梯度变化的第一梯度光场。In specific applications, the first polarized light beam can be spatially phase modulated by the spatial light modulator, so that when the first light beam reaches the focal point of the objective lens of the two-photon fluorescence imaging system, the light intensity distribution changes along the z axis with a gradient. The first gradient light field.
步骤S103包括:Step S103 includes:
步骤S303、对入射的第二脉冲光束的偏振方向进行旋转,得到预设偏振方向的第二偏振光束;Step S303: Rotate the polarization direction of the incident second pulse beam to obtain a second polarization beam with a preset polarization direction;
步骤S304、对所述第二偏振光束进行空间相位调制,得到第二预设相位的第二光束。Step S304: Perform spatial phase modulation on the second polarized light beam to obtain a second light beam with a second preset phase.
在具体应用中,可以通过半波片对入射的第二脉冲光束的偏振方向进行调整,以使第二偏振光束的偏振方向与空间光调制器的偏振方向一致。In specific applications, the polarization direction of the incident second pulsed beam can be adjusted by the half-wave plate, so that the polarization direction of the second polarized beam is consistent with the polarization direction of the spatial light modulator.
在具体应用中,可以通过空间光调制器对第二偏振光束进行空间相位调制,以使第二光束在到达双光子荧光成像系统的物镜的焦点处时,形成光强分布沿z轴呈梯度变化的第二梯度光场。In specific applications, the second polarized light beam can be spatially phase modulated by the spatial light modulator, so that when the second light beam reaches the focal point of the objective lens of the two-photon fluorescence imaging system, the light intensity distribution changes along the z axis with a gradient. The second gradient light field.
如图4所示,在本实施例中,在步骤S301之前,还包括:As shown in Fig. 4, in this embodiment, before step S301, the method further includes:
步骤S401、设计光强沿z轴分布的第一焦点;其中,所述第一焦点处的光场为第一梯度光场;Step S401: Design a first focal point with light intensity distributed along the z-axis; wherein the light field at the first focal point is a first gradient light field;
步骤S402、设计光强沿z轴分布的第二焦点;其中,所述第二焦点处的光场为第二梯度光场;Step S402: Design a second focal point with light intensity distributed along the z axis; wherein the light field at the second focal point is a second gradient light field;
步骤S403、将所述物镜的入瞳分割为预设数量个面积相等的圆环。Step S403: Divide the entrance pupil of the objective lens into a preset number of rings with equal areas.
在具体应用中,第一梯度光场和第二梯度光场的光强分布(即梯度变化)可以根据实际需要进行设置,只要保证两个光场的光强分布相反即可。In specific applications, the light intensity distribution (ie, gradient change) of the first gradient light field and the second gradient light field can be set according to actual needs, as long as the light intensity distributions of the two light fields are opposite.
在具体应用中,预设数量可以根据实际需要进行设置,预设数量与设计的第一焦点和第二焦点对应的梯度光场的光强分布精度正相关。例如,可以将预设数量设置为20~80中的任意数值,具体可以为40。In specific applications, the preset number can be set according to actual needs, and the preset number is positively correlated with the designed light intensity distribution accuracy of the gradient light field corresponding to the first focus and the second focus. For example, the preset number can be set to any value from 20 to 80, specifically 40.
如图5~图7所示,示例性第一梯度光场和第二梯度光场的光强分布;As shown in FIGS. 5-7, exemplary light intensity distributions of the first gradient light field and the second gradient light field;
其中,图5示例性的示出了分割为预设数量个面积相等的圆环的入瞳的相位图,以及入瞳的相位图对应的第一梯度光场和第二梯度光场;其中,GrandF1表示第一梯度光场的光强沿Z轴由强变弱,GrandF2表示第二梯度光场的光强沿Z轴由弱变强,0~1表示光强的取值范围,-π~π表示相位角;Wherein, FIG. 5 exemplarily shows the phase image of the entrance pupil divided into a preset number of rings of equal area, and the first gradient light field and the second gradient light field corresponding to the phase image of the entrance pupil; wherein, GrandF1 means that the light intensity of the first gradient light field changes from strong to weak along the Z axis, GrandF2 means that the light intensity of the second gradient light field changes from weak to strong along the Z axis, 0~1 means the range of light intensity, -π~ π represents the phase angle;
图6示例性的示出了第一梯度光场和第二梯度光场沿z轴的光强分布;Fig. 6 exemplarily shows the light intensity distribution of the first gradient light field and the second gradient light field along the z axis;
图7示例性的示出了第一梯度光场和第二梯度光场相加得到的光场沿z轴的光强分布。Fig. 7 exemplarily shows the light intensity distribution along the z-axis of the light field obtained by adding the first gradient light field and the second gradient light field.
步骤S404、将所述预设数量个面积相等的圆环的相位的组合,作为所述入瞳的相位函数。Step S404: Combining the phases of the preset number of rings with the same area as the phase function of the entrance pupil.
在具体应用中,每个圆环的相位函数可以看作是每个圆环的相位的组合,入瞳的相位函数可以看作是预设数量个圆环的相位函数的组合,因而,可以用预设数量个圆环的相位的组合来表示入瞳的相位函数。In specific applications, the phase function of each ring can be regarded as a combination of the phases of each ring, and the phase function of the entrance pupil can be regarded as a combination of the phase functions of a preset number of rings. Therefore, you can use The combination of the phases of the preset number of rings represents the phase function of the entrance pupil.
步骤S405、根据所述入瞳的相位函数,计算每个所述圆环的相位函数对应的焦点处的光场。Step S405: Calculate the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil.
在一个实施例中,步骤S405的计算公式为Richards–Wolf(理查德-沃尔夫矢量衍射积分)计算公式,具体表示如下:In one embodiment, the calculation formula of step S405 is Richards-Wolf (Richards-Wolf vector diffraction integral) calculation formula, which is specifically expressed as follows:
Figure PCTCN2019130895-appb-000006
Figure PCTCN2019130895-appb-000006
其中,是光线的汇聚角度,P()是入瞳的相位函数,是的最大值,
Figure PCTCN2019130895-appb-000007
k=2π/λ是波数,NA为物镜的数值孔径,n为物镜的浸润介质,λ为光线的波长,z是z轴位置信息,z轴是物镜的光轴,z=0的位置是物镜光束聚焦的位置。
Where is the convergence angle of the light, P() is the phase function of the entrance pupil, which is the maximum value,
Figure PCTCN2019130895-appb-000007
k=2π/λ is the wave number, NA is the numerical aperture of the objective lens, n is the immersion medium of the objective lens, λ is the wavelength of the light, z is the position information of the z-axis, z-axis is the optical axis of the objective lens, and the position of z=0 is the objective lens The position where the beam is focused.
在具体应用中,根据所选用的物镜的类型的不同,物镜的数值孔径和浸润介质也不同;根据所选用的激光器的类型的不同,光线的波长也不同。In specific applications, the numerical aperture and immersion medium of the objective lens are different depending on the type of objective lens selected; the wavelength of the light is also different according to the type of laser selected.
在一个实施例中,所述物镜的数值孔径为1,所述物镜的浸润介质为1.33,所述光线的波长为920nm。In an embodiment, the numerical aperture of the objective lens is 1, the wetting medium of the objective lens is 1.33, and the wavelength of the light is 920 nm.
步骤S406、利用遗传算法寻找与所述第一梯度光场最相似的光场对应的相位,作为第一预设相位;Step S406: Use a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field as the first preset phase;
步骤S407、利用遗传算法寻找与所述第二梯度光场最相似的光场对应的相位,作为第二预设相位。Step S407: Use a genetic algorithm to find the phase corresponding to the light field most similar to the second gradient light field as the second preset phase.
如图8所示,在一个实施例中,步骤S406和步骤407的实现步骤如下:As shown in FIG. 8, in an embodiment, the implementation steps of step S406 and step 407 are as follows:
步骤S801、初始种群,进入步骤S802;其中,所述初始种群为所述预设数量个面积相等的圆环的相位的组合;Step S801, the initial population, go to step S802; wherein, the initial population is a combination of the phases of the preset number of rings of equal area;
步骤S802、计算所述种群中每个个体的焦点处的光强分布I(z),进入步骤S803;其中,I(z)利用每个所述圆环的相位通过上述Richards–Wolf计算公式计算得到;Step S802: Calculate the light intensity distribution I(z) at the focal point of each individual in the population, and proceed to step S803; wherein I(z) is calculated by the above-mentioned Richards-Wolf calculation formula using the phase of each ring get;
步骤S803、利用公式F obj=∑ z(I(z)-I t(z)) 2评估I(z),进入步骤S804;其中,I t(z)是预先设计的第一焦点或第二焦点处的光强分布,t:target (目标); Step S803, use the formula F obj =∑ z (I(z)-I t (z)) 2 to evaluate I(z), and proceed to step S804; where I t (z) is the pre-designed first focus or second focus The light intensity distribution at the focal point, t: target (target);
步骤S804、判断当前迭代次数是否小于最大迭代次数;若是,进入步骤S805;若否,进入步骤S808;Step S804, judge whether the current iteration number is less than the maximum iteration number; if yes, go to step S805; if not, go to step S808;
步骤S805、选择,进入步骤S806;Step S805, select, and go to step S806;
步骤S806、交叉和变异,进入步骤S807;Step S806, crossover and mutation, go to step S807;
步骤S807、新的种群,进入步骤S802;其中,所述新的种群的个体数量小于所述初始种群的个体数量;Step S807: For a new population, go to step S802; wherein the number of individuals in the new population is less than the number of individuals in the initial population;
步骤S808、输出F obj最小的个体,进入步骤S809;其中,所述F obj最小的个体即为光强分布与目标梯度光场最相似的个体。 Step S808: Output the individual with the smallest F obj , and proceed to step S809; wherein the individual with the smallest F obj is the individual with the light intensity distribution most similar to the target gradient light field.
在具体应用中,当I t(z)是第一焦点处的光强分布时,目标梯度光场为第一梯度光场;当I t(z)是第二焦点处的光强分布时,目标梯度光场为第二梯度光场。 In specific applications, when I t (z) is the light intensity distribution at the first focus, the target gradient light field is the first gradient light field; when I t (z) is the light intensity distribution at the second focus, The target gradient light field is the second gradient light field.
在具体应用,最大迭代次数和初始种群数量可以根据实际需要进行设置。In specific applications, the maximum number of iterations and the initial population number can be set according to actual needs.
在一个实施例中,步骤S406之前包括:In an embodiment, before step S406, it includes:
将遗传算法的最大迭代次数为4000次,初始种群数量设置为8000个,每个个体的变量精度设置为2 8The maximum number of iterations of the genetic algorithm is 4000, the initial population is set to 8000, and the variable accuracy of each individual is set to 28 .
在具体应用中,开始利用遗传算法进行计算后逐渐减少种群数量来加快迭代次数,迭代结束后输出和目标梯度光场最相似的光场对应的相位,作为最优相位加载到空间光调制器上即可在物镜后得到对应的梯度光场。In specific applications, the genetic algorithm is used to calculate and the population number is gradually reduced to speed up the number of iterations. After the iteration, the phase corresponding to the light field most similar to the target gradient light field is output and loaded on the spatial light modulator as the optimal phase. Then the corresponding gradient light field can be obtained behind the objective lens.
实施例三Example three
如图9所示,在本实施例中,实施例一中的步骤S105包括:As shown in Figure 9, in this embodiment, step S105 in the first embodiment includes:
步骤S901、分别对所述第一图像和所述第二图像进行最大值归一化处理。Step S901: Perform maximum normalization processing on the first image and the second image respectively.
在具体应用中,将第一图像中每个像素点的光强除以第一图像中的最大光强,实现对第一图像的最大值归一化处理;将第二图像中每个像素点的光强除以第二图像中的最大光强,实现对第二图像的最大值归一化处理。In a specific application, the light intensity of each pixel in the first image is divided by the maximum light intensity in the first image to realize the normalization of the maximum value of the first image; each pixel in the second image The light intensity of is divided by the maximum light intensity in the second image to achieve normalization of the maximum value of the second image.
步骤S902、对进行最大值归一化处理后的所述第一图像和所述第二图像进行强度信息提取,得到强度图像。Step S902: Perform intensity information extraction on the first image and the second image after the maximum value normalization process is performed to obtain an intensity image.
在一个实施例中,步骤S902的实现公式为:In an embodiment, the implementation formula of step S902 is:
Figure PCTCN2019130895-appb-000008
Figure PCTCN2019130895-appb-000008
其中,Im为强度图像,Im 1为第一图像,Im 2为第二图像。 Among them, Im is the intensity image, Im 1 is the first image, and Im 2 is the second image.
在具体应用中,强度图像中的强度分布体现了待测样品激发出的荧光信号的强弱。In specific applications, the intensity distribution in the intensity image reflects the strength of the fluorescence signal excited by the sample to be tested.
步骤S903、设置强度阈值对所述强度图像进行强度信息提取,得到有效信息区域。Step S903: Set an intensity threshold to perform intensity information extraction on the intensity image to obtain an effective information area.
在具体应用中,由于噪声的影响,如果对图像的噪声区域进行z轴位置计算会产生很大误差,影响计算精度。因此,需要使用一个强度阈值来选取一个掩模板,下述的数据处理流程只对有信号的区域有效。图7所示的第一梯度光场和第二梯度光场相加得到的光场的光强分布可以用于进行强度信息提取,得 到有效信息区域。In specific applications, due to the influence of noise, if the z-axis position calculation is performed on the noise area of the image, a large error will occur, which will affect the calculation accuracy. Therefore, it is necessary to use an intensity threshold to select a mask, and the following data processing flow is only effective for areas with signals. The light intensity distribution of the light field obtained by adding the first gradient light field and the second gradient light field shown in FIG. 7 can be used for intensity information extraction to obtain an effective information area.
在一个实施例中,步骤S903之后,包括:In one embodiment, after step S903, the method includes:
对所述强度图像进行二值化处理,以隔离出效信息区域。Binarize the intensity image to isolate the effective information area.
步骤S904、提取所述有效信息区域的z轴位置信息,得到与所述强度图像的像素大小相同的位置矩阵。Step S904: Extract z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image.
在一个实施例中,步骤S904的实现公式为:In an embodiment, the implementation formula of step S904 is:
Figure PCTCN2019130895-appb-000009
Figure PCTCN2019130895-appb-000009
其中,z表示z轴位置信息,l axial为第一焦点或第二焦点的长度,I Im1是第一图像Im 1中像素的灰度值,I Im2是第二图像Im 2中像素的灰度值,位置矩阵包括有效信息区域中所有像素的z轴位置信息,即位置矩阵相当于是z的集合。在一个实施例中,步骤S904之后,还包括: Wherein, z denotes a z-axis position information, l axial focal length of the first or the second focal point, I Im1 gradation value of a first pixel in the image Im, I Im2 second grayscale pixels in image Im 2 Value, the position matrix includes the z-axis position information of all pixels in the effective information area, that is, the position matrix is equivalent to a set of z. In an embodiment, after step S904, the method further includes:
对所述强度图像进行高斯滤波,以对所述强度图像进行降噪处理。Gaussian filtering is performed on the intensity image to perform noise reduction processing on the intensity image.
在具体应用中,高斯滤波操作的窗口大小可以根据实际需要进行设置,窗口越小降噪处理效果越好。In specific applications, the window size of the Gaussian filtering operation can be set according to actual needs. The smaller the window, the better the noise reduction processing effect.
在一个实施例中,高斯滤波操作的窗口大小为1个像素大小。In one embodiment, the window size of the Gaussian filtering operation is 1 pixel.
步骤S905、对所述位置矩阵中的z轴位置信息进行排序,并根据排序结果选择取值范围对所述位置矩阵进行归一化处理。Step S905: Sort the z-axis position information in the position matrix, and select a value range according to the sorting result to normalize the position matrix.
在具体应用中,可以从小到大或从大到小对位置矩阵中的z轴位置信息进行排序,由于噪声影响有效比值分布在特定区间内,因此,需要选择合适的最小z和最大z,对位置矩阵进行归一化处理。In specific applications, the z-axis position information in the position matrix can be sorted from small to large or from large to small. Since the effective ratio of noise influence is distributed in a specific interval, it is necessary to select the appropriate minimum z and maximum z. The position matrix is normalized.
在一个实施例中,z的取值范围为0~12。In one embodiment, the value range of z is 0-12.
步骤S906、将所述强度图像中的强度信息和进行归一化处理后的所述位置矩阵中的z轴位置信息编码到同一图像中,得到所述待测样品的三维深度图像;其中,所述Z轴位置信息编码为不同颜色,所述强度信息编码为色彩饱和度。Step S906: Encode the intensity information in the intensity image and the z-axis position information in the position matrix after the normalization process into the same image to obtain a three-dimensional depth image of the sample to be tested; where The Z-axis position information is coded as different colors, and the intensity information is coded as color saturation.
在具体应用中,可以根据MATLAB中用于设定和获取当前色图的colormap函数来实现步骤S906。In specific applications, step S906 can be implemented according to the colormap function used to set and obtain the current color map in MATLAB.
如图10所示,示例性的示出了步骤S901~步骤S906中各阶段的图像。图2、图6或图10中所示的z的最大值12um,即为l axial。应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。 As shown in FIG. 10, the images at each stage in step S901 to step S906 are exemplarily shown. The maximum value of z shown in Figure 2, Figure 6 or Figure 10 is 12um, which is l axial . It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
实施例四Example four
如图11所示,本实施例提供一种用于执行实施例一~实施例三任一项中的双光子荧光成像方法的双光子荧光成像系统100,包括:As shown in FIG. 11, this embodiment provides a two-photon fluorescence imaging system 100 for performing the two-photon fluorescence imaging method in any one of Embodiment 1 to Embodiment 3, including:
波前整形模组1,用于对入射的第一脉冲光束进行波前整形,得到第一光束;The wavefront shaping module 1 is used for wavefront shaping of the incident first pulse beam to obtain the first beam;
光子荧光显微镜2,用于通过第一光束扫描待测样品,得到第一图像;其中,第一光束在双光子荧光显微镜2的物镜的焦点处的光场为第一梯度光场,第一梯度光场的光强分布沿z轴呈梯度变化,z轴方向为待测样品的深度方向;The photon fluorescence microscope 2 is used to scan the sample to be tested through the first beam to obtain the first image; wherein, the light field of the first beam at the focal point of the objective lens of the two-photon fluorescence microscope 2 is a first gradient light field, and the first gradient The light intensity distribution of the light field changes in a gradient along the z-axis, and the z-axis direction is the depth direction of the sample to be tested;
波前整形模组2还用于对入射的第二脉冲光束进行波前整形,得到第二光束;其中,第二光束在物镜的焦点处的光场为与第一梯度光场的光强分布相反的第二梯度光场;The wavefront shaping module 2 is also used to perform wavefront shaping on the incident second pulsed light beam to obtain a second light beam; wherein the light field of the second light beam at the focal point of the objective lens is the same as the light intensity distribution of the first gradient light field The opposite second gradient light field;
双光子荧光显微镜2还用于通过第二光束扫描待测样品,得到第二图像;The two-photon fluorescence microscope 2 is also used to scan the sample to be tested with a second beam to obtain a second image;
图像处理设备3,用于根据第一图像和第二图像进行三维数据重建,得到待测样品的三维深度图像。The image processing device 3 is used to perform three-dimensional data reconstruction based on the first image and the second image to obtain a three-dimensional depth image of the sample to be tested.
在具体应用中,图像处理设备可以是双光子荧光显微镜自带的全自动的或半自动显微镜摄影装置,也可包括图像传感器和桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。In specific applications, the image processing equipment can be a fully automatic or semi-automatic microscope photography device that comes with a two-photon fluorescence microscope, or it can include image sensors and computing devices such as desktop computers, notebooks, palmtops, and cloud servers.
如图11所示,在本实施例中,图像处理设备3与空间光调制器1通信连接,图像处理设备用于控制空间光调制器改变第一脉冲光束和第二脉冲光束的相位,以在物镜的焦点处的光场为第一梯度光场的第一光束,以及在物镜的焦点处的光场为与第一梯度光场的光强分布相反的第二梯度光场的第二光束。As shown in FIG. 11, in this embodiment, the image processing device 3 is in communication connection with the spatial light modulator 1, and the image processing device is used to control the spatial light modulator to change the phases of the first pulse beam and the second pulse beam in order to The light field at the focal point of the objective lens is the first light beam of the first gradient light field, and the light field at the focal point of the objective lens is the second light beam of the second gradient light field opposite to the light intensity distribution of the first gradient light field.
如图11所示,在本实施例中,双光子荧光成像系统100还包括激光器4,用于产生第一脉冲光束和第二脉冲光束并发射至波前整形模组1。As shown in FIG. 11, in this embodiment, the two-photon fluorescence imaging system 100 further includes a laser 4 for generating a first pulse beam and a second pulse beam and emitting them to the wavefront shaping module 1.
在具体应用中,激光器可以根据实际需要选择适用于双光子荧光成像的激光器,例如,飞秒脉冲激光器。In specific applications, the laser can be selected according to actual needs to be suitable for two-photon fluorescence imaging, for example, a femtosecond pulsed laser.
如图12所示,在一个实施例中,波前整形模组1包括:As shown in FIG. 12, in one embodiment, the wavefront shaping module 1 includes:
半波片11,用于对入射的第一脉冲光束的偏振方向进行旋转,得到预设偏振方向的第一偏振光束;The half-wave plate 11 is used to rotate the polarization direction of the incident first pulsed beam to obtain the first polarized beam with a preset polarization direction;
空间光调制器12,用于对第一偏振光束进行空间相位调制,得到第一预设相位的第一光束;The spatial light modulator 12 is configured to perform spatial phase modulation on the first polarized light beam to obtain the first light beam of the first preset phase;
半波片11还用于对入射的第二脉冲光束的偏振方向进行旋转,得到预设偏振方向的第二偏振光束;The half-wave plate 11 is also used to rotate the polarization direction of the incident second pulsed light beam to obtain a second polarized light beam with a preset polarization direction;
空间光调制器12还用于对第二偏振光束进行空间相位调制,得到第二预设相位的第二光束。The spatial light modulator 12 is also used to perform spatial phase modulation on the second polarized light beam to obtain a second light beam with a second preset phase.
在具体应用中,半波片入射面朝向激光器的出射面,半波片的出射面朝向空间光调制器的入射面,空间光调制器的出射面朝向双光子荧光显微镜的扫描振镜的入射面。In specific applications, the entrance surface of the half-wave plate faces the exit surface of the laser, the exit surface of the half-wave plate faces the entrance surface of the spatial light modulator, and the exit surface of the spatial light modulator faces the entrance surface of the scanning galvanometer of the two-photon fluorescence microscope .
如图12所示,在一个实施例中,波前整形模组1还包括:As shown in FIG. 12, in one embodiment, the wavefront shaping module 1 further includes:
反射镜13,用于将激光器出射的第一脉冲光束和第二脉冲光束反射至半波片12的入射面;The reflecting mirror 13 is used to reflect the first pulse beam and the second pulse beam emitted by the laser to the incident surface of the half-wave plate 12;
4f系统14,用于使空间光调制器12的出射面与双光子荧光显微镜2的扫描振镜的入射面共轭。The 4f system 14 is used to make the exit surface of the spatial light modulator 12 and the entrance surface of the scanning galvanometer of the two-photon fluorescence microscope 2 conjugate.
在具体应用中,反射镜的反射面分别朝向激光器的出射面和半波片的入射面,空间光调制器的出射面位于4f系统的物方焦平面,扫描振镜的入射面位于4f系统得像方焦平面。In specific applications, the reflective surface of the mirror faces the exit surface of the laser and the entrance surface of the half-wave plate respectively, the exit surface of the spatial light modulator is located at the objective focal plane of the 4f system, and the entrance surface of the scanning galvanometer is located at the 4f system Image square focal plane.
在一个本实施例中,所述图像处理设备包括:In one embodiment, the image processing device includes:
第一设计模块,用于设计光强沿z轴分布的第一焦点;其中,所述第一焦点处的光场为第一梯度光场;The first design module is used to design a first focal point with light intensity distributed along the z axis; wherein the light field at the first focal point is a first gradient light field;
第二设计模块,用于设计光强沿z轴分布的第二焦点;其中,所述第二焦点处的光场为第二梯度光场;The second design module is used to design a second focal point where the light intensity is distributed along the z axis; wherein the light field at the second focal point is a second gradient light field;
分割模块,用于将所述物镜的入瞳分割为预设数量个面积相等的圆环;A dividing module, configured to divide the entrance pupil of the objective lens into a preset number of rings of equal area;
组合模块,用于将所述预设数量个面积相等的圆环的相位的组合,作为所述入瞳的相位函数;A combination module, configured to combine the phases of the preset number of rings with the same area as the phase function of the entrance pupil;
计算模块,用于根据所述入瞳的相位函数,计算每个所述圆环的相位函数对应的焦点处的光场;A calculation module, configured to calculate the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil;
第一寻找模块,用于利用遗传算法寻找与所述第一梯度光场最相似的光场对应的相位,作为第一预设相位并输出至所述空间光调制器;The first searching module is configured to use a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field, as the first preset phase and output to the spatial light modulator;
第二寻找模块,用于利用遗传算法寻找与所述第二梯度光场最相似的光场对应的相位,作为第二预设相位并输出至所述空间光调制器。The second searching module is used to search for the phase corresponding to the light field most similar to the second gradient light field by using a genetic algorithm, as a second preset phase and output to the spatial light modulator.
在一个实施例中,所述图像处理设备包括:In an embodiment, the image processing device includes:
归一化处理模块,用于分别对所述第一图像和所述第二图像进行最大值归一化处理;A normalization processing module, configured to perform maximum normalization processing on the first image and the second image respectively;
第一提取模块,用于对进行最大值归一化处理后的所述第一图像和所述第二图像进行强度信息提取,得到强度图像;The first extraction module is configured to extract intensity information of the first image and the second image after the maximum value normalization processing is performed to obtain an intensity image;
第二提取模块,用于设置强度阈值对所述强度图像进行强度信息提取,得到有效信息区域;The second extraction module is configured to set an intensity threshold to extract intensity information from the intensity image to obtain an effective information area;
第三提取模块,用于提取所述有效信息区域的z轴位置信息,得到与所述强度图像的像素大小相同的位置矩阵;The third extraction module is configured to extract the z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image;
排序模块,用于对所述位置矩阵中的z轴位置信息进行排序,并根据排序结果选择取值范围对所述位置矩阵进行归一化处理;A sorting module, configured to sort the z-axis position information in the position matrix, and select a value range according to the sorting result to normalize the position matrix;
编码模块,用于将所述强度图像中的强度信息和进行归一化处理后的所述位置矩阵中的z轴位置信息编码到同一图像中,得到所述待测样品的三维深度图像;其中,所述z轴位置信息编码为不同颜色,所述强度信息编码为色彩饱和度。An encoding module for encoding the intensity information in the intensity image and the z-axis position information in the normalized position matrix into the same image to obtain a three-dimensional depth image of the sample to be tested; wherein The z-axis position information is coded as different colors, and the intensity information is coded as color saturation.
在具体应用中,图像处理设备所包括的各模块可以为存储在图像处理设备的存储器中,并由图像处理设备的处理器来执行的软件程序模块,处理器在执行相应的计算机程序时,实现各模块的功能。In specific applications, the modules included in the image processing device may be software program modules stored in the memory of the image processing device and executed by the processor of the image processing device. The processor implements the corresponding computer program when it executes The function of each module.
本实施例通过依次对入射的两个脉冲光束进行波前整形,得到在物镜的焦点处的光场为梯度光场的两个光束,并使两个光束的梯度光场的光强分布相反,然后依次通过两个光束对待测样品进行扫描得到两幅图像,并根据两幅图像进行三维数据重建,得到待测样品的三维深度图像,成像速度快、分辨率高且算法简单,易于实现,并且由于成像速度快(为普通双光子荧光显微镜的6-10倍),有效降低了对待测样品的光损伤和光漂白作用,尤其适用于对胚胎发育样品和神经活动样品进行三维成像。In this embodiment, the wavefront shaping of the two incident pulse beams is performed sequentially to obtain two beams with a gradient light field at the focal point of the objective lens, and the light intensity distributions of the gradient light fields of the two beams are opposite. Then scan the sample to be tested by two light beams to obtain two images, and reconstruct the three-dimensional data based on the two images to obtain the three-dimensional depth image of the sample to be tested. The imaging speed is fast, the resolution is high, the algorithm is simple, and it is easy to implement. Due to the fast imaging speed (6-10 times of ordinary two-photon fluorescence microscope), the photodamage and photobleaching effects of the sample to be tested are effectively reduced, and it is especially suitable for three-dimensional imaging of embryonic development samples and neural activity samples.
实施例五Example five
如图13所示,本实施例提供一种图像处理设备3,包括:图像传感器30、处理器31、存储器32以及存储在所述存储器32中并可在所述处理器31上运 行的计算机程序33,例如三维数据重建程序。或者,所述处理器31执行所述计算机程序33时实现实施例四中各模块的功能。As shown in FIG. 13, this embodiment provides an image processing device 3, which includes: an image sensor 30, a processor 31, a memory 32, and a computer program stored in the memory 32 and running on the processor 31 33, such as a three-dimensional data reconstruction program. Alternatively, when the processor 31 executes the computer program 33, the function of each module in the fourth embodiment is realized.
示例性的,所述计算机程序33可以被分割成一个或多个模块,所述一个或者多个模块被存储在所述存储器32中,并由所述处理器31执行,以完成本发明。所述一个或多个模块可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序33在所述图像处理设备中的执行过程。例如,所述计算机程序33可以被分割成如下模块:Exemplarily, the computer program 33 may be divided into one or more modules, and the one or more modules are stored in the memory 32 and executed by the processor 31 to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 33 in the image processing device. For example, the computer program 33 can be divided into the following modules:
第一设计模块,用于设计光强沿z轴分布的第一焦点;其中,所述第一焦点处的光场为第一梯度光场;The first design module is used to design a first focal point with light intensity distributed along the z axis; wherein the light field at the first focal point is a first gradient light field;
第二设计模块,用于设计光强沿z轴分布的第二焦点;其中,所述第二焦点处的光场为第二梯度光场;The second design module is used to design a second focal point where the light intensity is distributed along the z axis; wherein the light field at the second focal point is a second gradient light field;
分割模块,用于将所述物镜的入瞳分割为预设数量个面积相等的圆环;A dividing module, configured to divide the entrance pupil of the objective lens into a preset number of rings of equal area;
组合模块,用于将所述预设数量个面积相等的圆环的相位的组合,作为所述入瞳的相位函数;A combination module, configured to combine the phases of the preset number of rings with the same area as the phase function of the entrance pupil;
计算模块,用于根据所述入瞳的相位函数,计算每个所述圆环的相位函数对应的焦点处的光场;A calculation module, configured to calculate the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil;
第一寻找模块,用于利用遗传算法寻找与所述第一梯度光场最相似的光场对应的相位,作为第一预设相位并输出至所述空间光调制器;The first searching module is configured to use a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field, as the first preset phase and output to the spatial light modulator;
第二寻找模块,用于利用遗传算法寻找与所述第二梯度光场最相似的光场对应的相位,作为第二预设相位并输出至所述空间光调制器。The second searching module is used to search for the phase corresponding to the light field most similar to the second gradient light field by using a genetic algorithm, as a second preset phase and output to the spatial light modulator.
或者,所述计算机程序33还可以被分割成如下模块:Alternatively, the computer program 33 can also be divided into the following modules:
归一化处理模块,用于分别对所述第一图像和所述第二图像进行最大值归一化处理;A normalization processing module, configured to perform maximum normalization processing on the first image and the second image respectively;
第一提取模块,用于对进行最大值归一化处理后的所述第一图像和所述第二图像进行强度信息提取,得到强度图像;The first extraction module is configured to extract intensity information of the first image and the second image after the maximum value normalization processing is performed to obtain an intensity image;
第二提取模块,用于设置强度阈值对所述强度图像进行强度信息提取,得到有效信息区域;The second extraction module is configured to set an intensity threshold to extract intensity information from the intensity image to obtain an effective information area;
第三提取模块,用于提取所述有效信息区域的z轴位置信息,得到与所述强度图像的像素大小相同的位置矩阵;The third extraction module is configured to extract the z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image;
排序模块,用于对所述位置矩阵中的z轴位置信息进行排序,并根据排序结果选择取值范围对所述位置矩阵进行归一化处理;A sorting module, configured to sort the z-axis position information in the position matrix, and select a value range according to the sorting result to normalize the position matrix;
编码模块,用于将所述强度图像中的强度信息和进行归一化处理后的所述位置矩阵中的z轴位置信息编码到同一图像中,得到所述待测样品的三维深度图像;其中,所述z轴位置信息编码为不同颜色,所述强度信息编码为色彩饱和度。An encoding module for encoding the intensity information in the intensity image and the z-axis position information in the normalized position matrix into the same image to obtain a three-dimensional depth image of the sample to be tested; wherein The z-axis position information is coded as different colors, and the intensity information is coded as color saturation.
所述图像处理设备可以是带有图像传感器的桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述图像处理设备可包括,但不仅限于,处理器31、存储器32。本领域技术人员可以理解,图13仅仅是图像处理设备的示例,并不构成对图像处理设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述图像处理设备还可以包括输入输 出设备、网络接入设备、总线等。The image processing device may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server with an image sensor. The image processing device may include, but is not limited to, a processor 31 and a memory 32. Those skilled in the art can understand that FIG. 13 is only an example of an image processing device, and does not constitute a limitation on the image processing device. It may include more or less components than shown in the figure, or a combination of certain components, or different components. For example, the image processing device may also include input and output devices, network access devices, buses, and the like.
所称处理器31可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 31 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
所述存储器32可以是所述图像处理设备的内部存储单元,例如图像处理设备的硬盘或内存。所述存储器32也可以是所述图像处理设备的外部存储设备,例如所述图像处理设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器32还可以既包括所述图像处理设备的内部存储单元也包括外部存储设备。所述存储器32用于存储所述计算机程序以及所述图像处理设备所需的其他程序和数据。所述存储器32还可以用于暂时地存储已经输出或者将要输出的数据。The memory 32 may be an internal storage unit of the image processing device, such as a hard disk or memory of the image processing device. The memory 32 may also be an external storage device of the image processing device, such as a plug-in hard disk equipped on the image processing device, a smart memory card (Smart Media Card, SMC), or a Secure Digital (SD). Card, Flash Card, etc. Further, the memory 32 may also include both an internal storage unit of the image processing device and an external storage device. The memory 32 is used to store the computer program and other programs and data required by the image processing device. The memory 32 can also be used to temporarily store data that has been output or will be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned functions can be allocated to different functional units and modules as required. Module completion means dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist alone physically, or two or more units can be integrated into one unit. The above-mentioned integrated units can be hardware-based Form realization can also be realized in the form of software functional unit. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the foregoing system, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail or recorded in an embodiment, reference may be made to related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the present invention.
在本发明所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided by the present invention, it should be understood that the disclosed device/terminal device and method may be implemented in other ways. For example, the device/terminal device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units. Or components can be combined or integrated into another system, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为 单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的模块如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media. It should be noted that the content contained in the computer-readable medium can be appropriately added or deleted in accordance with the requirements of the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to the legislation and patent practice, the computer-readable medium Does not include electrical carrier signals and telecommunication signals.
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present invention, not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in Within the protection scope of the present invention.

Claims (10)

  1. 一种双光子荧光成像方法,其特征在于,应用于双光子荧光成像系统,所述双光子荧光成像方法包括:A two-photon fluorescence imaging method is characterized in that it is applied to a two-photon fluorescence imaging system, and the two-photon fluorescence imaging method includes:
    对入射的第一脉冲光束进行波前整形,得到第一光束;其中,所述第一光束在所述双光子荧光成像系统的物镜的焦点处的光场为第一梯度光场,所述第一梯度光场的光强分布沿z轴呈梯度变化,z轴方向为待测样品的深度方向;Wavefront shaping is performed on the incident first pulsed light beam to obtain the first light beam; wherein the light field of the first light beam at the focal point of the objective lens of the two-photon fluorescence imaging system is a first gradient light field, and The light intensity distribution of a gradient light field changes in a gradient along the z-axis, and the z-axis direction is the depth direction of the sample to be tested;
    通过所述第一光束扫描待测样品,得到第一图像;Scan the sample to be tested by the first light beam to obtain a first image;
    对入射的第二脉冲光束进行波前整形,得到第二光束;其中,所述第二光束在所述物镜的焦点处的光场为与所述第一梯度光场的光强分布相反的第二梯度光场;Wavefront shaping is performed on the incident second pulsed light beam to obtain a second light beam; wherein the light field of the second light beam at the focal point of the objective lens is the first light intensity distribution opposite to the light intensity distribution of the first gradient light field Two gradient light fields;
    通过所述第二光束扫描待测样品,得到第二图像;Scan the sample to be tested by the second light beam to obtain a second image;
    根据所述第一图像和所述第二图像进行三维数据重建,得到所述待测样品的三维深度图像。Perform three-dimensional data reconstruction according to the first image and the second image to obtain a three-dimensional depth image of the sample to be tested.
  2. 如权利要求1所述的双光子荧光成像方法,其特征在于,对入射的第一脉冲光束进行波前整形,得到第一光束,包括:The two-photon fluorescence imaging method of claim 1, wherein the wavefront shaping of the incident first pulsed light beam to obtain the first light beam comprises:
    对入射的第一脉冲光束的偏振方向进行旋转,得到预设偏振方向的第一偏振光束;Rotating the polarization direction of the incident first pulsed beam to obtain a first polarized beam with a preset polarization direction;
    对所述第一偏振光束进行空间相位调制,得到第一预设相位的第一光束;Performing spatial phase modulation on the first polarized light beam to obtain a first light beam with a first preset phase;
    对入射的第二脉冲光束进行波前整形,得到第二光束,包括:The wavefront shaping of the incident second pulse beam to obtain the second beam includes:
    对入射的第二脉冲光束的偏振方向进行旋转,得到预设偏振方向的第二偏振光束;Rotating the polarization direction of the incident second pulse beam to obtain a second polarization beam with a preset polarization direction;
    对所述第二偏振光束进行空间相位调制,得到第二预设相位的第二光束。Performing spatial phase modulation on the second polarized light beam to obtain a second light beam with a second preset phase.
  3. 如权利要求2所述的双光子荧光成像方法,其特征在于,对入射的第一脉冲光束进行波前整形,得到第一光束之前,包括:3. The two-photon fluorescence imaging method of claim 2, wherein the wavefront shaping of the incident first pulsed beam to obtain the first beam comprises:
    设计光强沿z轴分布的第一焦点;其中,所述第一焦点处的光场为第一梯度光场;Design a first focal point with light intensity distributed along the z axis; wherein the light field at the first focal point is a first gradient light field;
    设计光强沿z轴分布的第二焦点;其中,所述第二焦点处的光场为第二梯度光场;Design a second focal point with light intensity distributed along the z-axis; wherein the light field at the second focal point is a second gradient light field;
    将所述物镜的入瞳分割为预设数量个面积相等的圆环;Dividing the entrance pupil of the objective lens into a preset number of rings of equal area;
    将所述预设数量个面积相等的圆环的相位的组合,作为所述入瞳的相位函数;Combining the phases of the preset number of rings with equal areas as the phase function of the entrance pupil;
    根据所述入瞳的相位函数,计算每个所述圆环的相位函数对应的焦点处的光场;Calculating the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil;
    利用遗传算法寻找与所述第一梯度光场最相似的光场对应的相位,作为第一预设相位;Using a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field as the first preset phase;
    利用遗传算法寻找与所述第二梯度光场最相似的光场对应的相位,作为第二预设相位。A genetic algorithm is used to find the phase corresponding to the light field most similar to the second gradient light field as the second preset phase.
  4. 如权利要求3所述的双光子荧光成像方法,其特征在于,根据所述相位 函数,计算每个所述相位函数对应的焦点处的光场的计算公式为:The two-photon fluorescence imaging method according to claim 3, wherein, according to the phase function, the calculation formula for calculating the light field at the focal point corresponding to each phase function is:
    Figure PCTCN2019130895-appb-100001
    Figure PCTCN2019130895-appb-100001
    其中,是光线的汇聚角度,P()是入瞳的相位函数,是的最大值,
    Figure PCTCN2019130895-appb-100002
    k=2/λ是波数,NA为物镜的数值孔径,n为物镜的浸润介质,手为光线的波长,z是z轴位置信息。
    Where is the convergence angle of light, P() is the phase function of the entrance pupil, which is the maximum value,
    Figure PCTCN2019130895-appb-100002
    k=2/λ is the wave number, NA is the numerical aperture of the objective lens, n is the immersion medium of the objective lens, hand is the wavelength of the light, and z is the z-axis position information.
  5. 如权利要求1~4任一项所述的双光子荧光成像方法,其特征在于,根据所述第一图像和所述第二图像,对所述待测样品进行三维数据重建,得到所述待测样品的三维深度图像,包括:The two-photon fluorescence imaging method according to any one of claims 1 to 4, characterized in that, according to the first image and the second image, three-dimensional data reconstruction of the sample to be tested is performed to obtain the The three-dimensional depth image of the test sample, including:
    分别对所述第一图像和所述第二图像进行最大值归一化处理;Performing maximum normalization processing on the first image and the second image respectively;
    对进行最大值归一化处理后的所述第一图像和所述第二图像进行强度信息提取,得到强度图像;Performing intensity information extraction on the first image and the second image after the maximum value normalization processing is performed to obtain an intensity image;
    设置强度阈值对所述强度图像进行强度信息提取,得到有效信息区域;Setting an intensity threshold to extract intensity information from the intensity image to obtain an effective information area;
    提取所述有效信息区域的z轴位置信息,得到与所述强度图像的像素大小相同的位置矩阵;Extracting the z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image;
    对所述位置矩阵中的z轴位置信息进行排序,并根据排序结果选择取值范围对所述位置矩阵进行归一化处理;Sorting the z-axis position information in the position matrix, and selecting a value range according to the sorting result to normalize the position matrix;
    将所述强度图像中的强度信息和进行归一化处理后的所述位置矩阵中的z轴位置信息编码到同一图像中,得到所述待测样品的三维深度图像;其中,所述Z轴位置信息编码为不同颜色,所述强度信息编码为色彩饱和度。The intensity information in the intensity image and the z-axis position information in the normalized position matrix are encoded into the same image to obtain a three-dimensional depth image of the sample to be tested; wherein, the Z-axis The position information is coded as different colors, and the intensity information is coded as color saturation.
  6. 一种双光子荧光成像系统,其特征在于,包括:A two-photon fluorescence imaging system is characterized in that it comprises:
    波前整形模组,用于对入射的第一脉冲光束进行波前整形,得到第一光束;The wavefront shaping module is used to shape the wavefront of the incident first pulse beam to obtain the first beam;
    光子荧光显微镜,用于通过所述第一光束扫描待测样品,得到第一图像;其中,所述第一光束在所述双光子荧光显微镜的物镜的焦点处的光场为第一梯度光场,所述第一梯度光场的光强分布沿z轴呈梯度变化,z轴方向为待测样品的深度方向;The photon fluorescence microscope is used to scan the sample to be tested through the first light beam to obtain a first image; wherein the light field of the first light beam at the focal point of the objective lens of the two-photon fluorescence microscope is a first gradient light field , The light intensity distribution of the first gradient light field changes in a gradient along the z-axis, and the z-axis direction is the depth direction of the sample to be tested;
    所述波前整形模组还用于对入射的第二脉冲光束进行波前整形,得到第二光束;其中,所述第二光束在所述物镜的焦点处的光场为与所述第一梯度光场的光强分布相反的第二梯度光场;The wavefront shaping module is also used to perform wavefront shaping on the incident second pulsed light beam to obtain a second light beam; wherein the light field of the second light beam at the focal point of the objective lens is the same as that of the first A second gradient light field with an opposite light intensity distribution of the gradient light field;
    所述双光子荧光显微镜还用于通过所述第二光束扫描待测样品,得到第二图像;The two-photon fluorescence microscope is also used to scan the sample to be tested through the second beam to obtain a second image;
    图像处理设备,用于根据所述第一图像和所述第二图像进行三维数据重建,得到所述待测样品的三维深度图像。The image processing device is used to perform three-dimensional data reconstruction according to the first image and the second image to obtain a three-dimensional depth image of the sample to be tested.
  7. 如权利要求6所述的双光子荧光成像系统,其特征在于,所述波前整形模组包括:8. The two-photon fluorescence imaging system of claim 6, wherein the wavefront shaping module comprises:
    半波片,用于对入射的第一脉冲光束的偏振方向进行旋转,得到预设偏振方向的第一偏振光束;The half-wave plate is used to rotate the polarization direction of the incident first pulsed beam to obtain the first polarized beam with the preset polarization direction;
    空间光调制器,用于对所述第一偏振光束进行空间相位调制,得到第一预设相位的第一光束;A spatial light modulator, configured to perform spatial phase modulation on the first polarized light beam to obtain a first light beam with a first preset phase;
    所述半波片还用于对入射的第二脉冲光束的偏振方向进行旋转,得到预设偏振方向的第二偏振光束;The half-wave plate is also used to rotate the polarization direction of the incident second pulsed light beam to obtain a second polarized light beam with a preset polarization direction;
    所述空间光调制器还用于对所述第二偏振光束进行空间相位调制,得到第二预设相位的第二光束。The spatial light modulator is also used to perform spatial phase modulation on the second polarized light beam to obtain a second light beam with a second preset phase.
  8. 如权利要求7所述的双光子荧光成像系统,其特征在于,所述图像处理设备与所述空间光调制器通信连接,所述图像处理设备包括:8. The two-photon fluorescence imaging system of claim 7, wherein the image processing device is in communication connection with the spatial light modulator, and the image processing device comprises:
    第一设计模块,用于设计光强沿z轴分布的第一焦点;其中,所述第一焦点处的光场为第一梯度光场;The first design module is used to design a first focal point with light intensity distributed along the z axis; wherein the light field at the first focal point is a first gradient light field;
    第二设计模块,用于设计光强沿z轴分布的第二焦点;其中,所述第二焦点处的光场为第二梯度光场;The second design module is used to design a second focal point where the light intensity is distributed along the z axis; wherein the light field at the second focal point is a second gradient light field;
    分割模块,用于将所述物镜的入瞳分割为预设数量个面积相等的圆环;A dividing module, configured to divide the entrance pupil of the objective lens into a preset number of rings of equal area;
    组合模块,用于将所述预设数量个面积相等的圆环的相位的组合,作为所述入瞳的相位函数;A combination module, configured to combine the phases of the preset number of rings with the same area as the phase function of the entrance pupil;
    计算模块,用于根据所述入瞳的相位函数,计算每个所述圆环的相位函数对应的焦点处的光场;A calculation module, configured to calculate the light field at the focal point corresponding to the phase function of each ring according to the phase function of the entrance pupil;
    第一寻找模块,用于利用遗传算法寻找与所述第一梯度光场最相似的光场对应的相位,作为第一预设相位并输出至所述空间光调制器;The first searching module is configured to use a genetic algorithm to find the phase corresponding to the light field most similar to the first gradient light field, as the first preset phase and output to the spatial light modulator;
    第二寻找模块,用于利用遗传算法寻找与所述第二梯度光场最相似的光场对应的相位,作为第二预设相位并输出至所述空间光调制器。The second searching module is used to search for the phase corresponding to the light field most similar to the second gradient light field by using a genetic algorithm, as a second preset phase and output to the spatial light modulator.
  9. 如权利要求6~8任一项所述的双光子荧光成像系统,其特征在于,所述图像处理设备包括:The two-photon fluorescence imaging system according to any one of claims 6 to 8, wherein the image processing device comprises:
    归一化处理模块,用于分别对所述第一图像和所述第二图像进行最大值归一化处理;A normalization processing module, configured to perform maximum normalization processing on the first image and the second image respectively;
    第一提取模块,用于对进行最大值归一化处理后的所述第一图像和所述第二图像进行强度信息提取,得到强度图像;The first extraction module is configured to extract intensity information of the first image and the second image after the maximum value normalization processing is performed to obtain an intensity image;
    第二提取模块,用于设置强度阈值对所述强度图像进行强度信息提取,得到有效信息区域;The second extraction module is configured to set an intensity threshold to extract intensity information from the intensity image to obtain an effective information area;
    第三提取模块,用于提取所述有效信息区域的z轴位置信息,得到与所述强度图像的像素大小相同的位置矩阵;The third extraction module is configured to extract the z-axis position information of the effective information area to obtain a position matrix with the same pixel size as the intensity image;
    排序模块,用于对所述位置矩阵中的z轴位置信息进行排序,并根据排序结果选择取值范围对所述位置矩阵进行归一化处理;A sorting module, configured to sort the z-axis position information in the position matrix, and select a value range according to the sorting result to normalize the position matrix;
    编码模块,用于将所述强度图像中的强度信息和进行归一化处理后的所述位置矩阵中的z轴位置信息编码到同一图像中,得到所述待测样品的三维深度图像;其中,所述z轴位置信息编码为不同颜色,所述强度信息编码为色彩饱和度。An encoding module for encoding the intensity information in the intensity image and the z-axis position information in the normalized position matrix into the same image to obtain a three-dimensional depth image of the sample to be tested; wherein The z-axis position information is coded as different colors, and the intensity information is coded as color saturation.
  10. 一种图像处理设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求3至5任一项所述方法的步骤。An image processing device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program as claimed in claim 3 Steps of any one of the methods to 5.
PCT/CN2019/130895 2019-03-28 2019-12-31 Two-photon fluorescence imaging method and system, and image processing device WO2020192235A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910245483.4 2019-03-28
CN201910245483.4A CN110006861B (en) 2019-03-28 2019-03-28 Two-photon fluorescence imaging method and system and image processing equipment

Publications (1)

Publication Number Publication Date
WO2020192235A1 true WO2020192235A1 (en) 2020-10-01

Family

ID=67168676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/130895 WO2020192235A1 (en) 2019-03-28 2019-12-31 Two-photon fluorescence imaging method and system, and image processing device

Country Status (2)

Country Link
CN (1) CN110006861B (en)
WO (1) WO2020192235A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110006861B (en) * 2019-03-28 2020-05-15 中国科学院深圳先进技术研究院 Two-photon fluorescence imaging method and system and image processing equipment
CN111855568B (en) * 2019-10-16 2021-11-02 中国科学院物理研究所 Transmission electron microscope system with optical and electronic dual detection characteristics and method
CN116337832A (en) * 2023-03-07 2023-06-27 清华大学 Two-photon microscopic imaging method and device based on synthetic aperture

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008025565A1 (en) * 2006-09-01 2008-03-06 Universität Zürich Scanning-microscope and method for operating a scanning-microscope
CN101915752A (en) * 2010-07-05 2010-12-15 中国科学院深圳先进技术研究院 Laser scanning imaging device
CN102944540A (en) * 2012-10-11 2013-02-27 中国科学院西安光学精密机械研究所 Three-dimensional imaging system and method in deep scattering medium
CN104407436A (en) * 2014-09-05 2015-03-11 北京大学 Tri-axial digital scanning light-sheet microscope based on axial ultrahigh-speed scanning
CN105784662A (en) * 2016-04-27 2016-07-20 武汉大学 Liquid-phase suspension biochip based on multi-optical trap encoding bead array and two-photon fluorescence detection
CN107091825A (en) * 2017-03-31 2017-08-25 清华大学 Fluorescent sample chromatography micro imaging method based on microlens array
CN110006861A (en) * 2019-03-28 2019-07-12 中国科学院深圳先进技术研究院 A kind of two-photon fluorescence imaging method, system and image processing equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104062750B (en) * 2014-06-18 2016-07-06 浙江大学 A kind of two-photon fluorescence stimulated emission differential super-resolution microscopic method and device
CN105548099B (en) * 2015-12-04 2018-07-27 西北大学 The lossless three-dimensional imaging of historical relic based on two-photon fluorescence excitation and Components identification method
CN106290284B (en) * 2016-09-19 2023-03-10 浙江大学 Two-photon fluorescence microscope system and method with structured light illumination

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008025565A1 (en) * 2006-09-01 2008-03-06 Universität Zürich Scanning-microscope and method for operating a scanning-microscope
CN101915752A (en) * 2010-07-05 2010-12-15 中国科学院深圳先进技术研究院 Laser scanning imaging device
CN102944540A (en) * 2012-10-11 2013-02-27 中国科学院西安光学精密机械研究所 Three-dimensional imaging system and method in deep scattering medium
CN104407436A (en) * 2014-09-05 2015-03-11 北京大学 Tri-axial digital scanning light-sheet microscope based on axial ultrahigh-speed scanning
CN105784662A (en) * 2016-04-27 2016-07-20 武汉大学 Liquid-phase suspension biochip based on multi-optical trap encoding bead array and two-photon fluorescence detection
CN107091825A (en) * 2017-03-31 2017-08-25 清华大学 Fluorescent sample chromatography micro imaging method based on microlens array
CN110006861A (en) * 2019-03-28 2019-07-12 中国科学院深圳先进技术研究院 A kind of two-photon fluorescence imaging method, system and image processing equipment

Also Published As

Publication number Publication date
CN110006861B (en) 2020-05-15
CN110006861A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
Yan et al. Fourier-space diffractive deep neural network
Zhao et al. Sparse deconvolution improves the resolution of live-cell super-resolution fluorescence microscopy
Jin et al. Deep learning enables structured illumination microscopy with low light levels and enhanced speed
de Haan et al. Deep-learning-based image reconstruction and enhancement in optical microscopy
WO2020192235A1 (en) Two-photon fluorescence imaging method and system, and image processing device
Li et al. Global fitting for high-accuracy multi-channel single-molecule localization
Koos et al. DIC image reconstruction using an energy minimization framework to visualize optical path length distribution
Han et al. Ultra-fast, universal super-resolution radial fluctuations (SRRF) algorithm for live-cell super-resolution microscopy
Boland et al. Improving axial resolution in Structured Illumination Microscopy using deep learning
Ludwig et al. Image reconstruction and enhancement by deconvolution in scatter-plate microscopy
Yu et al. Achieving superresolution with illumination-enhanced sparsity
Alva et al. Fluorescence fluctuation‐based super‐resolution microscopy: Basic concepts for an easy start
Shi et al. Rapid all-in-focus imaging via physical neural network optical encoding
Li et al. Rapid 3D image scanning microscopy with multi-spot excitation and double-helix point spread function detection
Wijesinghe et al. Experimentally unsupervised deconvolution for light-sheet microscopy with propagation-invariant beams
Gu et al. Position-robust optronic convolutional neural networks dealing with images position variation
Stockhausen et al. Airy beam light sheet microscopy boosted by deep learning deconvolution
Cui et al. Pose correction scheme for camera-scanning Fourier ptychography based on camera calibration and homography transform
Zhang et al. Conformal convolutional neural network (CCNN) for single-shot sensorless wavefront sensing
Itoh et al. Digitized optical microscopy with extended depth of field
US20230258917A1 (en) Method comprising determining a quantitative dispersion image of an object and digital in-line hologram microscope scanner
Liao et al. Deep‐MSIM: Fast Image Reconstruction with Deep Learning in Multifocal Structured Illumination Microscopy
Lacapmesure et al. Combining deep learning with SUPPOSe and compressed sensing for SNR-enhanced localization of overlapping emitters
Yu et al. Vision-based technique for circle detection and measurement using lookup table and bitwise center accumulator
Reinhard et al. ReCSAI: recursive compressed sensing artificial intelligence for confocal lifetime localization microscopy

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: 19921987

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19921987

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19921987

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/04/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19921987

Country of ref document: EP

Kind code of ref document: A1